[Debian-astro-maintainers] Bug#957303: gravit: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:01:52 BST 2020


Package: src:gravit
Version: 0.5.1+dfsg-3
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/gravit_0.5.1+dfsg-3_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

[...]
gcc -DHAVE_CONFIG_H -I. -I./src  -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16 -c -o spawn.o `test -f 'src/spawn.c' || echo './'`src/spawn.c
gcc -DHAVE_CONFIG_H -I. -I./src  -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16 -c -o texture.o `test -f 'src/texture.c' || echo './'`src/texture.c
gcc -DHAVE_CONFIG_H -I. -I./src  -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16 -c -o timer.o `test -f 'src/timer.c' || echo './'`src/timer.c
gcc -DHAVE_CONFIG_H -I. -I./src  -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16 -c -o tool.o `test -f 'src/tool.c' || echo './'`src/tool.c
gcc -DHAVE_CONFIG_H -I. -I./src  -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16 -c -o png_save.o `test -f 'src/png_save.c' || echo './'`src/png_save.c
gcc -DHAVE_CONFIG_H -I. -I./src  -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16 -c -o lua.o `test -f 'src/lua.c' || echo './'`src/lua.c
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp  -mmmx -msse -I/usr/local/include -Ofast -fomit-frame-pointer -ffast-math -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -I/usr/include/libpng16  -mmmx -msse -Wl,-z,relro -fopenmp -L/usr/local/lib -Ofast -o gravit color.o command.o config.o console.o font.o fps.o frame-ot.o frame-pp.o frame-pp_sse.o frame.o gfx.o input.o main.o osd.o spawn.o texture.o timer.o tool.o png_save.o lua.o  -llua5.1 -ldl -lSDL_ttf -lSDL_image -lm     -lSDL -lGLU -lGL -lpng16 -lz 
/usr/bin/ld: command.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: command.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: command.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: config.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: config.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: config.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: console.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: console.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: console.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: font.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: font.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: font.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: fps.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: fps.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: fps.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: frame-ot.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: frame-ot.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: frame-ot.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: frame-pp.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: frame-pp.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: frame-pp.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: frame-pp_sse.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: frame-pp_sse.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: frame-pp_sse.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: frame.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: frame.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: frame.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: gfx.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: gfx.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: gfx.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: input.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: input.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: input.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: main.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: main.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: main.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: osd.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: osd.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: osd.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: spawn.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: spawn.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: spawn.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: texture.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: texture.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: texture.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: timer.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: timer.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: timer.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: tool.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: tool.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: tool.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: png_save.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: png_save.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: png_save.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
/usr/bin/ld: lua.o:./src/gravit.h:683: multiple definition of `state'; color.o:./src/gravit.h:683: first defined here
/usr/bin/ld: lua.o:./src/gravit.h:684: multiple definition of `view'; color.o:./src/gravit.h:684: first defined here
/usr/bin/ld: lua.o:./src/gravit.h:681: multiple definition of `video'; color.o:./src/gravit.h:681: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:507: gravit] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:11: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list