Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xu4.spec'], chrootPath='/var/lib/mock/f40-build-771543-125961/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xu4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/xu4-1.1-0.46.20150221svn3087.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xu4.spec'], chrootPath='/var/lib/mock/f40-build-771543-125961/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xu4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Lwueob + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf u4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xu4-20150221svn.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd u4 + rm -rf /builddir/build/BUILD/u4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/u4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xu4-1.0beta3-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xu4-1.1-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + '[' lib64 = lib64 ']' + sed -i 's|/usr/lib|/usr/lib64|g' src/u4file.cpp + cp /builddir/build/SOURCES/u4download.txt . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qf7XRC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS ~/build/BUILD/u4/src ~/build/BUILD/u4 + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd u4 + pushd src + make 'DEBUGCXXFLAGS=-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' bindir=/usr/bin datadir=/usr/share libdir=/usr/lib64 -j4 gcc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o lzw/hash.o lzw/hash.c gcc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o lzw/lzw.o lzw/lzw.c gcc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o unzip.o unzip.c g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o annotation.o annotation.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o armor.o armor.cpp unzip.c: In function ‘unzlocal_getShort’: unzip.c:170:7: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 170 | x = (uLong)i; | ~~^~~~~~~~~~ unzip.c:166:9: note: ‘i’ was declared here 166 | int i; | ^ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o aura.o aura.cpp unzip.c: In function ‘unzlocal_getLong’: unzip.c:190:7: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 190 | x = (uLong)i; | ~~^~~~~~~~~~ unzip.c:186:9: note: ‘i’ was declared here 186 | int i; | ^ In file included from armor.cpp:12: config.h:36:5: error: ‘xmlDocPtr’ does not name a type 36 | xmlDocPtr doc; | ^~~~~~~~~ config.h:45:29: error: expected ‘)’ before ‘xmlNode’ 45 | ConfigElement(xmlNodePtr xmlNode); | ~ ^~~~~~~~ | ) config.h:61:5: error: ‘xmlNodePtr’ does not name a type 61 | xmlNodePtr getNode() const { return node; } | ^~~~~~~~~~ config.h:64:5: error: ‘xmlNodePtr’ does not name a type 64 | xmlNodePtr node; | ^~~~~~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -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 -c -o camp.o camp.cpp make: *** [: armor.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from script.h:14, from context.h:14, from annotation.cpp:9: xml.h:11:1: error: ‘xmlDocPtr’ does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: ‘xmlNodePtr’ was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before ‘const’ 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: ‘xmlNodePtr’ was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before ‘const’ 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: ‘xmlNodePtr’ was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before ‘const’ 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: ‘xmlNodePtr’ was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before ‘const’ 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: ‘xmlNodePtr’ was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before ‘const’ 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before ‘const’ 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: ‘xmlNodePtr’ was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before ‘const’ 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before ‘const’ 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: ‘xmlNodePtr’ was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before ‘const’ 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before ‘const’ 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: ‘xmlNodePtr’ has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: ‘xmlNodePtr’ has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: ‘xmlNodePtr’ does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: ‘xmlNodePtr’ was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: ‘xmlNodePtr’ has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: ‘xmlNodePtr’ was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: ‘xmlNodePtr’ has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: ‘xmlNodePtr’ has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: ‘xmlNodePtr’ has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: ‘xmlNodePtr’ has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: ‘xmlNodePtr’ has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: ‘xmlNodePtr’ has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: ‘xmlNodePtr’ has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: ‘xmlNodePtr’ has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: ‘xmlNodePtr’ has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: ‘xmlNodePtr’ has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: ‘xmlNodePtr’ has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: ‘xmlNodePtr’ has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: ‘xmlNodePtr’ has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: ‘xmlNodePtr’ has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: ‘xmlNodePtr’ has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: ‘xmlNodePtr’ has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: ‘xmlNodePtr’ has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: ‘xmlNodePtr’ has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: ‘xmlNodePtr’ has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: ‘xmlNodePtr’ has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: ‘xmlNodePtr’ has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: ‘xmlNodePtr’ has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: ‘xmlNodePtr’ has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: ‘xmlNodePtr’ has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: ‘xmlNodePtr’ has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: ‘xmlNodePtr’ has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: ‘xmlNodePtr’ has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: ‘xmlNodePtr’ has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: ‘xmlNodePtr’ has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: ‘xmlNodePtr’ has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: ‘xmlNodePtr’ has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: ‘xmlNodePtr’ has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: ‘xmlNodePtr’ has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: ‘xmlNodePtr’ has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: ‘xmlNodePtr’ has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: ‘xmlNodePtr’ has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: ‘xmlNodePtr’ has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: ‘xmlNodePtr’ has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: ‘xmlNodePtr’ has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: ‘xmlNodePtr’ has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: ‘xmlNodePtr’ has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: ‘xmlNodePtr’ has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: ‘xmlNodePtr’ has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: ‘xmlNodePtr’ has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: ‘xmlNodePtr’ has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: ‘xmlNodePtr’ 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); | ^~~~ make: *** [: annotation.o] Error 1 In file included from script.h:14, from player.h:16, from combat.h:17, from camp.h:8, from camp.cpp:9: xml.h:11:1: error: ‘xmlDocPtr’ does not name a type 11 | xmlDocPtr xmlParse(const char *filename); | ^~~~~~~~~ xml.h:12:20: error: ‘xmlNodePtr’ was not declared in this scope 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:12:37: error: expected primary-expression before ‘const’ 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^~~~~ xml.h:12:53: error: expression list treated as compound expression in initializer [-fpermissive] 12 | bool xmlPropExists(xmlNodePtr node, const char *name); | ^ xml.h:13:32: error: ‘xmlNodePtr’ was not declared in this scope 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:13:49: error: expected primary-expression before ‘const’ 13 | std::string xmlGetPropAsString(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:22: error: ‘xmlNodePtr’ was not declared in this scope 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:14:39: error: expected primary-expression before ‘const’ 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^~~~~ xml.h:14:55: error: expression list treated as compound expression in initializer [-fpermissive] 14 | int xmlGetPropAsBool(xmlNodePtr node, const char *name); | ^ xml.h:15:21: error: ‘xmlNodePtr’ was not declared in this scope 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~~~~~~ xml.h:15:38: error: expected primary-expression before ‘const’ 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^~~~~ xml.h:15:54: error: expression list treated as compound expression in initializer [-fpermissive] 15 | int xmlGetPropAsInt(xmlNodePtr node, const char *name); | ^ xml.h:16:22: error: ‘xmlNodePtr’ was not declared in this scope 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~~~~~~ xml.h:16:39: error: expected primary-expression before ‘const’ 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:57: error: expected primary-expression before ‘const’ 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^~~~~ xml.h:16:81: error: expression list treated as compound expression in initializer [-fpermissive] 16 | int xmlGetPropAsEnum(xmlNodePtr node, const char *name, const char *enumValues[]); | ^ xml.h:17:16: error: ‘xmlNodePtr’ was not declared in this scope 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:17:33: error: expected primary-expression before ‘const’ 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:51: error: expected primary-expression before ‘const’ 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:17:64: error: expression list treated as compound expression in initializer [-fpermissive] 17 | int xmlPropCmp(xmlNodePtr node, const char *name, const char *s); | ^ xml.h:18:20: error: ‘xmlNodePtr’ was not declared in this scope 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~~~~~~ xml.h:18:37: error: expected primary-expression before ‘const’ 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:55: error: expected primary-expression before ‘const’ 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^~~~~ xml.h:18:68: error: expression list treated as compound expression in initializer [-fpermissive] 18 | int xmlPropCaseCmp(xmlNodePtr node, const char *name, const char *s); | ^ script.h:143:24: error: ‘xmlNodePtr’ has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:143:43: error: ‘xmlNodePtr’ has not been declared 143 | ReturnCode execute(xmlNodePtr script, xmlNodePtr currentItem = NULL, string *output = NULL); | ^~~~~~~~~~ script.h:164:5: error: ‘xmlNodePtr’ does not name a type 164 | xmlNodePtr find(xmlNodePtr node, const string &script, const string &choice = "", bool _default = false); | ^~~~~~~~~~ script.h:165:40: error: ‘xmlNodePtr’ was not declared in this scope 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:165:50: error: template argument 1 is invalid 165 | string getPropAsStr(std::list& nodes, const string &prop, bool recursive); | ^ script.h:165:50: error: template argument 2 is invalid script.h:166:30: error: ‘xmlNodePtr’ has not been declared 166 | string getPropAsStr(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:167:40: error: ‘xmlNodePtr’ was not declared in this scope 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^~~~~~~~~~ script.h:167:50: error: template argument 1 is invalid 167 | int getPropAsInt(std::list& nodes, const string &prop, bool recursive); | ^ script.h:167:50: error: template argument 2 is invalid script.h:168:30: error: ‘xmlNodePtr’ has not been declared 168 | int getPropAsInt(xmlNodePtr node, const string &prop, bool recursive = false); | ^~~~~~~~~~ script.h:169:28: error: ‘xmlNodePtr’ has not been declared 169 | string getContent(xmlNodePtr node); | ^~~~~~~~~~ script.h:174:28: error: ‘xmlNodePtr’ has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:174:47: error: ‘xmlNodePtr’ has not been declared 174 | ReturnCode pushContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:27: error: ‘xmlNodePtr’ has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:175:46: error: ‘xmlNodePtr’ has not been declared 175 | ReturnCode popContext(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:20: error: ‘xmlNodePtr’ has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:176:39: error: ‘xmlNodePtr’ has not been declared 176 | ReturnCode end(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:32: error: ‘xmlNodePtr’ has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:177:51: error: ‘xmlNodePtr’ has not been declared 177 | ReturnCode waitForKeypress(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:25: error: ‘xmlNodePtr’ has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:178:44: error: ‘xmlNodePtr’ has not been declared 178 | ReturnCode redirect(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:24: error: ‘xmlNodePtr’ has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:179:43: error: ‘xmlNodePtr’ has not been declared 179 | ReturnCode include(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:21: error: ‘xmlNodePtr’ has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:180:40: error: ‘xmlNodePtr’ has not been declared 180 | ReturnCode wait(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:24: error: ‘xmlNodePtr’ has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:181:43: error: ‘xmlNodePtr’ has not been declared 181 | ReturnCode forLoop(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:23: error: ‘xmlNodePtr’ has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:182:42: error: ‘xmlNodePtr’ has not been declared 182 | ReturnCode random(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:21: error: ‘xmlNodePtr’ has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:183:40: error: ‘xmlNodePtr’ has not been declared 183 | ReturnCode move(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:22: error: ‘xmlNodePtr’ has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:184:41: error: ‘xmlNodePtr’ has not been declared 184 | ReturnCode sleep(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:23: error: ‘xmlNodePtr’ has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:185:42: error: ‘xmlNodePtr’ has not been declared 185 | ReturnCode cursor(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:20: error: ‘xmlNodePtr’ has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:186:39: error: ‘xmlNodePtr’ has not been declared 186 | ReturnCode pay(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:20: error: ‘xmlNodePtr’ has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:187:39: error: ‘xmlNodePtr’ has not been declared 187 | ReturnCode _if(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:22: error: ‘xmlNodePtr’ has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:188:41: error: ‘xmlNodePtr’ has not been declared 188 | ReturnCode input(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:20: error: ‘xmlNodePtr’ has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:189:39: error: ‘xmlNodePtr’ has not been declared 189 | ReturnCode add(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:21: error: ‘xmlNodePtr’ has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:190:40: error: ‘xmlNodePtr’ has not been declared 190 | ReturnCode lose(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:21: error: ‘xmlNodePtr’ has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:191:40: error: ‘xmlNodePtr’ has not been declared 191 | ReturnCode heal(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:26: error: ‘xmlNodePtr’ has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:192:45: error: ‘xmlNodePtr’ has not been declared 192 | ReturnCode castSpell(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:23: error: ‘xmlNodePtr’ has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:193:42: error: ‘xmlNodePtr’ has not been declared 193 | ReturnCode damage(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:22: error: ‘xmlNodePtr’ has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:194:41: error: ‘xmlNodePtr’ has not been declared 194 | ReturnCode karma(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:22: error: ‘xmlNodePtr’ has not been declared 195 | ReturnCode music(xmlNodePtr script, xmlNodePtr current); | ^~~~~~~~~~ script.h:195:41: error: ‘xmlNodePtr’ 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 error: Bad exit status from /var/tmp/rpm-tmp.Qf7XRC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Qf7XRC (%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