* Re: Build failure on nss-3.36.1
@ 2018-11-04 3:17 Brian Woodcox
2018-11-04 3:46 ` Brian Woodcox
0 siblings, 1 reply; 8+ messages in thread
From: Brian Woodcox @ 2018-11-04 3:17 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 2624 bytes --]
So I have tried to debug this a bit, but I am not making much headway.
Apparently the error is:
chains.sh: #718: RealCerts: Verifying certificate(s) PayPalEE.cert with flags -d AllDB -pp -o OID.2.16.840.1.114412.1.1 - FAILED
chains.sh: Verifying certificate(s) BrAirWaysBadSig.cert with flags -d AllDB -pp
vfychain -d AllDB -pp -vv /tmp/guix-build-nss-3.36.1.drv-0/nss-3.36.1/nss/tests/libpkix/certs/BrAirWaysBadSig.cert
Chain is bad!
PROBLEM WITH THE CERT CHAIN:
CERT 0. BrAirWaysBadSig :
ERROR -8181: Peer's Certificate has expired.
Returned value is 1, expected result is fail
My Guix version is —> guix (GNU Guix) 0.15.0-1.4876bc8
I have attached some files for you info. Not sure if the attachments will work or not, but here goes.
Click to Download
<https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FAZB9KuYEFA_VO1ETxRLEKt3Xazx1AZ1uJK13eE0hak2ZNsmoqEC9XZrk%2F%24%7Bf%7D%3Fo%3DAhl2rhIXPpFhMKUABounUzn176OyELEyzjD-UVhgCtGI%26v%3D1%26x%3D3%26a%3DB4HePG0n1SgmK4mvO8CI1NdcWSsQA3acRwEACAHIAP8wLRTxA7bzRg%26e%3D1543890549%26k%3D%24%7Buk%7D%26fl%3D%26r%3D913AD543-8C4F-4EA6-9EE6-5C1B7EED7F23-1%26ckc%3Dcom.apple.largeattachment%26ckz%3D600D35C7-6A17-4E32-B9B2-0B62C0980B97%26p%3D10%26s%3D3vDY-LTphXb4VYXhhf8-l0um24o&uk=ocif6YkvkoV_0clmfkyX0w&f=environment-variables&sz=4585>environment-variables
5 KB
Click to Download
<https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FAeU7xSarmGitmCM3EnfyAuEho834AW3Ad2cxOErP1NdzzbNpbg2JeKcA%2F%24%7Bf%7D%3Fo%3DAlElYDCxFWxbnLojD8Wx6WxVfOFB_dkaWXIhFEq8WPeS%26v%3D1%26x%3D3%26a%3DB0kPVQmyeoKMx1PHBOOixv1kDZUWA3acRwEACAHIAP8AQdaaA7bzRg%26e%3D1543890548%26k%3D%24%7Buk%7D%26fl%3D%26r%3D9651E7C3-22E9-4B03-AC33-4BBAFB842C5B-1%26ckc%3Dcom.apple.largeattachment%26ckz%3D600D35C7-6A17-4E32-B9B2-0B62C0980B97%26p%3D10%26s%3Dlq02ipNAkniQRHFrN3o1p-fxi0A&uk=_QDD5DN2WuTEjpzr1-92YQ&f=output.log&sz=40066010>output.log
40.1 MB
Click to Download
<https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FAcmWAWtikwgoHlbdB4_I1hmP5fsaATJ2s7GQ8HdqSxPF3-6ojy1FBUa5%2F%24%7Bf%7D%3Fo%3DAlVL76E-zp4amezO8jXqNzrte38FyKgsQlR903zumCxf%26v%3D1%26x%3D3%26a%3DB2_OCHDmVbljPcB4GInZHn1KbijtA3acRwEACAHIAP9b6axuA7bzRg%26e%3D1543890548%26k%3D%24%7Buk%7D%26fl%3D%26r%3D61F23A46-1D98-49D5-B046-14BB1064956D-1%26ckc%3Dcom.apple.largeattachment%26ckz%3D600D35C7-6A17-4E32-B9B2-0B62C0980B97%26p%3D10%26s%3DNh80pqE54xvoxgHJI0mLupXdN1o&uk=xuc6Zek6upSJ-7mOS0RzYg&f=2gwwhy92zviwl9k74r9vz9ccmgyw91cn-nss-3.36.1.drv&sz=40955704>2gwwhy92zviwl9k74r9vz9ccmgyw91cn-nss-3.36.1.drv
41 MB
[-- Attachment #2: Type: text/html, Size: 6142 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on nss-3.36.1
2018-11-04 3:17 Build failure on nss-3.36.1 Brian Woodcox
@ 2018-11-04 3:46 ` Brian Woodcox
2018-11-04 10:38 ` Björn Höfling
0 siblings, 1 reply; 8+ messages in thread
From: Brian Woodcox @ 2018-11-04 3:46 UTC (permalink / raw)
To: help-guix
Hi Björn,
You nailed it.
Of course, I am not too certain how to use the guix git-checkout command.
Do you or anyone else have an example of how you would build this after downloading it?
I’ve done a bit of search, but have not come up with much.
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on nss-3.36.1
2018-11-04 3:46 ` Brian Woodcox
@ 2018-11-04 10:38 ` Björn Höfling
0 siblings, 0 replies; 8+ messages in thread
From: Björn Höfling @ 2018-11-04 10:38 UTC (permalink / raw)
To: Brian Woodcox; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 2140 bytes --]
On Sat, 3 Nov 2018 21:46:02 -0600
Brian Woodcox <bw@inskydata.com> wrote:
> Hi Björn,
>
> You nailed it.
>
> Of course, I am not too certain how to use the guix git-checkout
> command.
>
> Do you or anyone else have an example of how you would build this
> after downloading it?
>
> I’ve done a bit of search, but have not come up with much.
>
> Thanks
>
Hi Brian,
its described in section "7 Contributing" of the manual:
https://www.gnu.org/software/guix/manual/en/guix.html#Contributing
Please refer to the manual for full details, I will show here in short
out of my head, errors/typos might be included:
git clone https://...guix.gt
cd git
# Now you need to enter an enviromnent where guix' build tools are
# available. You could install everything yourself in a foreign distro
# or via guix package -i ..., but Guix knows it best, so just do a:
guix environment guix
# Next you need to bootstrap and build:
./bootstrap
./configure --localstatedir=/var
make
# Now search source file:
guix package -s "^nss$"
name: nss
version: 3.39
outputs: out bin
systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux
dependencies: nspr@4.20 perl@5.26.1 sqlite@3.23.0 zlib@1.2.11
location: gnu/packages/gnuzilla.scm:364:2
[..]
# edit it:
emacs gnu/packages/gnuzilla.scm
#[could also call "guix edit nss" directly]
(arguments
`(#:parallel-build? #f ; not supported
;; Add this line to arguments:
#:tests? #f
#:make-flags
;; Remove this: (replace 'check ...)
Now run guix from source:
./pre-inst-env guix build nss
Then do whatever you want to from there:
./pre-inst-env guix install ...
./pre-inst-env guix system ...
Note: It is not enough to just build/install nss from here and then go
on with the "normal" guix: Because you changed nss, all dependencies
need to be built too.
And that is basically the world:
./pre-inst-env guix refresh -l nss
Building the following 3119 packages would ensure 8553 dependent packages are rebuilt:
So, not sure if that helps you here...
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Build failure on nss-3.36.1
@ 2018-11-03 17:28 Brian Woodcox
2018-11-03 17:38 ` Gábor Boskovits
2018-11-03 20:46 ` Björn Höfling
0 siblings, 2 replies; 8+ messages in thread
From: Brian Woodcox @ 2018-11-03 17:28 UTC (permalink / raw)
To: help-guix
I’m getting a build failure when building nss-3.36.1.
I have the entire log. Here is the end part of it.
Any ideas?
Thanks.
SUMMARY:
========
NSS variables:
--------------
HOST=localhost
DOMSUF=(none)
BUILD_OPT=
USE_X32=
USE_64=1
NSS_CYCLES=""
NSS_TESTS=""
NSS_SSL_TESTS="crl iopr policy"
NSS_SSL_RUN="cov auth stapling stress"
NSS_AIA_PATH=
NSS_AIA_HTTP=
NSS_AIA_OCSP=
IOPR_HOSTADDR_LIST=
PKITS_DATA=
NSS_DISABLE_HW_AES=
NSS_DISABLE_PCLMUL=
NSS_DISABLE_AVX=
NSS_DISABLE_ARM_NEON=
NSS_DISABLE_SSSE3=
Tests summary:
--------------
Passed: 52722
Failed: 6
Failed with core: 0
ASan failures: 0
Unknown status: 12
TinderboxPrint:Unknown: 12
Backtrace:
4 (primitive-load "/gnu/store/j2lm2bwnkndbw4vbv5ybfbs3yc6…")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
640:9 2 (for-each #<procedure 9b6120 at /gnu/store/f95ghy8mx00…> …)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
799:31 1 (_ _)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
616:6 0 (invoke _ . _)
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "./nss/tests/all.sh" arguments: () exit-status: 1 term-signal: #f stop-signal: #f] 68fd80>)'.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on nss-3.36.1
2018-11-03 17:28 Brian Woodcox
@ 2018-11-03 17:38 ` Gábor Boskovits
2018-11-03 17:47 ` Brian Woodcox
2018-11-03 20:46 ` Björn Höfling
1 sibling, 1 reply; 8+ messages in thread
From: Gábor Boskovits @ 2018-11-03 17:38 UTC (permalink / raw)
To: bw; +Cc: help-guix
Hello,
Brian Woodcox <bw@inskydata.com> ezt írta (időpont: 2018. nov. 3., Szo, 18:29):
>
> I’m getting a build failure when building nss-3.36.1.
>
> I have the entire log. Here is the end part of it.
>
> Any ideas?
>
> Thanks.
>
> SUMMARY:
> ========
> NSS variables:
> --------------
> HOST=localhost
> DOMSUF=(none)
> BUILD_OPT=
> USE_X32=
> USE_64=1
> NSS_CYCLES=""
> NSS_TESTS=""
> NSS_SSL_TESTS="crl iopr policy"
> NSS_SSL_RUN="cov auth stapling stress"
> NSS_AIA_PATH=
> NSS_AIA_HTTP=
> NSS_AIA_OCSP=
> IOPR_HOSTADDR_LIST=
> PKITS_DATA=
> NSS_DISABLE_HW_AES=
> NSS_DISABLE_PCLMUL=
> NSS_DISABLE_AVX=
> NSS_DISABLE_ARM_NEON=
> NSS_DISABLE_SSSE3=
>
> Tests summary:
> --------------
> Passed: 52722
> Failed: 6
> Failed with core: 0
> ASan failures: 0
> Unknown status: 12
> TinderboxPrint:Unknown: 12
>
> Backtrace:
> 4 (primitive-load "/gnu/store/j2lm2bwnkndbw4vbv5ybfbs3yc6…")
> In ice-9/eval.scm:
> 191:35 3 (_ _)
> In srfi/srfi-1.scm:
> 640:9 2 (for-each #<procedure 9b6120 at /gnu/store/f95ghy8mx00…> …)
> In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
> 799:31 1 (_ _)
> In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
> 616:6 0 (invoke _ . _)
>
> /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "./nss/tests/all.sh" arguments: () exit-status: 1 term-signal: #f stop-signal: #f] 68fd80>)'.
>
>
This is a test failure, could you try to build that again to see if it
fails consistently?
If it also fails for the second time, then please run guix build with
-K to keep the build directory, so we can have the test logs.
Thanks for the report.
Best regards,
g_bor
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on nss-3.36.1
2018-11-03 17:38 ` Gábor Boskovits
@ 2018-11-03 17:47 ` Brian Woodcox
2018-11-03 19:38 ` Gábor Boskovits
0 siblings, 1 reply; 8+ messages in thread
From: Brian Woodcox @ 2018-11-03 17:47 UTC (permalink / raw)
To: help-guix
Hi,
I have run it a few times with the same output.
I’m using —keep-failed, which I assume is the same as the -K flag.
I have the build directory. Anything you would like me to do with it.
Thanks.
> On Nov 3, 2018, at 11:38 AM, Gábor Boskovits <boskovits@gmail.com> wrote:
>
> Hello,
>
> This is a test failure, could you try to build that again to see if it
> fails consistently?
> If it also fails for the second time, then please run guix build with
> -K to keep the build directory, so we can have the test logs.
>
> Thanks for the report.
>
> Best regards,
> g_bor
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on nss-3.36.1
2018-11-03 17:47 ` Brian Woodcox
@ 2018-11-03 19:38 ` Gábor Boskovits
0 siblings, 0 replies; 8+ messages in thread
From: Gábor Boskovits @ 2018-11-03 19:38 UTC (permalink / raw)
To: bw; +Cc: help-guix
Hello Brian,
Thanks for your help so far.
Brian Woodcox <bw@inskydata.com> ezt írta (időpont: 2018. nov. 3., Szo, 18:48):
>
> Hi,
>
> I have run it a few times with the same output.
>
> I’m using —keep-failed, which I assume is the same as the -K flag.
>
> I have the build directory. Anything you would like me to do with it.
>
I see two ways forward:
1. please write the guix version, so that we can reproduce
2. if you could send the logs from the failing tests, which you will find
in the build directory somewhere, that would help.
Best regards,
g_bor
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on nss-3.36.1
2018-11-03 17:28 Brian Woodcox
2018-11-03 17:38 ` Gábor Boskovits
@ 2018-11-03 20:46 ` Björn Höfling
1 sibling, 0 replies; 8+ messages in thread
From: Björn Höfling @ 2018-11-03 20:46 UTC (permalink / raw)
To: Brian Woodcox; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]
Hi,
On Sat, 3 Nov 2018 11:28:26 -0600
Brian Woodcox <bw@inskydata.com> wrote:
> I’m getting a build failure when building nss-3.36.1.
>
> I have the entire log. Here is the end part of it.
>
> Any ideas?
This package does not build reproducibly. At least in the long term:
There are tests that check certificates on temporal validity and that
depends on the system time.
I can reproduce your result with the 3.39 version. It looks like one
certificate is expired. All 6 failing tests look about like this one:
s -d AllDB -pp - PASSED
chains.sh: Verifying certificate(s) PayPalEE.cert with flags -d AllDB -pp
-o OID.2.16.840.1.114412.1.1
vfychain -d AllDB -pp -vv -o OID.2.16.840.1.114412.1.1 /tmp/guix-build-nss
-3.39.drv-0/nss-3.39/nss/tests/libpkix/certs/PayPalEE.cert
Chain is bad!
PROBLEM WITH THE CERT CHAIN:
CERT 0. PayPalEE :
ERROR -8181: Peer's Certificate has expired.
Returned value is 1, expected result is pass
chains.sh: #1555: RealCerts: Verifying certificate(s) PayPalEE.cert with flags -d AllDB -pp -o OID.2.16.840.1.114412.1.1 - FAILED
I don't know how to check the expiration date of PayPalEE.cert.
It looks like upstream has not yet worked on it, as the file was lastly
modified two years ago:
https://hg.mozilla.org/projects/nss/log/tip/tests/libpkix/certs/PayPalEE.cert
Cmp also this bug that demands non-expiration certificates:
https://bugzilla.mozilla.org/show_bug.cgi?id=1330010
Building 3.40 does not work with just updating version/hashsum.
A quick solution would be to build nss from a Guix git-checkout and
disable tests.
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-11-04 10:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-04 3:17 Build failure on nss-3.36.1 Brian Woodcox
2018-11-04 3:46 ` Brian Woodcox
2018-11-04 10:38 ` Björn Höfling
-- strict thread matches above, loose matches on Subject: below --
2018-11-03 17:28 Brian Woodcox
2018-11-03 17:38 ` Gábor Boskovits
2018-11-03 17:47 ` Brian Woodcox
2018-11-03 19:38 ` Gábor Boskovits
2018-11-03 20:46 ` Björn Höfling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).