Bug#1013420: corsix-th FTBFS with ffmpeg 5.0.1

Adrian Bunk bunk at debian.org
Thu Jun 23 11:51:31 BST 2022


Source: corsix-th
Version: 0.65.1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=corsix-th&ver=0.65.1-1%2Bb1

...
/<<PKGBUILDDIR>>/CorsixTH/Src/th_movie.cpp: In member function ‘bool movie_player::load(const char*)’:
/<<PKGBUILDDIR>>/CorsixTH/Src/th_movie.cpp:438:52: error: invalid conversion from ‘AVCodec**’ to ‘const AVCodec**’ [-fpermissive]
  438 |                                            -1, -1, &m_pVideoCodec, 0);
      |                                                    ^~~~~~~~~~~~~~
      |                                                    |
      |                                                    AVCodec**
In file included from /<<PKGBUILDDIR>>/CorsixTH/Src/th_movie.h:46,
                 from /<<PKGBUILDDIR>>/CorsixTH/Src/th_movie.cpp:23:
/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>>/CorsixTH/Src/th_movie.cpp:449:52: error: invalid conversion from ‘AVCodec**’ to ‘const AVCodec**’ [-fpermissive]
  449 |                                            -1, -1, &m_pAudioCodec, 0);
      |                                                    ^~~~~~~~~~~~~~
      |                                                    |
      |                                                    AVCodec**
In file included from /<<PKGBUILDDIR>>/CorsixTH/Src/th_movie.h:46,
                 from /<<PKGBUILDDIR>>/CorsixTH/Src/th_movie.cpp:23:
/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,
      |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~
make[3]: *** [CorsixTH/CMakeFiles/CorsixTH_lib.dir/build.make:429: CorsixTH/CMakeFiles/CorsixTH_lib.dir/Src/th_movie.cpp.o] Error 1


More information about the Pkg-games-devel mailing list