unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 23776@debbugs.gnu.org
Subject: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic
Date: Wed, 11 Jan 2017 23:27:11 +0100	[thread overview]
Message-ID: <87mvexuta8.fsf@gnu.org> (raw)
In-Reply-To: <20160619173154.GA26953@jasmine> (Leo Famulari's message of "Sun, 19 Jun 2016 13:31:54 -0400")

Leo Famulari <leo@famulari.name> skribis:

> On Thu, Jun 16, 2016 at 11:39:27AM -0400, Leo Famulari wrote:
>> On Thu, Jun 16, 2016 at 01:33:46PM +0200, Ludovic Courtès wrote:
>> > 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
>> 
>> According to the information on this page, we should set POD_MAN_DATE
>> while building. Should we make the perl-build-system export this
>> variable? Set to SOURCE_DATE_EPOCH?
>
> I noticed that Pod::Man is supposed to respect SOURCE_DATE_EPOCH, as of
> the upstream module version 4.03 (released 2015-12-06). Does anyone know
> how to check the version of the module bundled into perl?

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

Ludo’.

  parent reply	other threads:[~2017-01-11 22:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-16 11:33 bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic Ludovic Courtès
2016-06-16 15:39 ` Leo Famulari
2016-06-17  8:11   ` Ludovic Courtès
2016-06-17 18:50     ` Leo Famulari
2016-06-18 20:35       ` Ludovic Courtès
2016-06-19 17:31   ` Leo Famulari
2016-06-25 18:23     ` Leo Famulari
2016-07-30  9:28       ` Ludovic Courtès
2017-01-11 22:27     ` Ludovic Courtès [this message]
2017-01-12 17:24       ` Marius Bakke
2017-01-13  8:02         ` Ludovic Courtès
2017-10-31 15:17           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvexuta8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=23776@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).