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

Bug 550374

Summary: media-gfx/digikam-4.10.0 fails to build with gcc-5.1.0
Product: Gentoo Linux Reporter: gent_bz
Component: [OLD] GCC PortingAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 4.11.0
Package list:
Runtime testing required: ---
Bug Depends on: 553366    
Bug Blocks: 536984    

Description gent_bz 2015-05-25 17:14:45 UTC
CMakeLists.txt has a test for gcc version that doesn't handle >=gcc-5

I've posted a bug upstream https://bugs.kde.org/show_bug.cgi?id=348211 and a patch https://bugsfiles.kde.org/attachment.cgi?id=92816 

Reproducible: Always
Comment 1 David Kredba 2015-05-25 19:08:03 UTC
I solved it by adding "5" to list of allowed main versions of compiler in /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake.
Comment 2 David Kredba 2015-05-25 19:09:38 UTC
Jonathan, could you please mark your report as blocking gcc-5.1 bug?
Comment 3 gent_bz 2015-05-25 19:44:00 UTC
Adding a 5 would work, but will break with the next major release of gcc - which, with the new numbering scheme, will be next year (see https://gcc.gnu.org/develop.html )

Marked as blocking GCC 5.1
Comment 4 Tom Li 2015-07-28 16:24:42 UTC
Also confirmed the bug with GCC 5.2.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2015-08-08 08:52:32 UTC
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes. Note that the git migration will happen today, so i am not sure if the mirrors will catch it up early enough.

+
+  08 Aug 2015; Johannes Huber <johu@gentoo.org> +digikam-4.12.0.ebuild:
+  Version bump by Andreas Sturmlechner <andreas.sturmlechner@gmail.com>, bug
+  #553366. Fixes build with gcc-5.1, bug #550374.
+