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

Bug 557096

Summary: media-libs/libkface-4.12.0 - fatal error: opencv2/core/internal.hpp: No such file or directory
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2015-08-09 06:42:25 UTC
'MAKEOPTS=-j1 emerge -v1 digikam' fails emerging media-libs/libkface-4.12.0 with:

...
cd /var/tmp/portage/media-libs/libkface-4.12.0/work/libkface-4.12.0_build/libkface && /usr/bin/x86_64-pc-linux-gnu-g++  -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=69 -DKDE_DEFAULT_DEBUG_AREA=51005 -DKDE_DEPRECATED_WARNINGS -DMAKE_KFACE_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_XML_LIB -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500  -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -I/var/tmp/portage/media-libs/libkface-4.12.0/work/libkface-4.12.0_build/libkface -I/var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface -I/var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/database -I/var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/detection -I/var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/recognition-opencv-lbph -I/var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/alignment-congealing -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -isystem /usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -isystem /usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/Qt3Support -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/Qt -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4 -I/usr/include/opencv    -fexceptions -UQT_NO_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kface.dir/facedetector.o -c /var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/facedetector.cpp
In file included from /var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/detection/opencvfacedetector.h:40:0,
                 from /var/tmp/portage/media-libs/libkface-4.12.0/work/digikam-4.12.0/extra/libkface/libkface/facedetector.cpp:29:
/var/tmp/portage/media-libs/libkface-4.12.0/work/libkface-4.12.0_build/libkface/libopencv.h:55:37: fatal error: opencv2/core/internal.hpp: No such file or directory
 #include <opencv2/core/internal.hpp>
                                     ^
compilation terminated.
libkface/CMakeFiles/kface.dir/build.make:86: recipe for target 'libkface/CMakeFiles/kface.dir/facedetector.o' failed
make[2]: *** [libkface/CMakeFiles/kface.dir/facedetector.o] Error 1


Reproducible: Always
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2015-08-09 09:05:50 UTC

*** This bug has been marked as a duplicate of bug 554490 ***