Source: libclass-methodmaker-perl Version: 2.21-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that libclass-methodmaker-perl could not be built reproducibly. The attached patch removes randomness from the build system. Once applied, libclass-methodmaker-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 -urNad libclass-methodmaker-perl.orig/libclass-methodmaker-perl-2.21/debian/patches/reproducible_build libclass-methodmaker-perl/libclass-methodmaker-perl-2.21/debian/patches/reproducible_build --- libclass-methodmaker-perl.orig/libclass-methodmaker-perl-2.21/debian/patches/reproducible_build 1970-01-01 01:00:00.000000000 +0100 +++ libclass-methodmaker-perl/libclass-methodmaker-perl-2.21/debian/patches/reproducible_build 2015-02-22 13:34:44.766947456 +0000 @@ -0,0 +1,11 @@ +--- libclass-methodmaker-perl-2.21.orig/lib/Class/MethodMaker/OptExt.pm ++++ libclass-methodmaker-perl-2.21/lib/Class/MethodMaker/OptExt.pm +@@ -357,7 +357,7 @@ sub encode { + + # ------------------------------------- + +-sub option_names { grep $_ ne 'DEFAULT', keys %{OPTEXT()} } ++sub option_names { grep $_ ne 'DEFAULT', sort keys %{OPTEXT()} } + + sub optcode { + my $class = shift; diff -urNad libclass-methodmaker-perl.orig/libclass-methodmaker-perl-2.21/debian/patches/series libclass-methodmaker-perl/libclass-methodmaker-perl-2.21/debian/patches/series --- libclass-methodmaker-perl.orig/libclass-methodmaker-perl-2.21/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ libclass-methodmaker-perl/libclass-methodmaker-perl-2.21/debian/patches/series 2015-02-22 13:34:41.918819575 +0000 @@ -0,0 +1 @@ +reproducible_build