[Pkg-kde-extras] Bug#822370: k3b: FTBFS: error: '::avcodec_decode_audio' has not been declared

Martin Michlmayr tbm at hpe.com
Sat Apr 23 21:10:36 UTC 2016


Package: k3b
Version: 2.0.3a-1
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> r/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fPIC   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kcm_k3bsetup.dir/k3bsetupdevicesmodel.cpp.o -c /<<PKGBUILDDIR>>/k3bsetup/k3bsetupdevicesmodel.cpp
> /<<PKGBUILDDIR>>/plugins/encoder/external/k3bexternalencoder.cpp:53:1: warning: narrowing conversion of '172' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing]
>  };
>  ^
> /<<PKGBUILDDIR>>/plugins/encoder/external/k3bexternalencoder.cpp:53:1: warning: narrowing conversion of '177' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing]
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function 'int K3bFFMpegFile::fillOutputBuffer()':
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:338:19: error: '::avcodec_decode_audio' has not been declared
>          int len = ::avcodec_decode_audio(
>                    ^
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:352:15: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
>              ::av_free_packet( &d->packet );
>                ^
> In file included from /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:28:0:
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here
>  void av_free_packet(AVPacket *pkt);
>       ^
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:352:15: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
>              ::av_free_packet( &d->packet );
>                ^
> In file included from /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:28:0:
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here
>  void av_free_packet(AVPacket *pkt);
>       ^
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:352:42: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
>              ::av_free_packet( &d->packet );
>                                           ^
> In file included from /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:28:0:
> /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4040:6: note: declared here
>  void av_free_packet(AVPacket *pkt);
>       ^
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function 'K3bFFMpegFile* K3bFFMpegWrapper::open(const QString&) const':
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:423:29: error: 'CODEC_ID_WMAV1' was not declared in this scope
>          if( file->type() == CODEC_ID_WMAV1 ||
>                              ^
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:424:29: error: 'CODEC_ID_WMAV2' was not declared in this scope
>              file->type() == CODEC_ID_WMAV2 ||
>                              ^
> /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:425:29: error: 'CODEC_ID_AAC' was not declared in this scope
>              file->type() == CODEC_ID_AAC )
>                              ^
> plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/build.make:113: recipe for target 'plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.cpp.o' failed
> make[3]: *** [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.cpp.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> [ 78%] Linking CXX shared module ../../../lib/k3bmpcdecoder.so
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/decoder/musepack && /usr/bin/cmake -E cmake_link_script CMakeFiles/k3bmpcdecoder.dir/link.txt --verbose=1
> /usr/bin/c++  -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -Wl,-z,relro -Wl,--as-needed -shared  -o ../../../lib/k3bmpcdecoder.so CMakeFiles/k3bmpcdecoder.dir/k3bmpcdecoder_automoc.cpp.o CMakeFiles/k3bmpcdecoder.dir/k3bmpcdecoder.cpp.o CMakeFiles/k3bmpcdecoder.dir/k3bmpcwrapper.cpp.o ../../../lib/libk3blib.so.6.0.0 -lmpcdec ../../../lib/libk3bdevice.so.6.0.0 /usr/lib/libkdecore.so.5.14.14 /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/x86_64-linux-gnu/libQtCore.so -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib: 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> CMakeFiles/Makefile2:1281: recipe for target 'plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/all' failed
> make[2]: *** [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/all] Error 2

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the pkg-kde-extras mailing list