Your message dated Wed, 06 Apr 2022 13:19:29 +0000
with message-id <[email protected]>
and subject line Bug#1003500: fixed in gcc-sh-elf 3
has caused the Debian Bug report #1003500,
regarding gcc-sh-elf: reproducible builds: embeds path to various binaries
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.)
--
1003500: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003500
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gcc-sh-elf
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge shell
X-Debbugs-Cc: [email protected]
The paths to various binaries are embedded which differs on a usrmerge
vs. non-usrmerge system.
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/gcc-sh-elf.html
./usr/libexec/gcc/sh-elf/11/install-tools/fixincl
/bin/sed
vs.
/usr/bin/sed
./usr/libexec/gcc/sh-elf/11/install-tools/mkheaders
for·shell·in·$CONFIG_SHELL·$SHELL·/bin/bash·/bin/sh·"";·do
vs.
for·shell·in·$CONFIG_SHELL·$SHELL·/bin/sh·/bin/sh·"";·do
Patch attached which passes variables to configure to use the
non-usrmerge locations, as usrmerge installations typically have
compatibility symlinks, but not vice-versa. The patch also sets
variables to ensure consistent values for bash, which can be triggered
when /bin/sh points to bash.
This patch alone does not fix all reproducibility issues (e.g. build
paths, which are only tested on unstable and experimental), but should
significantly improve the reproducibility, especially in
bookworm/testing.
Thanks for maintaining gcc-sh-elf!
live well,
vagrant
From e7ec028450dc49dad26cdeca13e6ae22f0747765 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 11 Jan 2022 03:31:46 +0000
Subject: [PATCH] debian/rules: Pass variables to configure to make the package
build reproducibly regardless of usrmerge.
The variables SED, SHELL, BASH and CONFIG_SHELL should all point to
their non-usrmerge locations.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index 3bc85ae..0c06730 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,6 +47,10 @@ CONFIG_OPTS = \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE) \
--target=$(gnu_type) \
+ SED=/bin/sed \
+ SHELL=/bin/sh \
+ BASH=/bin/bash \
+ CONFIG_SHELL=/bin/bash \
--prefix=/usr \
--disable-gdb \
--disable-libcc1 \
--
2.30.2
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: gcc-sh-elf
Source-Version: 3
Done: John Scott <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gcc-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.
John Scott <[email protected]> (supplier of updated gcc-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: Sat, 02 Apr 2022 18:01:27 -0400
Source: gcc-sh-elf
Architecture: source
Version: 3
Distribution: experimental
Urgency: medium
Maintainer: Debian Electronics Team
<[email protected]>
Changed-By: John Scott <[email protected]>
Closes: 1003500 1003501
Changes:
gcc-sh-elf (3) experimental; urgency=medium
.
* Switch to GCC 12.
* Improve reproducibility by using tools in non-usrmerge locations
with thanks to Vagrant Cascadian for the patch (Closes: #1003500)
* Switch non-portable usage of echo to printf (Closes: #1003501)
Thanks again to Vagrant.
Checksums-Sha1:
af2afdcd00c85e109a0bb0e52493bf800d2ffd26 1754 gcc-sh-elf_3.dsc
12854f4f9b395595811ff06c44db03aa27da8c5c 7980 gcc-sh-elf_3.tar.xz
cc813e747bd5fbeec1c4ef0e2ab5a42e05a00855 6419 gcc-sh-elf_3_source.buildinfo
Checksums-Sha256:
2090f7104d3f333ecee767ad6d82031669d279051a3e681e8de4c3cfcda88e94 1754
gcc-sh-elf_3.dsc
6c9dd14110fd0e348f4aae99d4751527c5806364f9bedd84c50c6d7325c40d62 7980
gcc-sh-elf_3.tar.xz
4f2ebe1a786439d7ce29e1533cca4ef0c0e27126a0b2f12b66a4f7fd7e7f49b7 6419
gcc-sh-elf_3_source.buildinfo
Files:
36b9f600ba71661884f20acc8bbe5776 1754 devel optional gcc-sh-elf_3.dsc
844d3bf809728e83c0950b81dd1d9097 7980 devel optional gcc-sh-elf_3.tar.xz
089f61d575166e1e5cb20b5003e90b81 6419 devel optional
gcc-sh-elf_3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmJNkQQQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFAs9DADSYW3jNug2Z0RQh3XH8U+rcCcA02r4aaxR
kfVwAAOQRogE7B7Dns+H70L4Csz/6qOg84kqhGrxEbxGJYp7JAbbx49JdQa5cCa7
88fEVmaS1oJ8D0+ZPx+xHKtJZMIynxL4gVOBMYkuZfp2RLtAhUNe0yxcCEF3gtkp
+q6m3YGq4xzvFKHZMuSCtMfYoPttf++YUC47GegV9ot4py/qJ3TOj7QaMYtnc5wc
YDL/bYoZOwLINdIFZag64vUZY4Jo7fq2Q0qMs9wh7BjxmtL3Wlzdvs+9b8mZ1AuB
GVZ8Yp6vYF5sy/pAb7wi3+/WK9BXKqIczPe9yT5nU+ygXUiAYlB7FrtSkZAXZV1b
0gjY8S9DrXd1Qga3lDNkJhVDlky7q5K3Vjb+P/R7+BP1hNkPsOkLil+N6nDx9653
01uogNXOnkSR1R1zfSDCvkAoYQvI1LE4LAx9U98u5qqVRO7fwWdgjGSRbxic+jMC
AUa/xPODaTa4dNQU4i6QWx7GL6nfn74=
=sm2j
-----END PGP SIGNATURE-----
--- End Message ---