From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic Date: Wed, 11 Jan 2017 23:27:11 +0100 Message-ID: <87mvexuta8.fsf@gnu.org> References: <87fusdgyg5.fsf@gnu.org> <20160616153927.GB2245@jasmine> <20160619173154.GA26953@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRRNF-0004dc-RB for bug-guix@gnu.org; Wed, 11 Jan 2017 17:28:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRRNC-0002Mj-KA for bug-guix@gnu.org; Wed, 11 Jan 2017 17:28:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRRNC-0002Md-Gj for bug-guix@gnu.org; Wed, 11 Jan 2017 17:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cRRNC-0007bO-9U for bug-guix@gnu.org; Wed, 11 Jan 2017 17:28:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160619173154.GA26953@jasmine> (Leo Famulari's message of "Sun, 19 Jun 2016 13:31:54 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 23776@debbugs.gnu.org Leo Famulari 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=C3=A8s wrote: >> > The problem is described in : >> >=20 >> > --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/M= an.pm/?hl=3D1700#L977 >> > They should be based on the mtime of the original file. >> > url: https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpages= GeneratedByPodMan >>=20 >> 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.1= 0{,-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/hczsksz= mhm2l65vy8nv990lzc5dk3ln9-perl-algorithm-c3-0.10-check/lib/perl5/5.24.0/x86= _64-linux-thread-multi/perllocal.pod 1c1 < =3Dhead2 Wed Jan 11 22:20:36 2017: C L --- > =3Dhead2 Wed Jan 11 22:20:34 2017: C L --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.