[Pkg-erlang-devel] Bug#1037296: manderlbot: reproducible-builds: Different path to erl in /usr/bin/manderlbot

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jun 10 15:18:13 BST 2023


Source: manderlbot
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 erl is embedded differently in /usr/bin/manderlbot 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/manderlbot.html

  ERL=/usr/bin/erl
  vs.
  ERL=/bin/erl

The attached patch fixes this by passing the path to ERL in a
debian/rules dh_auto_configure override. The path in /usr/bin is
compatible with both usrmerge and non-usrmerge systems.

According to my local tests, with this patch applied manderlbot should
build reproducibly on tests.reproducible-builds.org once it migrates to
testing! Unfortunately, there are other issues with build paths which
are only tested in unstable and experimental.

Thanks for maintaining manderlbot!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Specify-path-to-erl-binary-in-dh_auto_c.patch
Type: text/x-diff
Size: 899 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-erlang-devel/attachments/20230610/f769281c/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/pkg-erlang-devel/attachments/20230610/f769281c/attachment.sig>


More information about the Pkg-erlang-devel mailing list