Bug#957497: lmemory: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:05:21 BST 2020


Package: src:lmemory
Version: 0.6c-9
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/lmemory_0.6c-9_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/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 support.c:14:
/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 /usr/include/glib-2.0/gobject/gbinding.h:28,
                 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 support.c:14:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,--as-needed -o lmemory list.o mmain.o lmem_window.o lmem_menu.o lmem_level.o xpm_widget.o help.o support.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype 
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,--as-needed -o lmemory list.o mmain.o lmem_window.o lmem_menu.o lmem_level.o xpm_widget.o help.o support.o  -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
/usr/bin/ld: mmain.o:./lmemory.h:40: multiple definition of `lmem_image_dir'; list.o:./lmemory.h:40: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:39: multiple definition of `lmem_state'; list.o:./lmemory.h:39: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:38: multiple definition of `frame'; list.o:./lmemory.h:38: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:37: multiple definition of `button'; list.o:./lmemory.h:37: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:36: multiple definition of `second_pixmap'; list.o:./lmemory.h:36: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:35: multiple definition of `default_pixmap'; list.o:./lmemory.h:35: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:17: multiple definition of `click_count'; list.o:./lmemory.h:17: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:16: multiple definition of `same_card'; list.o:./lmemory.h:16: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:15: multiple definition of `match_card'; list.o:./lmemory.h:15: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:14: multiple definition of `lmem_level'; list.o:./lmemory.h:14: first defined here
/usr/bin/ld: mmain.o:./lmemory.h:13: multiple definition of `indicator'; list.o:./lmemory.h:13: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:39: multiple definition of `lmem_state'; list.o:./lmemory.h:39: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:14: multiple definition of `lmem_level'; list.o:./lmemory.h:14: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:17: multiple definition of `click_count'; list.o:./lmemory.h:17: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:13: multiple definition of `indicator'; list.o:./lmemory.h:13: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:38: multiple definition of `frame'; list.o:./lmemory.h:38: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:15: multiple definition of `match_card'; list.o:./lmemory.h:15: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:35: multiple definition of `default_pixmap'; list.o:./lmemory.h:35: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:36: multiple definition of `second_pixmap'; list.o:./lmemory.h:36: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:37: multiple definition of `button'; list.o:./lmemory.h:37: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:16: multiple definition of `same_card'; list.o:./lmemory.h:16: first defined here
/usr/bin/ld: lmem_window.o:./lmemory.h:40: multiple definition of `lmem_image_dir'; list.o:./lmemory.h:40: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:39: multiple definition of `lmem_state'; list.o:./lmemory.h:39: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:15: multiple definition of `match_card'; list.o:./lmemory.h:15: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:35: multiple definition of `default_pixmap'; list.o:./lmemory.h:35: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:36: multiple definition of `second_pixmap'; list.o:./lmemory.h:36: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:14: multiple definition of `lmem_level'; list.o:./lmemory.h:14: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:16: multiple definition of `same_card'; list.o:./lmemory.h:16: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:40: multiple definition of `lmem_image_dir'; list.o:./lmemory.h:40: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:38: multiple definition of `frame'; list.o:./lmemory.h:38: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:37: multiple definition of `button'; list.o:./lmemory.h:37: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:17: multiple definition of `click_count'; list.o:./lmemory.h:17: first defined here
/usr/bin/ld: lmem_level.o:./lmemory.h:13: multiple definition of `indicator'; list.o:./lmemory.h:13: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:491: lmemory] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:551: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:387: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list