Your message dated Sun, 11 Sep 2022 02:42:28 +0000
with message-id <e1oxcvu-003rco...@fasolo.debian.org>
and subject line Bug#1006471: fixed in ruby3.0 3.0.4-8
has caused the Debian Bug report #1006471,
regarding ruby3.0: 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 ow...@bugs.debian.org
immediately.)
--
1006471: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006471
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby3.0
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: usrmerge shell
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The paths to various binaries, which differs on a usrmerge
vs. non-usrmerge system, are embedded in rbconfig.rb:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/ruby3.0.html
/usr/lib/x86_64-linux-gnu/ruby/3.0.0/rbconfig.rb
CONFIG["EGREP"]·=·"/bin/grep·-E"
vs.
CONFIG["EGREP"]·=·"/usr/bin/grep·-E"
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 on unstable and experimental), but should build reproducibly once
it migrates to bookworm/testing!
Thanks for maintaining ruby3.0!
live well,
vagrant
From d0a1365cba685b8ab22be92463d28fb79d55a03b Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Fri, 25 Feb 2022 23:17:08 +0000
Subject: [PATCH] debian/rules: Pass variables to configure to make the package
build reproducibly regardless of usrmerge.
The variables EGREP, GREP, MAKEDIRS, MKDIR_P and 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 | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 76fa0b6..2d2c086 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,6 +64,14 @@ configure_options += --with-compress-debug-sections=no
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow optimize=-lto
configure_options += $(shell dpkg-buildflags --export=configure)
+# Pass variables to ensure consistent values when built on a usrmerge
+# or non-usrmerge system.
+configure_options += EGREP='/bin/grep -E'
+configure_options += GREP='/bin/grep'
+configure_options += MAKEDIRS='/bin/mkdir -p'
+configure_options += MKDIR_P='/bin/mkdir -p'
+configure_options += SHELL='/bin/sh'
+
# For more info see #999351
ifneq (,$(filter $(DEB_HOST_ARCH),alpha))
export DEB_CFLAGS_MAINT_APPEND += -O1
--
2.30.2
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: ruby3.0
Source-Version: 3.0.4-8
Done: Antonio Terceiro <terce...@debian.org>
We believe that the bug you reported is fixed in the latest version of
ruby3.0, 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 1006...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Terceiro <terce...@debian.org> (supplier of updated ruby3.0 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, 10 Sep 2022 23:02:54 -0300
Source: ruby3.0
Architecture: source
Version: 3.0.4-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Antonio Terceiro <terce...@debian.org>
Closes: 1006471 1006476 1018230
Changes:
ruby3.0 (3.0.4-8) unstable; urgency=medium
.
[ Vagrant Cascadian ]
* debian/rules: ensure rbconfig.rb is reproducible regardless of usr-merge
(Closes: #1006471)
* debian/rules: Strip the build path from rbconfig.rb (Closes: #1006476)
.
[ Antonio Terceiro ]
* libruby3.0: depend on packages that used to be provided by ruby2.7.
This allows *ruby2.7 to be removed after upgrades from bullseye where
the user has installed packages that depend on either ruby-webrick or
ruby-sdbm.
* rbconfig, mkmf: call foreign pkg-config when cross compiling
(Closes: #1018230)
Checksums-Sha1:
353a7e98bb89ee0c7747eb159e04b35dc9033b4d 2509 ruby3.0_3.0.4-8.dsc
a022126967ae8a38e2ecf1b6cc383a5055907b69 162128 ruby3.0_3.0.4-8.debian.tar.xz
006f167e71c9e4451380bfb839774a45de621481 7872 ruby3.0_3.0.4-8_source.buildinfo
Checksums-Sha256:
67c72c380157a8df024db7a83b9998f839eb08b58f0dfb0bea36c6477c1be941 2509
ruby3.0_3.0.4-8.dsc
a4dc02a5ebee13a920232cc950a66169e1e7c5924db74841319aa433816e10d2 162128
ruby3.0_3.0.4-8.debian.tar.xz
be4a7749ad48258ec61ab4294d3a856a711be8814f3e9cc4ce81f8018b23f0da 7872
ruby3.0_3.0.4-8_source.buildinfo
Files:
573b7fbeb7346ec36bcc971d8621e478 2509 ruby optional ruby3.0_3.0.4-8.dsc
33895a89f751e39ca13f6cb56c970706 162128 ruby optional
ruby3.0_3.0.4-8.debian.tar.xz
21fbec4fbfd8ea12f1b4c4a591c3ac37 7872 ruby optional
ruby3.0_3.0.4-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmMdRz0ACgkQ/A2xu81G
C96ICw//f3yq6vBlcA3PfilDdXJbuTPeU2cFtLiMiE59S7o1Xl5WJmXPOexaeRHf
F+WvrKjTGB3alEe24ywVkwjm0Qrv6I2sQEI2fVUJOz/sVq7YgceGQT4+bXF9x46b
5NqJvjBGfXbzQrBxUiNH4rB3KdOtUbv27xbYAqM/ejNQXioEp8GmsmWFZLjBeTaW
lb1sPSb3jvj76KYtMhIHEpxuIQlaJ+aGNbd1s80baFU0eeeW4qbaLTPh+MSWSD1R
HJMg5HwV3BQAEEVVfNbeMTaEhJkCa4BONIl1zYlFN+j6iuiBYC49FkIcbuHwqD9P
3AjOPDnv74zZEM0VHNB9Mhv+LEgqMj4pvXUPyHqZ+rXXd3SghgKOrD8UdGABje2u
9JmLQAbbBi0Pptu6qruca5l9v4H8o7ic4QebXsyRS3OkJARgzHaz/BK8wD6JY8+x
ISxaseEO1BSIVfkl8CrUuLvoQ3ISRHi49A4JgVdh8RtZaMvEzdzk2nAEpXYOEwW2
qSnG/kPg4H1k47lpvy8Ar3bzx8DrYxgQYQU963W1/CskfRFbQkFbvrPL+254sdDS
hhA9L4k1k8oTvgeZK+ZWsxRKYl+0QfbS4w3QuqeccQ7JeC4I2SVHNl0SnPk738Wo
sUhGbkWQlXo98U+iXDJzAJZNH0EJcDWvw2bsHLPfsJ65cAJ3Anc=
=1IA2
-----END PGP SIGNATURE-----
--- End Message ---