Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794919

Summary: x11-misc/i3blocks-contrib-2.0.0 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Ben Kohler <bkohler>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

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