Bug 348211 - digikam fails to build using >=gcc-5
Summary: digikam fails to build using >=gcc-5
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 4.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-25 17:11 UTC by Jonathan Adamczewski
Modified: 2017-08-19 21:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.0
Sentry Crash Report:


Attachments
Support for arbitrary gcc versions (924 bytes, patch)
2015-05-25 17:12 UTC, Jonathan Adamczewski
Details

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