Source: libxray-spacegroup-perl Version: 0.1.1-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that libxray-spacegroup-perl could not be built reproducibly. The attached patch removes randomness from the build system by ensuring that the space_groups.db.PL file is generated deterministally. Once applied, libxray-spacegroup-perl can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --no-dereference -urNad libxray-spacegroup-perl.orig/libxray-spacegroup-perl-0.1.1/debian/patches/reproducible_build libxray-spacegroup-perl/libxray-spacegroup-perl-0.1.1/debian/patches/reproducible_build --- libxray-spacegroup-perl.orig/libxray-spacegroup-perl-0.1.1/debian/patches/reproducible_build 1970-01-01 01:00:00.000000000 +0100 +++ libxray-spacegroup-perl/libxray-spacegroup-perl-0.1.1/debian/patches/reproducible_build 2015-06-26 20:35:06.900480375 +0100 @@ -0,0 +1,10 @@ +--- libxray-spacegroup-perl-0.1.1.orig/data/space_groups.db.PL ++++ libxray-spacegroup-perl-0.1.1/data/space_groups.db.PL +@@ -63,6 +63,7 @@ + use File::Spec; + ##Storable: + use Storable qw/nstore/; ++$Storable::canonical = 1; + ##end Storable: + ##MLDBM: + ## use MLDBM qw(DB_File Storable); diff --no-dereference -urNad libxray-spacegroup-perl.orig/libxray-spacegroup-perl-0.1.1/debian/patches/series libxray-spacegroup-perl/libxray-spacegroup-perl-0.1.1/debian/patches/series --- libxray-spacegroup-perl.orig/libxray-spacegroup-perl-0.1.1/debian/patches/series 2015-06-26 20:29:37.380440451 +0100 +++ libxray-spacegroup-perl/libxray-spacegroup-perl-0.1.1/debian/patches/series 2015-06-26 20:34:59.592216201 +0100 @@ -1 +1,2 @@ modify-test-script +reproducible_build
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds