[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075294: mplayer: ftbfs with GCC-14



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':
sub/spuenc.c:217:65: warning: unused parameter 'stride' [-Wunused-parameter]
  217 | pixbuf_encode_rle(int x, int y, int w, int h, char *inbuf,  int stride,encodedata *ed){
      |                                                             ~~~~^~~~~~
libvo/vo_null.c: In function 'draw_slice':
libvo/vo_null.c:47:32: warning: unused parameter 'image' [-Wunused-parameter]
   47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
      |                       ~~~~~~~~~^~~~~~~
libvo/vo_null.c:47:45: warning: unused parameter 'stride' [-Wunused-parameter]
   47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
      |                                         ~~~~^~~~~~~~
libvo/vo_null.c:47:59: warning: unused parameter 'w' [-Wunused-parameter]
   47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
      |                                                       ~~~~^
libvo/vo_null.c:47:65: warning: unused parameter 'h' [-Wunused-parameter]
   47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
      |                                                             ~~~~^
libvo/vo_null.c:47:71: warning: unused parameter 'x' [-Wunused-parameter]
   47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
      |                                                                   ~~~~^
libvo/vo_null.c:47:77: warning: unused parameter 'y' [-Wunused-parameter]
   47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
      |                                                                         ~~~~^
libvo/vo_null.c: In function 'config':
libvo/vo_null.c:71:50: warning: unused parameter 'd_width' [-Wunused-parameter]
   71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
      |                                         ~~~~~~~~~^~~~~~~
libvo/vo_null.c:71:68: warning: unused parameter 'd_height' [-Wunused-parameter]
   71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
      |                                                           ~~~~~~~~~^~~~~~~~
libvo/vo_null.c:71:87: warning: unused parameter 'flags' [-Wunused-parameter]
   71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
      |                                                                              ~~~~~~~~~^~~~~
libvo/vo_null.c:71:100: warning: unused parameter 'title' [-Wunused-parameter]
   71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
      |                                                                                              ~~~~~~^~~~~
libvo/vo_null.c:71:116: warning: unused parameter 'format' [-Wunused-parameter]
   71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
      |                                                                                                           ~~~~~~~~~^~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 mplayer returned exit code 2
make[1]: *** [debian/rules:96: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:93: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: