https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-roguelike/stone-soup-0.25.1-r100 calls cc directly. Discovered on: amd64 (internal ref: ci) NOTE: As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Created attachment 682342 [details] build.log build log and emerge --info
I don't reproduce this issue, so I'll close it. Please reopen if scans continue to show the issue, and maybe suggest another way to reproduce it. 1. As recommended, I built sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and confirmed that there are no unprefixed 'gcc' or 'g++' binaries. I then ran 'CXX=x86_64-pc-linux-gnu-g++ CC=x86_64-pc-linux-gnu-gcc emerge -av =games-roguelike/stone-soup-0.25.1-r101'. The build is successful and uses the stated prefixed compiler binary. 2. I confirmed that CC and CXX are respected by watching this command fail: 'CXX=/bin/true CC=/bin/true emerge -av =games-roguelike/stone-soup-0.25.1-r101' 3. src_compile sets: GCC="$(tc-getCC)" GXX="$(tc-getCXX)" ... which is correctly forwarding the user-preferred CC/CXX into make.
I could eventually reproduce this. Fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a186dfbe961e0d9358f3d69ed434c365b8c730 (unstable)