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>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
other.tar.bz2

Description Agostino Sarubbo gentoo-dev 2020-07-05 08:27:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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

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

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

commit 683c7dcfb4c3cb41e756bed668b5c41baab85522
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-12 15:36:51 +0000
Commit:     Sam James <sam@gentoo.org>
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.
    
    Closes: https://bugs.gentoo.org/730850
    Closes: https://bugs.gentoo.org/650044
    Signed-off-by: Sam James <sam@gentoo.org>

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