Bug#739433: FTBFS with libav10

Moritz Muehlenhoff jmm at debian.org
Tue Feb 18 18:07:46 UTC 2014


Package: performous
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

+-2.0/include -I/usr/include/GL -I/usr/include/x86_64-linux-gnu -I/home/jmm/av10/performous-0.7.0/build-tree/game    -o CMakeFiles/performous.dir/ffmpeg.cc.o -c /home/jmm/av10/performous-0.7.0/game/ffmpeg.cc
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc: In destructor 'FFmpeg::~FFmpeg()':
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc:42:63: error: 'audio_resample_close' was not declared in this scope
  if (m_resampleContext) audio_resample_close(m_resampleContext);
                                                               ^
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc: In member function 'void FFmpeg::open()':
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc:74:153: error: 'av_audio_resample_init' was not declared in this scope
   m_resampleContext = av_audio_resample_init(AUDIO_CHANNELS, cc->channels, m_rate, cc->sample_rate, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16, 16, 10, 0, 0.8);

                         ^
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc: In constructor 'FFmpeg::decodePacket()::AVFrameWrapper::AVFrameWrapper()':
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc:145:29: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
   AVFrameWrapper(): m_frame(avcodec_alloc_frame()) {
                             ^
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc:145:49: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
   AVFrameWrapper(): m_frame(avcodec_alloc_frame()) {
                                                 ^
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc: In member function 'void FFmpeg::processAudio(AVFrame*)':
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc:194:33: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
  std::vector<int16_t> resampled(AVCODEC_MAX_AUDIO_FRAME_SIZE);
                                 ^
/home/jmm/av10/performous-0.7.0/game/ffmpeg.cc:195:105: error: 'audio_resample' was not declared in this scope
  int frames = audio_resample(m_resampleContext, &resampled[0], (short*)frame->data[0], frame->nb_samples);
                                                                                                         ^
make[3]: *** [game/CMakeFiles/performous.dir/ffmpeg.cc.o] Error 1
make[3]: Leaving directory `/home/jmm/av10/performous-0.7.0/build-tree'
make[2]: *** [game/CMakeFiles/performous.dir/all] Error 2
make[2]: Leaving directory `/home/jmm/av10/performous-0.7.0/build-tree'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/performous-0.7.0/build-tree'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list