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

Bug 526092

Summary: media-gfx/digikam-4.2.0 with media-libs/lensfun-0.3.0 - .../work/digikam-4.2.0/core/libs/dimg/filters/lens/lensfunfilter.cpp:128:24: error: ‘LF_MODIFY_CCI’ was not declared in this scope
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: [OLD] KDEAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: dschridde+gentoobugs, gentoo-bugs, kde, nrndda
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=331523
Whiteboard: fixed in 4.3.0
Package list:
Runtime testing required: ---
Bug Depends on: 522944    
Bug Blocks:    
Attachments: digikam-4.2.0:20141020-143752.log.bz2
emerge --info
rawstudio-2.0-r1 build.log

Description Markus Walter 2014-10-20 14:55:06 UTC
Created attachment 387060 [details]
digikam-4.2.0:20141020-143752.log.bz2

Hi on my new hardened ~amd64 machine with gcc-4.9 I see the following failure for digikam.

/var/tmp/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/libs/dimg/filters/lens/lensfunfilter.cpp: In member function ‘virtual void Digikam::LensFunFilter::filterImage()’:
/var/tmp/portage/media-gfx/digikam-4.2.0/work/digikam-4.2.0/core/libs/dimg/filters/lens/lensfunfilter.cpp:128:24: error: ‘LF_MODIFY_CCI’ was not declared in this scope
         modifyFlags |= LF_MODIFY_CCI;
                        ^
digikam/CMakeFiles/digikamcore.dir/build.make:2597: recipe for target 'digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.o' failed

I retried with gcc-4.8 and got exactly the same error.
Comment 1 Markus Walter 2014-10-20 14:55:21 UTC
Created attachment 387062 [details]
emerge --info
Comment 2 Markus Walter 2014-10-20 14:56:30 UTC
I just tried digikam-4.0.0 and got the same error.
Comment 3 Markus Walter 2014-10-20 15:11:00 UTC
Downgrading media-libs/lensfun from 0.3.0 to 0.2.8-r1 made this go away.
Comment 4 Dmitry Derevyanko 2014-10-28 12:40:33 UTC
Created attachment 387648 [details]
rawstudio-2.0-r1 build.log

New version of lensfun also breaks media-gfx/rawstudio-2.0-r1. Probably it's better to add necessary dependencies for digikam and rawstudio or just mask media-libs/lensfun-0.3.0?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2014-10-30 20:08:57 UTC
Fixed version dep in 4.2, added 4.4