--- Begin Message ---
Subject: |
Perl's .pod files include timestamps, making Perl package builds non-deterministic |
Date: |
Thu, 16 Jun 2016 13:33:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Here’s an example:
--8<---------------cut here---------------start------------->8---
$ diff -ru /gnu/store/fmib129w05hbwbikd7x48s37hvr8nrdf-perl-io-stringy-2.110
/gnu/store/fmib129w05hbwbikd7x48s37hvr8nrdf-perl-io-stringy-2.110-check
diff -ru
/gnu/store/fmib129w05hbwbikd7x48s37hvr8nrdf-perl-io-stringy-2.110/lib/perl5/5.22.1/x86_64-linux/perllocal.pod
/gnu/store/fmib129w05hbwbikd7x48s37hvr8nrdf-perl-io-stringy-2.110-check/lib/perl5/5.22.1/x86_64-linux/perllocal.pod
---
/gnu/store/fmib129w05hbwbikd7x48s37hvr8nrdf-perl-io-stringy-2.110/lib/perl5/5.22.1/x86_64-linux/perllocal.pod
1970-01-01 01:00:01.000000000 +0100
+++
/gnu/store/fmib129w05hbwbikd7x48s37hvr8nrdf-perl-io-stringy-2.110-check/lib/perl5/5.22.1/x86_64-linux/perllocal.pod
1970-01-01 01:00:01.000000000 +0100
@@ -1,4 +1,4 @@
-=head2 Thu Jun 16 11:29:36 2016: C<Module> L<IO::Stringy|IO::Stringy>
+=head2 Thu Jun 16 11:29:34 2016: C<Module> L<IO::Stringy|IO::Stringy>
=over 4
--8<---------------cut here---------------end--------------->8---
The problem is described in <git://git.debian.org/git/reproducible/notes.git>:
--8<---------------cut here---------------start------------->8---
timestamps_in_documentation_generated_by_podman:
description: |
The module Pod::Man includes timestamps in its embedded manpages:
http://sources.debian.net/src/perl/latest/cpan/podlators/lib/Pod/Man.pm/?hl=1700#L977
They should be based on the mtime of the original file.
url:
https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedByPodMan
deterministic: True
--8<---------------cut here---------------end--------------->8---
Ludo’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic |
Date: |
Tue, 31 Oct 2017 16:17:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> Marius Bakke <address@hidden> skribis:
>
>> Ludovic Courtès <address@hidden> writes:
[...]
>>> For the record, even though Pod::Man supposedly honors SOURCE_DATE_EPOCH
>>> as of Perl 5.24, we still have this problem:
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> $ diff -r
>>> /gnu/store/hczskszmhm2l65vy8nv990lzc5dk3ln9-perl-algorithm-c3-0.10{,-check}
>>> diff -r
>>> /gnu/store/hczskszmhm2l65vy8nv990lzc5dk3ln9-perl-algorithm-c3-0.10/lib/perl5/5.24.0/x86_64-linux-thread-multi/perllocal.pod
>>>
>>> /gnu/store/hczskszmhm2l65vy8nv990lzc5dk3ln9-perl-algorithm-c3-0.10-check/lib/perl5/5.24.0/x86_64-linux-thread-multi/perllocal.pod
>>> 1c1
>>> < =head2 Wed Jan 11 22:20:36 2017: C<Module> L<Algorithm::C3|Algorithm::C3>
>>> ---
>>>> =head2 Wed Jan 11 22:20:34 2017: C<Module> L<Algorithm::C3|Algorithm::C3>
>>> --8<---------------cut here---------------end--------------->8---
>>
>> Isn't this fixed by be12f4e27505edd87c4aa457fec43dd0fee23b79 from
>> 'core-updates'?
>
> Oh, probably! I had forgotten about it, thanks for the heads-up.
Closing this bug!
Ludo’.
--- End Message ---