[Digikam-devel] Bug#674325: digikam: FTBFS: opencv not found

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 24 10:41:53 BST 2012


Source: digikam
Version: 4:2.6.0~rc-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> LDFLAGS=" -Wl,--as-needed" dh_auto_configure --buildsystem=kde -- -DDIGIKAMSC_COMPILE_DOC=on -DDIGIKAMSC_COMPILE_PO=on
> -- The C compiler identification is GNU 4.7.0
> -- The CXX compiler identification is GNU 4.7.0
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
> -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so
> -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libXft.so;/usr/lib/x86_64-linux-gnu/libXau.so;/usr/lib/x86_64-linux-gnu/libXdmcp.so - found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found.
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE  
> -- Looking for _POSIX_TIMERS
> -- Looking for _POSIX_TIMERS - found
> -- Found Automoc4: /usr/bin/automoc4 
> -- Found Perl: /usr/bin/perl (found version "5.14.2") 
> -- Found Phonon: /usr/include 
> -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Performing Test HAVE_FPIE_SUPPORT
> -- Performing Test HAVE_FPIE_SUPPORT - Success
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
> -- Found KDE 4.7 include dir: /usr/include
> -- Found KDE 4.7 library dir: /usr/lib
> -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
> -- Found automoc4: /usr/bin/automoc4
> -- Local kdegraphics libraries will be compiled... NO
> -- Handbooks will be compiled..................... YES
> -- Extract translations files..................... NO
> -- Translations will be compiled.................. YES
> -- ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libmediawiki
> -- checking for module 'QJson>=0.7'
> --   found QJson, version 0.7.1
> -- Found QJSON: /usr/lib/x86_64-linux-gnu/libqjson.so  (found version "0.7.1", required is "0.7")
> 
> -----------------------------------------------------------------------------
> -- The following external packages were located on your system.
> -- This installation will have the extra features provided by these packages.
> -----------------------------------------------------------------------------
>    * QJSON - Qt library for handling JSON data
> 
> -----------------------------------------------------------------------------
> -- Congratulations! All external packages have been found.
> -----------------------------------------------------------------------------
> 
> -- ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkgeomap
> -- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> -- Found marble: /usr/include/marble 
> -- Check Kexiv2 library in local sub-folder...
> -- Check Kexiv2 library using pkg-config...
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
> -- Found libkexiv2 release >= 1.0.0
> -- Found libkexiv2: /usr/lib/libkexiv2.so
> -- kexiv2 found, the demo application will be compiled.
> -- Looking for valgrind/valgrind.h
> -- Looking for valgrind/valgrind.h - not found
> -- ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: libkface
> -- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> -- First try at finding OpenCV...
> CMake Warning at extra/libkface/CMakeLists.txt:58 (FIND_PACKAGE):
>   By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
>   asked CMake to find a package configuration file provided by "OpenCV", but
>   CMake did not find one.
> 
>   Could not find a package configuration file provided by "OpenCV" with any
>   of the following names:
> 
>     OpenCVConfig.cmake
>     opencv-config.cmake
> 
>   Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
>   "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
>   provides a separate development package or SDK, be sure it has been
>   installed.
> 
> 
> -- Could not find OpenCV normally, trying internal FindOpenCV.cmake
> -- Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
> CMake Error at extra/libkface/cmake/modules_opencv/FindOpenCV.cmake:237 (MESSAGE):
>   OpenCV required but some headers or libs not found.  Please specify its
>   location with OpenCV_ROOT_DIR env.  variable.
> Call Stack (most recent call first):
>   extra/libkface/CMakeLists.txt:63 (FIND_PACKAGE)
> 
> 
> -- Configuring incomplete, errors occurred!
> dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debian -DDIGIKAMSC_COMPILE_DOC=on -DDIGIKAMSC_COMPILE_PO=on returned exit code 1
> make[1]: *** [override_dh_auto_configure] Error 2

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/digikam_2.6.0~rc-3_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.






More information about the Digikam-devel mailing list