firefox failed to build from source in Fedora rawhide/f30 https://koji.fedoraproject.org/koji/taskinfo?taskID=32383565 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Please fix firefox at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, firefox will be orphaned. Before branching of Fedora 31, firefox will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1529930 [details] build.log file build.log too big, will only attach last 1024 bytes
Created attachment 1529931 [details] root.log file root.log too big, will only attach last 1024 bytes
Created attachment 1529932 [details] state.log
Was wondering why Rawhide is effectively 2 major releases behind. The problem seems to be: > 4:20.54 In file included from /builddir/build/BUILD/firefox-66.0/objdir/js/src/Unified_cpp_js_src10.cpp:2: > 4:20.54 /builddir/build/BUILD/firefox-66.0/js/src/util/NativeStack.cpp:28:14: error: 'pid_t gettid()' was declared 'extern' and later 'static' [-fpermissive] > 4:20.54 28 | static pid_t gettid() { return syscall(__NR_gettid); } > 4:20.54 | ^~~~~~ > 4:20.54 In file included from /usr/include/unistd.h:1170, > 4:20.54 from /builddir/build/BUILD/firefox-66.0/objdir/dist/system_wrappers/unistd.h:3, > 4:20.54 from /builddir/build/BUILD/firefox-66.0/js/src/util/NativeStack.cpp:27, > 4:20.54 from /builddir/build/BUILD/firefox-66.0/objdir/js/src/Unified_cpp_js_src10.cpp:2: > 4:20.54 /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of '__pid_t gettid()' > 4:20.54 34 | extern __pid_t gettid (void) __THROW; > 4:20.54 | ^~~~~~ per https://kojipkgs.fedoraproject.org//work/tasks/2420/33652420/build.log from buildArch (firefox-66.0-7.test.fc31.src.rpm, x86_64) task. Also looks like at least v65 is available as an update for the stable Fedora, which violates the principle of monotonicity, which is perhaps just not enforced anymore.
This patch looks fix the error on f31 (it worked for IceCat): https://hg.mozilla.org/mozilla-central/rev/7b85bf9c5210 Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1533969
Great, thanks a lot.
Fixed with the provided patch, Thanks.
Thanks!