Package: src:libgadu Version: 1:1.12.2-3 Severity: normal Tags: sid bullseye User: debian-...@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/libgadu_1.12.2-3_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. [...] Build with libexpat.. : no Build with libxml2... : yes Build with perl...... : yes configure complete, now type 'make' make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' # Make sure the code is warning-free. We cannot set this for the whole # file, because many temporary files generated by configure are not # warning-free. dh_auto_build -- CFLAGS="$(DEB_CFLAGS_MAINT_APPEND=-Werror dpkg-buildflags --get CFLAGS)" make -j4 "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror" make[2]: Entering directory '/<<PKGBUILDDIR>>' make all-recursive make[3]: Entering directory '/<<PKGBUILDDIR>>' Making all in include make[4]: Entering directory '/<<PKGBUILDDIR>>/include' make all-am make[5]: Entering directory '/<<PKGBUILDDIR>>/include' cd .. ; sh protobufgen.sh [libprotobuf WARNING google/protobuf/compiler/parser.cc:562] No syntax specified for the proto file: packets.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) make[5]: Leaving directory '/<<PKGBUILDDIR>>/include' make[4]: Leaving directory '/<<PKGBUILDDIR>>/include' Making all in src make[4]: Entering directory '/<<PKGBUILDDIR>>/src' cat "libgadu.sym.in" > "libgadu.sym" echo "gg_is_gpl_compliant" >> "libgadu.sym" make all-am make[5]: Entering directory '/<<PKGBUILDDIR>>/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c -o libgadu_la-common.lo `test -f 'common.c' || echo './'`common.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c -o libgadu_la-dcc.lo `test -f 'dcc.c' || echo './'`dcc.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c -o libgadu_la-dcc7.lo `test -f 'dcc7.c' || echo './'`dcc7.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c -o libgadu_la-debug.lo `test -f 'debug.c' || echo './'`debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c dcc.c -fPIC -DPIC -o .libs/libgadu_la-dcc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c dcc7.c -fPIC -DPIC -o .libs/libgadu_la-dcc7.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c common.c -fPIC -DPIC -o .libs/libgadu_la-common.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c debug.c -fPIC -DPIC -o .libs/libgadu_la-debug.o dcc.c: In function 'gg_dcc_fill_file_info2': dcc.c:165:48: error: taking address of packed member of 'struct gg_file_info' may result in an unaligned pointer value [-Werror=address-of-packed-member] 165 | gg_dcc_fill_filetime(st.st_atime, d->file_info.atime); | ~~~~~~~~~~~~^~~~~~ dcc.c:166:48: error: taking address of packed member of 'struct gg_file_info' may result in an unaligned pointer value [-Werror=address-of-packed-member] 166 | gg_dcc_fill_filetime(st.st_mtime, d->file_info.mtime); | ~~~~~~~~~~~~^~~~~~ dcc.c:167:48: error: taking address of packed member of 'struct gg_file_info' may result in an unaligned pointer value [-Werror=address-of-packed-member] 167 | gg_dcc_fill_filetime(st.st_ctime, d->file_info.ctime); | ~~~~~~~~~~~~^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c debug.c -o libgadu_la-debug.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c -o libgadu_la-deflate.lo `test -f 'deflate.c' || echo './'`deflate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c common.c -o libgadu_la-common.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c deflate.c -fPIC -DPIC -o .libs/libgadu_la-deflate.o cc1: all warnings being treated as errors make[5]: *** [Makefile:553: libgadu_la-dcc.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c deflate.c -o libgadu_la-deflate.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../include -DGG_IGNORE_DEPRECATED -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -c dcc7.c -o libgadu_la-dcc7.o >/dev/null 2>&1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/src' make[4]: *** [Makefile:412: all] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src' make[3]: *** [Makefile:431: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: *** [Makefile:363: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j4 "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror" returned exit code 2 make[1]: *** [debian/rules:31: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2