Subject: | Reproducible builds |
From <http://bugs.debian.org/778959>:
"Hi,
While working on the "reproducible builds" effort [1], we have noticed
that libdbix-fulltextsearch-perl could not be built reproducibly.
The attached patch removes randomess from the build system. Once
applied, libdbix-fulltextsearch-perl can be built reproducibly in our
reproducible
toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds"
Subject: | patch.libdbix-fulltextsearch-perl.diff.txt |
diff -urNad libdbix-fulltextsearch-perl.orig/libdbix-fulltextsearch-perl-0.73/Makefile.PL libdbix-fulltextsearch-perl/libdbix-fulltextsearch-perl-0.73/Makefile.PL
--- libdbix-fulltextsearch-perl.orig/libdbix-fulltextsearch-perl-0.73/Makefile.PL 2015-02-22 08:26:59.298789213 +0000
+++ libdbix-fulltextsearch-perl/libdbix-fulltextsearch-perl-0.73/Makefile.PL 2015-02-22 08:29:09.208509565 +0000
@@ -9,6 +9,9 @@
die "DBIx::FullTextSearch requires DBD::mysql - see README for details";
}
+# ensure deterministic output
+$Data::Dumper::Sortkeys = 1;
+
# this is to catch values from previous perl Makefile.PL run
use lib 'testconfig';