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

Bug 773505

Summary: dev-util/premake-4.4_beta5 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Aaron W. Swenson <titanofold>
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-03-01 07:42:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/premake-4.4_beta5 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 2021-03-01 07:42:07 UTC
Created attachment 688812 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-03-01 07:42:09 UTC
Possible context of error(s):

/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
Comment 3 Larry the Git Cow gentoo-dev 2021-08-15 20:57:06 UTC
The bug has been closed via the following commit(s):

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

commit bd671b6a38c006f4ecf98fe84d0d5ac7321464de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-15 20:56:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-15 20:56:58 +0000

    dev-util/premake: respect CC, MAKEOPTS
    
    Closes: https://bugs.gentoo.org/773505
    Signed-off-by: Sam James <sam@gentoo.org>

 ...emake-5.0.0_alpha16-respect-MAKEOPTS-jobs.patch | 63 ++++++++++++++++++++++
 dev-util/premake/premake-5.0.0_alpha16.ebuild      | 10 +++-
 2 files changed, 71 insertions(+), 2 deletions(-)