Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587998 - All KDE packages fail with clang due to broken version checks
Summary: All KDE packages fail with clang due to broken version checks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 588226
  Show dependency tree
 
Reported: 2016-07-04 15:37 UTC by Lori
Modified: 2016-07-07 13:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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