This is an auto-filed bug because mail-client/neomutt calls cc directly. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Created attachment 641092 [details] build.log build log and emerge --info
*** Bug 728980 has been marked as a duplicate of this bug. ***
I cannot reproduce with neomutt-20200626: CC=gurke ebuild neomutt-20200626-r1.ebuild configure produces Error: Could not find a C compiler. Tried: gurke
please try full merge with x86_64-pc-linux-gnu-gcc as CC
(In reply to Agostino Sarubbo from comment #4) > please try full merge with x86_64-pc-linux-gnu-gcc as CC I think the issue is that it calls the correct tuple MOSTLY (via CC), but if USE=docs, it makes a few calls to 'gcc'. So that needs fixing.
*** Bug 730202 has been marked as a duplicate of this bug. ***