From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#30097: [core-updates] nspr 4.17 not reproducible Date: Sun, 14 Jan 2018 19:28:58 +0100 Message-ID: <87fu78e1lh.fsf@fastmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ean2k-0003xr-9I for bug-guix@gnu.org; Sun, 14 Jan 2018 13:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ean2h-0001dg-4Y for bug-guix@gnu.org; Sun, 14 Jan 2018 13:30:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ean2g-0001da-Ud for bug-guix@gnu.org; Sun, 14 Jan 2018 13:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ean2g-0002AM-ID for bug-guix@gnu.org; Sun, 14 Jan 2018 13:30:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: =?UTF-8?Q?G=C3=A1bor?= Boskovits , 30097@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable G=C3=A1bor Boskovits 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? --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-nspr-Build-reproducibly.patch Content-Transfer-Encoding: quoted-printable From=209181529d3f2b5c88a3985cbc32ed46e22262858d Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 13 Jan 2018 18:15:17 +0100 Subject: [PATCH] gnu: nspr: Build reproducibly. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Fixes . Reported by G=C3=A1bor Boskovits . * gnu/packages/gnuzilla.scm (nspr)[arguments]: Add #:make-flags to prevent indeterministic timestamps from being recorded. =2D-- 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 =2D-- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -268,6 +268,10 @@ in C/C++.") (string-append "LDFLAGS=3D-Wl,-rpath=3D" (assoc-ref %outputs "out") "/lib")) + ;; Use fixed timestamps for reproducibility. + #:make-flags '("SH_DATE=3D'1970-01-01 00:00:01'" + ;; This is epoch 1 in microseconds. + "SH_NOW=3D100000") #:phases (modify-phases %standard-phases (add-before 'configure 'chdir (lambda _ (chdir "nspr") #t))))) =2D-=20 2.15.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpboWoACgkQoqBt8qM6 VPr0Fgf/fV7C2otk1GKj78ZjVTl/iTxsD0sVHzyOfAGnSdgo1LAAuiZjeJ6qm2tc y89thw/bkuNBw8MQsOLPCCufDu3myFvsq+XHKfFxXGuQg7eG8foXuZsYky5RDmLq L2eBusxyxNkxbsZ4KptRndmbxcRgsu0ehYNQEWw73Bhx/n5e005EGh4G5MPhbvfg +2IJjWn9C3+s/oCZmRRDfBzt84yrJ86zPLP2jhwkoxGlx1zK1MbF1B1EsEiQIX1E VoDC7FnmmLYBlXguNftC61jXElbeOhIggqbORc31pMZZpdhV2RleL0hbhtWmLBKZ /zoQNJiN7iHWAhziGPVYDuaUGn+qjQ== =OrZX -----END PGP SIGNATURE----- --==-=-=--