nchronous-unwind-tables -fno-omit-frame-pointer -c -o build.lo build.c cc1: some warnings being treated as errors libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\" -I/usr/include/libxml2 -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -fvisibility=hidden -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c validate.c -o validate.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\" -I/usr/include/libxml2 -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -fvisibility=hidden -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c build.c -fPIC -DPIC -o .libs/build.o make[4]: *** [Makefile:1309: container.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[4]: *** [Makefile:1309: parser.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPSKC_BUILDING -I./gl -I./gl -I./include -I./include -DPSKC_SCHEMA_CATALOG=\"/usr/share/xml/pskc/catalog-pskc.xml\" -I/usr/include/libxml2 -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -fvisibility=hidden -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c build.c -o build.o >/dev/null 2>&1 make[4]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.9/libpskc' make[3]: *** [Makefile:1348: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.9/libpskc' make[2]: *** [Makefile:1175: all] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.9/libpskc' make[1]: *** [Makefile:411: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.9' make: *** [Makefile:367: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.SeI3MD (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SeI3MD (%build) 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/oath-toolkit.spec