Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794919 - x11-misc/i3blocks-contrib-2.0.0 calls cc directly
Summary: x11-misc/i3blocks-contrib-2.0.0 calls cc directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-06-08 12:30 UTC by Agostino Sarubbo
Modified: 2021-06-08 14:44 UTC (History)
0 users

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

build.log (build.log,35.91 KB, text/plain)
2021-06-08 12:30 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-06-08 12:30:23 UTC

Issue: x11-misc/i3blocks-contrib-2.0.0 calls cc directly.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
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 2021-06-08 12:30:25 UTC
Created attachment 714624 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-06-08 12:30:27 UTC
Possible context of error(s):

make[1]: gcc: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-06-08 14:44:44 UTC
The bug has been closed via the following commit(s):

commit 2ddd26f1e9849014ce2ed03415df86f055dfc7f3
Author:     Ben Kohler <>
AuthorDate: 2021-06-08 14:44:22 +0000
Commit:     Ben Kohler <>
CommitDate: 2021-06-08 14:44:36 +0000

    x11-misc/i3blocks-contrib: fix direct gcc call
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Ben Kohler <>

 .../files/i3blocks-contrib-2.0.0-respect-CFLAGS.patch          | 10 ++++++++++
 x11-misc/i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild        |  7 ++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)