* Re: 03/03: gnu: nss, nss-certs: Update to 3.27.2.
2016-12-21 6:09 ` Leo Famulari
@ 2016-12-21 16:38 ` Leo Famulari
2016-12-29 18:24 ` Leo Famulari
0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-12-21 16:38 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1561 bytes --]
On Wed, Dec 21, 2016 at 01:09:38AM -0500, Leo Famulari wrote:
> At least some of these failures are caused by an expired test
> certificate:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1323978
>
> This breaks compilation of NSS 3.27.1 and 3.27.2 across all of our
> architectures.
With the attached patch, I can build NSS 3.27.1 on x86_64. If we decide
to use this patch, let's build it on its own Hydra branch, because I
suspect there is some non-determinism in the test suite, and I'd rather
not make everyone try building it themselves if it fails on Hydra for
some reason.
By the way, Git shows the upstream patch as binary data, but if you
apply the attached patch to your work tree, there is plain text
annotation you can use to reproduce it. I recreate the annotation here:
Update expired test certificate:
https://bugzilla.mozilla.org/show_bug.cgi?id=1323978
Patch copied from upstream source repository:
https://hg.mozilla.org/projects/nss/rev/03429dfa184e
# HG changeset patch
# User Kai Engert <kaie@kuix.de>
# Date 1481895886 -3600
# Fri Dec 16 14:44:46 2016 +0100
# Node ID 03429dfa184ec0a11bda4e35e6621ee2ab16a928
# Parent 5e7b5e3d301d7c3395ee982e8f082b0babc333c7
Bug 1323978, The PayPalEE test cert has expired, r=bustage
diff -r 5e7b5e3d301d -r 03429dfa184e tests/libpkix/certs/PayPalEE.cert
--- a/nss/tests/libpkix/certs/PayPalEE.cert Fri Dec 16 13:41:23 2016 +0100
+++ b/nss/tests/libpkix/certs/PayPalEE.cert Fri Dec 16 14:44:46 2016 +0100
@@ -1,8 +1,9 @@
[... binary data ...]
[-- Attachment #1.2: 0001-gnu-nss-Fix-build-failure-caused-by-expired-test-cer.patch --]
[-- Type: text/plain, Size: 5228 bytes --]
From e19cd9120b7e62f88dd5b0a1fae099d1e01650eb Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Tue, 20 Dec 2016 21:29:19 -0500
Subject: [PATCH] gnu: nss: Fix build failure caused by expired test
certificate.
* gnu/packages/patches/nss-update-expired-test-cert.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (nss)[source]: Use it.
---
gnu/local.mk | 1 +
gnu/packages/gnuzilla.scm | 3 ++-
gnu/packages/patches/nss-update-expired-test-cert.patch | Bin 0 -> 3403 bytes
3 files changed, 3 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/nss-update-expired-test-cert.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 3a56c840b..77d8914bd 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -741,6 +741,7 @@ dist_patch_DATA = \
%D%/packages/patches/ninja-zero-mtime.patch \
%D%/packages/patches/node-9077.patch \
%D%/packages/patches/nss-pkgconfig.patch \
+ %D%/packages/patches/nss-update-expired-test-cert.patch \
%D%/packages/patches/nvi-assume-preserve-path.patch \
%D%/packages/patches/nvi-dbpagesize-binpower.patch \
%D%/packages/patches/nvi-db4.patch \
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 07ed2af0b..7439af131 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -203,7 +203,8 @@ in the Mozilla clients.")
(base32
"0sraxk26swlgl7rl742rkfp5k251v5z3lqw9k8ikin0cjfhkfdpx"))
;; Create nss.pc and nss-config.
- (patches (search-patches "nss-pkgconfig.patch"))))
+ (patches (search-patches "nss-pkgconfig.patch"
+ "nss-update-expired-test-cert.patch"))))
(build-system gnu-build-system)
(outputs '("out" "bin"))
(arguments
diff --git a/gnu/packages/patches/nss-update-expired-test-cert.patch b/gnu/packages/patches/nss-update-expired-test-cert.patch
new file mode 100644
index 0000000000000000000000000000000000000000..4e7cd6eda46e7b016c92561e0651ade7dc90c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j#P^3?&MT-r*20Qw4R$C+rR7bYGF9RtRkA_){7`%I
z>!y0wOLr$i2S!wd&ufYNWCL$DJlO;rahriK;xKA~aiaz{X<;p4z<Gi$si@ASQer9z
z`_v?tdfUuHpAF%c9xTvKsB>$kREImFC+C`$v)7F<DO4quDPP$Cxc^imPmq<|uD3o7
zy=JKlJ9y4=Df3!U?WVxLco!aaz`pD7R`!jtU&!9601-&lLiuB`zIlXp@fpv`=%Kcg
zvXEpfE%6`+=y`&B!YwMQz;#2NsPU7T{9vQ}+X`U$)`@KHXnmf7Sn@JgyJvlBn
zTKZm8iku!CE4z_hGx5IV^8?WC6U2#6y$v&cmiXPu$=@_V^gNjb>1H=!H<d)~CiqQU
z5H}^UQ<|N;bhqBOkH)ip@d9_%^vI48Y2$eUFKt%U{@f*rLyY}wub>k5u!bJ3xJPS6
z{ePkr&8tS@_k;cJvy<_^30?$lxxyOuCGcc=(w*Z5T<ko-|3n*tK1v(9XT^1ELkx)e
zcx~vz<?8ZW=szz1FDfytqI`4uuU~8{8{d(d|Ky-;(|VW46`#7MKC8X?X#C5Q9;4@m
zE-MzTj1G_9TC{3+#fjEg9*zDU!-?XsH?FY(rzSN%i1+w&OHIIlfzY;5a|}o49?MOu
zs9tMbbN5B{QsTh$t?ORAsu{QYh|GTR5692=FQKNXHhlk5d~RTac50s#*Unq+b-Bfj
z<Fc9(mc^|t<X=sD@Y`|8tD{9<N1S>+ed}4<M)u8n-xn<yJEkn3+df0SamC=c8^e<F
z(pLNV${wyd8Cg`g{NaRkqLr(fHscp}soKhhjy;aGjW4fme6peisAGbDtUKrCTzLIT
fYCX63M$rPN)iF;+LkbkH^!tLA*F60EXI0|wa|Vh9
literal 0
HcmV?d00001
--
2.11.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread