Your message dated Wed, 27 Jul 2022 18:42:08 +0000
with message-id <e1oglyy-000it6...@fasolo.debian.org>
and subject line Bug#1016110: fixed in ruby3.1 3.1.2-2
has caused the Debian Bug report #1016110,
regarding ruby3.1: 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.)
--
1016110: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016110
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.1
Source-Version: 3.1.2-2
Done: Antonio Terceiro <terce...@debian.org>
We believe that the bug you reported is fixed in the latest version of
ruby3.1, 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 1016...@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.1 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: Wed, 27 Jul 2022 15:08:57 -0300
Source: ruby3.1
Architecture: source
Version: 3.1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Antonio Terceiro <terce...@debian.org>
Closes: 1012247 1016110
Changes:
ruby3.1 (3.1.2-2) unstable; urgency=medium
.
[ Antonio Terceiro ]
* debian/rules: delete build artifacts from default gems
* Drop ppc64el-specific test exclusions
* debian/genprovides: don't generate ruby-rake
* Stop providing ruby-ruby2-keywords for now
ruby-ruby2-keywords is its own packages, and is now included in Ruby
itself. If libruby3.1 Provides: ruby-ruby2-keywords, the actual binary
will not be installed, and builds and tests will fail on ruby3.0 after
ruby3.1 is added as a supported version: build dependency resolution
will assume ruby-ruby2-keywords is provided by libruby3.1, and ruby3.0
will not actually have access to it.
This can be reverted after ruby3.1 becomes the default Ruby and support
for ruby3.0 is removed.
* debian/tests/builtin-extensions: fix openssl version
* debian/tests/builtin-extensions: output errors
* debian/tests/builtin-extensions: drop *dbm extensions
* autopkgtest: exclude TestJITDebug and TestRubyVMJIT.
TestRubyVMJIT used to be called TestRubyVMMJIT (a typo), and that typo
has been fixed in the latest upstream release.
* autopkgtest: exclude TestTRICK{2013,2015,2018}
Those tests don't work under autopkgtest because they look for files in
the source directory.
* autopkgtest: don't even load mkmf tests
mkmf is broken when running under autopkgtest. The 100+ Ruby extensions
in C in the archive are propably enough testing for mkmf.
* debian/rules: fix erroneous pkg-config entry for LIBPATH
* debian/libruby3.1.symbols: drop Debian revision from symbols versions
.
[ John Paul Adrian Glaubitz ]
* update x32 patch to current upstream coroutine detection (Closes: #1012247)
.
[ Vagrant Cascadian ]
* debian/rules: ensure rbconfig.rb is reproducible regardless of usr-merge
(Closes: #1016110)
Checksums-Sha1:
b716f6bd4268d0898b9502b64933bff4bc5db4ba 2474 ruby3.1_3.1.2-2.dsc
77b4d9c2a89cab6e7c48e74a8620777946cd19c5 58276 ruby3.1_3.1.2-2.debian.tar.xz
4e704fca95976ddf0129b1fe6e87bb15a9170588 7483 ruby3.1_3.1.2-2_source.buildinfo
Checksums-Sha256:
fc5c2ce602b2e49bb8c9a4389367f6e24d3e1a211a56ccabc46a1c07678ce447 2474
ruby3.1_3.1.2-2.dsc
1b11f4b13c8dad325caebac47c0c41c680dd76d993e2a18e50089d4c8907c21d 58276
ruby3.1_3.1.2-2.debian.tar.xz
b8634546406a498553f324dc24b9cef8481c7731c10c180a9adba32c041bf9a1 7483
ruby3.1_3.1.2-2_source.buildinfo
Files:
e6e2fe07182a9cc053d5848acf7e96f2 2474 ruby optional ruby3.1_3.1.2-2.dsc
5402d3fac689257d1085e66ff0b54dd9 58276 ruby optional
ruby3.1_3.1.2-2.debian.tar.xz
acf5baa400e868bbff660783ba2fc8ef 7483 ruby optional
ruby3.1_3.1.2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmLhf00ACgkQ/A2xu81G
C96cFhAAsWhJDZsjpp18oyLaBhfeYF83iEI2xd+KXVUwhVaiHe6b91UaLA3Od3r1
KFq4Wl6WQ0xsljceEYMgHg4dNv9+vtOcNPlOVYRvqa7hyJwRbeAENa5AA8twgwr2
eWXlsB+LLn71q+c3SWD5JRoTbdX+tfFYi6sR+ROBEmbcGSFPRN60thB7Ag461Efa
vlHY9qPnb14lr4LTDPzMfSDT/w410rDkyrKB8BmTHmu0G8pfSjnIM+C4np4Gvn/U
ILinDmGOFq5mQC8MknZiYlyrzrdPZIIAgLv3MZX0LOAUxHcBV+TJjKnRgJgpyMGS
vTwE2Mqm5wnhYq16rLWTT2hnyB7arEcNoahJRfmrSTKgZzhrKyw7dgZKIfYJiBYh
N8WfSVJLM+Ao22SRsGy8S6VbagiCCwTp1ydwUV7smn017E3ILx23+JbEpKsNoM6s
XGRCdDXX7VO+Tnc/QauFD1/ao5RSEuMcW+0PF5/skBkX76goBi6Wt1HUB5jZzklu
6Rj9/ohtvS7IMa111lSHKZy/LVAh3fVWSndXOL+u9FSkNmBmWoBF1mV9ZBjS2Njg
g1i7JFFHcTydvDS1emlIF/XVHmyEqAd/3dVb/NeJHMiwnCZsdpUxeAGiha+zxvvc
9UupNdU4Kc4l1V04W+A7O+k/PFltNIgjAtTymq9/nsN3AxJW5Xk=
=f/1+
-----END PGP SIGNATURE-----
--- End Message ---