From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#23776: Perl's .pod files include timestamps, making Perl package builds non-deterministic Date: Fri, 17 Jun 2016 14:50:17 -0400 Message-ID: <20160617185017.GA16420@jasmine> References: <87fusdgyg5.fsf@gnu.org> <20160616153927.GB2245@jasmine> <877fdoxmja.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDyrD-00025F-B4 for bug-guix@gnu.org; Fri, 17 Jun 2016 14:51:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDyr9-0000pO-6D for bug-guix@gnu.org; Fri, 17 Jun 2016 14:51:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDyr7-0000pK-Vq for bug-guix@gnu.org; Fri, 17 Jun 2016 14:51:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bDyr7-0004fW-OB for bug-guix@gnu.org; Fri, 17 Jun 2016 14:51:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <877fdoxmja.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23776@debbugs.gnu.org On Fri, Jun 17, 2016 at 10:11:21AM +0200, Ludovic Courtès wrote: > Leo Famulari skribis: > > > On Thu, Jun 16, 2016 at 01:33:46PM +0200, Ludovic Courtès wrote: > >> The problem is described in : > >> > >> --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? > > Yes, that sounds like a good idea. Should I add a phase to %standard-phases in perl-build-system.scm [0]? Should I define a new procedure set-POD_MAN_DATE [1] and add that perl-build-system.scm's %standard-phases? [0] http://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/perl-build-system.scm#n71 [1] As in... http://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm#n42