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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
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: ---


Attachments
build.log (build.log,35.91 KB, text/plain)
2021-06-08 12:30 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 2021-06-08 12:30:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddd26f1e9849014ce2ed03415df86f055dfc7f3

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

    x11-misc/i3blocks-contrib: fix direct gcc call
    
    Closes: https://bugs.gentoo.org/794919
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../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(-)