Bug#1004616: performous: FTBFS with ffmpeg 5.0

Sebastian Ramacher sramacher at debian.org
Sun Jan 30 21:20:04 GMT 2022


Source: performous
Version: 1.1+git20181118-5
Severity: important
X-Debbugs-Cc: sramacher at debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

performous FTBFS with ffmpeg 5.0 (available in experimental):
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/game && /usr/lib/ccache/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_LOCALE_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DUSE_PORTMIDI -DUSE_WEBSERVER -I/<<PKGBUILDDIR>>/ced -I/usr/include/SDL2 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml++-2.6 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/cpprest -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/game -DBOOST_NO_CXX11_SCOPED_ENUMS -std=c++14 -Wall -Wextra -fcx-limited-range -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -pthread -MD -MT game/CMakeFiles/performous.dir/fs.cc.o -MF CMakeFiles/performous.dir/fs.cc.o.d -o CMakeFiles/performous.dir/fs.cc.o -c /<<PKGBUILDDIR>>/game/fs.cc
| /<<PKGBUILDDIR>>/game/ffmpeg.cc: In member function ‘void FFmpeg::open()’:
| /<<PKGBUILDDIR>>/game/ffmpeg.cc:100:93: error: invalid conversion from ‘AVCodec**’ to ‘const AVCodec**’ [-fpermissive]
|   100 |         m_streamId = av_find_best_stream(m_formatContext, (AVMediaType)m_mediaType, -1, -1, &codec, 0);
|       |                                                                                             ^~~~~~
|       |                                                                                             |
|       |                                                                                             AVCodec**
| In file included from /<<PKGBUILDDIR>>/game/ffmpeg.cc:15:
| /usr/include/x86_64-linux-gnu/libavformat/avformat.h:2161:41: note:   initializing argument 5 of ‘int av_find_best_stream(AVFormatContext*, AVMediaType, int, int, const AVCodec**, int)’
|  2161 |                         const AVCodec **decoder_ret,
|       |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~
| /<<PKGBUILDDIR>>/game/ffmpeg.cc:104:47: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   104 |         AVCodec* pCodec = avcodec_find_decoder(m_formatContext->streams[m_streamId]->codecpar->codec_id);
|       |                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                               |
|       |                                               const AVCodec*
| make[3]: *** [game/CMakeFiles/performous.dir/build.make:289: game/CMakeFiles/performous.dir/ffmpeg.cc.o] Error 1

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20220130/2b8806e7/attachment.sig>


More information about the Pkg-games-devel mailing list