Bug#957983: xjadeo: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:14:06 BST 2020


Package: src:xjadeo
Version: 0.8.7-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/xjadeo_0.8.7-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-common_jack.o `test -f 'common_jack.c' || echo './'`common_jack.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-jack.o `test -f 'jack.c' || echo './'`jack.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-ltc-jack.o `test -f 'ltc-jack.c' || echo './'`ltc-jack.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-midi.o `test -f 'midi.c' || echo './'`midi.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-freetype.o `test -f 'freetype.c' || echo './'`freetype.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-smpte.o `test -f 'smpte.c' || echo './'`smpte.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display.o `test -f 'display.c' || echo './'`display.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display_x_dnd.o `test -f 'display_x_dnd.c' || echo './'`display_x_dnd.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display_x_dialog.o `test -f 'display_x_dialog.c' || echo './'`display_x_dialog.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-libsofd.o `test -f 'libsofd.c' || echo './'`libsofd.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display_mac.o `test -f 'display_mac.c' || echo './'`display_mac.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display_x11.o `test -f 'display_x11.c' || echo './'`display_x11.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display_sdl.o `test -f 'display_sdl.c' || echo './'`display_sdl.c
display_x11.c: In function ‘xj_handle_X_events’:
display_x11.c:511:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  511 |       if ((interaction_override&OVR_JCONTROL) == 0)
      |       ^~
display_x11.c:513:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  513 |        remote_notify(NTY_KEYBOARD,
      |        ^~~~~~~~~~~~~
display_x11.c:516:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  516 |       if ((interaction_override&OVR_JCONTROL) == 0)
      |       ^~
display_x11.c:518:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  518 |        remote_notify(NTY_KEYBOARD,
      |        ^~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-weak_libjack.o `test -f 'weak_libjack.c' || echo './'`weak_libjack.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-gtime.o `test -f 'gtime.c' || echo './'`gtime.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-display_glx.o `test -f 'display_glx.c' || echo './'`display_glx.c
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 "-DSUBVERSION=\"\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjremote-xjremote.o `test -f 'xjremote.c' || echo './'`xjremote.c
xjremote.c: In function ‘read_thread’:
xjremote.c:414:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  414 |    (void) write(REMOTE_TX,tmp,strlen(tmp));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display_glx.c: In function ‘gl_open_window’:
display_glx.c:245:6: warning: variable ‘vblank’ set but not used [-Wunused-but-set-variable]
  245 |  int vblank = -1;
      |      ^~~~~~
xjremote.c: In function ‘dothework’:
xjremote.c:493:32: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  493 |    snprintf(mymsg.m,MQLEN,"%s\n",buf);
      |                                ^
In file included from /usr/include/stdio.h:867,
                 from xjremote.c:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 513 bytes into a destination of size 512
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc "-DSUBVERSION=\"\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o xjremote xjremote-xjremote.o -lrt -lpthread -L/usr/X11R6/lib
gcc -Wall -g -O3 -I/usr/include/x86_64-linux-gnu   -I/usr/include/freetype2 -I/usr/include/libpng16    -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL    "-DSUBVERSION=\"\"" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o xjadeo xjadeo-main.o xjadeo-xjadeo.o xjadeo-remote.o xjadeo-mqueue.o xjadeo-xjosc.o xjadeo-configfile.o xjadeo-common.o xjadeo-common_jack.o xjadeo-jack.o xjadeo-ltc-jack.o xjadeo-midi.o xjadeo-freetype.o xjadeo-smpte.o xjadeo-display.o xjadeo-display_x_dnd.o xjadeo-display_x_dialog.o xjadeo-libsofd.o xjadeo-display_mac.o xjadeo-display_x11.o xjadeo-display_sdl.o xjadeo-weak_libjack.o xjadeo-gtime.o xjadeo-display_glx.o    -lrt -lpthread -lavformat -lavcodec -lavutil -lswscale -lXext -lXv -lportmidi -lporttime -lasound -lpthread -lfreetype -lImlib2 -lXpm -lX11 -llo -lpthread -lSDL -lltc -lm -lGLU -lGL -lm -ljack -lpthread     -L/usr/X11R6/lib
/usr/bin/ld: xjadeo-configfile.o:./src/xjadeo/configfile.c:93: multiple definition of `start_ontop'; xjadeo-main.o:./src/xjadeo/main.c:173: first defined here
/usr/bin/ld: xjadeo-configfile.o:./src/xjadeo/configfile.c:94: multiple definition of `start_fullscreen'; xjadeo-main.o:./src/xjadeo/main.c:174: first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:533: xjadeo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/xjadeo'
make[4]: *** [Makefile:455: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/xjadeo'
make[3]: *** [Makefile:363: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:522: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:418: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-multimedia-maintainers mailing list