[Reproducible-builds] Bug#819767: libtool: please make the build reproducible (timestamps, fileordering, hostname, umask)

rain1 at openmailbox.org rain1 at openmailbox.org
Sat Apr 2 00:41:45 UTC 2016


Source: libtool
Version: 2.4.6
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps fileordering hostname umask
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that libtool could not be built reproducibly.

The attached patch removes extra timestamps from the build system and
ensure a stable file order when creating the source archive as well as 
replacing uses of the `hostname` command with the fixed string 
"localhost". Once applied, libtool can be built reproducibly in our 
current experimental framework.

I also added to rules: dh_strip_nondeterminism -i/-a to the makefile 
before the compress stage.

  [1]: https://wiki.debian.org/ReproducibleBuilds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducible
Type: text/x-diff
Size: 2486 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160402/47412230/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducible2
Type: text/x-diff
Size: 964 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160402/47412230/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducible3
Type: text/x-diff
Size: 3905 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160402/47412230/attachment-0002.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducible4
Type: text/x-diff
Size: 1139 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160402/47412230/attachment-0003.diff>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rules
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160402/47412230/attachment.ksh>


More information about the Reproducible-builds mailing list