api.h:50, from nsdejavu.c:125: ./npsdk/prcpucfg.h:847:2: error: #error "Unknown CPU architecture" 847 | #error "Unknown CPU architecture" | ^~~~~ In file included from ./npsdk/npapi.h:50, from nsdejavu.c:125: ./npsdk/prtypes.h:301:2: error: #error No suitable type for PRInt8/PRUint8 301 | #error No suitable type for PRInt8/PRUint8 | ^~~~~ ./npsdk/prtypes.h:326:2: error: #error No suitable type for PRInt16/PRUint16 326 | #error No suitable type for PRInt16/PRUint16 | ^~~~~ ./npsdk/prtypes.h:358:2: error: #error No suitable type for PRInt32/PRUint32 358 | #error No suitable type for PRInt32/PRUint32 | ^~~~~ ./npsdk/prtypes.h:421:2: error: #error 'sizeof(int)' not sufficient for platform use 421 | #error 'sizeof(int)' not sufficient for platform use | ^~~~~ ./npsdk/prtypes.h:444:9: error: unknown type name 'PRInt32' 444 | typedef PRInt32 PROffset32; | ^~~~~~~ ./npsdk/prtypes.h:475:9: error: unknown type name 'PRIntn' 475 | typedef PRIntn PRBool; | ^~~~~~ ./npsdk/prtypes.h:485:9: error: unknown type name 'PRUint8' 485 | typedef PRUint8 PRPackedBool; | ^~~~~~~ ./npsdk/prtypes.h:498:9: error: unknown type name 'PRUint16' 498 | typedef PRUint16 PRUnichar; | ^~~~~~~~ In file included from ./npsdk/prtypes.h:560, from ./npsdk/npapi.h:50, from nsdejavu.c:125: ./npsdk/obsolete/protypes.h:48:9: error: unknown type name 'PRUintn' 48 | typedef PRUintn uintn; | ^~~~~~~ ./npsdk/obsolete/protypes.h:50:9: error: unknown type name 'PRIntn' 50 | typedef PRIntn intn; | ^~~~~~ ./npsdk/obsolete/protypes.h:117:9: error: unknown type name 'PRUint32' 117 | typedef PRUint32 uint32; | ^~~~~~~~ ./npsdk/obsolete/protypes.h:128:9: error: unknown type name 'PRUint16' 128 | typedef PRUint16 uint16; | ^~~~~~~~ ./npsdk/obsolete/protypes.h:136:9: error: unknown type name 'PRUint8' 136 | typedef PRUint8 uint8; | ^~~~~~~ ./npsdk/obsolete/protypes.h:156:9: error: unknown type name 'PRInt32' 156 | typedef PRInt32 int32; | ^~~~~~~ ./npsdk/obsolete/protypes.h:169:9: error: unknown type name 'PRInt16' 169 | typedef PRInt16 int16; | ^~~~~~~ ./npsdk/obsolete/protypes.h:179:9: error: unknown type name 'PRInt8' 179 | typedef PRInt8 int8; | ^~~~~~ nsdejavu.c:2248:28: warning: initialization of '_Bool (*)(NPObject *, const NPVariant *, uint32_t, NPVariant *)' {aka '_Bool (*)(NPObject *, const struct _NPVariant *, unsigned int, struct _NPVariant *)'} from incompatible pointer type '_Bool (*)(NPObject *, const NPVariant *, uint32, NPVariant *)' {aka '_Bool (*)(NPObject *, const struct _NPVariant *, int, struct _NPVariant *)'} [-Wincompatible-pointer-types] 2248 | np_hasmethod, np_invoke, np_invokedefault, | ^~~~~~~~~~~~~~~~ nsdejavu.c:2248:28: note: (near initialization for 'npclass.invokeDefault') make[2]: *** [Makefile:508: nsdejavu_la-nsdejavu.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/djview4-4.12/nsdejavu' make[1]: *** [Makefile:451: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/djview4-4.12' make: *** [Makefile:383: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.48dfro (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.48dfro (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/djview4.spec