Your message dated Sun, 08 Dec 2024 12:49:08 +0000
with message-id <e1tkgii-00dkqg...@fasolo.debian.org>
and subject line Bug#1089190: fixed in binutils-or1k-elf 1.0.12
has caused the Debian Bug report #1089190,
regarding binutils-or1k-elf: FTBFS: error: passing argument 1 of ‘strcpy’
discards ‘const’ qualifier from pointer target type
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 ow...@bugs.debian.org
immediately.)
--
1089190: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089190
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source: binutils-or1k-elf
Source-Version: 1.0.12
Done: Nicolas Boulenguez <nico...@debian.org>
We believe that the bug you reported is fixed in the latest version of
binutils-or1k-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 1089...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nicolas Boulenguez <nico...@debian.org> (supplier of updated binutils-or1k-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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 07 Dec 2024 12:39:50 +0000
Source: binutils-or1k-elf
Architecture: source
Version: 1.0.12
Distribution: unstable
Urgency: medium
Maintainer: Nicolas Boulenguez <nico...@debian.org>
Changed-By: Nicolas Boulenguez <nico...@debian.org>
Closes: 1089190
Changes:
binutils-or1k-elf (1.0.12) unstable; urgency=medium
.
* Build with 2.43.50. Drop work-around for autotools sources.
* Unselect -Werror compiler option. Closes: #1089190.
* Avoid hardcoding the output of dh_auto_configure.
Checksums-Sha1:
841ae6cd4649849728ed048c50618faee34599c8 1894 binutils-or1k-elf_1.0.12.dsc
da2be2efe2c79921b90e6df6085b617dc9b90447 5188 binutils-or1k-elf_1.0.12.tar.xz
Checksums-Sha256:
dcf8e05b604e7b6dd8eaf7f3f565f8390a5670a4652b9e347ecc95a9096b2baf 1894
binutils-or1k-elf_1.0.12.dsc
4ed05f7985b6ff47d112d7fcf2f9bcbd49f29a99d58e62a3dc7f34465fa38a37 5188
binutils-or1k-elf_1.0.12.tar.xz
Files:
24cf64f0d21db1b6e34e720f3be4ce2e 1894 devel optional
binutils-or1k-elf_1.0.12.dsc
ebd03d2580710913b7d5d07cc4597446 5188 devel optional
binutils-or1k-elf_1.0.12.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCAAxFiEEawm/6zYhqkfTAKHtFHKayZgPCdIFAmdVj9oTHG5pY29sYXNA
ZGViaWFuLm9yZwAKCRAUcprJmA8J0s2CEACrpWujcVpf2IfQrYv2oi3gAnQLUtJi
H8B7Y3NEvxjXO+hQ4SYTf8+IFxhhkUBhb67bfB9A9WmGPceFM8ap1lULXQUfmnK1
BQc5yOM02rpIYJiXLooS8SIE2U2W49x7ElZKqG4wJTtSnYAX12dT5i3qolbaHiNv
L7tEbNRlmSYBf38zR9+xQzLVg8ad57LuUKk4NGifdVY4k8knXUNE56FhxXYLGU4l
sGVkt7Op8jXyZb9IEQ0yQji3a7hS+OHdfzt9E1V+7GXT+mIkVWXcLVcc3PagdqkE
8O+xS12oS1VYAdLxYpdxzZW0Wt5uPQ5PNC5P7KWeaQCqkx9hTAv7UYTifqgBvRbj
QoQF+BGYt8U6C+0/6bpvTN4lQFTzHEhH5qE+EQhDDyU1HrCnDDHyCXmy3yr/HgY/
e83Kkotimkicu5VXbjGHXiAPEQM9yCT4iT2ZuGcJ5Hyf1lXW7v4rUIO5rnaFPBLW
em7PA2YWaTMPnlg8H04o2AbJZ4lZqLUxlbFWFpIjCmW6tB02lljLQ+sJ+UmjblB/
niT478+Kkmha4KbHSABelmk8OBL4vQ55/hmsJw6xTvwV77MbzTwVDbQerJN7MFT6
DwQtWT8AGO43fbwCmxpM9dEQiusapdE5S/K3idxPYCJA4QpxRWZeddTW/shc7cAI
v3kyZ7pCwnqnMg==
=Yq/0
-----END PGP SIGNATURE-----
pgpbzj7urzptH.pgp
Description: PGP signature
--- End Message ---