https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: www-apps/nitter-2023.05.20 calls cc directly. Discovered on: amd64 (internal ref: guru_ci) NOTE: As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 862781 [details] build.log build log and emerge --info
Error(s) that match a know pattern: /bin/sh: line 1: gcc: command not found /opt/nimble/pkgs2/jsony-1.1.5/jsony.nim(130, 7) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /opt/nimble/pkgs2/jsony-1.1.5/jsony.nim(416, 7) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /opt/nimble/pkgs2/jsony-1.1.5/jsony.nim(422, 5) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /usr/lib/nim/pure/asyncmacro.nim(42, 5) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /usr/lib/nim/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: /usr/bin/nim jsonscript --nimcache:/var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-2023.05.20-build/nimcache/nitter -o:/var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-2023.05.20-build/nitter /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/nitter.nim [OSError] /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/api.nim(149, 3) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/http_pool.nim(24, 5) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/redis_cache.nim(113, 3) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/redis_cache.nim(191, 11) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/routes/media.nim(20, 3) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src/tokens.nim(152, 5) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept] Error: execution of an external compiler program 'gcc -c -w -fmax-errors=3 -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/lib/nim -I/var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-e3b3b38a2d43a83b5fc2239ab41e864ee686fb2f/src -o @m..@s..@s..@s..@s..@s..@s..@s..@susr@slib@snim@sstd@sprivate@sdigitsutils.nim.c.o @m..@s..@s..@s..@s..@s..@s..@s..@susr@slib@snim@sstd@sprivate@sdigitsutils.nim.c' failed with exit code: 127 FAILED: /var/tmp/portage/www-apps/nitter-2023.05.20/work/nitter-2023.05.20-build/nitter
From nim-utils.eclass: > gcc.exe:"$(tc-getCC)" It should work :(
Filed upstream bug
guru_ci has reproduced this issue with version 2023.07.12 - Updating summary.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f07a28bc0ea114e5e280c37b0231e4a3c373783 commit 3f07a28bc0ea114e5e280c37b0231e4a3c373783 Author: Julien Roy <julien@jroy.ca> AuthorDate: 2024-05-24 18:29:44 +0000 Commit: Julien Roy <julien@jroy.ca> CommitDate: 2024-05-24 18:35:56 +0000 www-apps/nitter: treeclean Bug: https://bugs.gentoo.org/907344 Signed-off-by: Julien Roy <julien@jroy.ca> www-apps/nitter/Manifest | 2 - www-apps/nitter/files/nitter.conf.example | 48 ----------------------- www-apps/nitter/files/nitter.initd | 30 --------------- www-apps/nitter/files/nitter.service | 12 ------ www-apps/nitter/metadata.xml | 8 ---- www-apps/nitter/nitter-2023.05.20.ebuild | 64 ------------------------------- www-apps/nitter/nitter-2023.07.12.ebuild | 64 ------------------------------- 7 files changed, 228 deletions(-)