Firefox build fails on F39 and Rawhide at the moment. I believe this is due to https://bugzilla.redhat.com/show_bug.cgi?id=2239046 . Firefox's build/moz.configure/bindgen.configure tries to figure out where libclang will be by running `clang++ -print-search-dirs` then parsing the output (in the `bindgen_libclang_path` function). I wrote a script with the essence of that function to tell us what the 'candidate' dirs it decides on are, for the clang 16 output vs the clang 17 output, and this was the result: 16 candidates: /usr/lib64 17 candidates: /usr/bin/../lib so with clang 16 it looks for libclang in /usr/lib64 (and finds it), but with clang 17 it looks for libclang in /usr/lib (and does not find it). This is all tested on x86_64 but it's probably the same on all 64-bit arches. I'm currently testing whether this avoids the problem: # https://bugzilla.redhat.com/show_bug.cgi?id=2239046 # with clang 17 upstream's detection fails, so let's just tell it # where to look echo "ac_add_options --with-clang-path=%{_libdir}" >> .mozconfig Reproducible: Always
On a quick test it looks like that *does* avoid the problem, so I'm trying official builds for F39 and Rawhide now. Fingers crossed.
er, well, it works if you do --with-libclang-path , not --with-clang-path ! builds are running.
FEDORA-2023-16d55c9e85 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-16d55c9e85
FEDORA-2023-16d55c9e85 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-6bdc468df7 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6bdc468df7
FEDORA-2023-6bdc468df7 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6bdc468df7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6bdc468df7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-6bdc468df7 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
*** Bug 2238728 has been marked as a duplicate of this bug. ***