Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773505 - dev-util/premake-4.4_beta5 calls cc directly
Summary: dev-util/premake-4.4_beta5 calls cc directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-03-01 07:42 UTC by Agostino Sarubbo
Modified: 2021-08-15 20:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,7.22 KB, text/plain)
2021-03-01 07:42 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-03-01 07:42:05 UTC

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

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

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

    dev-util/premake: respect CC, MAKEOPTS
    Signed-off-by: Sam James <>

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