Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771849 - dev-util/colm-0.14.7-r1 calls cc directly
Summary: dev-util/colm-0.14.7-r1 calls cc directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-02-21 09:16 UTC by Agostino Sarubbo
Modified: 2022-01-15 08:30 UTC (History)
1 user (show)

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

build.log (build.log,93.38 KB, text/plain)
2021-02-21 09:16 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-02-21 09:16:23 UTC

Issue: dev-util/colm-0.14.7 calls cc directly.
Discovered on: amd64 (internal ref: ci)

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] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2021-02-21 09:16:26 UTC
Created attachment 687831 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-02-21 09:16:28 UTC
Possible context of error(s):

sh: line 1: gcc: command not found
error: colm: there was a problem compiling the output
Comment 3 Thomas Sachau gentoo-dev 2021-04-23 15:21:34 UTC
While i checked for a different issue (ignoring *FLAGS), i found the issue for this one too:

the package creates a binary src/.libs/colm which has a fixed call "gcc -Wall..." to compile certain parts.

The gcc call can be found inside src/ where "gcc -Wall" should both get a replacement for "gcc" (might require another sed call in the ebuild) and also get a "${CFLAGS}" added to the arguments.
Comment 4 Agostino Sarubbo gentoo-dev 2022-01-15 08:30:40 UTC
ci has reproduced this issue with version 0.14.7-r1 - Updating summary.