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

Bug 740340

Summary: sys-apps/moreutils-0.64 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-04 11:19:31 UTC

Issue: sys-apps/moreutils-0.64 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 2020-09-04 11:19:33 UTC
Created attachment 658338 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-09-04 15:11:28 UTC
The bug has been closed via the following commit(s):

commit 4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc
Author:     Sam James <>
AuthorDate: 2020-09-04 15:10:46 +0000
Commit:     Sam James <>
CommitDate: 2020-09-04 15:11:12 +0000

    sys-apps/moreutils: respect CC
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: Sam James <>

 sys-apps/moreutils/files/moreutils-0.64-respect-env.patch | 13 +++++++++++++
 sys-apps/moreutils/moreutils-0.64.ebuild                  |  4 ++++
 2 files changed, 17 insertions(+)