Package: src:libnih
Version: 1.0.3-10
Severity: normal
Tags: sid bullseye
User: debian-...@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/libnih_1.0.3-10_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: ( cd ".libs" && rm -f "libnih.la" && ln -s "../libnih.la" 
"libnih.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/nih'
Making all in nih-dbus
make[3]: Entering directory '/<<PKGBUILDDIR>>/nih-dbus'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_error.lo dbus_error.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_connection.lo dbus_connection.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_message.lo dbus_message.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_object.lo dbus_object.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_message.c  -fPIC -DPIC -o .libs/dbus_message.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_error.c  -fPIC -DPIC -o .libs/dbus_error.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_object.c  -fPIC -DPIC -o .libs/dbus_object.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_connection.c  -fPIC -DPIC -o .libs/dbus_connection.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_error.c -fPIE -o dbus_error.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_message.c -fPIE -o dbus_message.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_pending_data.lo dbus_pending_data.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_proxy.lo dbus_proxy.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_pending_data.c  -fPIC -DPIC -o .libs/dbus_pending_data.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_connection.c -fPIE -o dbus_connection.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_proxy.c  -fPIC -DPIC -o .libs/dbus_proxy.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_pending_data.c -fPIE -o dbus_pending_data.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_object.c -fPIE -o dbus_object.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   
-DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -I../intl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o dbus_util.lo dbus_util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_util.c  -fPIC -DPIC -o .libs/dbus_util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_proxy.c -fPIE -o dbus_proxy.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. 
-I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -Os -c 
dbus_util.c -fPIE -o dbus_util.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -version-info 1:0:0 -Wl,--version-script=./libnih-dbus.ver -Wl,--as-needed 
-Wl,-z,relro -Wl,-z,now -pie -Wl,-O1 -o libnih-dbus.la -rpath 
/usr/lib/x86_64-linux-gnu dbus_error.lo dbus_connection.lo dbus_message.lo 
dbus_object.lo dbus_pending_data.lo dbus_proxy.lo dbus_util.lo ../nih/libnih.la 
-ldbus-1 -lrt 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/dbus_error.o 
.libs/dbus_connection.o .libs/dbus_message.o .libs/dbus_object.o 
.libs/dbus_pending_data.o .libs/dbus_proxy.o .libs/dbus_util.o   -Wl,-rpath 
-Wl,/<<PKGBUILDDIR>>/nih/.libs ../nih/.libs/libnih.so -ldbus-1 -lrt  -g 
-fstack-protector -Os -Wl,--version-script=./libnih-dbus.ver -Wl,--as-needed 
-Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1   -Wl,-soname -Wl,libnih-dbus.so.1 -o 
.libs/libnih-dbus.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libnih-dbus.so.1" && ln -s 
"libnih-dbus.so.1.0.0" "libnih-dbus.so.1")
libtool: link: (cd ".libs" && rm -f "libnih-dbus.so" && ln -s 
"libnih-dbus.so.1.0.0" "libnih-dbus.so")
libtool: link: ar cr .libs/libnih-dbus.a  dbus_error.o dbus_connection.o 
dbus_message.o dbus_object.o dbus_pending_data.o dbus_proxy.o dbus_util.o
libtool: link: ranlib .libs/libnih-dbus.a
libtool: link: ( cd ".libs" && rm -f "libnih-dbus.la" && ln -s 
"../libnih-dbus.la" "libnih-dbus.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/nih-dbus'
Making all in nih-dbus-tool
make[3]: Entering directory '/<<PKGBUILDDIR>>/nih-dbus-tool'
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o main.o main.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o symbol.o symbol.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o indent.o indent.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o type.o type.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o marshal.o marshal.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o demarshal.o demarshal.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o node.o node.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o interface.o interface.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o method.o method.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o signal.o signal.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o property.o property.c
In file included from /usr/include/string.h:495,
                 from interface.c:26:
In function ‘memset’,
    inlined from ‘interface_properties_array’ at interface.c:1005:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:10: warning: 
‘__builtin_memset’ specified size between 18446744073709551598 and 
18446744073709551615 exceeds maximum object size 9223372036854775807 
[-Wstringop-overflow=]
   71 |   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o argument.o argument.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o annotation.o annotation.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o parse.o parse.c
gcc -DHAVE_CONFIG_H   -DLOCALEDIR="\"/usr/share/locale\"" -I.. -I.. -iquote. 
-iquote. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -c -o output.o output.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os  -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pie -Wl,-O1 -o nih-dbus-tool 
main.o symbol.o indent.o type.o marshal.o demarshal.o node.o interface.o 
method.o signal.o property.o argument.o annotation.o parse.o output.o 
../nih/libnih.la  -lexpat -ldbus-1 
libtool: link: gcc -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Wall -g -fstack-protector -fPIE 
-Os -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -Wl,-O1 -o 
.libs/nih-dbus-tool main.o symbol.o indent.o type.o marshal.o demarshal.o 
node.o interface.o method.o signal.o property.o argument.o annotation.o parse.o 
output.o  ../nih/.libs/libnih.so -lexpat -ldbus-1
/usr/bin/ld: output.o:/<<PKGBUILDDIR>>/nih-dbus-tool/output.h:30: multiple 
definition of `output_package'; 
main.o:/<<PKGBUILDDIR>>/nih-dbus-tool/output.h:30: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1387: nih-dbus-tool] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/nih-dbus-tool'
make[2]: *** [Makefile:471: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:401: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to