[Reproducible-builds] Bug#775531: console-setup: please make the build reproducible

Reiner Herrmann reiner at reiner-h.de
Fri Jan 16 21:36:15 UTC 2015


Source: console-setup
Version: 1.116
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness timestamps

Hi!

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

Three problems were identified that made building unreproducible:
- gzipped files had embedded timestamps (prevented with gzip -n)
- several Perl scripts iterated over the keys of hashes to produce
  output, which is not a deterministic operation (solved by sorting).
- Fonts/bdf2psf uses random numbers for undefined glyphs. To be
  able to reproduce the same font files, a fixed seed is used.
The attached patch fixes those problems. Once applied, console-setup
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: console-setup_reproducible.patch
Type: text/x-patch
Size: 8148 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150116/7c23591f/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/reproducible-builds/attachments/20150116/7c23591f/attachment.sig>


More information about the Reproducible-builds mailing list