[Digikam-devel] [digikam] [Bug 356672] New: digikam 4.14.0 failed to build against lensfun 0.3.2

Willy Sudiarto Raharjo via KDE Bugzilla bugzilla_noreply at kde.org
Mon Dec 14 11:54:35 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=356672

            Bug ID: 356672
           Summary: digikam 4.14.0 failed to build against lensfun 0.3.2
           Product: digikam
           Version: 4.14.0
          Platform: Slackware Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: setup
          Assignee: digikam-devel at kde.org
          Reporter: willysr at gmail.com

I'm trying to rebuild digikam 4.14.0 against lensfun 0.3.2 and failed with an
error message

In file included from
/tmp/SBo/digikam-4.14.0/core/libs/dimg/filters/lens/lensfuniface.h:29:0,
                 from
/tmp/SBo/digikam-4.14.0/core/libs/dimg/filters/lens/lensfunfilter.cpp:35:
/usr/include/lensfun/lensfun.h:2506:5: error: template with C linkage
     template<typename T> static void ModifyColor_Vignetting_PA (
     ^
/usr/include/lensfun/lensfun.h:2508:5: error: template with C linkage
     template<typename T> static void ModifyColor_DeVignetting_PA (
     ^
core/app/CMakeFiles/digikamcore.dir/build.make:2693: recipe for target
'core/app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o'
failed
make[2]: ***
[core/app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o]
Error 1
make[2]: Leaving directory '/tmp/SBo/digikam-4.14.0/build'
CMakeFiles/Makefile2:7965: recipe for target
'core/app/CMakeFiles/digikamcore.dir/all' failed
make[1]: *** [core/app/CMakeFiles/digikamcore.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/digikam-4.14.0/build'
Makefile:141: recipe for target 'all' failed
make: *** [all] Error 2

i think it's mentioned on the lensfun's changelog

=======================================
  0.3.1 --> 0.3.2  (2015-11-16)
=======================================

* Incremented binary version number
* Improved vignetting interpolation

I haven't tested on 5.0 Beta 2, but i guess it's also failing there

Reproducible: Always

Steps to Reproduce:
1. upgrade to lensfun 0.3.2
2. rebuild digiKam 4.14.0
3.

Actual Results:  
In file included from
/tmp/SBo/digikam-4.14.0/core/libs/dimg/filters/lens/lensfuniface.h:29:0,
                 from
/tmp/SBo/digikam-4.14.0/core/libs/dimg/filters/lens/lensfunfilter.cpp:35:
/usr/include/lensfun/lensfun.h:2506:5: error: template with C linkage
     template<typename T> static void ModifyColor_Vignetting_PA (
     ^
/usr/include/lensfun/lensfun.h:2508:5: error: template with C linkage
     template<typename T> static void ModifyColor_DeVignetting_PA (
     ^
core/app/CMakeFiles/digikamcore.dir/build.make:2693: recipe for target
'core/app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o'
failed
make[2]: ***
[core/app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfunfilter.cpp.o]
Error 1
make[2]: Leaving directory '/tmp/SBo/digikam-4.14.0/build'
CMakeFiles/Makefile2:7965: recipe for target
'core/app/CMakeFiles/digikamcore.dir/all' failed
make[1]: *** [core/app/CMakeFiles/digikamcore.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/digikam-4.14.0/build'
Makefile:141: recipe for target 'all' failed
make: *** [all] Error 2

Expected Results:  
digikam is built

Tested on Slackware current
KDE 4.14.x
GCC 5.2.0
GLIBC-2.22.0
lensfun-0.3.2
opencv-3.0.0

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list