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

Bug 587998

Summary: All KDE packages fail with clang due to broken version checks
Product: Gentoo Linux Reporter: Lori <lori>
Component: EclassesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 588226    

Description Lori 2016-07-04 15:37:58 UTC
Traditionally KDE and related packages have been very Clang friendly, and I have built them with Clang for quite a while. However, a recent change in kde-misc/kdiff3 and kde-misc/krename for example checks for GCC greater than 4.6. This is ok, if we intend to build with gcc, but it shouldn't break the build if we intend to build with Clang. With all the recent excellent work to make Clang work as a system compiler, this seems like a regression.
Comment 1 Lori 2016-07-04 16:36:46 UTC
The problem is in /usr/portage/eclass/kde4-base.eclass:622.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-07-07 13:44:57 UTC
Thanks, fixed in git.

I started a tracker bug for this because there are now potentially hundreds of packages broken for clang across the tree.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0788b3785c3ed148a430329152b18073c6d1f23f
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fadcfcff3caa95536fa1942806607881a35f205