Bug#991002: automake1.11: reproducible builds: Embeds different shell depending on /bin/sh symlink

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Jul 12 18:21:09 BST 2021


Source: automake1.11
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Depending on which shell /bin/sh symlinks to, a different value is
embedded in automake-1.11:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/automake1.11.html

  /usr/bin/automake-1.11

  $ENV{'SHELL'}·=·'/bin/bash'·if·exists·$ENV{'DJDIR'};
  vs.
  $ENV{'SHELL'}·=·'/bin/sh'·if·exists·$ENV{'DJDIR'};


The attached patch fixes this in debian/rules by passing
CONFIG_SHELL=/bin/bash to configure.

With this patch applied (and another submitted patch for timestamps),
automake1.11 should become reproducible on the
tests.reproducible-builds.org infrastructure.


Thanks for maintaining automake1.11!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Run-configure-with-CONFIG_SHELL-bin-bas.patch
Type: text/x-diff
Size: 950 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210712/18772e66/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/20210712/18772e66/attachment.sig>


More information about the Reproducible-bugs mailing list