This is an auto-filled bug because dev-lang/nim 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 638826 [details] build.log build log and emerge --info
koch might need explicit pass through of $CC: """ ./bin/nim --parallelBuild:4 c koch [32mHint: [0mused config file '/var/tmp/portage/dev-lang/nim-1.2.0/work/nim-1.2.0/config/nim.cfg'[36m [Conf][0m ... CC: stdlib_assertions.nim CC: stdlib_dollars.nim /bin/sh: gcc: command not found CC: stdlib_io.nim /bin/sh: gcc: command not found CC: stdlib_system.nim /bin/sh: gcc: command not found [31mError: [0mexecution of an external compiler program 'gcc -c -w -I/var/tmp/portage/dev-lang/nim-1.2.0/work/nim-1.2.0/lib -I/var/tmp/portage/dev-lang/nim-1.2.0/work/nim-1.2.0 -o /var/tmp/portage/dev-lang/nim-1.2.0/temp/cache/nim/koch_d/stdlib_assertions.nim.c.o /var/tmp/portage/dev-lang/nim-1.2.0/temp/cache/nim/koch_d/stdlib_assertions.nim.c' failed with exit code: 127 """
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239f1fd723d0dd2c767e644c0c728a7a4eb030f3 commit 239f1fd723d0dd2c767e644c0c728a7a4eb030f3 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-05-24 22:10:44 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-05-24 22:10:52 +0000 dev-lang/nim: use $CC instead of 'gcc', bug #722958 Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/722958 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-lang/nim/nim-1.2.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)