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

Bug#957441: libgadu: ftbfs with GCC-10



Package: src:libgadu
Version: 1:1.12.2-4
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/libgadu_1.12.2-4_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

[...]
Making check in lib
make[5]: Entering directory '/<<PKGBUILDDIR>>/test/manual/lib'
make[5]: Nothing to be done for 'check'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/test/manual/lib'
make[5]: Entering directory '/<<PKGBUILDDIR>>/test/manual'
make  client userlist dcc7  
make[6]: Entering directory '/<<PKGBUILDDIR>>/test/manual'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -DGG_IGNORE_DEPRECATED -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -c -o client.o client.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -DGG_IGNORE_DEPRECATED -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -c -o userconfig.o userconfig.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -DGG_IGNORE_DEPRECATED -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -c -o userlist.o userlist.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -DGG_IGNORE_DEPRECATED -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -c -o dcc7.o dcc7.c
cat "../../src/network.c" > "libgadu-network.c"
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -DGG_IGNORE_DEPRECATED -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -c -o libgadu-network.o libgadu-network.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -no-install -Wl,-z,relro -o userlist userlist.o userconfig.o ../../src/libgadu.la -lgnutls  -pthread  -lz -lprotobuf-c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -no-install -Wl,-z,relro -o client client.o userconfig.o ../../src/libgadu.la -lgnutls  -pthread  -lz -lprotobuf-c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -no-install -Wl,-z,relro -o dcc7 dcc7.o userconfig.o libgadu-network.o ../../src/libgadu.la -lgnutls  -pthread  -lz -lprotobuf-c
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -Wl,-z -Wl,relro -o userlist userlist.o userconfig.o -pthread  ../../src/.libs/libgadu.so -lgnutls -lz -lprotobuf-c -pthread -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:28: multiple definition of `config_ip'; userlist.o:./test/manual/userconfig.h:28: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:31: multiple definition of `config_proxy'; userlist.o:./test/manual/userconfig.h:31: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:30: multiple definition of `config_server'; userlist.o:./test/manual/userconfig.h:30: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:29: multiple definition of `config_port'; userlist.o:./test/manual/userconfig.h:29: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:27: multiple definition of `config_size'; userlist.o:./test/manual/userconfig.h:27: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:26: multiple definition of `config_dir'; userlist.o:./test/manual/userconfig.h:26: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:25: multiple definition of `config_file'; userlist.o:./test/manual/userconfig.h:25: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:24: multiple definition of `config_peer'; userlist.o:./test/manual/userconfig.h:24: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:23: multiple definition of `config_password'; userlist.o:./test/manual/userconfig.h:23: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:22: multiple definition of `config_uin'; userlist.o:./test/manual/userconfig.h:22: first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:467: userlist] Error 1
make[6]: *** Waiting for unfinished jobs....
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -Wl,-z -Wl,relro -o client client.o userconfig.o -pthread  ../../src/.libs/libgadu.so -lgnutls -lz -lprotobuf-c -pthread -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:28: multiple definition of `config_ip'; client.o:./test/manual/userconfig.h:28: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:31: multiple definition of `config_proxy'; client.o:./test/manual/userconfig.h:31: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:30: multiple definition of `config_server'; client.o:./test/manual/userconfig.h:30: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:29: multiple definition of `config_port'; client.o:./test/manual/userconfig.h:29: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:27: multiple definition of `config_size'; client.o:./test/manual/userconfig.h:27: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:26: multiple definition of `config_dir'; client.o:./test/manual/userconfig.h:26: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:25: multiple definition of `config_file'; client.o:./test/manual/userconfig.h:25: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:24: multiple definition of `config_peer'; client.o:./test/manual/userconfig.h:24: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:23: multiple definition of `config_password'; client.o:./test/manual/userconfig.h:23: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:22: multiple definition of `config_uin'; client.o:./test/manual/userconfig.h:22: first defined here
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations -Wl,-z -Wl,relro -o dcc7 dcc7.o userconfig.o libgadu-network.o -pthread  ../../src/.libs/libgadu.so -lgnutls -lz -lprotobuf-c -pthread -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:28: multiple definition of `config_ip'; dcc7.o:./test/manual/userconfig.h:28: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:31: multiple definition of `config_proxy'; dcc7.o:./test/manual/userconfig.h:31: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:30: multiple definition of `config_server'; dcc7.o:./test/manual/userconfig.h:30: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:29: multiple definition of `config_port'; dcc7.o:./test/manual/userconfig.h:29: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:27: multiple definition of `config_size'; dcc7.o:./test/manual/userconfig.h:27: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:26: multiple definition of `config_dir'; dcc7.o:./test/manual/userconfig.h:26: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:25: multiple definition of `config_file'; dcc7.o:./test/manual/userconfig.h:25: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:24: multiple definition of `config_peer'; dcc7.o:./test/manual/userconfig.h:24: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:23: multiple definition of `config_password'; dcc7.o:./test/manual/userconfig.h:23: first defined here
/usr/bin/ld: userconfig.o:./test/manual/userconfig.h:22: multiple definition of `config_uin'; dcc7.o:./test/manual/userconfig.h:22: first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:455: client] Error 1
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:459: dcc7] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/test/manual'
make[5]: *** [Makefile:692: check-am] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/test/manual'
make[4]: *** [Makefile:541: check-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/test/manual'
make[3]: *** [Makefile:383: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[2]: *** [Makefile:431: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j4 check VERBOSE=1 "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wno-error=deprecated-declarations" returned exit code 2
make[1]: *** [debian/rules:43: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: