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

Bug 588232

Summary: games-emulation/virtualjaguar - GCC version check fails with clang
Product: Gentoo Linux Reporter: Michael Palimaka (kensington) <kensington>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: wizardedit
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 588226    
Attachments: patch

Description Michael Palimaka (kensington) gentoo-dev 2016-07-07 13:23:54 UTC
Due to a change in toolchain-funcs.eclass, gcc-version now queries the active compiler instead of the active GCC. This causes a failure with CC="clang" as clang reports itself as GCC 4.2.

Please see the tracker bug for more information.
Comment 1 Austin English (RETIRED) gentoo-dev 2016-07-12 00:11:33 UTC
Created attachment 440398 [details, diff]
patch

This patch fixes the issue.

* update to EAPI 6
* remove deprecated games.eclass / qt4-r2.eclass
* fix gcc version check
Comment 2 Austin English (RETIRED) gentoo-dev 2016-07-26 00:09:35 UTC
(In reply to Austin English from comment #1)
> Created attachment 440398 [details, diff] [details, diff]
> patch
> 
> This patch fixes the issue.
> 
> * update to EAPI 6
> * remove deprecated games.eclass / qt4-r2.eclass
> * fix gcc version check

https://github.com/gentoo/gentoo/commit/060fa269f3f055248303e54dd3323da712cca72c