Description of problem: meson update to 1.8.0 is causing other packages to FTBFS in Fedora Rawhide on x86_64 only. The builds fail when linking with errors similar to: /usr/bin/ld: /builddir/build/BUILD/gstreamer1-rtsp-server-1.26.1-build/gst-rtsp-server-1.26.1/redhat-linux-build/tmp-introspectmyx8gp0h/GstRtspServer-1.0.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status linking of temporary binary failed: Command '['gcc', '-o', '/builddir/build/BUILD/gstreamer1-rtsp-server-1.26.1-build/gst-rtsp-server-1.26.1/redhat-linux-build/tmp-introspectmyx8gp0h/GstRtspServer-1.0', '/builddir/build/BUILD/gstreamer1-rtsp-server-1.26.1-build/gst-rtsp-server-1.26.1/redhat-linux-build/tmp-introspectmyx8gp0h/GstRtspServer-1.0.o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-L/builddir/build/BUILD/gstreamer1-rtsp-server-1.26.1-build/gst-rtsp-server-1.26.1/redhat-linux-build/gst/rtsp-server', '-Wl,-rpath,/builddir/build/BUILD/gstreamer1-rtsp-server-1.26.1-build/gst-rtsp-server-1.26.1/redhat-linux-build/gst/rtsp-server', '-lgstrtspserver-1.0', '-lgstrtsp-1.0', '-lgstsdp-1.0', '-lgstreamer-1.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-lgstrtp-1.0', '-lgstbase-1.0', '-lgstnet-1.0', '-lgstapp-1.0', '-lgstvideo-1.0', '-lgirepository-1.0', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-Wl,-z,relro', '-Wl,-z,pack-relative-relocs', '-Wl,-z,now', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors', '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1', '-Wl,--build-id=sha1', '-specs=/usr/lib/rpm/redhat/redhat-package-notes']' returned non-zero exit status 1. ninja: build stopped: subcommand failed. Version-Release number of selected component (if applicable): 1.8.0-1.fc43 Additional info: So far I identified the following failures: glycin https://koschei.fedoraproject.org/build/20565312 gstreamer1 https://koschei.fedoraproject.org/build/20566746 gstreamer1-plugins-bad-free https://koschei.fedoraproject.org/build/20566024 gstreamer1-plugins-base https://koschei.fedoraproject.org/build/20566750 gstreamer1-rtsp-server https://koschei.fedoraproject.org/build/20566750
gnome-shell https://koschei.fedoraproject.org/build/20565606
there's more: glib2: https://koschei.fedoraproject.org/build/20566926 gnome-bluetooth: https://koschei.fedoraproject.org/build/20566917 gnome-boxes: https://koschei.fedoraproject.org/build/20566914 gnome-characters: https://koschei.fedoraproject.org/build/20566925 graphnene: https://koschei.fedoraproject.org/build/20566919 gtk4: https://koschei.fedoraproject.org/build/20566119 libdazzle: https://koschei.fedoraproject.org/build/20566098 libdex: https://koschei.fedoraproject.org/build/20566918 libgda: https://koschei.fedoraproject.org/build/20566053 libgepub: https://koschei.fedoraproject.org/build/20566078 libgit2-glib: https://koschei.fedoraproject.org/build/20566100 libgxps: https://koschei.fedoraproject.org/build/20566074 libpanel: https://koschei.fedoraproject.org/build/20566031 libspelling: https://koschei.fedoraproject.org/build/20566921 mutter: https://koschei.fedoraproject.org/build/20566810
I have filed a releng ticket to untag meson 1.8.0 from rawhide: https://pagure.io/releng/issue/12749
I reported https://github.com/mesonbuild/meson/issues/14631 Also I managed to find one actual failure in a real koji build of fwupd: https://koji.fedoraproject.org/koji/taskinfo?taskID=133060694
Fixed in Meson's master (1.8.1 or 1.9.0) branch. Guys, would it be possible to try building a bunch of packages with Meson's master branch (even something as untidy as sticking the whole diff from the 1.8.0 tag into a single patch)? 1.8.0 was quite messy and it would be great to have Fedora check that nothing was left behind.
Looks like https://github.com/mesonbuild/meson/pull/14566 is needed
I did a scratch build with 14566.patch: https://koji.fedoraproject.org/koji/taskinfo?taskID=133087003 But unless i missed something - it wasn't enough to fix the build of libspelling. So yeah maybe a full git snapshot needs to be tested...
Apologies for the bad update. I read the changelog and it all seemed reasonable. The update was untagged in the releng ticket. I tried to build libspelling with the current 1.8 branch, and it still fails. I'll wait for 1.8.1 to make another attempt.
No worries, actually you found something way more obscure than I thought, which is specific to Fedora and GNOME. So no need to apologize, in fact thank you. :)
1.8.1 is already out :-)