NSS

x86_64

On x86_64 the build will default to 32-bit. In multilib, this may be exactly what you want. In pure64, it will fail to build. You can get around this with

make USE_64=1 nss_build_all

ppc64

On ppc64, building 32-bit barfs on -z defs when CC is overridden to "gcc -m32". Use the patch at http://www.linuxfromscratch.org/patches/downloads/nss/nss-3.11-zdefs-1.patch and read the instructions in it.

Test Suite: CRL tests

cert.sh uses the local time when creating revocation lists. This can cause a number of tests (130 out of 800) to fail.

Fix:

cd mozilla/security/nss/tests/cert/ &&
sed 's/date "*+%Y%m%d%H%M%SZ"*/date -u "+%Y%m%d%H%M%SZ"/g' < cert.sh \
    > cert.sh.tmp && mv cert.sh.tmp cert.sh

Up
Top