~~~~~~~~~~~~~~~~ vcd_xml_build.c:66:3: error: ‘xmlIndentTreeOutput’ undeclared (first use in this function) 66 | xmlIndentTreeOutput = true; | ^~~~~~~~~~~~~~~~~~~ vcd_xml_build.c:66:3: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [Makefile:548: vcd_xml_build.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Entering directory '/builddir/build/BUILD/vcdimager-2.0.1/frontends/xml' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -I../../lib/ -I/usr/include/libxml2 -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 -Wall -Wbad-function-cast -Wcast-align -Wchar-subscripts -Wdeclaration-after-statement -Wendif-labels -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-sign-compare -Wpointer-arith -Wundef -Wunused -Wwrite-strings -c -o vcd_xml_dtd.o vcd_xml_dtd.c make[4]: Leaving directory '/builddir/build/BUILD/vcdimager-2.0.1/frontends/xml' make[4]: Entering directory '/builddir/build/BUILD/vcdimager-2.0.1/frontends/xml' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -I../../lib/ -I/usr/include/libxml2 -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 -Wall -Wbad-function-cast -Wcast-align -Wchar-subscripts -Wdeclaration-after-statement -Wendif-labels -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-sign-compare -Wpointer-arith -Wundef -Wunused -Wwrite-strings -c -o vcd_xml_common.o vcd_xml_common.c make[4]: Leaving directory '/builddir/build/BUILD/vcdimager-2.0.1/frontends/xml' make[4]: Entering directory '/builddir/build/BUILD/vcdimager-2.0.1/frontends/xml' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -I../../lib/ -I/usr/include/libxml2 -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 -Wall -Wbad-function-cast -Wcast-align -Wchar-subscripts -Wdeclaration-after-statement -Wendif-labels -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-sign-compare -Wpointer-arith -Wundef -Wunused -Wwrite-strings -c -o vcd_xml_master.o vcd_xml_master.c make[4]: Leaving directory '/builddir/build/BUILD/vcdimager-2.0.1/frontends/xml' make[3]: *** [Makefile:436: all] Error 2 make[2]: *** [Makefile:376: all-recursive] Error 1 make[1]: *** [Makefile:508: all-recursive] Error 1 make: *** [Makefile:413: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.pOiQP6 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pOiQP6 (%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/vcdimager.spec