Your message dated Thu, 19 Dec 2024 12:19:31 +0000
with message-id <[email protected]>
and subject line Bug#1089199: fixed in binutils-sh-elf 3
has caused the Debian Bug report #1089199,
regarding binutils-sh-elf: FTBFS: error: passing argument 1 of ‘strcpy’
discards ‘const’ qualifier
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1089199: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089199
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:binutils-sh-elf
Version: 2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
mkdir -p binutils
dh binary -Dbinutils -Bbuild
debian/rules execute_before_dh_update_autotools_config
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd binutils && tar --strip-components=1 -xf /usr/src/binutils/binutils-*.tar.*
rm -rf binutils/zlib
mkdir -p binutils
dh execute_before_dh_update_autotools_config -Dbinutils -Bbuild
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_update_autotools_config -O-Dbinutils -O-Bbuild
debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if ! echo parallel=2 | grep -q terse; \
[... snipped ...]
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ldver.o ../../binutils/ld/ldver.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ../../binutils/ld/ldmisc.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd -I../../binutils/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=true
-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/sh-elf"' -DBINDIR='"/usr/bin"' \
-DTOOLBINDIR='"/usr/sh-elf/bin"' \
../../binutils/ld/ldfile.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ../../binutils/ld/ldcref.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ../../binutils/ld/plugin.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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
../../binutils/ld/ldbuildid.c
test -d ldscripts || mkdir ldscripts; touch ldscripts/stamp
gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ../../binutils/ld/ldelf.c
../../binutils/ld/ldelf.c: In function ‘ldelf_after_parse’:
../../binutils/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 ../../binutils/ld/sysdep.h:30,
from ../../binutils/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../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ../../binutils/ld/ldelfgen.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld
-I../bfd -I../../binutils/ld/../bfd -I../../binutils/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=true -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
../../binutils/ld/libdep_plugin.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd
-I../../binutils/ld/../bfd -I../../binutils/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=true -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 ../../binutils/ld/libdep_plugin.c
-fPIC -DPIC -o .libs/libdep_plugin.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils/ld -I. -I../../binutils/ld -I../bfd -I../../binutils/ld/../bfd
-I../../binutils/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=true -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 ../../binutils/ld/libdep_plugin.c -o libdep_plugin.o >/dev/null 2>&1
cc1: all warnings being treated as errors
make[5]: *** [Makefile:1787: ldelf.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/ld'
make[4]: *** [Makefile:2069: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/ld'
make[3]: *** [Makefile:1254: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/ld'
make[2]: *** [Makefile:7702: all-ld] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:1027: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 returned exit code 2
make: *** [debian/rules:16: 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.
--- End Message ---
--- Begin Message ---
Source: binutils-sh-elf
Source-Version: 3
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
binutils-sh-elf, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated binutils-sh-elf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Dec 2024 13:02:25 +0100
Source: binutils-sh-elf
Architecture: source
Version: 3
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team
<[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1089199
Changes:
binutils-sh-elf (3) unstable; urgency=medium
.
* Team upload.
* Allow discarding qualifiers. (Closes: #1089199)
Checksums-Sha1:
9ef2333af870c030f082e10bce36e2b2833b2e44 1756 binutils-sh-elf_3.dsc
0ba9f4163816fda973cf6d9248276072a3c0740f 3888 binutils-sh-elf_3.tar.xz
7362da68dd317712a5551bfaf8c59c06f191c896 6832
binutils-sh-elf_3_source.buildinfo
Checksums-Sha256:
8607a63ad47d8fc04e3561edf17dca7a8dc71b3d9245aabb8f9b985342d3000a 1756
binutils-sh-elf_3.dsc
6e9ddd682de4c60395b36817381a93df574ad9ae63872ad9722805dc7e270e1f 3888
binutils-sh-elf_3.tar.xz
9ec53287cd4743c99f35eee9cf8ef0fe4a41e1e281e0139c66e792ba413e997b 6832
binutils-sh-elf_3_source.buildinfo
Files:
c22ea200e825cb970ec5a12b252138f5 1756 devel optional binutils-sh-elf_3.dsc
064b674856302b95c8c19c580f5dc651 3888 devel optional binutils-sh-elf_3.tar.xz
dd967659ab4da9fc00d8e59834908fcf 6832 devel optional
binutils-sh-elf_3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmdkDIQQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFAdZDACIh5KLUg6VQQvoj1YeeG/U3RlCRPBcknh4
me1OhTVBvum+6do6nGmto3PbkY1BvVWCT7l508uuMbWPvLlEsCjIrCOCyREAos10
FTvIqcB56y7NbQ5jNS64LVhx2dXbC5v1aB4/hDIFKlrdrZ5+wz2NAwEfpXUSGs/D
KXHJxk397GCIcvOu2G2Y3KUxp03fEfRpyT61BjJCcaDGARuAtCcv8j08kXs9BbNu
6YN4T7P+AjTGF06msX4bT7poljHLtY9lNON3NkZy4kfdFISdDJwYgkw5H9aMXFOF
YDnDWEfxQaMpuu6dssGChsFLIcROv3fO4ssdHakXI2neSDk8JGXDtzt/ieF1HnoL
5hTIspLJcgwSZB3A48qnTs+e44w+30r7rW2HUYOjHnZYEw/Dmb+wWYL4GxCstqPo
g0B5+u+oYQO0eZkPxosHvDM64chbaDcFvuS3zuMP8tLTy8/ZxplxMy2RQgHccrPr
M1eNamWYJFd/WczLFD8oNfWJI72SiYU=
=Po0r
-----END PGP SIGNATURE-----
pgp3Yzs2Gpy8r.pgp
Description: PGP signature
--- End Message ---