[Debian-med-packaging] Bug#653799: FTBFS: CMake Error at cmake_modules/FindOpenCV.cmake:77 (file): file STRINGS file "/usr/include/opencv/cvver.h" cannot be read.

Andreas Tille andreas at an3as.eu
Mon Jan 9 09:43:22 UTC 2012


Hi,

On Fri, Dec 30, 2011 at 07:08:09PM -0600, Steve M. Robbins wrote:
> Source: sitplus
> Version: 1.0.1-2
> Severity: serious
> Justification: fails to build from source
> 
> Package failed to build in a clean sid chroot:
> 
> -- checking for one of the modules 'glib-2.0'
> -- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -- Looking for include files HAVE_GLIB_GREGEX_H
> -- Looking for include files HAVE_GLIB_GREGEX_H - found

The old build log continued like this:

-- OpenCV_FOUND. true
-- OpenCV_LIBS. /usr/lib/libcxcore.so;/usr/lib/libcv.so;/usr/lib/libml.so;/usr/lib/libhighgui.so;/usr/lib/libcvaux.so
-- OpenCV_INCLUDE_DIR. /usr/include/opencv


> CMake Error at cmake_modules/FindOpenCV.cmake:77 (file):
>   file STRINGS file "/usr/include/opencv/cvver.h" cannot be read.
> Call Stack (most recent call first):
>   src/creavision/CMakeLists.txt:57 (FIND_PACKAGE)
> 
> 
> CMake Error at cmake_modules/FindOpenCV.cmake:78 (string):
>   string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
>   command.

I noticed that the new version of libcv-dev in unstable is lacking the
header file in question.  So I'm CCing the maintainer as well as
debian-mentors in case I can get any other help how to fix this problem.

Kind regards

        Andreas.

-- 
http://fam-tille.de





More information about the Debian-med-packaging mailing list