Your message dated Sat, 05 Dec 2015 10:23:10 +0000
with message-id <[email protected]>
and subject line Bug#801523: fixed in perl 5.22.1~rc3-2
has caused the Debian Bug report #801523,
regarding perl: make PPPort.so not vary with file system ordering
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
801523: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801523
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: perl
Version: 5.22.0-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: fileordering
X-Debbugs-Cc: [email protected]

As seen at
 https://reproducible.debian.net/rb-pkg/experimental/amd64/perl.html
 
https://reproducible.debian.net/dbd/experimental/amd64/perl_5.22.0-4.debbindiff.html

the compiled file 
 usr/lib/x86_64-linux-gnu/perl/5.22.0/auto/Devel/PPPort/PPPort.so

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   [email protected]
>From c01f602d1926b0671fd2c8d91f7e52c4e4c9fb24 Mon Sep 17 00:00:00 2001
From: Niko Tyni <[email protected]>
Date: Sun, 11 Oct 2015 19:27:56 +0300
Subject: [PATCH] Sort the list of XS code files when generating RealPPPort.xs

all_files_in_dir() uses readdir() ordering to make the list of
input files. This can vary between build systems, breaking build
reproducibility.
---
 cpan/Devel-PPPort/PPPort_xs.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpan/Devel-PPPort/PPPort_xs.PL b/cpan/Devel-PPPort/PPPort_xs.PL
index 5f18940..149f2fe 100644
--- a/cpan/Devel-PPPort/PPPort_xs.PL
+++ b/cpan/Devel-PPPort/PPPort_xs.PL
@@ -38,7 +38,7 @@ END
 my $file;
 my $sec;
 
-for $file (all_files_in_dir('parts/inc')) {
+for $file (sort(all_files_in_dir('parts/inc'))) {
   my $spec = parse_partspec($file);
 
   my $msg = 0;
-- 
2.5.1


--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.22.1~rc3-2

We believe that the bug you reported is fixed in the latest version of
perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <[email protected]> (supplier of updated perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 05 Dec 2015 11:03:44 +0200
Source: perl
Binary: perl-base perl-doc perl-debug libperl5.22 libperl-dev perl-modules-5.22 
perl
Architecture: source
Version: 5.22.1~rc3-2
Distribution: experimental
Urgency: low
Maintainer: Niko Tyni <[email protected]>
Changed-By: Niko Tyni <[email protected]>
Description:
 libperl-dev - Perl library: development files
 libperl5.22 - shared Perl library
 perl       - Larry Wall's Practical Extraction and Report Language
 perl-base  - minimal Perl system
 perl-debug - debug-enabled Perl interpreter
 perl-doc   - Perl documentation
 perl-modules-5.22 - Core Perl modules
Closes: 801523 807038 807086
Changes:
 perl (5.22.1~rc3-2) experimental; urgency=low
 .
   * Fix a podlators test failure when building under SOURCE_DATE_EPOCH.
     (Closes: #807086)
   * Apply upstream patch to skip tests only intended for long double
     configurations, failing on big-endian architectures. (Closes: #807038)
   * Slightly patch Devel-PPPort to make its XS code reproducible
     rather than vary with system file ordering. (Closes: #801523)
Checksums-Sha1:
 1abdbf02f6570ae8d505997b07edc53a1d5d4210 2348 perl_5.22.1~rc3-2.dsc
 db8591fc27d27ee7a97291bad008f9f8df758afd 110684 perl_5.22.1~rc3-2.debian.tar.xz
Checksums-Sha256:
 0585be9a8e9e6a49ff51cf136d42b7b99f3c8c781a8c6559af9b3ea0bff42fab 2348 
perl_5.22.1~rc3-2.dsc
 813da6979bcc22f4c2321d85590603860a8ca1c2b755e90c166c0a4801c52b77 110684 
perl_5.22.1~rc3-2.debian.tar.xz
Files:
 67cb64e70a458c85e3e1f13da944c4f1 2348 perl standard perl_5.22.1~rc3-2.dsc
 876eaa163ab032a5d574c04702fa8bcd 110684 perl standard 
perl_5.22.1~rc3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWYrb3AAoJEC7A/7O3MBsfckwQALspD4RpklctteNtbhcTejDd
D4O0dRJk2npULedBex5u+BdI+9MxqTa0tJymzdfObuiYPZaC+sLYDm09xSFvtIbz
94Sp087vWEE7HdUdjVPFma6etBPcRxbt0hB+UehzD443ZeLmAriMuGzfWPwpIge0
xnolO+3/c2dmKok/xBA997Wld8oPi9rOqy7y4q3Rt3MCj32gzHPvxX+1ufvlFNxb
NKdaRo4kRA5Gwq4mFc8sHR3Jislk9T/hhAQ6ovEdMQTUEA6+2hDuUgRUO1P0b7Se
GTWGlfoyfuKI312Q6xA0zqgfIlIqTOBGtSnv/yR1EfVnto/YDTDjIy6gQrxmy0kJ
et2wZLJjX+6eAh0QTZWB80C6Br/J5v0cRcxl38mvXUFk244dSPU5BbatHVukQUe/
i+jKME7s4lbWvInnhHaxWrHm3T/CztHJBWzq/8qeWRIfTqVSHonQiae2nIPp2wAQ
XBnCxPOwGS92fQ0WJxO5yWPUsp2r1cn33A5CviUXGHaawN9HjBBEC/9LdQmowoP+
OzihxnU3gZtEQaTXTtFWTJpKXV/O5j7T5II93XzH0Lt12FYIg2z0Uy4Fzzsr1q1F
rutlHG123k4sSfYJ7cwCET5emjtOQkpqZgUT05wCSKXU02rfA8kMZ7Kfj32YqfPm
f98Xko/GgFNKfUyF70zN
=5h0/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to