TDERR: /usr/include/openssl/rand.h:47:1: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c -o res_debug.lo res_debug.c libtool: compile: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o BUILDSTDERR: res_debug.c:367:6: error: 'NS_ALG_MD5RSA' undeclared here (not in a function); did you mean 'NS_ALG_DSA'? BUILDSTDERR: {NS_ALG_MD5RSA, "RSA", "RSA KEY with MD5 hash"}, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: NS_ALG_DSA BUILDSTDERR: res_debug.c:370:6: error: 'NS_ALG_EXPIRE_ONLY' undeclared here (not in a function) BUILDSTDERR: {NS_ALG_EXPIRE_ONLY, "EXPIREONLY", "No algorithm"}, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: res_debug.c:371:6: error: 'NS_ALG_PRIVATE_OID' undeclared here (not in a function); did you mean 'NS_UPDATE_OP'? BUILDSTDERR: {NS_ALG_PRIVATE_OID, "PRIVATE", "Algorithm obtained from OID"}, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: NS_UPDATE_OP BUILDSTDERR: res_debug.c:438:6: error: 'ns_t_zxfr' undeclared here (not in a function); did you mean 'ns_t_axfr'? BUILDSTDERR: {ns_t_zxfr, "ZXFR", "compressed zone transfer"}, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ns_t_axfr BUILDSTDERR: res_debug.c:438:6: warning: initialization of 'int' from 'const struct res_sym *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: res_debug.c:438:6: note: (near initialization for '__p_type_sres_syms[47].number') BUILDSTDERR: res_debug.c:438:6: error: initializer element is not constant BUILDSTDERR: res_debug.c:438:6: note: (near initialization for '__p_type_sres_syms[47].number') BUILDSTDERR: make[2]: *** [Makefile:157: res_debug.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/dnssec-tools-2.2/validator/libsres' make[1]: Leaving directory '/builddir/build/BUILD/dnssec-tools-2.2/validator' BUILDSTDERR: make[1]: *** [Makefile:135: subdirmake] Error 1 BUILDSTDERR: make: *** [Makefile:67: subdirmake] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.QCL9Ea (%build) BUILDSTDERR: Macro expanded in comment on line 131: %{_datadir} because patch6 above uses this exact path BUILDSTDERR: Macro expanded in comment on line 158: %{_datadir}/dnssec-tools/validator-testcases BUILDSTDERR: Macro expanded in comment on line 304: %{_sysconfdir}/dnssec-tools/dnsval.conf BUILDSTDERR: Macro expanded in comment on line 305: %{_sysconfdir}/dnssec-tools/root.hints BUILDSTDERR: Macro expanded in comment on line 342: %{_mandir}/man3/val_addrinfo.3.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.QCL9Ea (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/dnssec-tools.spec