Bug#935127: bash: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Aug 19 20:07:38 BST 2019


Source: bash
Version: 5.0-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

A patch is attached that makes the Bash interpreter build
reproducibily for me in unstable.

This is because in various places it encoded the absolute build path
via the inclusion of output from CFLAGS or even quite-literally as
"BUILD_DIR".

I did have another patch that modified the source files "properly"
themselves but I was not only having problems with autoreconf-ing the
package (it worked, but the command was returning a non-zero exit code
regardless which I papered over with a "|| true"...?),  additionally
one of the Makefiles could not have it's BUILD_DIR patched to point to
some deterministic location as it would cause the package to FTBFS.
Thus, we would have required some post-processing anyway. (Another
alternative to this could be to simply not ship that particular file
as it is likely not going to work on end-user machines anyway).

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bash.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20190819/373811a2/attachment.txt>


More information about the Reproducible-bugs mailing list