Bug#654220: FTBFS with libav in experimental

Reinhard Tartler siretart at tauware.de
Mon Jan 2 13:27:03 UTC 2012


Package: opencv
Version: 2.3.1-4
Severity: important
User: siretart at tauware.de
Usertags: ftbfs-libav0.8

A local rebuild of your package reveals a build failure against libav
0.8, which can be found in debian/experimental. Find the buildlog
further below:

It to seems that your package needs to
#include <libavutil/mathematics.h> in addition to only "libavcodec/avcodec.h".
Please tell me if you require further assistance with fixing this issue.

Cheers,
Reinhard

cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/modules/highgui && /usr/bin/c++   -Dopencv_highgui_EXPORTS -DHAVE_CVCONFIG_H -DHAVE_JPEG -DHAVE_PNG -DHAVE_TIFF -DHAVE_JASPER -DHAVE_OPENEXR -DHIGHGUI_EXPORTS -DCVAPI_EXPORTS -Wall -Wno-long-long -pthread -ffunction-sections  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security  -fomit-frame-pointer -ffast-math -msse2 -DNDEBUG  -fPIC -I/usr/lib/pymodules/python2.7/numpy/core/include -I/«PKGBUILDDIR»/. -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/include/opencv -I/usr/include/OpenEXR -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/«PKGBUILDDIR»/modules/highgui/include -I/«PKGBUILDDIR»/modules/highgui/../core/include -I/«PKGBUILDDIR»/modules/highgui/../imgproc/include -I/«PKGBUILDDIR»/modules/highgui/src -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/modules/highgui    -D PYTHON_USE_NUMPY=1 -o CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o -c /«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg.cpp
In file included from /«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'void CvCapture_FFMPEG::close()':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:457:9: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:457:31: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'bool CvCapture_FFMPEG::reopen()':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:488:5: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:488:27: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:491:5: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1369) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:491:52: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1369) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:492:5: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:492:27: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:499:5: warning: 'int avcodec_thread_init(AVCodecContext*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3958) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:499:50: warning: 'int avcodec_thread_init(AVCodecContext*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3958) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:502:5: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:502:28: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'bool CvCapture_FFMPEG::open(const char*)':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:529:15: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1369) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:529:63: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1369) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:534:11: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:534:33: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:546:9: warning: 'int avcodec_thread_init(AVCodecContext*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3958) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:546:54: warning: 'int avcodec_thread_init(AVCodecContext*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3958) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:551:13: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:551:36: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::getProperty(int)':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:735:13: warning: variable 'timestamp' set but not used [-Wunused-but-set-variable]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In function 'AVStream* icv_add_video_stream_FFMPEG(AVFormatContext*, CodecID, int, int, int, double, int)':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1031:7: warning: 'AVStream* av_new_stream(AVFormatContext*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1605) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1031:26: warning: 'AVStream* av_new_stream(AVFormatContext*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1605) [-Wdeprecated-declarations]
In file included from /«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In function 'int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1156:90: error: 'av_rescale_q' was not declared in this scope
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'void CvVideoWriter_FFMPEG::close()':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1326:3: warning: 'int url_fclose(AVIOContext*)' is deprecated (declared at /usr/include/libavformat/avio.h:316) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1326:20: warning: 'int url_fclose(AVIOContext*)' is deprecated (declared at /usr/include/libavformat/avio.h:316) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)':
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1439:9: warning: 'int av_set_parameters(AVFormatContext*, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1641) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1439:35: warning: 'int av_set_parameters(AVFormatContext*, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1641) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1443:5: warning: 'void dump_format(AVFormatContext*, int, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1894) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1443:35: warning: 'void dump_format(AVFormatContext*, int, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1894) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1470:15: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1470:36: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1507:13: warning: 'int url_fopen(AVIOContext**, const char*, int)' is deprecated (declared at /usr/include/libavformat/avio.h:315) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1507:52: warning: 'int url_fopen(AVIOContext**, const char*, int)' is deprecated (declared at /usr/include/libavformat/avio.h:315) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1513:5: warning: 'int av_write_header(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1677) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/modules/highgui/src/cap_ffmpeg_impl.hpp:1513:25: warning: 'int av_write_header(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1677) [-Wdeprecated-declarations]
make[3]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»/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

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the debian-science-maintainers mailing list