Bug 348211

Summary: digikam fails to build using >=gcc-5
Product: [Applications] digikam Reporter: Jonathan Adamczewski <jadamcze>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.0
Attachments: Support for arbitrary gcc versions

Description Jonathan Adamczewski 2015-05-25 17:11:13 UTC
The regex in core/CMakeLists.txt will not match gcc-5 (or newer) version, preventing cmake from running correctly.

The test is not robust, and has special handling for gcc-3.3 on Mac. I have a patch that makes this a little simpler, and hopefully somewhat more robust.

Reproducible: Always
Comment 1 Jonathan Adamczewski 2015-05-25 17:12:02 UTC
Created attachment 92816 [details]
Support for arbitrary gcc versions
Comment 2 caulier.gilles 2015-05-25 20:18:36 UTC
Git commit f179c5688786ced1b32272c5730b2c0e4c4b5616 by Gilles Caulier.
Committed on 25/05/2015 at 20:17.
Pushed by cgilles into branch 'master'.

apply patch #92816 to fix GCC version check with release > 5.w
FIXED-IN: 4.11.0

M  +1    -7    CMakeLists.txt

http://commits.kde.org/digikam/f179c5688786ced1b32272c5730b2c0e4c4b5616
Comment 3 caulier.gilles 2015-05-25 20:25:04 UTC
Git commit a9125c563aa6a9dcff35ff0d9051663e73f0450f by Gilles Caulier.
Committed on 25/05/2015 at 20:24.
Pushed by cgilles into branch 'frameworks'.

backport commit #f179c5688786ced1b32272c5730b2c0e4c4b5616 from git/master to frameworks branch

M  +1    -7    libs/dimg/CMakeLists.txt

http://commits.kde.org/digikam/a9125c563aa6a9dcff35ff0d9051663e73f0450f