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

Bug#957106: cpu: ftbfs with GCC-10



Package: src:cpu
Version: 1.4.3-12
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/cpu_1.4.3-12_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

[...]
libtool: link: gcc -shared  -fPIC -DPIC  .libs/bitvector.o .libs/getopt.o .libs/getopt1.o .libs/xmem.o .libs/helper.o .libs/cgetpwent.o .libs/parseconfig.o .libs/dll.o .libs/base64.o .libs/md5.o .libs/sha1.o .libs/hash.o .libs/fileaction.o .libs/parser.o   -lldap -llber -lcrack -lcrypt -ldl  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libcputil.so.0 -o .libs/libcputil.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libcputil.so.0" && ln -s "libcputil.so.0.0.0" "libcputil.so.0")
libtool: link: (cd ".libs" && rm -f "libcputil.so" && ln -s "libcputil.so.0.0.0" "libcputil.so")
libtool: link: ar cr .libs/libcputil.a  bitvector.o getopt.o getopt1.o xmem.o helper.o cgetpwent.o parseconfig.o dll.o base64.o md5.o sha1.o hash.o fileaction.o parser.o
libtool: link: ranlib .libs/libcputil.a
libtool: link: ( cd ".libs" && rm -f "libcputil.la" && ln -s "../libcputil.la" "libcputil.la" )
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/util'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/util'
Making all in main
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/main'
Making all in .
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/main'
gcc -DHAVE_CONFIG_H -I. -I../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2 -DCONFIGFILE=\"/etc/cpu/cpu.conf\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o cpu.o cpu.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -DCONFIGFILE=\"/etc/cpu/cpu.conf\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w  -Wl,-z,relro -Wl,-z,now -o cpu cpu.o ../../src/util/libcputil.la -lldap -llber -lcrack -lcrypt -ldl 
libtool: link: gcc -DCONFIGFILE=\"/etc/cpu/cpu.conf\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/cpu cpu.o  ../../src/util/.libs/libcputil.so -lldap -llber -lcrack -lcrypt -ldl
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/main'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/main'
Making all in plugins
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/plugins'
Making all in .
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/plugins'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/plugins'
Making all in ldap
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/plugins/ldap'
Making all in .
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/plugins/ldap'
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o ldap_errors.lo ldap_errors.c
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o commandline.lo commandline.c
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o cat.lo cat.c
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o user.lo user.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c ldap_errors.c  -fPIC -DPIC -o .libs/ldap_errors.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c commandline.c  -fPIC -DPIC -o .libs/commandline.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c cat.c  -fPIC -DPIC -o .libs/cat.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c user.c  -fPIC -DPIC -o .libs/user.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c ldap_errors.c -o ldap_errors.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c cat.c -o cat.o >/dev/null 2>&1
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o group.lo group.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c group.c  -fPIC -DPIC -o .libs/group.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c user.c -o user.o >/dev/null 2>&1
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o ld.lo ld.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c group.c -o group.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c commandline.c -o commandline.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c ld.c  -fPIC -DPIC -o .libs/ld.o
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c -o ldap.lo ldap.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c ldap.c  -fPIC -DPIC -o .libs/ldap.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c ldap.c -o ldap.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -c ld.c -o ld.o >/dev/null 2>&1
/bin/bash ../../../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLDAP_DEPRECATED -w -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -o libcpu_ldap.la -rpath /usr/lib/x86_64-linux-gnu ldap_errors.lo commandline.lo cat.lo user.lo group.lo ld.lo ldap.lo  -lldap -llber -lcrack -lcrypt -ldl 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/ldap_errors.o .libs/commandline.o .libs/cat.o .libs/user.o .libs/group.o .libs/ld.o .libs/ldap.o   -lldap -llber -lcrack -lcrypt -ldl  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libcpu_ldap.so.0 -o .libs/libcpu_ldap.so.0.0.0
/usr/bin/ld: .libs/commandline.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: multiple definition of `globalLdap'; .libs/ldap_errors.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: first defined here
/usr/bin/ld: .libs/cat.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: multiple definition of `globalLdap'; .libs/ldap_errors.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: first defined here
/usr/bin/ld: .libs/user.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: multiple definition of `globalLdap'; .libs/ldap_errors.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: first defined here
/usr/bin/ld: .libs/group.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: multiple definition of `globalLdap'; .libs/ldap_errors.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: first defined here
/usr/bin/ld: .libs/ld.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: multiple definition of `globalLdap'; .libs/ldap_errors.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: first defined here
/usr/bin/ld: .libs/ldap.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: multiple definition of `globalLdap'; .libs/ldap_errors.o:./src/plugins/ldap/../../../src/include/plugins/ldap/ldap.h:109: first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:450: libcpu_ldap.la] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/plugins/ldap'
make[4]: *** [Makefile:506: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/plugins/ldap'
make[3]: *** [Makefile:351: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/plugins'
make[2]: *** [Makefile:347: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:414: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: