Created attachment 96425 [details] Patch When compiling digikam with tests enabled, -DBUILD_TESTING=ON : : [100%] Built target digikam [100%] [100%] Built target testdatabase [100%] Built target IOJobsTest Built target renamecustomizertest [100%] Built target databasefieldstest [100%] Built target albummodeltest ../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o): In function `FacesEngine::FaceDetector::detectFaces(QImage const&, QSize const&)': /home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:166: undefined reference to `DIGIKAM_FACESENGINE_LOG()' /home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:166: undefined reference to `DIGIKAM_FACESENGINE_LOG()' /home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:170: undefined reference to `DIGIKAM_FACESENGINE_LOG()' /home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:170: undefined reference to `DIGIKAM_FACESENGINE_LOG()' ../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o): In function `FacesEngine::FaceDetector::Private::backend()': /home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:65: undefined reference to `DIGIKAM_FACESENGINE_LOG()' ../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o):/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:65: more undefined references to `DIGIKAM_FACESENGINE_LOG()' follow collect2: error: ld returned 1 exit status core/tests/facesengine/CMakeFiles/detect.dir/build.make:133: recipe for target 'core/tests/facesengine/detect' failed make[2]: *** [core/tests/facesengine/detect] Error 1 CMakeFiles/Makefile2:13265: recipe for target 'core/tests/facesengine/CMakeFiles/detect.dir/all' failed make[1]: *** [core/tests/facesengine/CMakeFiles/detect.dir/all] Error 2 Makefile:126: recipe for target 'all' failed make: *** [all] Error 2 Applying attached patch will fix the linking problem.
Git commit 96b8574419fefa0feb3082f75e091167ac9565ce by Gilles Caulier. Committed on 03/01/2016 at 12:10. Pushed by cgilles into branch 'master'. apply patch #96425 FIXED-IN: 5.0.0 M +6 -0 tests/facesengine/CMakeLists.txt http://commits.kde.org/digikam/96b8574419fefa0feb3082f75e091167ac9565ce