Bug#739460: FTBFS with libav10

Moritz Muehlenhoff jmm at debian.org
Tue Feb 18 21:29:04 UTC 2014


Source: openscenegraph
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


ACROS -Dosgdb_ffmpeg_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -Wall -Wparentheses -Wno-long-long -Wno-import  -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive -fPIC -I"/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/include" -I"/home/jmm/av10/openscenegraph-3.2.0~rc1/build/osg/include" -I/usr/include/libswscale    -o CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o -c "/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp"
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In function 'int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*, const uint8_t*, int)':
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:28:72: error: 'avcodec_decode_audio3' was not declared in this scope
     return avcodec_decode_audio3(avctx, samples, frame_size_ptr, &avpkt);
                                                                        ^
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In constructor 'osgFFmpeg::FFmpegDecoderAudio::FFmpegDecoderAudio(osgFFmpeg::FFmpegDecoderAudio::PacketQueue&, osgFFmpeg::FFmpegClocks&)':
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:43:21: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
     m_audio_buffer((AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2),
                     ^
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In member function 'void osgFFmpeg::FFmpegDecoderAudio::open(AVStream*)':
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:98:36: error: 'CODEC_ID_NONE' was not declared in this scope
         if (m_context->codec_id == CODEC_ID_NONE)
                                    ^
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: In function 'int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*, const uint8_t*, int)':
/home/jmm/av10/openscenegraph-3.2.0~rc1/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[3]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o] Error 1
make[3]: Leaving directory `/home/jmm/av10/openscenegraph-3.2.0~rc1/build/osg'
make[2]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make[2]: Leaving directory `/home/jmm/av10/openscenegraph-3.2.0~rc1/build/osg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/openscenegraph-3.2.0~rc1/build/osg'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
You have mail in /var/mail/jmm



More information about the pkg-multimedia-maintainers mailing list