clang++ found in $PATH at /usr/lib/llvm/17/bin/clang++ /usr/lib/llvm/17/bin/clang++ resolves to /usr/lib/llvm/17/bin/clang-17 Checking if C++ compiler "clang++" is GCC... no Checking if C++ compiler "clang++" is clang... no Couldn't identify the C++ compiler See /var/tmp/portage/dev-db/mongodb-5.0.16-r1/work/mongodb-src-r5.0.16/build/scons/config.log for details * ERROR: dev-db/mongodb-5.0.16-r1::gentoo failed (compile phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-20231125-140008 ------------------------------------------------------------------- CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.5 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.5 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-21 system-vm php cli (if any): go version go1.21.4 linux/amd64 HEAD of ::gentoo commit 623f99eb46ae90ac71be346ae096e98032adb96d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Nov 26 09:31:55 2023 +0000 2023-11-26 09:31:55 UTC emerge -qpvO dev-db/mongodb [ebuild N ] dev-db/mongodb-5.0.16-r1 USE="ssl tools -debug -kerberos -lto -mongosh" CPU_FLAGS_X86="avx"
Created attachment 875714 [details] emerge-info.txt
Created attachment 875715 [details] dev-db:mongodb-5.0.16-r1:20231126-125918.log
Created attachment 875716 [details] emerge-history.txt
Created attachment 875717 [details] environment
Created attachment 875718 [details] etc.clang.tar.xz
Created attachment 875719 [details] etc.portage.tar.xz
Created attachment 875720 [details] logs.tar.xz
Created attachment 875721 [details] qlist-info.txt
Created attachment 875722 [details] temp.tar.xz
maybe bashrc.clang/CC/CXX related ?
there is a workaround in https://bugs.gentoo.org/829340 for that - however, llvm 17 ICE's with mongodb at the moment ( https://github.com/llvm/llvm-project/issues/63675 ), i have not tried 18 yet, i might include that workaround in a later PR, though, not sure yet, the fact that it started failing in 16 makes it kinda difficult to make a good assumption here
*** Bug 932610 has been marked as a duplicate of this bug. ***