[Debichem-devel] Bug#957251: gamgi: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:00:56 BST 2020


Package: src:gamgi
Version: 0.17.3-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/gamgi_0.17.3-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

[...]
/usr/bin/ld: gamgi_io_font_hershey.o:./src/./io/gamgi_io_font_hershey.c:110: multiple definition of `gamgi_io_font_hershey_sans_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:89: first defined here
/usr/bin/ld: gamgi_io_font_sun.o:./src/./io/gamgi_io_font_sun.c:1729: multiple definition of `gamgi_io_font_sun_roman_mono_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:36: first defined here
/usr/bin/ld: gamgi_io_font_sun.o:./src/./io/gamgi_io_font_sun.c:1716: multiple definition of `gamgi_io_font_sun_roman_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:34: first defined here
/usr/bin/ld: gamgi_io_font_sun.o:./src/./io/gamgi_io_font_sun.c:888: multiple definition of `gamgi_io_font_sun_roman_mono_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:32: first defined here
/usr/bin/ld: gamgi_io_font_sun.o:./src/./io/gamgi_io_font_sun.c:64: multiple definition of `gamgi_io_font_sun_roman_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:30: first defined here
/usr/bin/ld: gamgi_io_x3d.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:135: multiple definition of `gamgi_io_font_hershey_symbol_serif_bold_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:135: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:133: multiple definition of `gamgi_io_font_hershey_symbol_serif_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:133: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:131: multiple definition of `gamgi_io_font_hershey_symbol_sans_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:131: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:129: multiple definition of `gamgi_io_font_hershey_gothic_italian_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:129: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:127: multiple definition of `gamgi_io_font_hershey_gothic_german_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:127: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:125: multiple definition of `gamgi_io_font_hershey_gothic_english_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:125: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:123: multiple definition of `gamgi_io_font_hershey_script_bold_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:123: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:121: multiple definition of `gamgi_io_font_hershey_script_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:121: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:119: multiple definition of `gamgi_io_font_hershey_serif_bold_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:119: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:117: multiple definition of `gamgi_io_font_hershey_serif_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:117: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:115: multiple definition of `gamgi_io_font_hershey_sans_bold_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:115: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:113: multiple definition of `gamgi_io_font_hershey_sans_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:113: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:111: multiple definition of `gamgi_io_font_hershey_symbol_serif_bold_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:111: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:109: multiple definition of `gamgi_io_font_hershey_symbol_serif_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:109: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:107: multiple definition of `gamgi_io_font_hershey_symbol_sans_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:107: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:105: multiple definition of `gamgi_io_font_hershey_gothic_italian_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:105: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:103: multiple definition of `gamgi_io_font_hershey_gothic_german_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:103: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:101: multiple definition of `gamgi_io_font_hershey_gothic_english_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:101: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:99: multiple definition of `gamgi_io_font_hershey_script_bold_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:99: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:97: multiple definition of `gamgi_io_font_hershey_script_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:97: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:95: multiple definition of `gamgi_io_font_hershey_serif_bold_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:95: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:93: multiple definition of `gamgi_io_font_hershey_serif_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:93: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:91: multiple definition of `gamgi_io_font_hershey_sans_bold_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:91: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_hershey.h:89: multiple definition of `gamgi_io_font_hershey_sans_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_hershey.h:89: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_sun.h:36: multiple definition of `gamgi_io_font_sun_roman_mono_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:36: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_sun.h:34: multiple definition of `gamgi_io_font_sun_roman_driver'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:34: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_sun.h:32: multiple definition of `gamgi_io_font_sun_roman_mono_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:32: first defined here
/usr/bin/ld: gamgi_io_x3d_render.o:./src/./io/gamgi_io_font_sun.h:30: multiple definition of `gamgi_io_font_sun_roman_points'; gamgi_mesa_text.o:./src/./io/gamgi_io_font_sun.h:30: first defined here
/usr/bin/ld: gamgi_io_xyz.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_import.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_import_object.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_import_config.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_import_help.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_export.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_export_object.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./chem/gamgi_chem_property.h:22: multiple definition of `gamgi_chem_property_color'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:22: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./chem/gamgi_chem_property.h:20: multiple definition of `gamgi_chem_property_ionic'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:20: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./chem/gamgi_chem_property.h:18: multiple definition of `gamgi_chem_property_ionic_driver'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:18: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./chem/gamgi_chem_property.h:16: multiple definition of `gamgi_chem_property_radius'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:16: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./chem/gamgi_chem_property.h:14: multiple definition of `gamgi_chem_property_mass'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:14: first defined here
/usr/bin/ld: gamgi_expat_export_config.o:./src/./chem/gamgi_chem_property.h:12: multiple definition of `gamgi_chem_property_mass_driver'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:12: first defined here
/usr/bin/ld: gamgi_global_create.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_global_copy.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_global_main.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_global_remove.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_global_resources.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_global_selection.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./chem/gamgi_chem_property.h:22: multiple definition of `gamgi_chem_property_color'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:22: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./chem/gamgi_chem_property.h:20: multiple definition of `gamgi_chem_property_ionic'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:20: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./chem/gamgi_chem_property.h:18: multiple definition of `gamgi_chem_property_ionic_driver'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:18: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./chem/gamgi_chem_property.h:16: multiple definition of `gamgi_chem_property_radius'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:16: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./chem/gamgi_chem_property.h:14: multiple definition of `gamgi_chem_property_mass'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:14: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./chem/gamgi_chem_property.h:12: multiple definition of `gamgi_chem_property_mass_driver'; gamgi_chem_atom.o:./src/./chem/gamgi_chem_property.h:12: first defined here
/usr/bin/ld: gamgi_global_start.o:./src/./global/gamgi_global.h:342: multiple definition of `gamgi'; gamgi_engine_count.o:./src/./global/gamgi_global.h:342: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [make_rules:54: gamgi] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j4 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ansi -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" returned exit code 2
make[1]: *** [debian/rules:31: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debichem-devel mailing list