Bug#957286: gnomekiss: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:01:33 BST 2020
Package: src:gnomekiss
Version: 2.0-6
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/gnomekiss_2.0-6_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
[...]
| ^~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from util.c:23:
/usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here
201 | gint g_strcasecmp (const gchar *s1,
| ^~~~~~~~~~~~
util.c: In function ‘event_find_or_insert’:
util.c:387:5: warning: ‘g_mem_chunk_alloc0’ is deprecated [-Wdeprecated-declarations]
387 | event= g_chunk_new0(KissActionList, event_chunk);
| ^~~~~
In file included from /usr/include/glib-2.0/glib.h:105,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from util.c:23:
/usr/include/glib-2.0/glib/deprecated/gallocator.h:52:17: note: declared here
52 | gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
| ^~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o interface.o interface.c
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -c -o callbacks.o callbacks.c
variable.c: In function ‘var_find’:
variable.c:40:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations]
40 | if (!g_strcasecmp(current->name, name))
| ^~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from variable.c:25:
/usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here
201 | gint g_strcasecmp (const gchar *s1,
| ^~~~~~~~~~~~
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wl,-z,relro -Wl,--as-needed -o gnomekiss main.o cell.o cnf.o collision.o errors.o event.o french.o lzh.o timer.o util.o variable.o support.o interface.o callbacks.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcanberra
/usr/bin/ld: cell.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: cell.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: cnf.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: cnf.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: collision.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: collision.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: errors.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: errors.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: event.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: event.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: french.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: french.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: lzh.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: lzh.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: timer.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: timer.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: util.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: util.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: variable.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: variable.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: callbacks.o:./src/kiss.h:29: multiple definition of `settings'; main.o:./src/kiss.h:29: first defined here
/usr/bin/ld: callbacks.o:./src/kiss.h:30: multiple definition of `error_store'; main.o:./src/kiss.h:30: first defined here
/usr/bin/ld: lzh.o: in function `lha_open':
./src/lzh.c:49: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:382: gnomekiss] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:391: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:330: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:15: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list