ror: 'xmlNode' does not name a type 51 | static xmlNode * GetFirstChild(xmlNode *node, std::string &child_name, std::string &child_value, | ^~~~~~~ BESXMLUtils.h:53:12: error: 'xmlNode' does not name a type 53 | static xmlNode * GetNextChild(xmlNode *child_node, std::string &next_name, std::string &next_value, | ^~~~~~~ BESXMLUtils.h:55:12: error: 'xmlNode' does not name a type 55 | static xmlNode * GetChild(xmlNode *node, const std::string &child_name, std::string &child_value, | ^~~~~~~ BESXMLInterface.cc: In member function 'virtual void BESXMLInterface::build_data_request_plan()': BESXMLInterface.cc:88:5: error: 'xmlDoc' was not declared in this scope 88 | xmlDoc *doc = nullptr; | ^~~~~~ BESXMLInterface.cc:88:13: error: 'doc' was not declared in this scope 88 | xmlDoc *doc = nullptr; | ^~~ BESXMLInterface.cc:89:5: error: 'xmlNode' was not declared in this scope 89 | xmlNode *root_element = nullptr; | ^~~~~~~ BESXMLInterface.cc:89:14: error: 'root_element' was not declared in this scope 89 | xmlNode *root_element = nullptr; | ^~~~~~~~~~~~ BESXMLInterface.cc:90:14: error: 'current_node' was not declared in this scope 90 | xmlNode *current_node = nullptr; | ^~~~~~~~~~~~ BESXMLInterface.cc:95:9: error: 'xmlSetGenericErrorFunc' was not declared in this scope 95 | xmlSetGenericErrorFunc((void *) &parseerrors, BESXMLUtils::XMLErrorFunc); | ^~~~~~~~~~~~~~~~~~~~~~ BESXMLInterface.cc:99:53: error: 'XML_PARSE_NONET' was not declared in this scope 99 | nullptr /* encoding */, XML_PARSE_NONET /* xmlParserOption */); | ^~~~~~~~~~~~~~~ BESXMLInterface.cc:98:15: error: 'xmlReadMemory' was not declared in this scope 98 | doc = xmlReadMemory(d_xml_document.c_str(), (int)d_xml_document.size(), "" /* base URL */, | ^~~~~~~~~~~~~ BESXMLInterface.cc:117:24: error: 'xmlDocGetRootElement' was not declared in this scope 117 | root_element = xmlDocGetRootElement(doc); | ^~~~~~~~~~~~~~~~~~~~ BESXMLInterface.cc:147:39: error: 'XML_ELEMENT_NODE' was not declared in this scope 147 | if (current_node->type == XML_ELEMENT_NODE) { | ^~~~~~~~~~~~~~~~ BESXMLInterface.cc:228:9: error: 'xmlFreeDoc' was not declared in this scope 228 | xmlFreeDoc(doc); | ^~~~~~~~~~ BESXMLInterface.cc:229:9: error: 'xmlCleanupParser' was not declared in this scope 229 | xmlCleanupParser(); | ^~~~~~~~~~~~~~~~ BESXMLInterface.cc:233:5: error: 'xmlFreeDoc' was not declared in this scope 233 | xmlFreeDoc(doc); | ^~~~~~~~~~ BESXMLInterface.cc:245:5: error: 'xmlCleanupParser' was not declared in this scope 245 | xmlCleanupParser(); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:806: BESXMLInterface.lo] Error 1 RPM build warnings: RPM build errors: make[2]: *** [Makefile:842: all-recursive] Error 1 make[1]: *** [Makefile:795: all-recursive] Error 1 make: *** [Makefile:571: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.vwUPK6 (%build) %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.vwUPK6 (%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/bes.spec