Bug#1007095: lmod: reproducible-builds: binary paths are embedded differently on usrmerge vs. non-usrmerge systems

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Mar 11 02:11:10 GMT 2022


Source: lmod
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-binary-paths-to-configure-to-make-.patch
Type: text/x-diff
Size: 978 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220310/b8cb4875/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220310/b8cb4875/attachment.sig>


More information about the Reproducible-bugs mailing list