From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: [PATCH] Enable deterministic perl archives. Date: Wed, 23 Nov 2016 18:53:15 +0100 Message-ID: <87eg22nkvo.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9bjW-00082Z-PW for guix-devel@gnu.org; Wed, 23 Nov 2016 12:53:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9bjT-0000rY-PB for guix-devel@gnu.org; Wed, 23 Nov 2016 12:53:22 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:55644) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9bjT-0000p7-Hw for guix-devel@gnu.org; Wed, 23 Nov 2016 12:53:19 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2FE502080B for ; Wed, 23 Nov 2016 12:53:17 -0500 (EST) Received: from localhost (128.92-221-147.customer.lyse.net [92.221.147.128]) by mail.messagingengine.com (Postfix) with ESMTPA id B3A9D7F07C for ; Wed, 23 Nov 2016 12:53:16 -0500 (EST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi Guix, This patch disables installation of "perllocal.pod" files which records build time and not much else in perl packages. I haven't checked whether this is needed for packages using 'Build.PL', if you know any such package let me know. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-build-system-perl-Do-not-create-non-deterministic-.p.patch >From 34d0dd4e8a002d3768a55e8b28c60c1490b34d45 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 23 Nov 2016 18:40:53 +0100 Subject: [PATCH] build-system/perl: Do not create non-deterministic '.perllocal' files. * guix/build/perl-build-system.scm (configure): Add "NO_PERLLOCAL=1" to Makefile.PL arguments. --- guix/build/perl-build-system.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/perl-build-system.scm b/guix/build/perl-build-system.scm index 8f480ea..6d9092b 100644 --- a/guix/build/perl-build-system.scm +++ b/guix/build/perl-build-system.scm @@ -42,7 +42,7 @@ "--installdirs=site" ,@module-build-flags)) ((file-exists? "Makefile.PL") `("Makefile.PL" ,(string-append "PREFIX=" out) - "INSTALLDIRS=site" ,@make-maker-flags)) + "INSTALLDIRS=site" "NO_PERLLOCAL=1" ,@make-maker-flags)) (else (error "no Build.PL or Makefile.PL found"))))) (format #t "running `perl' with arguments ~s~%" args) (zero? (apply system* "perl" args)))) -- 2.10.2 --=-=-=--