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

Bug 730850

Summary: games-strategy/xbattleai calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Severity: normal CC: sam
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-07-05 08:27:47 UTC

Issue: games-strategy/xbattleai calls cc directly.
Discovered on: amd64

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-07-05 08:27:53 UTC
Created attachment 647728 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-05 08:27:55 UTC
Created attachment 647730 [details]

other logs
Comment 3 Larry the Git Cow gentoo-dev 2021-04-12 15:50:06 UTC
The bug has been closed via the following commit(s):

commit 683c7dcfb4c3cb41e756bed668b5c41baab85522
Author:     Sam James <>
AuthorDate: 2021-04-12 15:36:51 +0000
Commit:     Sam James <>
CommitDate: 2021-04-12 15:48:34 +0000

    games-strategy/xbattleai: update EAPI 6 -> 7, fix build, respect CC
    Previous configure results were cached, causing misdetection of nsl. This
    also added to problems with respecting CC.
    Signed-off-by: Sam James <>

 games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild | 25 ++++++++++++++++------
 1 file changed, 18 insertions(+), 7 deletions(-)