ecurity-c-2.0.2/xsec' make[2]: Entering directory '/builddir/build/BUILD/xml-security-c-2.0.2/xsec' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wall -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 -g -D_DEBUG -c -o xkms/impl/libxml_security_c_la-XKMSMessageFactoryImpl.lo `test -f 'xkms/impl/XKMSMessageFactoryImpl.cpp' || echo './'`xkms/impl/XKMSMessageFactoryImpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wall -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 -g -D_DEBUG -c xkms/impl/XKMSMessageFactoryImpl.cpp -fPIC -DPIC -o xkms/impl/.libs/libxml_security_c_la-XKMSMessageFactoryImpl.o make[2]: Leaving directory '/builddir/build/BUILD/xml-security-c-2.0.2/xsec' make[2]: Entering directory '/builddir/build/BUILD/xml-security-c-2.0.2/xsec' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wall -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 -g -D_DEBUG -c -o enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoProvider.lo `test -f 'enc/OpenSSL/OpenSSLCryptoProvider.cpp' || echo './'`enc/OpenSSL/OpenSSLCryptoProvider.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wall -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 -g -D_DEBUG -c enc/OpenSSL/OpenSSLCryptoProvider.cpp -fPIC -DPIC -o enc/OpenSSL/.libs/libxml_security_c_la-OpenSSLCryptoProvider.o make[2]: Leaving directory '/builddir/build/BUILD/xml-security-c-2.0.2/xsec' enc/OpenSSL/OpenSSLCryptoProvider.cpp: In destructor 'virtual OpenSSLCryptoProvider::~OpenSSLCryptoProvider()': enc/OpenSSL/OpenSSLCryptoProvider.cpp:156:21: warning: 'void ERR_remove_state(long unsigned int)' is deprecated: Since OpenSSL 1.0.0 [-Wdeprecated-declarations] 156 | ERR_remove_state(0); | ~~~~~~~~~~~~~~~~^~~ In file included from enc/OpenSSL/OpenSSLCryptoProvider.cpp:58: /usr/include/openssl/err.h:476:30: note: declared here 476 | OSSL_DEPRECATEDIN_1_0_0 void ERR_remove_state(unsigned long pid); | ^~~~~~~~~~~~~~~~ make[1]: *** [Makefile:522: all-recursive] Error 1 make: *** [Makefile:423: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SIv41T (%build) Bad exit status from /var/tmp/rpm-tmp.SIv41T (%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/xml-security-c.spec