I have an attached spec file and error log from a local osc build and I can't for the life of me figure why I'm getting the error I'm getting.... calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 11s] Processing files: Ysabeau-0.003-1.1.noarch [ 11s] error: File must begin with "/": {/usr/share/fonts/truetype} [ 11s] [ 11s] RPM build errors: [ 11s] File must begin with "/": {/usr/share/fonts/truetype} [ 11s] ### VM INTERACTION START ### [ 11s] [ 7.618451][ T1] sysrq: Power Off [ 11s] [ 7.619105][ T11] reboot: Power down [ 11s] ### VM INTERACTION END ### [ 11s] [ 11s] i02-ch1d failed "build Ysabeau-fonts.spec" at Wed Oct 30 22:06:58 UTC 2024. [ 11s] Anyone got any ideas? Doesn't work either when I send it to the OBS...
On Mittwoch, 30. Oktober 2024, 23:14:18 CET Martin Hooper wrote:
I have an attached spec file and error log from a local osc build and I can't for the life of me figure why I'm getting the error I'm getting....
calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 11s] Processing files: Ysabeau-0.003-1.1.noarch [ 11s] error: File must begin with "/": {/usr/share/fonts/truetype} [ 11s] [ 11s] RPM build errors: [ 11s] File must begin with "/": {/usr/share/fonts/truetype} [ 11s] ### VM INTERACTION START ### [ 11s] [ 7.618451][ T1] sysrq: Power Off [ 11s] [ 7.619105][ T11] reboot: Power down [ 11s] ### VM INTERACTION END ### [ 11s] [ 11s] i02-ch1d failed "build Ysabeau-fonts.spec" at Wed Oct 30 22:06:58 UTC 2024. [ 11s]
Anyone got any ideas?
Doesn't work either when I send it to the OBS...
The macro _ttfontsdir is not defined. I suspect you are using an too old version of fontpackages-devel package which is not defining it. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
On Donnerstag, 31. Oktober 2024, 08:31:56 CET Adrian Schröter wrote:
On Mittwoch, 30. Oktober 2024, 23:14:18 CET Martin Hooper wrote:
I have an attached spec file and error log from a local osc build and I can't for the life of me figure why I'm getting the error I'm getting....
calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 11s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 11s] Processing files: Ysabeau-0.003-1.1.noarch [ 11s] error: File must begin with "/": {/usr/share/fonts/truetype} [ 11s] [ 11s] RPM build errors: [ 11s] File must begin with "/": {/usr/share/fonts/truetype} [ 11s] ### VM INTERACTION START ### [ 11s] [ 7.618451][ T1] sysrq: Power Off [ 11s] [ 7.619105][ T11] reboot: Power down [ 11s] ### VM INTERACTION END ### [ 11s] [ 11s] i02-ch1d failed "build Ysabeau-fonts.spec" at Wed Oct 30 22:06:58 UTC 2024. [ 11s]
Anyone got any ideas?
Doesn't work either when I send it to the OBS...
The macro _ttfontsdir is not defined.
I suspect you are using an too old version of fontpackages-devel package which is not defining it.
No, wrong, your syntax is broken: %dir {%_ttfontsdir} should be: %dir %{_ttfontsdir}
-- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
On 31/10/2024 07:31, Adrian Schröter wrote:
Anyone got any ideas?
Doesn't work either when I send it to the OBS...
The macro _ttfontsdir is not defined.
I suspect you are using an too old version of fontpackages-devel package which is not defining it.
Thanks Adrian - I had a misplaced % sign in my spec file - everything works fine now both local and OBS!
participants (2)
-
Adrian Schröter
-
Martin Hooper