-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 -o raptor_sax2.lo raptor_sax2.c raptor_libxml.c: In function 'raptor_libxml_getEntity': raptor_libxml.c:247:12: error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked' 247 | if(!ret->checked) | ^~ raptor_libxml.c:248:10: error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked' 248 | ret->checked = 1; | ^~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -DRAPTOR_V2_EXPERIMENTAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -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 raptor_rdfxml.c -fPIC -DPIC -o .libs/raptor_rdfxml.o make[2]: *** [Makefile:1022: raptor_libxml.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -DRAPTOR_V2_EXPERIMENTAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -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 raptor_sax2.c -fPIC -DPIC -o .libs/raptor_sax2.o raptor_sax2.c: In function 'raptor_sax2_parse_start': raptor_sax2.c:489:29: warning: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types] 489 | raptor_libxml_xmlStructuredErrorFunc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:15, from /usr/include/libxml2/libxml/parser.h:17, from raptor_internal.h:198, from raptor_sax2.c:48: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/raptor-1.4.21/src' make[1]: *** [Makefile:788: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/raptor-1.4.21/src' make: *** [Makefile:524: all-recursive] Error 1 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.nNd34k (%build) %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.nNd34k (%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/raptor.spec