Source: otb Version: 6.0.0+dfsg-1 Severity: important Control: block 841733 by -1
Trying to rebuild otb with OpenCV 3.1 (as found in experimental) fails
on non-x86 due to cmake not locating it.
You very much need not tell cmake where to find libraries as long as
they in a standard path, therefore the attached patch is quite enough to
do the trick.
Please remove the opencv-i386.patch and replace it with the attached
one.
Severity is important because we would like to proceed with the
transition soonish, at which point this will be a blocker.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
Description: fix locating OpenCV on non-amd64 hosts cmake is very much clever to properly find the library without telling where to look for it Author: Mattia Rizzolo <[email protected]> Last-Update: 2017-06-21 --- a/CMake/FindOpenCV.cmake +++ b/CMake/FindOpenCV.cmake @@ -116,16 +116,12 @@ OPENCV_core_LIBRARY NAMES ${opencv_core_NAMES} PATHS ${OPENCV_SEARCH_PATH} - PATH_SUFFIXES "lib" "lib64" "lib/x86_64-linux-gnu" - NO_DEFAULT_PATH DOC "Path to opencv_core library") find_library( OPENCV_ml_LIBRARY NAMES ${opencv_ml_NAMES} PATHS ${OPENCV_SEARCH_PATH} - PATH_SUFFIXES "lib" "lib64" "lib/x86_64-linux-gnu" - NO_DEFAULT_PATH DOC "Path to opencv_ml library") set(OpenCV_FOUND FALSE)
signature.asc
Description: PGP signature

