Packaging weirdness for TW
Hi guys, I have a package on OBS that shows extremely weird behaviour when I build for TW... I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package. The package builds just fine on Leap, and used to build just fine on TW, and still does when I comment out %debug_package (d'oh). Now here's the weird thing: when I comment out %debug_package, wait for that build to finish, and then activate it again, the package builds fine on TW once! Then the next revision of the package starts the failing thing again, until I build it without %debug_package once. WHAT could that be, and how to fix it? Package in question is here:- https://build.opensuse.org/package/show/home:lemmy04:snowglobe/phoenix-fires... Cheers MH -- Mathias Homann Mathias.Homann@openSUSE.org OBS: lemmy04 Jabber (XMPP): lemmy@tuxonline.tech IRC: [Lemmy] on freenode and ircnet (bouncer active) telegram: https://telegram.me/lemmy98 keybase: https://keybase.io/lemmy gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
On 7/5/21 8:29 AM, Mathias Homann wrote:
Hi guys,
I have a package on OBS that shows extremely weird behaviour when I build for TW...
I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package.
Why did you disable the debuginfo flag if you want debuginfos to begin with? Greetings, Stephan
Am Montag, 5. Juli 2021, 09:00:28 CEST schrieb Stephan Kulow:
On 7/5/21 8:29 AM, Mathias Homann wrote:
Hi guys,
I have a package on OBS that shows extremely weird behaviour when I build for TW...
I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package.
Why did you disable the debuginfo flag if you want debuginfos to begin with?
because it looked to me as if %debug_package is broken? -- Mathias Homann Mathias.Homann@openSUSE.org OBS: lemmy04 Jabber (XMPP): lemmy@tuxonline.tech IRC: [Lemmy] on freenode and ircnet (bouncer active) telegram: https://telegram.me/lemmy98 keybase: https://keybase.io/lemmy gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
On Mon, 2021-07-05 at 08:29 +0200, Mathias Homann wrote:
Hi guys,
I have a package on OBS that shows extremely weird behaviour when I build for TW...
I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package.
The generation of the debugpackages should be controlled by the OBS Buildinfo Flag (which injects %debug_packages into the spec when enabled)
The package builds just fine on Leap, and used to build just fine on TW, and still does when I comment out %debug_package (d'oh).
Now here's the weird thing: when I comment out %debug_package, wait for that build to finish, and then activate it again, the package builds fine on TW once!
Then the next revision of the package starts the failing thing again, until I build it without %debug_package once.
WHAT could that be, and how to fix it?
Package in question is here:- https://build.opensuse.org/package/show/home:lemmy04:snowglobe/phoenix-fires...
The most striking I see in the build log are entries like [ 3250s] objcopy: /home/abuild/rpmbuild/BUILDROOT/phoenix-firestorm-lgpl-6.4.21.64826-1.1.x86_64/usr/share/games/phoenix-firestorm-lgpl/bin/stFdsxXa[.eh_frame]: No space left on device Without disk space left, there is no saying what else will happen Cheers, Dominique
Am Montag, 5. Juli 2021, 09:18:26 CEST schrieb Dominique Leuenberger / DimStar:
On Mon, 2021-07-05 at 08:29 +0200, Mathias Homann wrote:
Hi guys,
I have a package on OBS that shows extremely weird behaviour when I build for TW...
I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package.
The generation of the debugpackages should be controlled by the OBS Buildinfo Flag (which injects %debug_packages into the spec when enabled)
where do I put that buildinfo flag, instead of using %debug_package in the spec itself? [...]
Package in question is here:- https://build.opensuse.org/package/show/home:lemmy04:snowglobe/phoenix-fir estorm-lgpl The most striking I see in the build log are entries like
[ 3250s] objcopy: /home/abuild/rpmbuild/BUILDROOT/phoenix-firestorm-lgpl-6.4.21.64826-1.1.x86 _64/usr/share/games/phoenix-firestorm-lgpl/bin/stFdsxXa[.eh_frame]: No space left on device
Without disk space left, there is no saying what else will happen
now that would actually explain how simply triggering a rebuild could "fix" it... different host, more space... Gotta look at the _constraints a bit more closely I guess. OTOH, if there's a disk full condition, how come the build doesn't break at that point, but much later when the packages are checked...? Cheers MH -- Mathias Homann Mathias.Homann@openSUSE.org OBS: lemmy04 Jabber (XMPP): lemmy@tuxonline.tech IRC: [Lemmy] on freenode and ircnet (bouncer active) telegram: https://telegram.me/lemmy98 keybase: https://keybase.io/lemmy gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
On Mon, 2021-07-05 at 09:55 +0200, Mathias Homann wrote:
Am Montag, 5. Juli 2021, 09:18:26 CEST schrieb Dominique Leuenberger / DimStar:
On Mon, 2021-07-05 at 08:29 +0200, Mathias Homann wrote:
Hi guys,
I have a package on OBS that shows extremely weird behaviour when I build for TW...
I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package.
The generation of the debugpackages should be controlled by the OBS Buildinfo Flag (which injects %debug_packages into the spec when enabled)
where do I put that buildinfo flag, instead of using %debug_package in the spec itself?
https://build.opensuse.org/repositories/home:lemmy04:snowglobe/phoenix-fires... debuginfo flag is what I menat
Am Montag, 5. Juli 2021, 10:18:07 CEST schrieb Dominique Leuenberger / DimStar:
On Mon, 2021-07-05 at 09:55 +0200, Mathias Homann wrote:
Am Montag, 5. Juli 2021, 09:18:26 CEST schrieb Dominique Leuenberger /
DimStar:
On Mon, 2021-07-05 at 08:29 +0200, Mathias Homann wrote:
Hi guys,
I have a package on OBS that shows extremely weird behaviour when I build for TW...
I have %debug_package in the spec file, and that makes the build fail on TW, with *lots* of unpackaged files that are all those files that would normally go into the debug package.
The generation of the debugpackages should be controlled by the OBS Buildinfo Flag (which injects %debug_packages into the spec when enabled)
where do I put that buildinfo flag, instead of using %debug_package in the
spec itself?
https://build.opensuse.org/repositories/home:lemmy04:snowglobe/phoenix-fires torm-lgpl
debuginfo flag is what I menat
oh you mean the switch for the repo..? ok good to know. I thought that switch would mean that the debug packages would be published with the rest, or not, **if** you had %debug_package in your specfile... Cheers MH -- Mathias Homann Mathias.Homann@openSUSE.org OBS: lemmy04 Jabber (XMPP): lemmy@tuxonline.tech IRC: [Lemmy] on freenode and ircnet (bouncer active) telegram: https://telegram.me/lemmy98 keybase: https://keybase.io/lemmy gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
participants (3)
-
Dominique Leuenberger / DimStar
-
Mathias Homann
-
Stephan Kulow