| Summary: | ww-client/firefox-118.0.1 fails to build with ./mach configure || die | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Edgar Luque <edgar> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log of firefox-118.0.1 | ||
|
Description
Edgar Luque
2023-10-09 07:30:10 UTC
[34m 0:00.58(B[m checking for Python 3... /var/tmp/portage/www-client/firefox-118.0.1/work/firefox_build/srcdirs/firefox-118.0.1-06ff83f51e61/_virtualenvs/build/bin/python (3.11.5)(B[m(B[m [34m 0:00.61(B[m checking for wget... /usr/bin/wget(B[m(B[m [34m 0:00.62(B[m checking for ccache... not found(B[m(B[m [34m 0:00.62(B[m checking for the target C compiler... not found(B[m(B[m [34m 0:00.62(B[m DEBUG: _cc: Looking for x86_64-pc-linux-gnu-clang-17(B[m(B[m [34m 0:00.62(B[m ERROR: Cannot find the target C compiler(B[m(B[m *** Fix above errors and then restart with "./mach build" * ERROR: www-client/firefox-118.0.1::gentoo failed (configure phase): * (no error message) I think it's because Clang doesn't support -mtune. I found out why, previously i did some experiments self compiling llvm 17 and installed it to /usr/local, somehow firefox picked up clang from there instead of the system llvm clang 16. Removing clang from /usr/local fixed it |