x86_64-pc-linux-gnu-gcc -m32 -o Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/quickder.o -c -fPIC -Di386 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -DNSS_NO_GCC48 -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -I../../dist/Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../dist/public/nss -I../../dist/private/nss -I../../dist/Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include/dbm -O2 -pipe -march=native -Wall quickder.c In file included from quickder.c:10:0: secasn1.h:15:21: fatal error: plarena.h: No such file or directory compilation terminated. make[2]: *** [../../coreconf/rules.mk:393: Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/quickder.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/nss-3.29.5/work/nss-3.29.5/nss-abi_x86_32.x86/lib/util' === This is an issue at stable === ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop_stable-abi32+64_20170902-123437 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * emerge -qpv dev-libs/nss [ebuild N ] dev-libs/nss-3.29.5 USE="nss-pem -cacert -utils" ABI_X86="32 (64) (-x32)"
Created attachment 492078 [details] emerge-info.txt
Created attachment 492080 [details] dev-libs:nss-3.29.5:20170903-053732.log
Created attachment 492082 [details] emerge-history.txt
Created attachment 492084 [details] environment
Created attachment 492086 [details] etc.portage.tbz2
Created attachment 564228 [details] nss-3.42.1 build.log with failure The original build log without the change to the CPATH.
Created attachment 564230 [details] nss-3.42.1 build.log with success The second build log with changed CPATH="/usr/include/nspr:$CPATH".
My case was fixed by changing CPATH. CPATH="/usr/include/nspr:$CPATH" emerge -1 dev-libs/nss I attached both the failed build.log and the successful one. Sorry, I messed up the comments^..
CPATH worked for me.
(In reply to Nolan Eakins from comment #9) > CPATH worked for me. Could you attach the enviroment file when it fails please.
(In reply to Nolan Eakins from comment #9) > CPATH worked for me. The mozilla team has not been able to reproduce this issue. If someone wants to give a detailed breakdown I will attempt to reproduce it again, other wise I am closing as worksforme.
Got the same issue today. Remerging dev-libs/nspr (which provides the missing header) fixed it. It's possible that dev-libs/nspr should have been remerged when moving from 17.0 to 17.1 profile but wasn't for some reason. I haven't verified if this is the cause.