Skip Menu |

This queue is for tickets about the Inline-Java CPAN distribution.

Report information
The Basics
Id: 104175
Status: resolved
Priority: 0/
Queue: Inline-Java

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: libinline-java-perl: please make the build reproducible
We have the following bug reported to the Debian package of Inline-Java (https://bugs.debian.org/778983): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Source: libinline-java-perl Version: 0.56-1 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 libinline-java-perl could not be built reproducibly. The attached patch removes randomness from the build system. Once applied, libinline-java-perl can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` lamby@debian.org / chris-lamb.co.uk ------8<-----------8<-----------8<-----------8<-----------8<----- Patch copied for your convenience: ------8<-----------8<-----------8<-----------8<-----------8<----- diff -urNad libinline-java-perl.orig/libinline-java-perl-0.56/debian/patches/reproducible_build libinline-java-perl/libinline-java-perl-0.56/debian/patches/reproducible_build --- libinline-java-perl.orig/libinline-java-perl-0.56/debian/patches/reproducible_build 1970-01-01 01:00:00.000000000 +0100 +++ libinline-java-perl/libinline-java-perl-0.56/debian/patches/reproducible_build 2015-02-22 13:57:44.452908398 +0000 @@ -0,0 +1,11 @@ +--- libinline-java-perl-0.56.orig/Makefile.PL ++++ libinline-java-perl-0.56/Makefile.PL +@@ -234,7 +234,7 @@ print J2SDK <<J2SDK_PL; + sub Inline::Java::get_default_j2sdk_so_dirs { + return ( + J2SDK_PL +-foreach my $d (@main::SO_DIRS){ ++foreach my $d (sort @main::SO_DIRS){ + $d =~ s/'/\'/g ; + print J2SDK "\t\t'$d',\n" ; + } ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
Thanks! Applied and released just now as I::J 0.60.