[package - main-riscv64-default][devel/nspr] Failed for nspr-4.31 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 08 Jun 2021 13:55:46 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     gecko@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/main-riscv64-default/pff8f3a1b75aa_s1b602f641/logs/nspr-4.31.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=pff8f3a1b75aa_s1b602f641
Log:

=>> Building devel/nspr
build started at Tue Jun  8 13:55:30 UTC 2021
port directory: /usr/ports/devel/nspr
package name: nspr-4.31
building for: FreeBSD main-riscv64-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400019 riscv
maintained by: gecko@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1400019
Job Id: 13




!!! Jail is newer than host. (Jail: 1400019, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400019
UNAME_v=FreeBSD 14.0-CURRENT 1400019
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-riscv64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-riscv64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for nspr-4.31:
     DEBUG=off: Build with debugging support
     TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
gecko@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-debug --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/nspr/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/nspr/work  HOME=/wrkdirs/usr/ports/devel/nspr/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/nspr/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/nspr/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/nspr/work  HOME=/wrkdirs/usr/ports/devel/nspr/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/nspr/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nspr"  EXAMPLESDIR="share/examples/nspr"  DATADIR="share/nspr"  WWWDIR="www/nspr"  ETCDIR="etc/nspr"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nspr DOCSDIR=/usr/local/share/doc/nspr EXAMPLESDIR=/usr/local/share/examples/nspr  WWWDIR=/usr/local/www/nspr ETCDIR=/usr/local/etc/nspr
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=riscv
MACHINE_ARCH=riscv64
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400019
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MPL20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nspr-4.31 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[main-riscv64-default-job-13] Installing pkg-1.16.3...
[main-riscv64-default-job-13] Extracting pkg-1.16.3: .......... done
===>   nspr-4.31 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nspr-4.31
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MPL20 accepted by the user
===> Fetching all distfiles required by nspr-4.31 for building
<snip>
gmake[4]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/include/private'
gmake -C obsolete export
gmake[4]: Entering directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/include/obsolete'
./../../config/./nsinstall -R -m 444 ./pralarm.h ./probslet.h ./protypes.h ./prsem.h ../../../dist/include/nspr/obsolete
gmake[4]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/include/obsolete'
./../config/./nsinstall -R -m 444 ./nspr.h ./pratom.h ./prbit.h ./prclist.h ./prcmon.h ./prcountr.h ./prcvar.h ./prdtoa.h ./prenv.h ./prerr.h ./prerror.h ./prinet.h ./prinit.h ./prinrval.h ./prio.h ./pripcsem.h ./prlink.h ./prlock.h ./prlog.h ./prlong.h ./prmem.h ./prmon.h ./prmwait.h ./prnetdb.h ./prolock.h ./prpdce.h ./prprf.h ./prproces.h ./prrng.h ./prrwlock.h ./prshm.h ./prshma.h ./prsystem.h ./prthread.h ./prtime.h ./prtpool.h ./prtrace.h ./prtypes.h ./prvrsion.h ./prwin16.h ../../dist/include/nspr
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/include'
gmake -C src export
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/src'
gmake -C io export
gmake[4]: Entering directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/src/io'
/nxb-bin/usr/bin/cc -o prfdcach.o -c -fvisibility=hidden    -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing   -ansi -Wall -fPIC  -UDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_POINTER_LOCALTIME_R=1 -DHAVE_DLADDR=1 -DHAVE_LCHOWN=1 -DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../pr/include -I../../../pr/include/private  prfdcach.c
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:26:
./../../dist/include/nspr/prcpucfg.h:550:2: error: "Unknown CPU architecture"
#error "Unknown CPU architecture"
 ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
./../../dist/include/nspr/prtypes.h:234:2: error: No suitable type for PRInt8/PRUint8
#error No suitable type for PRInt8/PRUint8
 ^
./../../dist/include/nspr/prtypes.h:259:2: error: No suitable type for PRInt16/PRUint16
#error No suitable type for PRInt16/PRUint16
 ^
./../../dist/include/nspr/prtypes.h:291:2: error: No suitable type for PRInt32/PRUint32
#error No suitable type for PRInt32/PRUint32
 ^
./../../dist/include/nspr/prtypes.h:384:2: error: 'sizeof(int)' not sufficient for platform use
#error 'sizeof(int)' not sufficient for platform use
 ^
./../../dist/include/nspr/prtypes.h:407:9: error: unknown type name 'PRInt32'; did you mean 'PRInt64'?
typedef PRInt32 PROffset32;
        ^~~~~~~
        PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
./../../dist/include/nspr/prtypes.h:438:9: error: unknown type name 'PRIntn'; did you mean 'PRInt64'?
typedef PRIntn PRBool;
        ^~~~~~
        PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
./../../dist/include/nspr/prtypes.h:448:9: error: unknown type name 'PRUint8'; did you mean 'PRUint64'?
typedef PRUint8 PRPackedBool;
        ^~~~~~~
        PRUint64
./../../dist/include/nspr/prtypes.h:347:28: note: 'PRUint64' declared here
typedef unsigned long long PRUint64;
                           ^
./../../dist/include/nspr/prtypes.h:461:9: error: unknown type name 'PRUint16'; did you mean 'PRUint64'?
typedef PRUint16 PRUnichar;
        ^~~~~~~~
        PRUint64
./../../dist/include/nspr/prtypes.h:347:28: note: 'PRUint64' declared here
typedef unsigned long long PRUint64;
                           ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:16:9: error: unknown type name 'PRUintn'; did you mean 'PRUint64'?
typedef PRUintn uintn;
        ^~~~~~~
        PRUint64
./../../dist/include/nspr/prtypes.h:347:28: note: 'PRUint64' declared here
typedef unsigned long long PRUint64;
                           ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:18:9: error: unknown type name 'PRIntn'; did you mean 'PRInt64'?
typedef PRIntn intn;
        ^~~~~~
        PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:66:9: error: unknown type name 'PRUint32'; did you mean 'PRUint64'?
typedef PRUint32 uint32;
        ^~~~~~~~
        PRUint64
./../../dist/include/nspr/prtypes.h:347:28: note: 'PRUint64' declared here
typedef unsigned long long PRUint64;
                           ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:75:9: error: unknown type name 'PRUint16'; did you mean 'PRUint64'?
typedef PRUint16 uint16;
        ^~~~~~~~
        PRUint64
./../../dist/include/nspr/prtypes.h:347:28: note: 'PRUint64' declared here
typedef unsigned long long PRUint64;
                           ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:81:9: error: unknown type name 'PRUint8'; did you mean 'PRUint64'?
typedef PRUint8 uint8;
        ^~~~~~~
        PRUint64
./../../dist/include/nspr/prtypes.h:347:28: note: 'PRUint64' declared here
typedef unsigned long long PRUint64;
                           ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:98:9: error: unknown type name 'PRInt32'; did you mean 'PRInt64'?
typedef PRInt32 int32;
        ^~~~~~~
        PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:110:9: error: unknown type name 'PRInt16'; did you mean 'PRInt64'?
typedef PRInt16 int16;
        ^~~~~~~
        PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
In file included from ../../../dist/include/nspr/pratom.h:14:
In file included from ../../../dist/include/nspr/prtypes.h:545:
./../../dist/include/nspr/obsolete/protypes.h:119:9: error: unknown type name 'PRInt8'; did you mean 'PRInt64'?
typedef PRInt8 int8;
        ^~~~~~
        PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
./../../dist/include/nspr/pratom.h:28:10: error: unknown type name 'PRInt32'; did you mean 'PRInt64'?
NSPR_API(PRInt32)   PR_AtomicIncrement(PRInt32 *val);
         ^~~~~~~
         PRInt64
./../../dist/include/nspr/prtypes.h:109:36: note: expanded from macro 'NSPR_API'
#define NSPR_API(__type) PR_EXPORT(__type)
                                   ^
./../../dist/include/nspr/prtypes.h:93:56: note: expanded from macro 'PR_EXPORT'
#define PR_EXPORT(__type) extern PR_VISIBILITY_DEFAULT __type
                                                       ^
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
In file included from prfdcach.c:6:
In file included from ../../../pr/include/private/primpl.h:27:
In file included from ../../../dist/include/nspr/nspr.h:9:
./../../dist/include/nspr/pratom.h:28:40: error: unknown type name 'PRInt32'; did you mean 'PRInt64'?
NSPR_API(PRInt32)   PR_AtomicIncrement(PRInt32 *val);
                                       ^~~~~~~
                                       PRInt64
./../../dist/include/nspr/prtypes.h:346:19: note: 'PRInt64' declared here
typedef long long PRInt64;
                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[4]: *** [../../../config/rules.mk:450: prfdcach.o] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/src/io'
gmake[3]: *** [../../config/rules.mk:163: export] Error 2
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr/src'
gmake[2]: *** [../config/rules.mk:163: export] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr/pr'
gmake[1]: *** [config/rules.mk:163: export] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/nspr/work/nspr-4.31/nspr'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/nspr