GNU bug report logs - #23776
Perl's .pod files include timestamps, making Perl package builds non-deterministic

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Thu, 16 Jun 2016 11:35:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23776: closed (Perl's .pod files include timestamps, making
 Perl package builds non-deterministic)
Date: Tue, 31 Oct 2017 15:18:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 31 Oct 2017 16:17:35 +0100
with message-id <87o9onxs6o.fsf <at> gnu.org>
and subject line Re: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic
has caused the debbugs.gnu.org bug report #23776,
regarding Perl's .pod files include timestamps, making Perl package builds non-deterministic
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23776: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23776
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guix <at> gnu.org
Subject: Perl's .pod files include timestamps,
 making Perl package builds non-deterministic
Date: Thu, 16 Jun 2016 13:33:46 +0200
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’.


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 23776-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
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
ludo <at> gnu.org (Ludovic Courtès) skribis:

> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> Ludovic Courtès <ludo <at> gnu.org> 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’.


This bug report was last modified 7 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.