[Reproducible-builds] Bug#801523: perl: make PPPort.so not vary with file system ordering

Niko Tyni ntyni at debian.org
Sun Oct 11 17:06:58 UTC 2015

Package: perl
Version: 5.22.0-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

As seen at

the compiled file 

varies with file system ordering, because PPPort_xs.PL uses readdir()
to generate the list of files to process.

This breaks build reproducibility, as readdir() ordering can vary
between file systems. It's easy to test with the disorderfs package,
recently added to the reproducible.debian.net setup.

The attached patch fixes the issue. The reproducible.debian.net logs
have a size cutoff so we can't know if this was the only issue of its
kind. I was expecting more of them, but my test didn't turn up any.
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Sort-the-list-of-XS-code-files-when-generating-RealP.patch
Type: text/x-diff
Size: 848 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151011/23adca85/attachment.patch>

More information about the Reproducible-builds mailing list