Package: src:binutils-or1k-elf
Version: 1.0.11
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary -Dsrc -Bbld
debian/rules execute_before_dh_update_autotools_config
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tar -xf /usr/src/binutils/binutils-*.tar.xz --transform='s|[^/]*|src|'
cp debian/etc/* src/etc/
dh execute_before_dh_update_autotools_config -Dsrc -Bbld
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_update_autotools_config -O-Dsrc -O-Bbld
debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_autoreconf -D. autoreconf2.69 -- -f -i -v `debian/autoreconf`
autoreconf2.69: Entering directory `src'
autoreconf2.69: configure.ac: not using Gettext
[... snipped ...]
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o ldmisc.o ../../src/ld/ldmisc.c
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -fcf-protection -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
-DSCRIPTDIR='"/usr/lib/or1k-elf"' -DBINDIR='"/usr/bin"' \
-DTOOLBINDIR='"/usr/or1k-elf/bin"' \
../../src/ld/ldfile.c
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o ldcref.o ../../src/ld/ldcref.c
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o plugin.o ../../src/ld/plugin.c
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o ldbuildid.o ../../src/ld/ldbuildid.c
test -d ldscripts || mkdir ldscripts; touch ldscripts/stamp
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o ldelf.o ../../src/ld/ldelf.c
../../src/ld/ldelf.c: In function ‘ldelf_after_parse’:
../../src/ld/ldelf.c:109:19: error: passing argument 1 of ‘strcpy’ discards
‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
109 | strcpy (ldelf_emit_note_fdo_package_metadata,
package_metadata);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:510,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from ../../src/ld/sysdep.h:30,
from ../../src/ld/ldelf.c:21:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected
‘char *’ but argument is of type ‘const char *’
77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict,
__dest),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c -o ldelfgen.o ../../src/ld/ldelfgen.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd
-I../../src/ld/../bfd -I../../src/ld/../include -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -DLOCALEDIR="\"/usr/share/locale\"" -Wdate-time
-D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false -DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libdep_plugin.lo
../../src/ld/libdep_plugin.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd
-I../../src/ld/../include -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time
-D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
-DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false -DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../src/ld/libdep_plugin.c -fPIC
-DPIC -o .libs/libdep_plugin.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -I../../src/ld -I../bfd -I../../src/ld/../bfd
-I../../src/ld/../include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=false
-DELF_PLT_UNWIND_LIST_OPTIONS=false -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c ../../src/ld/libdep_plugin.c -o libdep_plugin.o >/dev/null 2>&1
cc1: all warnings being treated as errors
make[5]: *** [Makefile:1814: ldelf.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/bld/ld'
make[4]: *** [Makefile:2096: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/bld/ld'
make[3]: *** [Makefile:1281: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/bld/ld'
make[2]: *** [Makefile:7702: all-ld] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/bld'
make[1]: *** [Makefile:1027: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/bld'
dh_auto_build: error: cd bld && make -j2 returned exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.