~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:798: ods-signerd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o adapter/adapi.o adapter/adapi.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' adapter/adapi.c: In function ‘adapi_process_rr’: adapter/adapi.c:329:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 329 | for (int i = 0; i < strlen(str); i++) { | ^ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o adapter/adapter.o adapter/adapter.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o adapter/addns.o adapter/addns.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' adapter/addns.c: In function ‘dnsin_update’: adapter/addns.c:570:17: warning: unused variable ‘new_addns’ [-Wunused-variable] 570 | dnsin_type* new_addns = NULL; | ^~~~~~~~~ make[1]: *** [Makefile:475: all-recursive] Error 1 make: *** [Makefile:526: all-recursive] Error 1 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ah7uez (%build) %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.ah7uez (%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/opendnssec.spec