Bug#654229: FTBFS with libav in experimental

Reinhard Tartler siretart at tauware.de
Mon Jan 2 13:39:44 UTC 2012


Package: wxsvg
Version: 2:1.1.5~dfsg0-1
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

On Mo, Jan 02, 2012 at 11:25:57 (CET), Source Builder wrote:

> sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on sandy
>
> ╔══════════════════════════════════════════════════════════════════════════════╗
> ║ wxsvg 2:1.1.5~dfsg0-1+b1 (amd64)                           02 Jan 2012 11:25 ║
> ╚══════════════════════════════════════════════════════════════════════════════╝
>
> Package: wxsvg
> Version: 2:1.1.5~dfsg0-1+b1
> Source Version: 2:1.1.5~dfsg0-1
> Distribution: unstable
> Architecture: amd64

[...]

> libtool: compile:  g++ -DPACKAGE_NAME=\"wxsvg\" -DPACKAGE_TARNAME=\"wxsvg\" -DPACKAGE_VERSION=\"1.1.5\" "-DPACKAGE_STRING=\"wxsvg 1.1.5\"" -DPACKAGE_BUGREPORT=\"wx-svg-users at lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wxsvg\" -DVERSION=\"1.1.5\" -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 -g -O2 -pthread -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 -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_FFMPEG -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:64:12: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1369) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp:64:77: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1369) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp:70:6: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp:70:37: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp: In member function 'virtual void wxFfmpegMediaDecoder::Close()':
> mediadec_ffmpeg.cpp:80:3: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp:80:34: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp: In member function 'bool wxFfmpegMediaDecoder::OpenVideoDecoder()':
> mediadec_ffmpeg.cpp:186:16: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp:186:46: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
> mediadec_ffmpeg.cpp: In member function 'double wxFfmpegMediaDecoder::GetPosition()':
> mediadec_ffmpeg.cpp:247:96: error: 'av_rescale' was not declared in this scope
> make[3]: *** [mediadec_ffmpeg.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/«PKGBUILDDIR»/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/«PKGBUILDDIR»/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> dh_auto_build: make -j4 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 pkg-multimedia-maintainers mailing list