Source: libdbix-fulltextsearch-perl
Version: 0.73-10
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
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
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
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';