Debian Bug report logs -
#1007095
lmod: reproducible-builds: binary paths are embedded differently on usrmerge vs. non-usrmerge systems
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian HPC Team <debian-hpc@lists.debian.org>:
Bug#1007095; Package src:lmod.
(Fri, 11 Mar 2022 02:15:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian HPC Team <debian-hpc@lists.debian.org>.
(Fri, 11 Mar 2022 02:15:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: lmod
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The paths to various binaries (readlink, ls, more) are embedded with
different paths when built on a usrmerge system vs. a non-usrmerge
system:
https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/diffoscope-results/lmod.html
/etc/profile.d/lmod.sh
findExec·READLINK_CMD·/bin/readlink··readlink
vs.
findExec·READLINK_CMD·/usr/bin/readlink··readlink
The attached patch fixes this by passing configuration options and
variables to specify the paths to various binaries, using their
non-usrmerge locations, as compatibility symlinks generally exist for
one way, but not for the other.
This patch appears to only be relevent for the version currently in
experimental.
With this patch applied, lmod should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining lmod!
live well,
vagrant
[0001-debian-rules-Pass-binary-paths-to-configure-to-make-.patch (text/x-diff, inline)]
From 1132455b951464446f96b9ab78a77e1f5ca567eb Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 11 Mar 2022 02:02:34 +0000
Subject: [PATCH] debian/rules: Pass binary paths to configure to make the
package build reproducibly regardless of usrmerge.
The binary paths for readlink, ls, and more should all point to their
non-usrmerge locations.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 172101a..c9670de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,10 @@ override_dh_auto_configure-arch:
dh_auto_configure -- \
--prefix=/usr/share \
--with-ModulePathInit=/etc/lmod/modulespath \
- PS=/bin/ps
+ PS=/bin/ps \
+ READLINK=/bin/readlink \
+ PATH_TO_LS=/bin/ls \
+ PATH_TO_PAGER=/bin/more \
override_dh_auto_configure-indep:
--
2.30.2
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sun, 13 Mar 2022 21:24:03 GMT) (full text, mbox, link).
Reply sent
to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility.
(Tue, 07 Jun 2022 00:57:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Tue, 07 Jun 2022 00:57:03 GMT) (full text, mbox, link).
Message #12 received at 1007095-close@bugs.debian.org (full text, mbox, reply):
Source: lmod
Source-Version: 8.6.19-1
Done: Andreas Beckmann <anbe@debian.org>
We believe that the bug you reported is fixed in the latest version of
lmod, 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 1007095@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated lmod 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 07 Jun 2022 02:35:28 +0200
Source: lmod
Architecture: source
Version: 8.6.19-1
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1007095
Changes:
lmod (8.6.19-1) unstable; urgency=medium
.
* New upstream release.
.
[ Vagrant Cascadian ]
* debian/rules: Pass binary paths to configure to make the package build
reproducibly regardless of usrmerge. (Closes: #1007095)
.
[ Andreas Beckmann ]
* Update Standards-Version to 4.6.1.
* Upload to unstable.
Checksums-Sha1:
efa5efcac30928716f4436be405335060e7690bf 2696 lmod_8.6.19-1.dsc
95fd1caa7a1ad2c793035dc33c5ca1e38a425235 59685 lmod_8.6.19.orig-hermes.tar.gz
ae7fd2909f83a55699700c60ea342661feb52202 16027057 lmod_8.6.19.orig.tar.gz
9b910138601f170dbf2ceda37c7495e0b3443ed2 7744 lmod_8.6.19-1.debian.tar.xz
af24ebe02d766a469608591d167f7f6f1fcf3e4b 5433 lmod_8.6.19-1_source.buildinfo
Checksums-Sha256:
4b423be96dfa94fc9826aaa7e0893177ca7d6b0549bee662effa83dfb6ef774b 2696 lmod_8.6.19-1.dsc
ba837415293631aab85a8c87837f045a4fd0493861371f4c50c1bed05333105f 59685 lmod_8.6.19.orig-hermes.tar.gz
219949ff2939374109225147140980991a8a1ba0efc57f2945af5677df65a93f 16027057 lmod_8.6.19.orig.tar.gz
9c2c6bc08f84cd7fd65d2c80bc0bea0fa99aef504f207c6544eff8922a262815 7744 lmod_8.6.19-1.debian.tar.xz
2520d92f2d5a516338b2681342b73af46885dc73381201c081b433e47bda2805 5433 lmod_8.6.19-1_source.buildinfo
Files:
c4894a7e0bd61407f9067a81dc0b3570 2696 devel optional lmod_8.6.19-1.dsc
4d28a6fd9f6d5ca042f3bab50d623cf5 59685 devel optional lmod_8.6.19.orig-hermes.tar.gz
c794d46aa8a2d2b1a95d8449b12ab59d 16027057 devel optional lmod_8.6.19.orig.tar.gz
4a0472c3cd8df4fb849c02f6a72bd952 7744 devel optional lmod_8.6.19-1.debian.tar.xz
354a27cbf88d94d35c90dfa2de401570 5433 devel optional lmod_8.6.19-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmKenc0QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCPdzD/44eYIaL2+lFEmBTtXmy9J94c3QNPZCg31e
pGv47rYGPZFDcZznVh/a1Kqz2uIwuiYVy7X3Enh581VthrYlwH2YXjNKdk6yZNl8
O5Tknaod1HDVtqVZ2VwKkW/bUcJfIvgbcsnQYsMuLFvS06arHc/+wlNFQ4IJSR2u
euXt4fW3rxNqvtfwGtPCgYElv5xPzgaaSTu7kMIYJHIftci0BC4p9WEP6avTnE/o
VOb4PxeRSgs/3G2dCaieJmyIpH/cdzdw0nk8FSYwcH3YF/lJz0zq45EQdVY3gma8
JxtypHoqPFrmRhCc9Sjjlf5CybHzmM0jY0n5q5FIDeGOEd3yu3uZSPdjW4x/s5kr
in8vd71DwwYktdI0xWpmMKthsDS2/CPNjoashp4lOWnDO7DqeUL7E8XfnhYIuGLG
XrJyc2T/y+M1hj3KV/vAi3dlumBMsTWAaTGNLv5YMK6qFmmuDFz5afp7GIfih84Q
zNdrhg9ANif2e9d2v282Ih6iD594ARgAJIAAyWiZ+PiISY8y0qSuCOzskVQaNv5m
eviPpRAUDGdMf79tSLGo69o57LPPJripGnCJmmI2TXo/7Z1F7wnRhx1/Vy607Lf7
JYNg/ICHYqMBy0I24aROKU/kvep1q57ptjB5sxbOVokfUksDdThpygbTOkATeOKh
JOsXJbRZsA==
=vbb8
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 07 Jul 2022 07:27:53 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:24:25 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.