re -Wno-unused-parameter -Werror=pointer-to-int-cast -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -I/usr/include/tss2 -I/usr/include/libxml2 -I./json -I/usr/include/libproxy -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/include/pskc -I/usr/include/PCSC -pthread -O2 -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 -o libopenconnect_la-pulse.lo `test -f 'pulse.c' || echo './'`pulse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Werror=pointer-to-int-cast -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings -I/usr/include/p11-kit-1 -I/usr/include/tss2 -I/usr/include/libxml2 -I./json -I/usr/include/libproxy -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/include/pskc -I/usr/include/PCSC -pthread -O2 -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 pulse.c -fPIC -DPIC -o .libs/libopenconnect_la-pulse.o gpst.c: In function 'gpst_xml_or_error': gpst.c:242:19: error: implicit declaration of function 'xmlReadMemory'; did you mean 'xmlInitMemory'? [-Werror=implicit-function-declaration] 242 | xml_doc = xmlReadMemory(response, strlen(response), NULL, NULL, | ^~~~~~~~~~~~~ | xmlInitMemory gpst.c:242:19: warning: nested extern declaration of 'xmlReadMemory' [-Wnested-externs] gpst.c:243:33: error: 'XML_PARSE_NOERROR' undeclared (first use in this function) 243 | XML_PARSE_NOERROR|XML_PARSE_RECOVER); | ^~~~~~~~~~~~~~~~~ gpst.c:243:33: note: each undeclared identifier is reported only once for each function it appears in gpst.c:243:51: error: 'XML_PARSE_RECOVER' undeclared (first use in this function) 243 | XML_PARSE_NOERROR|XML_PARSE_RECOVER); | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [Makefile:1463: libopenconnect_la-gpst.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/openconnect-9.12' make: *** [Makefile:922: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.GeidGk (%build) Bad exit status from /var/tmp/rpm-tmp.GeidGk (%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/openconnect.spec