Bug#1037276: bglibs: reproducible-builds: Different path to perl in cli-generate

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jun 10 03:04:03 BST 2023


Source: bglibs
Severity: serious
Justification: TC resolution #994388
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The path to perl is embedded differently in /usr/bin/cli-generate
depending on if it was built on a usrmerge vs. non-usrmerge system.

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/bglibs.html

  /usr/bin/cli-generate

  #!·/usr/bin/perl
  vs.
  #!·/bin/perl

The attached patch fixes this by explicitly specifying the path as
/usr/bin/perl instead of using 'which' to detect the path, which is
compatible with both usrmerge and non-usrmerge systems.


According to my local tests, with this patch applied bglibs should build
reproducibly on tests.reproducible-builds.org!


Thanks for maintaining bglibs!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Ensure-perl-path-is-set-to-usr-bin-perl.patch
Type: text/x-diff
Size: 1096 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230609/95c2190b/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/20230609/95c2190b/attachment.sig>


More information about the Reproducible-bugs mailing list