Created attachment 875136 [details] sci-libs:gdal-3.8.0:20231118-121645.log Famous last words: > [30/1139] /usr/bin/x86_64-pc-linux-gnu-g++ -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_ICONV -DHAVE_LIBARCHIVE -DHAVE_LIBXML2 -DHAVE_LIBZ -DHAVE_LZMA -DHAVE_OPENSSL_CRYPTO -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/usr/share/gdal\" -DSYSCONFDIR=\"/etc\" -DZIP_SUPPORT -I../port -I.._build/portport -I/var/tmp/portage/sci-libs/gdal-3.8.0/work/gdal-3.8.0/frmts/zlib/contrib/infback9 -I/usr/include/json-c -I/usr/include/libxml2 -O2 -march=native -pipe -fvisibility=hidden -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o -c ../port/cpl_xml_validate.cpp > [31mFAILED: [0mport/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o > /usr/bin/x86_64-pc-linux-gnu-g++ -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_ICONV -DHAVE_LIBARCHIVE -DHAVE_LIBXML2 -DHAVE_LIBZ -DHAVE_LZMA -DHAVE_OPENSSL_CRYPTO -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/usr/share/gdal\" -DSYSCONFDIR=\"/etc\" -DZIP_SUPPORT -I../port -I.._build/portport -I/var/tmp/portage/sci-libs/gdal-3.8.0/work/gdal-3.8.0/frmts/zlib/contrib/infback9 -I/usr/include/json-c -I/usr/include/libxml2 -O2 -march=native -pipe -fvisibility=hidden -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o -c ../port/cpl_xml_validate.cpp > ../port/cpl_xml_validate.cpp: In function ‘void CPLLibXMLWarningErrorCallback(void*, const char*, ...)’: > ../port/cpl_xml_validate.cpp:917:48: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive] > 917 | xmlErrorPtr pErrorPtr = xmlGetLastError(); > | ~~~~~~~~~~~~~~~^~ > | | > | const xmlError* {aka const _xmlError*}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34ed053b36d0d8f3985ff95d1052bbe9effffed3 commit 34ed053b36d0d8f3985ff95d1052bbe9effffed3 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-11-21 20:22:07 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-11-21 22:19:57 +0000 sci-libs/gdal: Fix build with dev-libs/libxml2-2.12.0 Closes: https://bugs.gentoo.org/917564 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../gdal/files/gdal-3.8.0-libxml2-2.12-1.patch | 22 ++++++++++++++++++ .../gdal/files/gdal-3.8.0-libxml2-2.12-2.patch | 27 ++++++++++++++++++++++ sci-libs/gdal/gdal-3.8.0.ebuild | 1 + 3 files changed, 50 insertions(+)
*** Bug 923302 has been marked as a duplicate of this bug. ***