Gábor Boskovits <[email protected]> writes: > nspr 4.17 is not reproducible. > Diffoscope output attached.
Thanks for the report! The attached patch should solve it. Since there are quite a few dependent packages, I'd like to push this to a new 'staging' branch that will be started shortly after the core-updates merge. WDYT?
From 9181529d3f2b5c88a3985cbc32ed46e22262858d Mon Sep 17 00:00:00 2001 From: Marius Bakke <[email protected]> Date: Sat, 13 Jan 2018 18:15:17 +0100 Subject: [PATCH] gnu: nspr: Build reproducibly. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes <https://bugs.gnu.org/30097>. Reported by Gábor Boskovits <[email protected]>. * gnu/packages/gnuzilla.scm (nspr)[arguments]: Add #:make-flags to prevent indeterministic timestamps from being recorded. --- gnu/packages/gnuzilla.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 61f20a4fd..6ee3133b4 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -268,6 +268,10 @@ in C/C++.") (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")) + ;; Use fixed timestamps for reproducibility. + #:make-flags '("SH_DATE='1970-01-01 00:00:01'" + ;; This is epoch 1 in microseconds. + "SH_NOW=100000") #:phases (modify-phases %standard-phases (add-before 'configure 'chdir (lambda _ (chdir "nspr") #t))))) -- 2.15.1
signature.asc
Description: PGP signature
