[Debian-med-packaging] Bug#922589: FTBFS against opencv 4.0.1 (exp

Andreas Tille andreas at an3as.eu
Fri Apr 3 20:39:23 BST 2020


Hi Alex,

On Fri, Apr 03, 2020 at 05:21:57PM +0100, Alex Dewar wrote:
> Maybe try patching configure.ac so it looks for opencv4 rather than
> opencv. I'd like to also address this in my PR, only I'm not sure how to
> get autotools to look for opencv4 OR opencv without failing... Any ideas?

Please be so kind and discuss this in public (at least including the
bug report.  And no, besides the quilt patch

   0017_opencv4.patch

I have no idea since it should do exactly what you mean.

Kind regards

     Andreas.
 
> On 28/03/2020 13:34, Andreas Tille wrote:
> > Hi Alex,
> > 
> > On Sat, Mar 28, 2020 at 11:30:04AM +0000, Alex Dewar wrote:
> > > I've stuck in a PR to the upstream OpenCFU repository, which should fix
> > > this issue: https://github.com/qgeissmann/OpenCFU/pull/26
> > > 
> > > Let me know if this works (or not) for you.
> > Thanks a lot for your port in OpenCFU to latest OpenCV.  Its probably
> > very valuable.  I've applied the patch in Salsa[1].
> > Unfortunately I'm still struck with the configure step:
> > 
> > ...
> > checking for pkg-config... /usr/bin/pkg-config
> > checking pkg-config is at least version 0.9.0... yes
> > checking for OPENCV... no
> > configure: error: OpenCV not found. Have you installed the library (devel version)
> > 	tail -v -n \+0 config.log
> > ...
> > 
> > 
> > Regarding the hint of Samuel Thibault:  Yes there is
> > 
> > # cat ./usr/lib/x86_64-linux-gnu/pkgconfig/opencv4.pc
> > # Package Information for pkg-config
> > 
> > prefix=/usr
> > exec_prefix=${prefix}
> > libdir=${exec_prefix}/lib/x86_64-linux-gnu
> > includedir_old=${prefix}/include/opencv4/opencv
> > includedir_new=${prefix}/include/opencv4
> > 
> > Name: OpenCV
> > Description: Open Source Computer Vision Library
> > Version: 4.2.0
> > Libs: -L${exec_prefix}/lib/x86_64-linux-gnu -lopencv_stitching -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_highgui -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_quality -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_dnn -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core
> > Libs.private: -ldl -lm -lpthread -lrt
> > Cflags: -I${includedir_old} -I${includedir_new}
> > 
> > 
> > in my pbuilder chroot - but this somehow does not help :-(
> > 
> > 
> > Kind regards
> > 
> >         Andreas.
> > 
> > [1] https://salsa.debian.org/med-team/opencfu/-/commit/1cfb33ca7dd7e659cd597694d458d56dc18c661c
> > 
> 
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list