On Sat, 07 Feb 2015 18:28:47 +0100, Reiner Herrmann wrote:
> Hi!
> While working on Debian's =E2=80=9Creproducible builds=E2=80=9D 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

This is reasonable.  We couldn't rely on the order in which the hash
iterator produces keys in any event, so sorting them shouldn't be able
to cause any harm.
Robert Krawitz                                     <r...@alum.mit.edu>

***  MIT Engineers Football -- Historic 10-1 2014 NEFC Champions  ***
MIT VI-3 1987 - Congrats MIT Engineers 6 straight men's hoops tourney
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton

Reproducible-builds mailing list

Reply via email to