Bug#881872: ardour: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Nov 15 23:29:28 UTC 2017
Source: ardour
Version: 1:5.12.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that ardour could not be built reproducibly as it iterates over
a hash in non-deterministic order.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/tools/fmt-bindings b/tools/fmt-bindings
index d2dd1ad..4940b04 100755
--- a/tools/fmt-bindings
+++ b/tools/fmt-bindings
@@ -309,7 +309,7 @@ while (<SOURCE>) {
if ($make_accelmap) {
print "<BindingSet name=\"" . $bindings_name . "\">\n";
- foreach $owner (keys %owner_bindings) {
+ foreach $owner (sort keys %owner_bindings) {
print " <Bindings name=\"$owner\">\n <Press>\n";
$bindings = $owner_bindings{$owner};
shift (@$bindings); # remove initial empty element
More information about the Reproducible-bugs
mailing list