Subject: bug#23776: closed (Re: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 31 Oct 2017 15:18:02 +0000

Your bug report

#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23776: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23776
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic
From: [email-masked] (Ludovic Courtès)
To: Marius Bakke <[email-masked]>
Cc: [email-masked], Leo Famulari <[email-masked]>
Date: Tue, 31 Oct 2017 16:17:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

[email-masked] (Ludovic Courtès) skribis:

> Marius Bakke <[email-masked]> skribis:
>
>> Ludovic Courtès <[email-masked]> 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’.

Subject: Perl's .pod files include timestamps, making Perl package builds non-deterministic
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Thu, 16 Jun 2016 13:33:46 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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’.