[Debichem-devel] Bug#957264: gdis: ftbfs with GCC-10

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


Package: src:gdis
Version: 0.90-5
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/gdis_0.90-5_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

[...]
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from gdis.h:270,
                 from gui_grid.c:27:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from gdis.h:270,
                 from gui_grid.c:27:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from gdis.h:270,
                 from gui_grid.c:27:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from gdis.h:269,
                 from gui_grid.c:27:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
gui_grid.c: In function ‘gui_job_download’:
gui_grid.c:574:5: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations]
  574 |     if (g_strncasecmp(status, "done", 4) == 0)
      |     ^~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from gdis.h:269,
                 from gui_grid.c:27:
/usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here
  204 | gint                  g_strncasecmp    (const gchar *s1,
      |                       ^~~~~~~~~~~~~
gui_grid.c: In function ‘gui_grid_dialog’:
gui_grid.c:1094:3: warning: ‘g_mutex_new’ is deprecated [-Wdeprecated-declarations]
 1094 |   gui_grid_mutex = g_mutex_new();
      |   ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:110,
                 from gdis.h:269,
                 from gui_grid.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here
  273 | GMutex *        g_mutex_new             (void);
      |                 ^~~~~~~~~~~
cc main.o model.o coords.o connect.o matrix.o module.o task.o type.o measure.o parse.o edit.o elem.o select.o surface.o analysis.o spatial.o render.o numeric.o project.o grid.o molsurf.o hirshfeld.o zone.o contents.o quaternion.o zmatrix.o library.o geometry.o space.o sginfo.o sgclib.o sgio.o error.o scan.o camera.o defect.o colourlib.o crystal_graph.o mdi.o mesch.o mesch_core.o host.o job.o command.o undo.o count.o ff.o ff_gulp.o test.o file.o file_cif.o file_gulp.o file_gmf.o file_marvin.o file_xtl.o file_arc.o file_xyz.o file_fdf.o file_gms.o file_diff.o file_xml.o file_abinit.o file_pdb.o file_povray.o file_nwchem.o file_castep.o file_gauss.o file_rietica.o file_geomview.o file_cssr.o file_cel.o file_dmol.o file_dlpoly.o file_bgf.o file_cgf.o file_dlp.o file_gromacs.o file_meta.o gui_main.o gui_canvas.o gui_shorts.o gl_main.o gl_primitives.o gl_stereo.o gl_graph.o gl_varray.o gui_gulp.o gui_siesta.o gui_render.o gui_mdi.o gui_animate.o gui_edit.o gui_surface.o gui_analysis.o gui_defect.o gui_molsurf.o gui_diffract.o gui_gms.o gui_library.o gui_setup.o gui_gperiodic.o gui_space.o gui_measure.o gui_symmetry.o gui_zmatrix.o gui_dialog.o gui_tree.o gui_task.o gui_help.o gui_monty.o gui_job.o dock.o image.o gui_grid.o -Wl,-z,relro -Wl,--as-needed -o gdis `pkg-config --libs gtk+-2.0 gthread-2.0 gtkglext-1.0 gmodule-2.0` -lm
/usr/bin/ld: command.o:./command.c:34: multiple definition of `sysenv'; main.o:./main.c:53: first defined here
/usr/bin/ld: gui_main.o:./gui_main.c:73: multiple definition of `tree'; crystal_graph.o:./crystal_graph.c:80: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [makefile.debian:16: gdis] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 -f makefile.debian "LDFLAGS=-Wl,-z,relro -Wl,--as-needed" returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debichem-devel mailing list