[Reproducible-builds] Reproducible foomatic db

Reiner Herrmann reiner at reiner-h.de
Sat Feb 7 17:28:47 UTC 2015


Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that gutenprint doesn't build reproducibly [2].
The order of printers (and other attributes) in foomatic xml files
is not deterministic and varies on every build.

The attached patch fixes this by sorting Perl hashes that are iterated,
to produce the same output every time.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://reproducible.debian.net/gutenprint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gutenprint-reproducible.patch
Type: text/x-patch
Size: 8354 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150207/342c9d86/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150207/342c9d86/attachment.sig>


More information about the Reproducible-builds mailing list