: PRIntn count; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c:35:5: error: unknown type name 'PRIntn' BUILDSTDERR: PRIntn limit_low, limit_high; BUILDSTDERR: ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/nspr-4.19.0/pr/src/io' make[2]: Leaving directory '/builddir/build/BUILD/nspr-4.19.0/pr/src' make[1]: Leaving directory '/builddir/build/BUILD/nspr-4.19.0/pr' RPM build errors: BUILDSTDERR: In file included from ../../../dist/include/nspr/nspr.h:26, BUILDSTDERR: from ../../.././nspr/pr/include/private/primpl.h:31, BUILDSTDERR: from ../../.././nspr/pr/src/io/prfdcach.c:6: BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c: In function '_PR_Getfd': BUILDSTDERR: ../../../dist/include/nspr/prmem.h:55:28: warning: implicit declaration of function 'PR_Malloc'; did you mean 'PR_XUnlock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define PR_MALLOC(_bytes) (PR_Malloc((_bytes))) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ../../../dist/include/nspr/prmem.h:65:38: note: in expansion of macro 'PR_MALLOC' BUILDSTDERR: #define PR_NEW(_struct) ((_struct *) PR_MALLOC(sizeof(_struct))) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c:103:10: note: in expansion of macro 'PR_NEW' BUILDSTDERR: fd = PR_NEW(PRFileDesc); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../../../dist/include/nspr/prmem.h:65:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: #define PR_NEW(_struct) ((_struct *) PR_MALLOC(sizeof(_struct))) BUILDSTDERR: ^ BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c:103:10: note: in expansion of macro 'PR_NEW' BUILDSTDERR: fd = PR_NEW(PRFileDesc); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../../../dist/include/nspr/prmem.h:65:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: #define PR_NEW(_struct) ((_struct *) PR_MALLOC(sizeof(_struct))) BUILDSTDERR: ^ BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c:106:22: note: in expansion of macro 'PR_NEW' BUILDSTDERR: fd->secret = PR_NEW(PRFilePrivate); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c: At top level: BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c:153:42: error: unknown type name 'PRIntn'; did you mean 'PRInt64'? BUILDSTDERR: PR_IMPLEMENT(PRStatus) PR_SetFDCacheSize(PRIntn low, PRIntn high) BUILDSTDERR: ^~~~~~ BUILDSTDERR: PRInt64 BUILDSTDERR: ../../.././nspr/pr/src/io/prfdcach.c:153:54: error: unknown type name 'PRIntn'; did you mean 'PRInt64'? BUILDSTDERR: PR_IMPLEMENT(PRStatus) PR_SetFDCacheSize(PRIntn low, PRIntn high) BUILDSTDERR: ^~~~~~ BUILDSTDERR: PRInt64 BUILDSTDERR: make[3]: *** [../../.././nspr/config/rules.mk:447: prfdcach.o] Error 1 BUILDSTDERR: make[2]: *** [../.././nspr/config/rules.mk:163: export] Error 2 BUILDSTDERR: make[1]: *** [.././nspr/config/rules.mk:163: export] Error 2 BUILDSTDERR: make: *** [nspr/config/rules.mk:163: export] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.oUuprK (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.oUuprK (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nspr.spec