Bug#721894: libav: FTBFS with opencv 2.4
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Fri Sep 6 01:38:33 UTC 2013
Hi,
I see. I will fix this problem in opencv package.
Best regards,
Nobuhiro
2013/9/6 Sebastian Ramacher <sramacher at debian.org>:
> Control: reassign -1 libopencv-dev 2.4.6.1+dfsg-0exp2
> Control: retitle -1 libopencv-dev: broken pkg-config file, causes other packages to FTBFS
> Control: severity -1 serious
> Control: affects -1 src:libav
> Control: forwarded -1 http://code.opencv.org/issues/1925
>
> On 2013-09-06 09:37:48, Nobuhiro Iwamatsu wrote:
>> Hi,
>>
>> output of "pkg-config --cflags --libs libopencv" is following:
>>
>> ---
>> iwamatsu at debian:~/opencv/libav/libav-9.8$ pkg-config --cflags --libs opencv
>> -I/usr/include/opencv /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so
>> /usr/lib/x86_64-linux-gnu/libopencv_contrib.so
>> /usr/lib/x86_64-linux-gnu/libopencv_core.so
>> /usr/lib/x86_64-linux-gnu/libopencv_features2d.so
>> /usr/lib/x86_64-linux-gnu/libopencv_flann.so
>> /usr/lib/x86_64-linux-gnu/libopencv_gpu.so
>> /usr/lib/x86_64-linux-gnu/libopencv_highgui.so
>> /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so
>> /usr/lib/x86_64-linux-gnu/libopencv_legacy.so
>> /usr/lib/x86_64-linux-gnu/libopencv_ml.so
>> /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so
>> /usr/lib/x86_64-linux-gnu/libopencv_photo.so
>> /usr/lib/x86_64-linux-gnu/libopencv_stitching.so
>> /usr/lib/x86_64-linux-gnu/libopencv_superres.so
>> /usr/lib/x86_64-linux-gnu/libopencv_ts.so
>> /usr/lib/x86_64-linux-gnu/libopencv_video.so
>> /usr/lib/x86_64-linux-gnu/libopencv_videostab.so
>> ---
>>
>> Changes from opencv 2.3, opencv.pc format has been changed.
>> Opencv2.4 came to include the path to the library and does not use -l and -L.
>>
>> opencv2.3:
>> ---
>> Name: OpenCV
>> Description: Open Source Computer Vision Library
>> Version: 2.3.1
>> Libs: -L${libdir} -lopencv_core -lopencv_imgproc -lopencv_highgui
>> -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d
>> -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
>> Cflags: -I${includedir_old} -I${includedir_new}
>> ---
>>
>> opencv2.4:
>> ---
>> Name: OpenCV
>> Description: Open Source Computer Vision Library
>> Version: 2.4.6.1
>> Libs: ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_calib3d.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_contrib.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_core.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_features2d.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_flann.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_gpu.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_highgui.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_imgproc.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_legacy.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_ml.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_objdetect.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_photo.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_stitching.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_superres.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_ts.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_video.so
>> ${exec_prefix}/lib/x86_64-linux-gnu/libopencv_videostab.so
>> Cflags: -I${includedir_old} -I${includedir_new}
>> ---
>
> That's wrong and broken. That's a bug in opencv, not in libav. Here is
> the uptream bug report: http://code.opencv.org/issues/1925.
>
> Fixing opencv's pkg-config file makes libav build again.
>
> Reassigning this bug to libopencv-dev, raising the severity and marking
> libav as affected.
>
> Regards
> --
> Sebastian Ramacher
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
More information about the debian-science-maintainers
mailing list