On Donnerstag, 20. Mai 2021, 08:27:19 CEST Mathias Homann wrote:
Am Donnerstag, 20. Mai 2021, 08:17:12 CEST schrieb Adrian Schröter:
On Donnerstag, 20. Mai 2021, 08:11:31 CEST Mathias Homann wrote:
I am having an extremely weird problem with two packages that I'm building.
I have been packaging the apps in question for years now, but now I'm trying to get OBS to produce a working rpm on Tumbleweed and it just DOES NOT WORK.
The build on OBS succeeds just fine, but if I install the package the application crashes on start.
The packages for Leap 15.2 and 15.3 built from the same spec and sources work just fine, even to the point that right now I'm using the 15.3 package on tumbleweed.
and here is the REALLY weird part: If I take the whole content of the package directory from my obs project and copy it to rpmbuild/SOURCES on a Tumbleweed machine,. and build it locally with rpmbuild, the package I get works just fine. If I build locally with "obs build" the resulting binary crashes.
I have NO idea where to begin looking - all I know right now is that a backtrace in gdb wasn't really helpful either... the crash happens somewhere in libstdc++ o.0
Anyone got any ideas? the packages in question are in home:lemmy04:snowglobe/ phoenix-firestorm-lgpl and home:lemmy04:phoenix-firestorm-release ...
beside package differences of the build environment, one of the first things would be the most likely different compile and linker flags.
Check the prjconf for the Optflags and try to apply them in your local build to verify if it crashes then as well.
As far as I can see there are no explicit packaging options specified in my project configuration... you do mean "osc meta prjconf", right?
but they come from the base project most likely.
Or check the merged config
osc buildconfig $your_project $your_repo | grep -i optflags