Bug#739440: FTBFS with libav10

Moritz Muehlenhoff jmm at debian.org
Tue Feb 18 18:59:48 UTC 2014


Source: opencv
Severity: important

Hi,
your package fails to build from source against libav 10 (currently
packaged in experimental). This bug will become release-critical
at some point when the libav10 transition starts.

Migration documentation can be found at
https://wiki.libav.org/Migration/10

Cheers,
        Moritz


/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:256:7: error: 'CODEC_ID_TARGA' was not declared in this
scope
     { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') },
       ^
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:258:7: error: 'CODEC_ID_NONE' was not declared in this scope
     { CODEC_ID_NONE, 0 },
       ^
In file included from /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::getProperty(int)':
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:773:33: error: 'AVStream' has no member named 'r_frame_rate'
         return av_q2d(video_st->r_frame_rate);
                                 ^
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::get_fps()':
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:820:49: error: 'AVStream' has no member named 'r_frame_rate'
     double fps = r2d(ic->streams[video_stream]->r_frame_rate);
                                                 ^
In file included from /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In function 'int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)':
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:1236:72: error: 'avcodec_encode_video' was not declared in this scope
         out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
                                                                        ^
make[3]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
make[3]: Leaving directory `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make[2]: Leaving directory `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list