Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907344 - [guru] www-apps/nitter-2023.07.12 calls cc directly
Summary: [guru] www-apps/nitter-2023.07.12 calls cc directly
Status: RESOLVED PKGREMOVED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL: https://github.com/nim-lang/Nim/issue...
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2023-05-29 06:14 UTC by Agostino Sarubbo
Modified: 2024-05-24 18:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,121.92 KB, text/plain)
2023-05-29 06:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-29 06:14:07 UTC
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].
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-29 06:14:09 UTC
Created attachment 862781 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-29 06:14:11 UTC
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
Comment 3 Anna Vyalkova 2023-06-17 09:15:40 UTC
From nim-utils.eclass:
> gcc.exe:"$(tc-getCC)"

It should work :(
Comment 4 Anna Vyalkova 2023-07-14 15:22:38 UTC
Filed upstream bug
Comment 5 Agostino Sarubbo gentoo-dev 2023-07-17 07:11:57 UTC
guru_ci has reproduced this issue with version 2023.07.12 - Updating summary.
Comment 6 Larry the Git Cow gentoo-dev 2024-05-24 18:40:56 UTC
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(-)