pdal-2.6.0 fails to compile with libxml2-2.12.4. It fails with this error [195/578] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DUNIX -Dpdalcpp_EXPORTS -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/gtest/include -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/gtest -I/var /tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src_build/include -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/P DAL-2.6.0-src/vendor/eigen -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/nlohmann -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/utfcpp/source -I/usr/include/libxml2 -I/usr/include/gdal -march=skyl ake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=8192 -O2 -pipe -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/XMLSchema.cpp.o -MF CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o.d -o CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o -c /var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/pdal/XMLSchema.cpp FAILED: CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DUNIX -Dpdalcpp_EXPORTS -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/gtest/include -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/gtest -I/var/tmp/porta ge/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src_build/include -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0- src/vendor/eigen -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/nlohmann -I/var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/vendor/utfcpp/source -I/usr/include/libxml2 -I/usr/include/gdal -march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=8192 -O2 -pipe -std=c++17 -fPIC -Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-dangling-else -Wno-noexcept-type -Wall -Wextra -Wpointer-arith -Wcast-al ign -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/XMLSchema.cpp.o -MF CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o.d -o CMakeFiles/pdalcpp.dir/pdal/XMLSchema.cpp.o -c /var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/pdal/XMLSchema.cpp /var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/pdal/XMLSchema.cpp: In member function ‘bool pdal::XMLSchema::validate(xmlDocPtr, const std::string&)’: /var/tmp/portage/sci-libs/pdal-2.6.0/work/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 /var/tmp/portage/sci-libs/pdal-2.6.0/work/PDAL-2.6.0-src/pdal/XMLSchema.hpp:50, from /var/tmp/portage/sci-libs/pdal-2.6.0/work/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, Reproducible: Always Output of emerge --info: Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r9, 6.6.15-rc1 x86_64) ================================================================= System uname: Linux-6.6.15-rc1-x86_64-Intel-R-_Core-TM-_i7-8565UC_CPU_@_1.80GHz-with-glibc2.38 KiB Mem: 24513576 total, 4438132 free KiB Swap: 5209084 total, 5209084 free Timestamp of repository gentoo: Tue, 30 Jan 2024 08:33:10 +0000 Head commit of repository gentoo: 672548f1783303947ec7a33b45e4fbba6398cf06 Timestamp of repository guru: Mon, 29 Jan 2024 18:33:11 +0000 Head commit of repository guru: fd60ba5195ea977141e06b598871f3cae263cd1a Head commit of repository jgenco: e03191e8e86f57a43c0844409fd8ec4368a30c6b Timestamp of repository kde: Mon, 29 Jan 2024 21:18:14 +0000 Head commit of repository kde: 9e49e40666e24c5e36a915217cbf87fd61a258b1 Head commit of repository scaleway: 5baaa2e4b4860a2ae9dee9a043aee72f0e18a74e sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.41 p4) 2.41.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.8.3 [enabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.13-r7::gentoo, 2.71-r6::gentoo dev-build/automake: 1.16.5-r1::gentoo dev-build/cmake: 3.27.9::gentoo dev-build/libtool: 2.4.7-r1::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.0-r2::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r1::gentoo dev-lang/python: 3.11.7::gentoo, 3.12.1_p1::gentoo dev-lang/rust: 1.74.1::gentoo dev-util/ccache: 4.8.3::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 254.7-r1::gentoo sys-devel/binutils: 2.41-r3::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo, 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240113-r1::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 16.0.6::gentoo, 17.0.6::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r9::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 volatile: False sync-git-verify-commit-signature: yes guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False jgenco location: /var/db/repos/jgenco sync-type: git sync-uri: https://github.com/jgenco/jgenco-overlay.git masters: gentoo volatile: False kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo volatile: False localrepo location: /usr/local/portage masters: gentoo volatile: True scaleway location: /var/db/repos/scaleway sync-type: git sync-uri: ssh://20e1dd3d-5389-492c-8b72-73c373aa1db8.fr-par-2.baremetal.scw.cloud:8022/usr/local/portage masters: gentoo volatile: False Binary Repositories: scaleway priority: 9999 sync-uri: https://francois:Jifiacvoyd5!@francoisval.privatedns.org/gentoo-packages ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=8192 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /usr/share/pgadmin4/web" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=8192 -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--autounmask y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=8192 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=8192 -O2 -pipe" GENTOO_MIRRORS="https://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/" LANG="fr_BE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j9 -l7" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/zsh" USE="X a52 aac acl acpi activities alsa amd64 apparmor bluetooth bluray branding bzip2 cairo cdda cddb cdr cli crypt cups dbus declarative dri dts dvd dvdr encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 java jpeg kde kerberos kpathsea kwallet lcms libcanberra libnotify libtirpc lzma mad mmx mng mp3 mp4 mpeg mtp multilib musicbrainz ncurses networkmanager nls nsplugin ogg opengl openmp pam pango pcre pdf pipewire pkcs11 plasma png policykit ppds pulseaudio qml qt5 readline samba scanner screencast sdl seccomp semantic-desktop sound spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg systemd test-rust tiff tpm truetype udev udisks unicode upnp upower usb v4l2 vhosts vim-syntax vorbis vulkan wayland webengine widgets wxwidgets xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeon i915 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 883711 [details] full build log
I tried pdal-2.6.2 and it compiles fines with libxml-2.12.4. However, I have not tested if it also builds with the current stable version of libxml2 (2.11.5-r1) .
Hi François, Thanks for the hint. I bumped to sci-libs/pdal v2.6.2 in my local overlay and the package built fine. Best Regards, -Chicago
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a31461faa66e7ffbb192535b3ceaa31cdbf05a73 commit a31461faa66e7ffbb192535b3ceaa31cdbf05a73 Author: Thomas Bettler <thomas.bettler@gmail.com> AuthorDate: 2024-01-30 18:40:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-30 19:27:47 +0000 sci-libs/pdal: bump 2.6.2 Closes: https://bugs.gentoo.org/923328 Signed-off-by: Thomas Bettler <thomas.bettler@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35100 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/pdal/Manifest | 1 + sci-libs/pdal/pdal-2.6.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+)