Bug#654221: FTBFS with libav in experimental

Reinhard Tartler siretart at tauware.de
Mon Jan 2 13:28:52 UTC 2012


Package: performous
Version: 0.6.1-3
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 10:21:49 (CET), Source Builder wrote:

> sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on sandy
>
> ╔══════════════════════════════════════════════════════════════════════════════╗
> ║ performous 0.6.1-3+b1 (amd64)                              02 Jan 2012 10:18 ║
> ╚══════════════════════════════════════════════════════════════════════════════╝
>
> Package: performous
> Version: 0.6.1-3+b1
> Source Version: 0.6.1-3
> Distribution: unstable
> Architecture: amd64
>

[...]

> cd /«PKGBUILDDIR»/build-tree/game && /usr/bin/c++   -DBOOST_FILESYSTEM_VERSION=2 -DUSE_GETTEXT -D__STDC_CONSTANT_MACROS -Wall -Wextra -Wno-missing-field-initializers -std=c++98 -pthread -O2 -g -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libxml++-2.6 -I/usr/sbin/../lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/sbin/../lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/sbin/../lib/sigc++-2.0/include -I/usr/include/GL -I/«PKGBUILDDIR»/build-tree/game    -o CMakeFiles/performous.dir/ffmpeg.cc.o -c /«PKGBUILDDIR»/game/ffmpeg.cc
> /«PKGBUILDDIR»/game/ffmpeg.cc: In destructor 'FFmpeg::~FFmpeg()':
> /«PKGBUILDDIR»/game/ffmpeg.cc:42:18: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:42:48: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1581) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc: In member function 'void FFmpeg::open()':
> /«PKGBUILDDIR»/game/ffmpeg.cc:54:6: 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»/game/ffmpeg.cc:54:71: 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»/game/ffmpeg.cc:55:6: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:55:36: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1413) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:72:7: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:72:35: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:91:7: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:91:35: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3996) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc: In member function 'void FFmpeg::seek_internal()':
> /«PKGBUILDDIR»/game/ffmpeg.cc:185:101: error: 'av_rescale_q' was not declared in this scope
> /«PKGBUILDDIR»/game/ffmpeg.cc: In member function 'void FFmpeg::decodeNextFrame()':
> /«PKGBUILDDIR»/game/ffmpeg.cc:267:22: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4082) [-Wdeprecated-declarations]
> /«PKGBUILDDIR»/game/ffmpeg.cc:267:90: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4082) [-Wdeprecated-declarations]
> make[3]: *** [game/CMakeFiles/performous.dir/ffmpeg.cc.o] Error 1
> make[3]: Leaving directory `/«PKGBUILDDIR»/build-tree'
> make[2]: *** [game/CMakeFiles/performous.dir/all] Error 2
> make[2]: Leaving directory `/«PKGBUILDDIR»/build-tree'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/«PKGBUILDDIR»/build-tree'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20120102-1021

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


More information about the Pkg-games-devel mailing list