Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 104581
Status: resolved
Priority: 0/
Queue: Module-Build

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

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



Subject: Reproducible build fix
Hello, As per <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785708> please find a patch from the Debian reproducible builds effort1[1] attached which enables this package to be rebuilt without changes. [1] <https://wiki.debian.org/ReproducibleBuilds> Thanks, Dominci.
Subject: output-data-in-stable-order.patch
Description: output data in a stable order In order to make builds reproducible, we sort keys when dumping data. Author: Jérémy Bobbio <lunar@debian.org> --- libmodule-build-perl-0.421000.orig/lib/Module/Build/Dumper.pm +++ libmodule-build-perl-0.421000/lib/Module/Build/Dumper.pm @@ -12,7 +12,7 @@ use Data::Dumper; sub _data_dump { my ($self, $data) = @_; return ("do{ my " - . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump() + . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Sortkeys(1)->Dump() . '$x; }') }
On Wed May 20 16:22:41 2015, DOM wrote: Show quoted text
> Hello, > > As per <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785708> > please find a patch from the Debian reproducible builds effort1[1] > attached which enables this package to be rebuilt without changes. > > [1] <https://wiki.debian.org/ReproducibleBuilds> > > Thanks, > Dominci.
This has been included in Module::Build 0.4214