\"/etc/opencryptoki\" -DOCK_LOGDIR=\"/var/log/opencryptoki\" -DPKCSSLOTD_USER=\"pkcsslotd\" -DPKCS_GROUP=\"pkcs11\" -std=c99 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition -pedantic -c -o testcases/crypto/kyber_tests-kyber_func.o `test -f 'testcases/crypto/kyber_func.c' || echo './'`testcases/crypto/kyber_func.c make[1]: Leaving directory '/builddir/build/BUILD/opencryptoki-3.23.0' make[1]: Entering directory '/builddir/build/BUILD/opencryptoki-3.23.0' gcc -DPACKAGE_NAME=\"openCryptoki\" -DPACKAGE_TARNAME=\"opencryptoki\" -DPACKAGE_VERSION=\"3.23\" -DPACKAGE_STRING=\"openCryptoki\ 3.23\" -DPACKAGE_BUGREPORT=\"https://github.com/opencryptoki/opencryptoki/issues\" -DPACKAGE_URL=\"https://github.com/opencryptoki/opencryptoki\" -DPACKAGE=\"opencryptoki\" -DVERSION=\"3.23\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_PARAM_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE__BOOL=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_MALLOC_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_STDDEF_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_TERMIOS_H=1 -Drestrict=__restrict__ -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_CHOWN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_ALARM=1 -DHAVE_GETPAGESIZE=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_MMAP=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_ATEXIT=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MUNMAP=1 -DHAVE_REGCOMP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCHR=1 -DHAVE_STRCSPN=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DYYTEXT_POINTER=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H=1 -I. -I./usr/include -I./usr/lib/common -I./testcases/include -I./testcases/common -I./testcases/login -I./testcases/crypto -I./testcases/misc_tests -I./testcases/pkcs11 -I./usr/lib/api -I./usr/lib/api -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNO_PKEY -DHAVE_ALT_FIX_FOR_CVE2022_4304 -DNOMD2 -DPKCS64 -D_XOPEN_SOURCE=600 -Wall -Wextra -DCONFIG_PATH=\"/var/lib/opencryptoki\" -DSBIN_PATH=\"/usr/sbin\" -DLIB_PATH=\"/usr/lib64\" -DLOCKDIR_PATH=\"/run/lock/opencryptoki\" -DOCK_CONFDIR=\"/etc/opencryptoki\" -DOCK_LOGDIR=\"/var/log/opencryptoki\" -DPKCSSLOTD_USER=\"pkcsslotd\" -DPKCS_GROUP=\"pkcs11\" -std=c99 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition -pedantic -c -o testcases/misc_tests/speed-speed.o `test -f 'testcases/misc_tests/speed.c' || echo './'`testcases/misc_tests/speed.c make[1]: Leaving directory '/builddir/build/BUILD/opencryptoki-3.23.0' make: *** [Makefile:4037: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.EESUL8 (%build) Bad exit status from /var/tmp/rpm-tmp.EESUL8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/opencryptoki.spec