[Pkg-kde-extras] Bug#720799: k3b: FTBFS with libav9: k3bffmpegwrapper.cpp:91:15: error: '::av_open_input_file' has not been declared

David Suárez david.sephirot at gmail.com
Sun Aug 25 13:12:21 UTC 2013


Source: k3b
Version: 2.0.2-6
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130825 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Related to current libav9 transition (see #706798).

Relevant part (hopefully):
> make[3]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> [ 50%] Building CXX object plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder_automoc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=17 -DKDE_DEPRECATED_WARNINGS -DMAKE_K3BFFMPEGDECODER_LIB -DNEWFFMPEGAVCODECPATH -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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 -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg -I/«PKGBUILDDIR»/plugins/decoder/ffmpeg -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR»/libk3bdevice -I/«PKGBUILDDIR»/libk3b/core -I/«PKGBUILDDIR»/libk3b/plugin -I/«PKGBUILDDIR»/libk3b/tools -I/«PKGBUILDDIR»/libk3b/tools/qprocess -I/«PKGBUILDDIR»/libk3b/tools/qprocess/private -I/«PKGBUILDDIR»/libk3b/projects -I/«PKGBUILDDIR»/libk3b/projects/audiocd -I/«PKGBUILDDIR»/libk3b/projects/datacd -I/«PKGBUILDDIR»/libk3b/projects/videocd -I/«PKGBUILDDIR»/libk3b/projects/mixedcd -I/«PKGBUILDDIR»/libk3b/jobs -I/«PKGBUILDDIR»/libk3b/videodvd -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/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    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder_automoc.o -c /«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg/k3bffmpegdecoder_automoc.cpp
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> [ 50%] Building CXX object plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=17 -DKDE_DEPRECATED_WARNINGS -DMAKE_K3BFFMPEGDECODER_LIB -DNEWFFMPEGAVCODECPATH -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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 -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg -I/«PKGBUILDDIR»/plugins/decoder/ffmpeg -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR»/libk3bdevice -I/«PKGBUILDDIR»/libk3b/core -I/«PKGBUILDDIR»/libk3b/plugin -I/«PKGBUILDDIR»/libk3b/tools -I/«PKGBUILDDIR»/libk3b/tools/qprocess -I/«PKGBUILDDIR»/libk3b/tools/qprocess/private -I/«PKGBUILDDIR»/libk3b/projects -I/«PKGBUILDDIR»/libk3b/projects/audiocd -I/«PKGBUILDDIR»/libk3b/projects/datacd -I/«PKGBUILDDIR»/libk3b/projects/videocd -I/«PKGBUILDDIR»/libk3b/projects/mixedcd -I/«PKGBUILDDIR»/libk3b/jobs -I/«PKGBUILDDIR»/libk3b/videodvd -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/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    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder.o -c /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 51
> [ 51%] Building CXX object plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg && /usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=17 -DKDE_DEPRECATED_WARNINGS -DMAKE_K3BFFMPEGDECODER_LIB -DNEWFFMPEGAVCODECPATH -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -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 -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/plugins/decoder/ffmpeg -I/«PKGBUILDDIR»/plugins/decoder/ffmpeg -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR»/libk3bdevice -I/«PKGBUILDDIR»/libk3b/core -I/«PKGBUILDDIR»/libk3b/plugin -I/«PKGBUILDDIR»/libk3b/tools -I/«PKGBUILDDIR»/libk3b/tools/qprocess -I/«PKGBUILDDIR»/libk3b/tools/qprocess/private -I/«PKGBUILDDIR»/libk3b/projects -I/«PKGBUILDDIR»/libk3b/projects/audiocd -I/«PKGBUILDDIR»/libk3b/projects/datacd -I/«PKGBUILDDIR»/libk3b/projects/videocd -I/«PKGBUILDDIR»/libk3b/projects/mixedcd -I/«PKGBUILDDIR»/libk3b/jobs -I/«PKGBUILDDIR»/libk3b/videodvd -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/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    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.o -c /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function 'bool K3bFFMpegFile::open()':
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:91:15: error: '::av_open_input_file' has not been declared
>      int err = ::av_open_input_file( &d->formatContext, m_filename.toLocal8Bit(), 0, 0, 0 );
>                ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:98:5: error: '::av_find_stream_info' has not been declared
>      ::av_find_stream_info( d->formatContext );
>      ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:132:9: error: '::avcodec_open' has not been declared
>      if( ::avcodec_open( codecContext, d->codec ) < 0 ) {
>          ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:146:5: error: '::dump_format' has not been declared
>      ::dump_format( d->formatContext, 0, m_filename.toLocal8Bit(), 0 );
>      ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function 'void K3bFFMpegFile::close()':
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:168:11: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
>          ::av_close_input_file( d->formatContext );
>            ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:168:49: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1397) [-Wdeprecated-declarations]
>          ::av_close_input_file( d->formatContext );
>                                                  ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function 'int K3bFFMpegFile::fillOutputBuffer()':
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:328:21: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3608) [-Wdeprecated-declarations]
>          int len = ::avcodec_decode_audio3(
>                      ^
> /«PKGBUILDDIR»/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:342:24: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3608) [-Wdeprecated-declarations]
>              &d->packet );
>                         ^
> make[3]: *** [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/25/k3b_2.0.2-6_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-kde-extras mailing list