Files/pdalcpp.dir/pdal/XMLSchema.cpp.o -MF CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o.d -o CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o -c /builddir/build/BUILD/PDAL-2.6.0-src/pdal/XMLSchema.cpp /builddir/build/BUILD/PDAL-2.6.0-src/pdal/XMLSchema.cpp: In member function ‘bool pdal::XMLSchema::validate(xmlDocPtr, const std::string&)’: /builddir/build/BUILD/PDAL-2.6.0-src/pdal/XMLSchema.cpp:257:9: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive] 257 | &SchemaParserStructuredErrorHandler, m_global_context); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)} In file included from /builddir/build/BUILD/PDAL-2.6.0-src/pdal/XMLSchema.hpp:50, from /builddir/build/BUILD/PDAL-2.6.0-src/pdal/XMLSchema.cpp:34: /usr/include/libxml2/libxml/xmlschemas.h:156:65: note: initializing argument 2 of ‘void xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr, xmlStructuredErrorFunc, void*)’ 156 | xmlStructuredErrorFunc serror, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 40%] Building CXX object CMakeFiles/pdalcpp.dir/pdal/compression/DeflateCompression.cpp.o /usr/bin/g++ -DUNIX -Dpdalcpp_EXPORTS -I/builddir/build/BUILD/PDAL-2.6.0-src/vendor/gtest/include -I/builddir/build/BUILD/PDAL-2.6.0-src/vendor/gtest -I/builddir/build/BUILD/PDAL-2.6.0-src -I/builddir/build/BUILD/PDAL-2.6.0-src/include -I/builddir/build/BUILD/PDAL-2.6.0-src/vendor -I/builddir/build/BUILD/PDAL-2.6.0-src/vendor/nlohmann -I/builddir/build/BUILD/PDAL-2.6.0-src/vendor/utfcpp/source -I/usr/include/libgeotiff -I/usr/include/eigen3 -I/usr/include/libxml2 -I/usr/include/gdal -O2 -flto=auto -ffat-lto-objects -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 -std=c++17 -fPIC -Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-dangling-else -Wno-noexcept-type -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wno-error=parentheses -Wno-error=cast-qual -Wredundant-decls -Wno-unused-parameter -Wno-unused-variable -Wno-long-long -Wno-unknown-pragmas -Wno-deprecated-declarations -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/pdalcpp.dir/pdal/compression/DeflateCompression.cpp.o -MF CMakeFiles/pdalcpp.dir/pdal/compression/DeflateCompression.cpp.o.d -o CMakeFiles/pdalcpp.dir/pdal/compression/DeflateCompression.cpp.o -c /builddir/build/BUILD/PDAL-2.6.0-src/pdal/compression/DeflateCompression.cpp gmake[2]: *** [CMakeFiles/pdalcpp.dir/build.make:2459: CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/PDAL-2.6.0-src' gmake[1]: *** [CMakeFiles/Makefile2:658: CMakeFiles/pdalcpp.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/PDAL-2.6.0-src' gmake: *** [Makefile:169: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.et8RMy (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.et8RMy (%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/PDAL.spec