@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.
Issue: mail-client/neomutt fails to compile.
Discovered on: amd64
If you need further logs, feel free to ask.
Created attachment 645488 [details]
build log and emerge --info
This line made me suspicious, because it looks like it's giving compiler args:
>false -I. -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1
> -D__EXTENSIONS__ \
> -o docs/makedoc ./docs/makedoc.c
... it's trying to call /usr/bin/gcc (not cc?) directly, and its absence causes CC_FOR_BUILD to become false.
This ends up in the Makefile:
# Build-time compiler and flags. These are used for building executables that
# are only used at build-time, e.g., docs/makedoc. These are different from CC /
# CFLAGS / LDFLAGS because the host and target systems might be different.
I would say CC_FOR_BUILD should be $(CC_FOR_BUILD) or, if it does not exist, $(CC).
*** This bug has been marked as a duplicate of bug 724716 ***