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

Bug#957302: gpredict: ftbfs with GCC-10



Package: src:gpredict
Version: 2.3-33-gca42d22-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/gpredict_2.3-33-gca42d22-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

[...]
In function ‘strncpy’,
    inlined from ‘read_fresh_tle’ at tle-update.c:969:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 2 bytes from a string of length 79 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘read_fresh_tle’ at tle-update.c:909:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gpredict"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps/gpredict"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=c11 -pedantic -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/goocanvas-2.0 -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/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/
 usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o sgpsdp/sgp_obs.o sgpsdp/sgp_obs.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gpredict"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps/gpredict"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=c11 -pedantic -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/goocanvas-2.0 -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/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/
 usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o sgpsdp/sgp_time.o sgpsdp/sgp_time.c
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gpredict"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps/gpredict"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=c11 -pedantic -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/goocanvas-2.0 -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/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/
 usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o sgpsdp/solar.o sgpsdp/solar.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=c11 -pedantic -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/goocanvas-2.0 -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/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -Wl,-z,relro -o gpredict nxjson/nxjson.o sgpsdp/sgp4sdp4.o sgpsdp/sgp_in.o sgpsdp/sgp_math.o sgpsdp/sgp_obs.o sgpsdp/sgp_
 time.o sgpsdp/solar.o about.o compat.o first-time.o gpredict-help.o gpredict-utils.o gtk-azel-plot.o gtk-event-list.o gtk-event-list-popup.o gtk-freq-knob.o gtk-polar-plot.o gtk-polar-view.o gtk-polar-view-popup.o gtk-rig-ctrl.o gtk-rot-ctrl.o gtk-rot-knob.o gtk-sat-data.o gtk-sat-list.o gtk-sat-list-popup.o gtk-sat-map.o gtk-sat-map-popup.o gtk-sat-map-ground-track.o gtk-sat-module.o gtk-sat-module-popup.o gtk-sat-module-tmg.o gtk-sat-popup-common.o gtk-sat-selector.o gtk-single-sat.o gtk-sky-glance.o gui.o loc-tree.o locator.o main.o map-selector.o map-tools.o menubar.o mod-cfg.o mod-cfg-get-param.o mod-mgr.o orbit-tools.o pass-popup-menu.o pass-to-txt.o predict-tools.o print-pass.o qth-data.o qth-editor.o radio-conf.o rotor-conf.o trsp-conf.o trsp-update.o sat-cfg.o sat-info.o sat-log.o sat-log-browser.o sat-monitor.o sat-pass-dialogs.o sat-pref.o sat-pref-general.o sat-pref-formats.o sat-pref-qth.o sat-pref-qth-editor.o sat-pref-tle.o sat-pref-debug.o sat-pref-modules.o sat-pref
 -layout.o sat-pref-refresh.o sat-pref-map-view.o sat-pref-list-view.o sat-pref-polar-view.o sat-pref-single-sat.o sat-pref-interfaces.o sat-pref-rig.o sat-pref-rig-editor.o sat-pref-rot.o sat-pref-rot-editor.o sat-pref-predict.o sat-pref-conditions.o sat-pref-multi-pass.o sat-pref-single-pass.o sat-pref-sky-at-glance.o sat-vis.o save-pass.o time-tools.o tle-tools.o tle-update.o strnatcmp.o  -lm  -lcurl -lgoocanvas-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -std=c11 -pedantic -I/usr/include/x86_64-linux-gnu -pthread -I/usr/include/goocanvas-2.0 -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/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -Wl,-z -Wl,relro -o gpredict nxjson/nxjson.o sgpsdp/sgp4sdp4.o sgpsdp/sgp_in.o sgpsdp/sgp_math.o sgpsdp/sgp_obs.o sgpsdp/sgp_time.o sgpsdp/solar.o about.
 o compat.o first-time.o gpredict-help.o gpredict-utils.o gtk-azel-plot.o gtk-event-list.o gtk-event-list-popup.o gtk-freq-knob.o gtk-polar-plot.o gtk-polar-view.o gtk-polar-view-popup.o gtk-rig-ctrl.o gtk-rot-ctrl.o gtk-rot-knob.o gtk-sat-data.o gtk-sat-list.o gtk-sat-list-popup.o gtk-sat-map.o gtk-sat-map-popup.o gtk-sat-map-ground-track.o gtk-sat-module.o gtk-sat-module-popup.o gtk-sat-module-tmg.o gtk-sat-popup-common.o gtk-sat-selector.o gtk-single-sat.o gtk-sky-glance.o gui.o loc-tree.o locator.o main.o map-selector.o map-tools.o menubar.o mod-cfg.o mod-cfg-get-param.o mod-mgr.o orbit-tools.o pass-popup-menu.o pass-to-txt.o predict-tools.o print-pass.o qth-data.o qth-editor.o radio-conf.o rotor-conf.o trsp-conf.o trsp-update.o sat-cfg.o sat-info.o sat-log.o sat-log-browser.o sat-monitor.o sat-pass-dialogs.o sat-pref.o sat-pref-general.o sat-pref-formats.o sat-pref-qth.o sat-pref-qth-editor.o sat-pref-tle.o sat-pref-debug.o sat-pref-modules.o sat-pref-layout.o sat-pref-refresh.o
  sat-pref-map-view.o sat-pref-list-view.o sat-pref-polar-view.o sat-pref-single-sat.o sat-pref-interfaces.o sat-pref-rig.o sat-pref-rig-editor.o sat-pref-rot.o sat-pref-rot-editor.o sat-pref-predict.o sat-pref-conditions.o sat-pref-multi-pass.o sat-pref-single-pass.o sat-pref-sky-at-glance.o sat-vis.o save-pass.o time-tools.o tle-tools.o tle-update.o strnatcmp.o  -lm /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -lgoocanvas-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -pthread
/usr/bin/ld: gtk-event-list.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-event-list-popup.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-polar-plot.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-polar-view.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-polar-view-popup.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-rig-ctrl.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-rot-ctrl.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-data.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-list.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-list-popup.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-map.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-map-popup.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-map-ground-track.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-module.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-module-popup.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-module-tmg.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-popup-common.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sat-selector.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-single-sat.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: gtk-sky-glance.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: menubar.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: mod-cfg.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: mod-mgr.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: orbit-tools.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: pass-popup-menu.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: pass-to-txt.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: predict-tools.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: print-pass.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: qth-data.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: qth-editor.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-cfg.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-info.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pass-dialogs.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-qth.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-layout.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-map-view.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-list-view.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-polar-view.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-single-sat.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-multi-pass.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-pref-single-pass.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: sat-vis.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
/usr/bin/ld: save-pass.o:./src/qth-data.h:36: multiple definition of `qth_data_type'; gtk-azel-plot.o:./src/qth-data.h:36: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:689: gpredict] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:835: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:376: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:3: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: