-Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c -o txt.o txt.c -I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include gcc -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 -Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c -o dnskey.o dnskey.c -I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include dnskey.c: In function 'dnskey_build_pkey': dnskey.c:159:17: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 159 | rsa = RSA_new(); | ^~~ In file included from dnskey.c:15: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ dnskey.c:186:17: error: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 186 | RSA_set0_key(rsa, n, e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ dnskey.c:192:17: error: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 192 | if (!EVP_PKEY_set1_RSA(pkey, rsa)) | ^~ In file included from dnskey.c:14: /usr/include/openssl/evp.h:1344:5: note: declared here 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:142: dnskey.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -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 -Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c -o rrsig.o rrsig.c -I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include gcc -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 -Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c -o srv.o srv.c -I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include gcc -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 -Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c -o naptr.o naptr.c -I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include error: Bad exit status from /var/tmp/rpm-tmp.oJ5b0y (%build) Bad exit status from /var/tmp/rpm-tmp.oJ5b0y (%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/validns.spec