0:02.62 checking whether the target C++ compiler can be used... yes 0:02.62 checking the target C++ compiler version... 14.0.6 0:02.62 ERROR: The target C compiler is version 15.0.2, while the target C++ compiler is version 14.0.6. Need to use the same compiler version. *** Fix above errors and then restart with "./mach build" * ERROR: www-client/firefox-105.0.2::gentoo failed (configure phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20221004-190004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.2 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-jre-bin-17 system-vm php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 659e51cdc78d5e48b23c480b988d784d2d693677 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Oct 5 01:33:56 2022 +0000 2022-10-05 01:33:56 UTC emerge -qpvO www-client/firefox [ebuild N ] www-client/firefox-105.0.2 USE="X clang dbus gmp-autoupdate openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug -eme-free -geckodriver -hardened -hwaccel -jack -libproxy -lto -pgo -pulseaudio -screencast (-selinux) -sndio -system-png (-system-python-libs) -wayland -wifi" L10N="eo es-MX ff ka -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-CL -es-ES -et -eu -fa -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW"
Created attachment 820678 [details] emerge-info.txt
Created attachment 820681 [details] emerge-history.txt
Created attachment 820684 [details] environment
Created attachment 820687 [details] etc.portage.tar.bz2
Created attachment 820690 [details] logs.tar.bz2
Created attachment 820693 [details] temp.tar.bz2
Created attachment 820696 [details] www-client:firefox-105.0.2:20221005-041714.log
I guess you're somehow forcing clang:15 to be used even when it's not supported by the ebuild yet. That's the mismatch happening in the log.
(In reply to Joonas Niilola from comment #8) > I guess you're somehow forcing clang:15 to be used even when it's not > supported by the ebuild yet. That's the mismatch happening in the log. indeed, clang was forced this week, ok. BTW could the ebuild itself check before, whether gcc is used ?
It should force gcc if "-clang" use flag is passed. But I imagine you can "break" it with custom rules.