[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004822: k3b: FTBFS with ffmpeg 5.0



Source: k3b
Version: 21.08.0-1
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

k3b FTBFS with ffmpeg 5.0 in experimental:

/usr/lib/qt5/bin/moc -DHAVE_QT5WEBKITWIDGETS -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/helper -I/<<PKGBUILDDIR>>/src/projects -I/<<PKGBUILDDIR>>/src/projects/kostore -I/<<PKGBUILDDIR>>/libk3bdevice -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libk3bdevice -I/<<PKGBUILDDIR>>/libk3bdevice -I/<<PKGBUILDDIR>>/libk3b -I/<<PKGBUILDDIR>>/libk3b/core -I/<<PKGBUILDDIR>>/libk3b/plugin -I/<<PKGBUILDDIR>>/libk3b/tools -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/projects/movixcd -I/<<PKGBUILDDIR>>/libk3b/projects/videodvd -I/<<PKGBUILDDIR>>/libk3b/tools/qprocess -I/<<PKGBUILDDIR>>/libk3b/jobs -I/<<PKGBUILDDIR>>/libk3b/videodvd -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libk3b -I/<<PKGBUILDDIR>>/libk3b -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include/KF5/KCompletion -I/usr/include/KF5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KConfigGui -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/KF5/KConfigCore -I/usr/include/KF5/KAuth -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KIOCore -I/usr/include/KF5/KService -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/KF5/KCddb -I/usr/include/KF5/KArchive -I/usr/include/KF5/KI18n -I/usr/include/KF5/KIconThemes -I/usr/include/KF5/KJobWidgets -I/usr/include/KF5/KIOFileWidgets -I/usr/include/KF5/KIOWidgets -I/usr/include/KF5/KIOGui -I/usr/include/KF5/KWindowSystem -I/usr/include/KF5/Solid -I/usr/include/KF5/KBookmarks -I/usr/include/KF5/KItemViews -I/usr/include/KF5/KXmlGui -I/usr/include/KF5/KCMUtils -I/usr/include/KF5/KNewStuff3 -I/usr/include/KF5/KNewStuff3/KNS3 -I/usr/include/KF5/KNewStuff3/knscore -I/usr/include/KF5/KNewStuff3/kns3 -I/usr/include/KF5/KNewStuff3/KNSCore -I/usr/include/KF5/Attica -I/usr/include/KF5/KNotifications -I/usr/include/KF5/KNotifyConfig -I/usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWebKit -I/usr/include -I/usr/include/c++/11 -I/usr/include/x86_64-linux-gnu/c++/11 -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-linux-gnu/11/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/k3b_autogen/moc_predefs.h --output-dep-file -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/k3b_autogen/OQ32MSGUA2/moc_k3bvcdburndialog.cpp /<<PKGBUILDDIR>>/src/projects/k3bvcdburndialog.h
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function ‘bool K3bFFMpegFile::open()’:
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:31:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
   31 | #define FFMPEG_CODEC(s) (s->codec)
      |                             ^~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:131:39: note: in expansion of macro ‘FFMPEG_CODEC’
  131 |     ::AVCodecContext* codecContext =  FFMPEG_CODEC(d->audio_stream);
      |                                       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:139:38: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  139 |     d->codec = ::avcodec_find_decoder(codecContext->codec_id);
      |                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      const AVCodec*
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function ‘void K3bFFMpegFile::close()’:
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:31:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
   31 | #define FFMPEG_CODEC(s) (s->codec)
      |                             ^~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:177:26: note: in expansion of macro ‘FFMPEG_CODEC’
  177 |         ::avcodec_close( FFMPEG_CODEC(d->audio_stream) );
      |                          ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function ‘int K3bFFMpegFile::readPacket()’:
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:288:11: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  288 |         ::av_init_packet( &d->packet );
      |           ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:19:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:288:25: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  288 |         ::av_init_packet( &d->packet );
      |         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from /<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:19:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In member function ‘int K3bFFMpegFile::fillOutputBuffer()’:
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:313:21: error: ‘::avcodec_decode_audio4’ has not been declared; did you mean ‘avcodec_decode_subtitle2’?
  313 |         int len = ::avcodec_decode_audio4(
      |                     ^~~~~~~~~~~~~~~~~~~~~
      |                     avcodec_decode_subtitle2
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:31:29: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
   31 | #define FFMPEG_CODEC(s) (s->codec)
      |                             ^~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:314:13: note: in expansion of macro ‘FFMPEG_CODEC’
  314 |             FFMPEG_CODEC(d->audio_stream),
      |             ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In constructor ‘K3bFFMpegWrapper::K3bFFMpegWrapper()’:
/<<PKGBUILDDIR>>/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:386:7: error: ‘::av_register_all’ has not been declared
  386 |     ::av_register_all();
      |       ^~~~~~~~~~~~~~~
make[3]: *** [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/build.make:107: plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegwrapper.cpp.o] Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: