Source: webcamoid
Version: 8.8.0+dfsg-1
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

webcamoid FTBFS with ffmpeg 5.0 in experimental:

g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC 
-DCOMMONS_APPNAME="\"libAvKys\"" -DCOMMONS_TARGET="\"avkys\"" 
-DCOMMONS_VER_MAJ="\"8\"" -DCOMMONS_VERSION="\"8.8.0\"" -DPREFIX="\"/usr\"" 
-DEXECPREFIX="\"/usr\"" -DBINDIR="\"/usr/bin\"" -DSBINDIR="\"/usr/sbin\"" 
-DLIBEXECDIR="\"/usr/libexec\"" -DDATAROOTDIR="\"/usr/share\"" 
-DDATDIR="\"/usr/share/avkys\"" -DSYSCONFDIR="\"/usr/etc\"" 
-DSHAREDSTATEDIR="\"/usr/com\"" -DLOCALSTATEDIR="\"/usr/var\"" 
-DINCLUDEDIR="\"/usr/include\"" -DDOCDIR="\"/usr/share/doc/avkys\"" 
-DINFODIR="\"/usr/share/info\"" -DHTMLDIR="\"/usr/share/doc/avkys/html\"" 
-DDVIDIR="\"/usr/share/doc/avkys/dvi\"" -DPDFDIR="\"/usr/share/doc/avkys/pdf\"" 
-DPSDIR="\"/usr/share/doc/avkys/ps\"" -DLIBDIR="\"/usr/lib/x86_64-linux-gnu\"" 
-DLOCALEDIR="\"/usr/share/webcamoid/locale\"" -DMANDIR="\"/usr/share/man\"" 
-DLICENSEDIR="\"/usr/share/licenses/avkys\"" -DLOCALDIR="\"/usr/local\"" 
-DLOCALLIBDIR="\"/usr/local/lib\"" 
-DINSTALLQMLDIR="\"/usr/lib/x86_64-linux-gnu/qt5/qml\"" 
-DINSTALLPLUGINSDIR="\"/usr/lib/x86_64-linux-gnu/avkys\"" 
-DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB 
-I. -I../../../../Lib/src -I.. -I/usr/include/x86_64-linux-gnu/qt5 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease/Qt5.15.2/gpp/x86_64/moc 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o 
release/Qt5.15.2/gpp/x86_64/obj/convertvideogeneric.o 
src/convertvideogeneric.cpp
src/mediasourceffmpeg.cpp: In constructor 
‘MediaSourceFFmpeg::MediaSourceFFmpeg(QObject*)’:
src/mediasourceffmpeg.cpp:92:5: error: ‘av_register_all’ was not declared in 
this scope
   92 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
src/mediasourceffmpeg.cpp: In member function ‘void 
MediaSourceFFmpegPrivate::readPackets()’:
src/mediasourceffmpeg.cpp:349:23: warning: ‘void av_init_packet(AVPacket*)’ is 
deprecated [-Wdeprecated-declarations]
  349 |         av_init_packet(packet);
      |         ~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:316,
                 from src/abstractstream.h:27,
                 from src/audiostream.h:23,
                 from src/mediasourceffmpeg.cpp:33:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
src/mediasourceffmpeg.cpp: In member function ‘bool 
MediaSourceFFmpeg::initContext()’:
src/mediasourceffmpeg.cpp:662:43: error: invalid conversion from ‘const 
AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
  662 |         inputFormat = av_find_input_format("v4l2");
      |                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
      |                                           |
      |                                           const AVInputFormat*
src/mediasourceffmpeg.cpp:664:43: error: invalid conversion from ‘const 
AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
  664 |         inputFormat = av_find_input_format("x11grab");
      |                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                           |
      |                                           const AVInputFormat*
src/mediasourceffmpeg.cpp:680:43: error: invalid conversion from ‘const 
AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
  680 |         inputFormat = av_find_input_format("alsa");
      |                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
      |                                           |
      |                                           const AVInputFormat*
src/mediasourceffmpeg.cpp:682:43: error: invalid conversion from ‘const 
AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
  682 |         inputFormat = av_find_input_format("oss");
      |                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~
      |                                           |
      |                                           const AVInputFormat*
make[5]: *** [Makefile:429: 
release/Qt5.15.2/gpp/x86_64/obj/mediasourceffmpeg.o] Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to