[PKG-Openstack-devel] Bug#775229: sheepdog: please make the build reproducible

Reiner Herrmann reiner at reiner-h.de
Mon Jan 12 19:58:18 UTC 2015


Source: sheepdog
Version: 0.8.3-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness

Hi!

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

At build time a bash_completion file is generated with a perl script
that iterates over keys of a hash. This operation is not deterministic,
which results in a different file on each build.
The attached patch is sorting the keys to have a stable order and get
the same output.
Once applied, sheepdog can be built reproducibly in our current
experimental framework.

Regards,
 Reiner

 [1]: https://wiki.debian.org/ReproducibleBuilds


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sheepdog_deterministic_bash_completion.patch
Type: text/x-patch
Size: 2147 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150112/1bb7bd9f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20150112/1bb7bd9f/attachment.sig>


More information about the Openstack-devel mailing list