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>
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 2020-09-04 11:19:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/moreutils-0.64 calls cc directly.
Discovered on: amd64 (internal ref: ci)

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

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc

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

    sys-apps/moreutils: respect CC
    
    Closes: https://bugs.gentoo.org/740340
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: Sam James <sam@gentoo.org>

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