Bug#737153: OpenCVModules.cmake not installed, causing visp FTBFS

Rebecca N. Palmer r.palmer at bham.ac.uk
Thu Jan 30 18:02:13 UTC 2014


Package: libopencv-dev
Version: 2.4.8+dfsg-1
Control: affects -1 visp openimageio sikuli sitplus digikam mrpt
(= everything build-depending on libopencv-dev and cmake)

The file OpenCVModules.cmake is created during the build process, but 
not put in any of the packages:

dh_install -O--buildsystem=cmake --list-missing
dh_install: usr/share/OpenCV/OpenCVModules-release.cmake exists in 
debian/tmp but is not installed to anywhere
dh_install: usr/share/OpenCV/OpenCVModules.cmake exists in debian/tmp 
but is not installed to anywhere

As this file is referenced from OpenCVConfig.cmake, attempting to use 
this library from CMake hence fails with (from 
https://buildd.debian.org/status/fetch.php?pkg=visp&arch=armel&ver=2.8.0-4&stamp=1390889862)

CMake Error at /usr/share/OpenCV/OpenCVConfig.cmake:45 (include):
   include could not find load file:

     /usr/share/OpenCV/OpenCVModules.cmake

I expect that putting this file in libopencv-dev would fix the problem, 
but have not tested this.



More information about the debian-science-maintainers mailing list