[blfs-support] Troubles Building NSS-3.15.3 [Corrected Major Error]

Dan McGhee beesnees at grm.net
Thu Dec 5 10:21:30 PST 2013


On 12/05/2013 11:20 AM, Dan McGhee wrote:
> This build has failed three times for me.  Here is the applicable 
> portion of the build log:
> [What I originally included was an excerpt from my "error" log.  I 
> apologize for the mistake.


> 1411  make[2]: Entering directory 
> `/usr/src/nss-3.15.3/nss-3.15.3/nss/lib/pk11wrap'
>   1412  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11cert.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11cert.c
>
>   1413  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11akey.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11akey.c
>
>  1414  rm: cannot remove 'Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ': Is a 
> directory
>   1415  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11auth.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11auth.c
>
>   1416  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11cxt.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11cxt.c
>
>   1417  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/dev3hack.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  dev3hack.c
>
>   1418  Assembler messages:
>   1419  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11err.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11err.c
>
>   1420  Fatal error: can't create 
> Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11cert.o: No such file or directory
>  1421  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11list.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11list.c
>   1422  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11kea.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11kea.c
>   1423  pk11cert.c: In function 'pk11_fastCert':
>   1424  pk11cert.c:231:14: warning: variable 'status' set but not used 
> [-Wunused-but-set-variable]
>   1425       PRStatus status;
>   1426                ^
>   1427  pk11cert.c: In function 'PK11_MakeCertFromHandle':
>   1428  pk11cert.c:297:12: warning: variable 'swapNickname' set but 
> not used [-Wunused-but-set-variable]
>   1429       PRBool swapNickname = PR_FALSE;
>   1430
>   1431  pk11cert.c:296:12: warning: variable 'isFortezzaRootCA' set 
> but not used [-Wunused-but-set-variable]
>   1432       PRBool isFortezzaRootCA = PR_FALSE;
>   1433              ^
>   1434  pk11cert.c: In function 'PK11_TraverseCertsForNicknameInSlot':
>   1435  pk11cert.c:2007:28: warning: variable 'pk11cb' set but not 
> used [-Wunused-but-set-variable]
>   1436       struct nss3_cert_cbstr pk11cb;
>   1437                              ^
>   1438  pk11cert.c: In function 'PK11_FindCertFromDERCertItem':
>   1439  pk11cert.c:2151:21: warning: unused variable 'td' 
> [-Wunused-variable]
>   1440       NSSTrustDomain *td = STAN_GetDefaultTrustDomain();
>   1441                       ^
>   1442  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11load.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11load.c
>
> 1443  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11mech.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss  pk11mech.c
>
>   1444  gcc -o Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11merge.o -c -O2 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1  -Wall 
> -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX 
> -Dlinux -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" 
> -DSOFTOKEN_SHLIB_VERSION=\"3\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -I/usr/include/nspr 
> -I../../../dist/Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/include 
> -I../../../dist/public/nss -I../../../dist/private/nss pk11merge.c
>   1445  make[2]: *** [Linux3.8_x86_64_glibc_PTH_64_OPT.OBJ/pk11cert.o] 
> Error 2
>   1446  make[2]: *** Waiting for unfinished jobs....
>   1447  pk11load.c: In function 'SECMOD_UnloadModule':
>   1448  pk11load.c:569:28: warning: unused variable 'status' 
> [-Wunused-variable]
>   1449                     PRStatus status = 
> PR_UnloadLibrary(softokenLib);
>   1450                              ^
>   1451  pk11merge.c: In function 'pk11_mergeByObjectIDs':
>   1452  pk11merge.c:852:15: warning: 'error' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   1453    PORT_SetError(error);
>   1454                 ^
>   1455  pk11merge.c:753:9: note: 'error' was declared here
>   1456       int error;
>   1457           ^
>   1458  make[2]: Leaving directory 
> `/usr/src/nss-3.15.3/nss-3.15.3/nss/lib/pk11wrap'
>   1459  make[1]: *** [libs] Error 2
>   1460  make[1]: Leaving directory 
> `/usr/src/nss-3.15.3/nss-3.15.3/nss/lib'
>   1461  make: *** [libs] Error 2

The first time it failed, it failed because it couldn't make the 
directory.  Now it's an object file--as was the second failure.  Now I 
am in need of help, because I don't know how to translate the long 
statements.

Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20131205/6e426f0b/attachment.html>


More information about the blfs-support mailing list