From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#25598: R packages are not bit-reproducible Date: Wed, 1 Feb 2017 12:08:45 +0100 Message-ID: References: <8737fydyma.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYsmi-00073N-26 for bug-guix@gnu.org; Wed, 01 Feb 2017 06:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYsmc-0004IS-BW for bug-guix@gnu.org; Wed, 01 Feb 2017 06:09:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYsmc-0004IK-7U for bug-guix@gnu.org; Wed, 01 Feb 2017 06:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cYsmb-0004lj-VV for bug-guix@gnu.org; Wed, 01 Feb 2017 06:09:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737fydyma.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: 25598@debbugs.gnu.org --=-=-= Content-Type: text/plain It looks like R 3.3.2 already includes the fixes but they need to be explicitly requested when installing packages. Attached is a patch that seems to fix this. --=-=-= Content-Type: text/x-patch; charset="utf-8" Content-Disposition: inline; filename="0001-build-r-build-system-Use-deterministic-built-date.patch" Content-Transfer-Encoding: 8bit >From fa42971cb7099e3b370565de5d3f454faecf0369 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 1 Feb 2017 11:42:34 +0100 Subject: [PATCH] build: r-build-system: Use deterministic built date. Fixes . * guix/build/r-build-system.scm (install): Pass "--built-timestamp" option to make build deterministic. --- guix/build/r-build-system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/build/r-build-system.scm b/guix/build/r-build-system.scm index 3fc13eb83..24aa73d4f 100644 --- a/guix/build/r-build-system.scm +++ b/guix/build/r-build-system.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2017 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -84,6 +84,7 @@ (params (append configure-flags (list "--install-tests" (string-append "--library=" site-library) + "--built-timestamp=1970-01-01" "."))) (site-path (string-append site-library ":" (generate-site-path inputs)))) -- 2.11.0 --=-=-=--