Bug#990338: autogen: reproducible-builds: embeds /bin/sh or /bin/bash in autoopts-config

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jun 26 04:52:50 BST 2021


Source: autogen
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 what /bin/sh symlinks to, either /bin/sh or /bin/bash is
embedded in autoopts-config:

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

  ./usr/bin/autoopts-config

  #!·/bin/bash
  vs.
  #!·/bin/sh

The attached patch fixes this by hard-coding CONFIG_SHELL=/bin/sh in
configure.ac.

I tried passing to configure or setting it in the environment, but both
approaches were ineffective.


Applying this patch *should* make autogen build reproducibly.


Thanks for maintaining autogen!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure.ac-Hard-code-CONFIG_SHELL-as-bin-sh.patch
Type: text/x-diff
Size: 1229 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210625/6092687d/attachment-0001.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/20210625/6092687d/attachment-0001.sig>


More information about the Reproducible-bugs mailing list