Bug#957968: xaos: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:13:48 BST 2020


Package: src:xaos
Version: 3.5+ds1-3.1
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/xaos_3.5+ds1-3.1_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

[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/util'
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o png.o png.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o catalog.o catalog.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o thread.o thread.c
thread.c: In function ‘pth_init’:
thread.c:122:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
  122 |  exit(1);
      |  ^~~~
thread.c:122:2: warning: incompatible implicit declaration of built-in function ‘exit’
thread.c:6:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
    5 | #include <xthread.h>
  +++ |+#include <stdlib.h>
    6 | #ifndef __BEOS__
thread.c:124:2: warning: incompatible implicit declaration of built-in function ‘exit’
  124 |  exit(1);
      |  ^~~~
thread.c:124:2: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
thread.c:126:2: warning: incompatible implicit declaration of built-in function ‘exit’
  126 |  exit(1);
      |  ^~~~
thread.c:126:2: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
thread.c:128:2: warning: incompatible implicit declaration of built-in function ‘exit’
  128 |  exit(1);
      |  ^~~~
thread.c:128:2: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xstring.o xstring.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o help.o help.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xerror.o xerror.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xshl.o xshl.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xldio.o xldio.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xstdio.o xstdio.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xmenu.o xmenu.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o timers.o timers.c
rm -f ../lib/libutil.a
ar rc ../lib/libutil.a png.o catalog.o thread.o xstring.o help.o xerror.o xshl.o xldio.o xstdio.o xmenu.o timers.o
ranlib ../lib/libutil.a 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/util'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/ui/ui-drv/aa'
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o ui_aa.o ui_aa.c
rm -f /<<PKGBUILDDIR>>/src/lib/libuiaa.a
ar rc /<<PKGBUILDDIR>>/src/lib/libuiaa.a ui_aa.o
ranlib /<<PKGBUILDDIR>>/src/lib/libuiaa.a 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/ui/ui-drv/aa'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/ui/ui-drv/x11'
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o xlib.o xlib.c
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include   -c -o ui_x11.o ui_x11.c
rm -f /<<PKGBUILDDIR>>/src/lib/libuix11.a
ar rc /<<PKGBUILDDIR>>/src/lib/libuix11.a xlib.o ui_x11.o
ranlib /<<PKGBUILDDIR>>/src/lib/libuix11.a 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/ui/ui-drv/x11'
gcc -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -D_REENTRANT    -I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL -I/<<PKGBUILDDIR>>/src/include  -o /<<PKGBUILDDIR>>/bin/xaos lib/libui.a lib/libui-hlp.a lib/libengine.a lib/libutil.a lib/libfilter.a lib/libuiaa.a lib/libuix11.a lib/libsffe.a  -lpng -lz -lm -laa -lpthread      -lX11  -lXext -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
/usr/bin/ld: lib/libui.a(uihelp.o):(.bss+0x8): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui.a(fparams.o):(.bss+0x0): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui.a(filesel.o):(.bss+0x18): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui.a(uimenu.o):(.bss+0x8): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui.a(pipecmd.o):(.bss+0x8): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui.a(dialog.o):(.bss+0x8): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui.a(drivers.o):(.bss+0x0): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libui-hlp.a(render.o):(.bss+0x0): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libuiaa.a(ui_aa.o):(.bss+0x0): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libuix11.a(ui_x11.o):(.bss+0x18): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
/usr/bin/ld: lib/libuix11.a(xlib.o):(.bss+0x8): multiple definition of `globaluih'; lib/libui.a(ui.o):(.bss+0x1180): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:38: /<<PKGBUILDDIR>>/bin/xaos] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:14: default] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:3: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list