dow] 82 | colorizer_stop(float value = 0, | ~~~~~~^~~~~~~~~ In file included from include/mapnik/feature.hpp:29, from src/grid/process_text_symbolizer.cpp:26: include/mapnik/value.hpp:113:7: note: shadowed declaration is here 113 | using value = value_adl_barrier::value; | ^~~~~ In file included from include/mapnik/renderer_common.hpp:27, from include/mapnik/grid/grid_renderer.hpp:37: include/mapnik/font_engine_freetype.hpp:132:35: warning: type attributes ignored after type is already defined [-Wattributes] 132 | extern template class MAPNIK_DECL singleton; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o src/libxml2_loader.os -c -std=c++14 -DU_USING_ICU_NAMESPACE=0 -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 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DPROJ_VERSION=90101 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_STL_TUPLE_H_ -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -Ideps -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/cairo -I/usr/include/pixman-1 src/libxml2_loader.cpp src/libxml2_loader.cpp: In member function ‘void mapnik::libxml2_loader::load(const std::string&, mapnik::xml_node&)’: src/libxml2_loader.cpp:82:51: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive] 82 | xmlError * error = xmlCtxtGetLastError(ctx_); | ~~~~~~~~~~~~~~~~~~~^~~~~~ | | | const xmlError* {aka const _xmlError*} src/libxml2_loader.cpp: In member function ‘void mapnik::libxml2_loader::load(xmlDocPtr, mapnik::xml_node&)’: src/libxml2_loader.cpp:121:51: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive] 121 | xmlError * error = xmlCtxtGetLastError( ctx_ ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | const xmlError* {aka const _xmlError*} scons: *** [src/libxml2_loader.os] Error 1 scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.DOGZa3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DOGZa3 (%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/mapnik.spec