r’ has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:23: error: ‘xmlNodePtr’ has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:196:42: error: ‘xmlNodePtr’ has not been declared 196 | ReturnCode setVar(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:22: error: ‘xmlNodePtr’ has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:197:41: error: ‘xmlNodePtr’ has not been declared 197 | ReturnCode setId(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:22: error: ‘xmlNodePtr’ has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:198:41: error: ‘xmlNodePtr’ has not been declared 198 | ReturnCode ztats(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:203:28: error: ‘xmlNodePtr’ has not been declared 203 | void mathParseChildren(xmlNodePtr math, string *result); | ^~~~~~~~~~ script.h:220:5: error: ‘xmlDocPtr’ does not name a type 220 | xmlDocPtr vendorScriptDoc; | ^~~~~~~~~ script.h:221:5: error: ‘xmlNodePtr’ does not name a type 221 | xmlNodePtr scriptNode; | ^~~~~~~~~~ script.h:225:5: error: ‘xmlNodePtr’ does not name a type 225 | xmlNodePtr currentScript; /**< The currently running script */ | ^~~~~~~~~~ script.h:226:5: error: ‘xmlNodePtr’ does not name a type 226 | xmlNodePtr currentItem; /**< The current position in the script */ | ^~~~~~~~~~ script.h:227:15: error: ‘xmlNodePtr’ was not declared in this scope 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^~~~~~~~~~ script.h:227:25: error: template argument 1 is invalid 227 | std::list translationContext; /**< A list of nodes that make up our translation context */ | ^ script.h:227:25: error: template argument 2 is invalid script.h:143:68: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~ In file included from game.h:13, from combat.h:14: observer.h:30:18: warning: ‘void Observer::update(O, NoArg*) [with O = Aura*]’ was hidden [-Woverloaded-virtual=] 30 | virtual void update(O observable, NoArg *arg) { update(observable); } | ^~~~~~ In file included from camp.cpp:29: stats.h:60:18: note: by ‘StatsArea::update’ 60 | virtual void update(Menu *menu, MenuEvent &event) {update(); /* do a full update */} | ^~~~~~ make: *** [: camp.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.eVvvRc (%build) Bad exit status from /var/tmp/rpm-tmp.eVvvRc (%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/xu4.spec