Bug#1075294: mplayer: ftbfs with GCC-14
Control: forwarded -1 https://trac.mplayerhq.hu/ticket/2424
Control: tags -1 upstream
there is a WIP patch upstream but it's unlikely to be suitable for
release
https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2024-April/074173.html
On Wed, 03 Jul 2024 12:37:11 +0000 Matthias Klose <doko@debian.org>
wrote:
> Package: src:mplayer
> Version: 2:1.5+svn38542-1
> Severity: important
> Tags: sid trixie
> User: debian-gcc@lists.debian.org
> Usertags: ftbfs-gcc-14
>
> [This bug is targeted to the upcoming trixie release]
>
> Please keep this issue open in the bug tracker for the package it
> was filed for. If a fix in another package is required, please
> file a bug for the other package (or clone), and add a block in this
> package. Please keep the issue open until the package can be built in
> a follow-up test rebuild.
>
> The package fails to build in a test rebuild on at least amd64 with
> gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
> severity of this report will be raised before the trixie release.
>
> The full build log can be found at:
> http://qa-logs.debian.net/2024/07/01/mplayer_1.5+svn38542-1_unstable_gccexp.log
> The last lines of the build log are at the end of this report.
>
> To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
>
> apt-get -t=experimental install g++
>
> Common build failures are new warnings resulting in build failures
> with -Werror turned on, or new/dropped symbols in Debian symbols
> files. For other C/C++ related build failures see the porting guide at
> http://gcc.gnu.org/gcc-14/porting_to.html
>
> [...]
> | ~~~~~~~~~^~~~~~~
> libvo/vo_mpegpes.c:79:54: warning: unused parameter 'width'
> [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height,
> uint32_t width, uint32_t height, uint32_t flags, char *title,
> uint32_t format) |
> ~~~~~~~~~^~~~~ libvo/vo_mpegpes.c:79:70: warning: unused parameter
> 'height' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t
> s_height, uint32_t width, uint32_t height, uint32_t flags, char
> *title, uint32_t format) |
> ~~~~~~~~~^~~~~~ libvo/vo_mpegpes.c:79:87: warning:
> unused parameter 'flags' [-Wunused-parameter] 79 | config(uint32_t
> s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t
> flags, char *title, uint32_t format) |
> ~~~~~~~~~^~~~~
> libvo/vo_mpegpes.c:79:100: warning: unused parameter 'title'
> [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height,
> uint32_t width, uint32_t height, uint32_t flags, char *title,
> uint32_t format) |
> ~~~~~~^~~~~
> libvo/vo_mpegpes.c:79:116: warning: unused parameter 'format'
> [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height,
> uint32_t width, uint32_t height, uint32_t flags, char *title,
> uint32_t format) |
> ~~~~~~~~~^~~~~~
> sub/spuenc.c: In function 'encode_do_control': sub/spuenc.c:41:23:
> warning: unused parameter 'x' [-Wunused-parameter] 41 |
> encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) { |
> ~~~~^ make[2]: *** [Makefile:729: mplayer.o] Error 1
> sub/spuenc.c:41:29: warning: unused parameter 'y'
> [-Wunused-parameter] 41 | encode_do_control(int x,int y, encodedata*
> ed, pixbuf* pb) { | ~~~~^ make[2]: ***
> Waiting for unfinished jobs.... sub/spuenc.c: In function
> 'pixbuf_encode_rle':
Reply to: