|Summary:||mail-client/neomutt: calls GCC directly|
|Product:||Gentoo Linux||Reporter:||Agostino Sarubbo <ago>|
|Component:||Current packages||Assignee:||Nicolas Bock <nicolasbock>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
|Bug Blocks:||243502, 728302|
Description Agostino Sarubbo 2020-06-21 09:27:47 UTC
@@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 NOTE: If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo 2020-06-21 09:27:52 UTC
Created attachment 645488 [details] build.log build log and emerge --info
Comment 2 Sam James 2020-06-23 01:04:11 UTC
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. CC_FOR_BUILD= false I would say CC_FOR_BUILD should be $(CC_FOR_BUILD) or, if it does not exist, $(CC).