[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957885: tucnak: ftbfs with GCC-10



Package: src:tucnak
Version: 4.09-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/tucnak_4.09-1_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..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libusb-1.0 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libft
 di1 -I/usr/include/libusb-1.0 -I/usr/include/libzia -c -o zstring.o zstring.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 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 /usr/include/libzia/zfiledlg.h:18,
                 from /usr/include/libzia/libzia.h:28,
                 from header.h:38,
                 from zstring.c:11:
/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 /usr/include/libzia/zfiledlg.h:18,
                 from /usr/include/libzia/libzia.h:28,
                 from header.h:38,
                 from zstring.c:11:
/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 /usr/include/libzia/zfiledlg.h:18,
                 from /usr/include/libzia/libzia.h:28,
                 from header.h:38,
                 from zstring.c:11:
/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/libzia/eprintf.h:15,
                 from /usr/include/libzia/libzia.h:13,
                 from header.h:38,
                 from zstring.c:11:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libusb-1.0 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libftdi1 -I/usr/include/libusb-1.0 -I/usr/include/libzia  -Wl,-z
 ,relro -z now -rdynamic -Wl,-Map,tucnak.map -o tucnak ac.o adif.o alsa.o button.o bfu.o cabrillo.o charsets.o chart.o control.o cor.o cordata.o cwdaemon.o cwdb.o cwwindow.o davac4.o dsp.o dwdb.o dxc.o ebw.o edi.o error.o excdb.o fft.o fifo.o hdkeyb.o hf.o html.o httpd.o icons.o inpout.o inputln.o kbd.o kbdbind.o kst.o language.o list.o main.o map.o masterdb.o menu.o menu1.o menu2.o menu3.o menu4.o menu5.o menu6.o menu7.o mingw.o misc.o namedb.o net.o ntpq.o os_dep.o oss.o pa.o player.o ppdev.o profile.o rain.o rc.o report.o rotar.o qrvdb.o qsodb.o scope.o sdev.o sdr.o sdrc.o session.o settings.o sked.o sndf.o sndpipe.o ssbd.o state.o stats.o subwin.o terminal.o titlpage.o translate.o tregex.o trig.o tsdl.o ttys.o txts.o update.o voip.o vhfcontestnet.o winkey.o wiki.o wizz.o zosk.o zstring.o -lutil -L/usr/lib/x86_64-linux-gnu -lSDL -lpng16 -lz -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpango
 ft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lftdi1 -lusb-1.0 -L/usr/lib -lzia-4.09 -lutil -lm -lgthread-2.0 -pthread -lglib-2.0 -lsndfile -lasound -lhamlib -lfftw3 -Wl,-Map,tucnak.map 
/usr/bin/ld: menu2.o:(.bss+0xa20): multiple definition of `operator_'; menu1.o:(.bss+0x3b88): first defined here
/usr/bin/ld: rotar.o:(.bss+0x18): multiple definition of `hdkeyb'; hdkeyb.o:(.bss+0x0): first defined here
/usr/bin/ld: sked.o:./src/sked.c:28: multiple definition of `remark'; menu2.o:./src/menu2.c:66: first defined here
/usr/bin/ld: sked.o:./src/sked.c:27: multiple definition of `callsign'; menu2.o:./src/menu2.c:62: first defined here
/usr/bin/ld: sked.o:./src/sked.c:27: multiple definition of `locator'; menu2.o:./src/menu2.c:62: first defined here
/usr/bin/ld: sked.o:./src/sked.c:28: multiple definition of `time_str'; menu2.o:./src/menu2.c:66: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:488: tucnak] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:436: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:353: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:25: build-stamp] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: