/src/sample_code/performance/common -I./quickassist/lookaside/access_layer/src/sample_code/functional/include -I./quickassist/utilities/libusdm_drv -I./quickassist/lookaside/access_layer/include -I./quickassist/include -I./quickassist/include/lac -I./quickassist/include/dc -I./quickassist/lookaside/access_layer/src/sample_code/busy_loop -D USER_SPACE -D_GNU_SOURCE -DSC_ENABLE_DYNAMIC_COMPRESSION -DWITH_CMDRV -DWITH_UPSTREAM -DDO_CRYPTO -DINCLUDE_COMPRESSION -Wno-deprecated-declarations -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIC -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -D MAX_MR_ROUND=50 -D _FILE_OFFSET_BITS=64 -Wno-unused-command-line-argument -DICP_PARAM_CHECK -DSAMPLE_CODE_CORPUS_PATH=\"/usr/share/qat/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c quickassist/lookaside/access_layer/src/sample_code/performance/framework/cpa_sample_code_framework.c -fPIC -DPIC -o quickassist/lookaside/access_layer/src/sample_code/performance/framework/.libs/libcpa_sample_code_s_la-cpa_sample_code_framework.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./quickassist/lookaside/access_layer/src/sample_code/performance -I./quickassist/lookaside/access_layer/src/sample_code/performance/crypto/ -I./quickassist/lookaside/access_layer/src/sample_code/performance/framework -I./quickassist/lookaside/access_layer/src/sample_code/performance/framework/linux/user_space -I./quickassist/lookaside/access_layer/src/sample_code/performance/compression -I./quickassist/lookaside/access_layer/src/sample_code/performance/common -I./quickassist/lookaside/access_layer/src/sample_code/functional/include -I./quickassist/utilities/libusdm_drv -I./quickassist/lookaside/access_layer/include -I./quickassist/include -I./quickassist/include/lac -I./quickassist/include/dc -I./quickassist/lookaside/access_layer/src/sample_code/busy_loop -D USER_SPACE -D_GNU_SOURCE -DSC_ENABLE_DYNAMIC_COMPRESSION -DWITH_CMDRV -DWITH_UPSTREAM -DDO_CRYPTO -DINCLUDE_COMPRESSION -Wno-deprecated-declarations -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIC -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -D MAX_MR_ROUND=50 -D _FILE_OFFSET_BITS=64 -Wno-unused-command-line-argument -DICP_PARAM_CHECK -DSAMPLE_CODE_CORPUS_PATH=\"/usr/share/qat/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c quickassist/lookaside/access_layer/src/sample_code/performance/framework/cpa_sample_code_framework.c -fPIE -o quickassist/lookaside/access_layer/src/sample_code/performance/framework/libcpa_sample_code_s_la-cpa_sample_code_framework.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/qatlib-22.07.0' make: *** [Makefile:1806: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.5KRGQu (%build) Bad exit status from /var/tmp/rpm-tmp.5KRGQu (%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/qatlib.spec