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

Bug#925864: xlog: ftbfs with GCC-9



Package: src:xlog
Version: 2.0.14-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. 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/gcc9-20190321/xlog_2.0.14-1_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
config.status: creating data/man/xlog.1
config.status: creating src/Makefile
config.status: creating src/logfile/Makefile
config.status: creating data/Makefile
config.status: creating data/desktop/Makefile
config.status: creating data/pixmaps/Makefile
config.status: creating data/mime/Makefile
config.status: creating data/man/Makefile
config.status: creating data/maps/Makefile
config.status: creating data/maps/3D2/Makefile
config.status: creating data/maps/3Y/Makefile
config.status: creating data/maps/E5/Makefile
config.status: creating data/maps/FK/Makefile
config.status: creating data/maps/FO/Makefile
config.status: creating data/maps/FR/Makefile
config.status: creating data/maps/HK0/Makefile
config.status: creating data/maps/JD/Makefile
config.status: creating data/maps/KH8/Makefile
config.status: creating data/maps/SV/Makefile
config.status: creating data/maps/VP6/Makefile
config.status: creating data/maps/VP8/Makefile
config.status: creating data/doc/Makefile
config.status: creating data/doc/manual/Makefile
config.status: creating data/doc/manual/output/Makefile
config.status: creating data/doc/manual/output/html/Makefile
config.status: creating data/doc/manual/output/html/search/Makefile
config.status: creating data/dxcc/Makefile
config.status: creating data/remote/Makefile
config.status: creating data/glabels/Makefile
config.status: creating data/utils/Makefile
config.status: creating data/images/Makefile
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
Making all in logfile
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/logfile'
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.14\" -DPACKAGE_STRING=\"xlog\ 2.0.14\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -Wall -Wno-unused-but-set-variable -Werror -MT logfile.o -MD -MP -MF .deps/logfile.Tpo -c -o logfile.o logfile.c
mv -f .deps/logfile.Tpo .deps/logfile.Po
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.14\" -DPACKAGE_STRING=\"xlog\ 2.0.14\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -Wall -Wno-unused-but-set-variable -Werror -MT flog.o -MD -MP -MF .deps/flog.Tpo -c -o flog.o flog.c
mv -f .deps/flog.Tpo .deps/flog.Po
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.14\" -DPACKAGE_STRING=\"xlog\ 2.0.14\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -Wall -Wno-unused-but-set-variable -Werror -MT twlog.o -MD -MP -MF .deps/twlog.Tpo -c -o twlog.o twlog.c
mv -f .deps/twlog.Tpo .deps/twlog.Po
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.14\" -DPACKAGE_STRING=\"xlog\ 2.0.14\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -Wall -Wno-unused-but-set-variable -Werror -MT adif2.o -MD -MP -MF .deps/adif2.Tpo -c -o adif2.o adif2.c
mv -f .deps/adif2.Tpo .deps/adif2.Po
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.14\" -DPACKAGE_STRING=\"xlog\ 2.0.14\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -Wall -Wno-unused-but-set-variable -Werror -MT cabrillo3.o -MD -MP -MF .deps/cabrillo3.Tpo -c -o cabrillo3.o cabrillo3.c
mv -f .deps/cabrillo3.Tpo .deps/cabrillo3.Po
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.14\" -DPACKAGE_STRING=\"xlog\ 2.0.14\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -g -O2 -Wall -Wno-unused-but-set-variable -Werror -MT editest.o -MD -MP -MF .deps/editest.Tpo -c -o editest.o editest.c
In file included from /usr/include/string.h:494,
                 from editest.c:29:
In function 'strncpy',
    inlined from 'editest_qso_foreach' at editest.c:259:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 14 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:359: editest.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/logfile'
make[2]: *** [Makefile:589: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:370: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:51: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: