Source: cantata
Version: 2.4.2.ds1-2
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

cantata FTBFS with ffmpeg 5.0 (avaiable in experimental):
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tags && /usr/lib/ccache/c++ 
-DCANTATA_NO_UI_FUNCTIONS -DCANTATA_TAG_SERVER -DQT_CONCURRENT_LIB 
-DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB 
-DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tags/cantata-tags_autogen/include 
-I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/<<PKGBUILDDIR>>/3rdparty 
-I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
-I/usr/include/x86_64-linux-gnu/qt5/QtWidgets 
-I/usr/include/x86_64-linux-gnu/qt5/QtXml 
-I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent 
-I/usr/include/x86_64-linux-gnu/qt5/QtSvg 
-I/usr/include/x86_64-linux-gnu/qt5/QtSql 
-I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/taglib 
-I/<<PKGBUILDDIR>>/tags -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tags -isystem 
/usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -std=c++11 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE   
-I/usr/include/taglib -fexceptions -UQT_NO_EXCEPTIONS -fPIC -std=gnu++11 -MD 
-MT tags/CMakeFiles/cantata-tags.dir/tags.cpp.o -MF 
CMakeFiles/cantata-tags.dir/tags.cpp.o.d -o 
CMakeFiles/cantata-tags.dir/tags.cpp.o -c /<<PKGBUILDDIR>>/tags/tags.cpp
| /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp: In constructor 
‘FfmpegInput::Handle::Handle()’:
| /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:78:23: warning: ‘void 
av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
|    78 |         av_init_packet(&packet);
|       |         ~~~~~~~~~~~~~~^~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:21:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp: In constructor 
‘FfmpegInput::FfmpegInput(const QString&)’:
| /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:189:43: error: invalid conversion 
from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   189 |         
handle->codec=avcodec_find_decoder(handle->formatContext->streams[handle->audioStream]->codecpar->codec_id);
|       |                       
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                           |
|       |                                           const AVCodec*
| /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:210:71: error: invalid conversion 
from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   210 |             AVCodec *possibleFloatCodec = 
avcodec_find_decoder_by_name(floatCodec.toLatin1().constData());
|       |                                           
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                                                       
|
|       |                                                                       
const AVCodec*
| make[3]: *** [replaygain/CMakeFiles/cantata-replaygain.dir/build.make:93: 
replaygain/CMakeFiles/cantata-replaygain.dir/ffmpeginput.cpp.o] Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to