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.
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 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
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. ***
Please have a look at https://github.com/gentoo/gentoo/pull/20796. That fixes this issue in my local tests.
The bug has been closed via the following commit(s):
Author: Nicolas Bock <email@example.com>
AuthorDate: 2021-05-13 18:26:24 +0000
Commit: Sam James <firstname.lastname@example.org>
CommitDate: 2021-05-14 00:22:38 +0000
mail-client/neomutt: Do not call `cc`
Signed-off-by: Nicolas Bock <email@example.com>
Signed-off-by: Sam James <firstname.lastname@example.org>
mail-client/neomutt/neomutt-20210205-r1.ebuild | 4 +++-
mail-client/neomutt/neomutt-99999999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
(In reply to Nicolas Bock from comment #7)
> Please have a look at https://github.com/gentoo/gentoo/pull/20796. That
> fixes this issue in my local tests.