---

** [issues:#5328] mf2pt1 uses random uniqueID**

**Status:** New
**Labels:** reproducible 
**Created:** Wed May 23, 2018 02:13 PM UTC by Bernhard M. Wiedemann
**Last Updated:** Wed May 23, 2018 02:13 PM UTC
**Owner:** nobody
**Attachments:**

- 
[reproducible.patch](https://sourceforge.net/p/testlilyissues/issues/5328/attachment/reproducible.patch)
 (1.4 kB; text/x-patch)


`scripts/build/mf2pt1.pl` calls `int(rand(1000000)) + 4000000`
so with every (clean) build, a new uniqueID value gets generated, which 
prevents lilypond packages from building reproducibly.
See also https://reproducible-builds.org/ for why this matters.

One pretty clean solution would be to calculate a hash of all relevant inputs 
and use that for uniqueID.

Since I dont know what the inputs are there, for now I only did a dummy patch 
that hashed the filename...


---

Sent from sourceforge.net because testlilyissues-a...@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to