Bug#720826: wxsvg: FTBFS with libav9: mediadec_ffmpeg.cpp:59:37: error: 'av_find_stream_info' was not declared in this scope

David Suárez david.sephirot at gmail.com
Sun Aug 25 13:32:09 UTC 2013


Source: wxsvg
Version: 2:1.1.8~dfsg0-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130825 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Related to current libav9 transition (see #706798).

Relevant part (hopefully):
> /bin/bash ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"wxsvg\" -DPACKAGE_TARNAME=\"wxsvg\" -DPACKAGE_VERSION=\"1.1.8\" -DPACKAGE_STRING=\"wxsvg\ 1.1.8\" -DPACKAGE_BUGREPORT=\"wx-svg-users at lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wxsvg\" -DVERSION=\"1.1.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBEXPAT=1 -I. -I../include -I../include/wxSVG  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/cairo -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/libdrm   -DUSE_RENDER_CAIRO -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  -DUSE_LIBAV   -c -o mediadec_ffmpeg.lo mediadec_ffmpeg.cpp
> libtool: compile:  g++ -DPACKAGE_NAME=\"wxsvg\" -DPACKAGE_TARNAME=\"wxsvg\" -DPACKAGE_VERSION=\"1.1.8\" "-DPACKAGE_STRING=\"wxsvg 1.1.8\"" -DPACKAGE_BUGREPORT=\"wx-svg-users at lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wxsvg\" -DVERSION=\"1.1.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBEXPAT=1 -I. -I../include -I../include/wxSVG -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/cairo -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/libdrm -DUSE_RENDER_CAIRO -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -DUSE_LIBAV -c mediadec_ffmpeg.cpp  -fPIC -DPIC -o .libs/mediadec_ffmpeg.o
> mediadec_ffmpeg.cpp: In member function 'virtual bool wxFfmpegMediaDecoder::Load(const wxString&)':
> mediadec_ffmpeg.cpp:59:37: error: 'av_find_stream_info' was not declared in this scope
>   if (av_find_stream_info(m_formatCtx)<0) {
>                                      ^
> mediadec_ffmpeg.cpp: In member function 'virtual void wxFfmpegMediaDecoder::Close()':
> mediadec_ffmpeg.cpp:69:3: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
>    av_close_input_file(m_formatCtx);
>    ^
> mediadec_ffmpeg.cpp:69:34: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
>    av_close_input_file(m_formatCtx);
>                                   ^
> mediadec_ffmpeg.cpp: In member function 'bool wxFfmpegMediaDecoder::OpenVideoDecoder()':
> mediadec_ffmpeg.cpp:174:46: error: 'avcodec_open' was not declared in this scope
>   if (!codec || avcodec_open(m_codecCtx, codec)<0) {
>                                               ^
> make[3]: *** [mediadec_ffmpeg.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/25/wxsvg_1.1.8~dfsg0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-multimedia-maintainers mailing list