Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918898 - sci-libs/vtk-9.2.6-r1 failed to rebuild after system upgrade
Summary: sci-libs/vtk-9.2.6-r1 failed to rebuild after system upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-11-30 11:52 UTC by Leonid Kopylov
Modified: 2024-01-10 12:41 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,274.29 KB, text/plain)
2023-11-30 11:52 UTC, Leonid Kopylov
Details
sci-libs/vtk-9.2.6-r1 build.log (xz compressed) (vtk-9.2.6-r1.log.xz,84.55 KB, application/x-xz)
2023-11-30 17:48 UTC, Alfred Wingate
Details
emerge --info (emerge--info.txt,22.12 KB, text/plain)
2023-11-30 17:48 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2023-11-30 11:52:36 UTC
# emerge -pqv '=sci-libs/vtk-9.2.6-r1::gentoo'
[ebuild   R   ] sci-libs/vtk-9.2.6-r1  USE="all-modules boost doc examples ffmpeg freetype gdal imaging java las logging mpi mysql odbc openmp openvdb pdal postgres python qt5 qt6 rendering sdl tbb threads tk views vtkm web -cuda (-debug) -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="-nvidia"

# emerge --info '=sci-libs/vtk-9.2.6-r1::gentoo'
Portage 3.0.55 (python 3.12.0-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.6.3-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.3-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-1260P-with-glibc2.38
KiB Mem:    65422964 total,  30069776 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 30 Nov 2023 11:00:01 +0000
Head commit of repository gentoo: 61a35184b24adb0b422a7e9c53840fe21fa84b27
Timestamp of repository EmilienMottet: Mon, 27 Nov 2023 11:17:06 +0000
Head commit of repository EmilienMottet: 488b2f8eb103d862e5917dbd7453a4d64a11640f

Timestamp of repository HomeAssistantRepository: Fri, 24 Nov 2023 19:01:54 +0000
Head commit of repository HomeAssistantRepository: c9bf0ad5b90915cc2a7ac82c6d885082f0080116

Head commit of repository brave-overlay: 5d3ae4a4653c2f7be660c67dea7c72f39decdb33

Timestamp of repository darkelf: Mon, 13 Nov 2023 22:45:37 +0000
Head commit of repository darkelf: 0bd04c60084ab7425ec0beade82258725f8e32cc

Timestamp of repository guru: Thu, 30 Nov 2023 10:46:51 +0000
Head commit of repository guru: 75dc77190799b5c473765254f5721e603852b879

Timestamp of repository inode64-overlay: Wed, 29 Nov 2023 12:16:49 +0000
Head commit of repository inode64-overlay: d9d25dfabceb72345b5824f3c2912970eb95a5bd

Timestamp of repository kde: Wed, 29 Nov 2023 20:33:55 +0000
Head commit of repository kde: aacc71fdeb6fa7d8a4ab1a22a59053722c9884ec

Timestamp of repository pentoo: Thu, 30 Nov 2023 05:31:41 +0000
Head commit of repository pentoo: 9630c38786aa7f65fa80f0a6f47453a3823dd1f6

sh bash 5.2_p21
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust:             1.73.0::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230825::gentoo, 13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gentoo.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

EmilienMottet
    location: /var/db/repos/EmilienMottet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git
    masters: gentoo
    volatile: False

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

darkelf
    location: /var/db/repos/darkelf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/darkelf.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-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

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/sonar/conf /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/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=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
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=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
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/bash"
USE="X a52 aac accessibility acl acpi alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cli colord crypt cryptsetup cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnutls go gpg gpm gstreamer gtk gtk-doc gui hscolour html http iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nptl nss odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils v4l vaapi vala vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zfs zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sci-libs/vtk-9.2.6-r1::gentoo was built with the following:
USE="all-modules boost doc examples ffmpeg freetype gdal imaging java las logging mpi mysql odbc openmp openvdb pdal postgres python qt5 qt6 rendering sdl tbb threads tk views vtkm web -cuda (-debug) -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="-nvidia"
FEATURES="assume-digests distlocks qa-unresolved-soname-deps sandbox unmerge-orphans ebuild-locks pkgdir-index-trusted pid-sandbox unmerge-logs strict network-sandbox buildpkg-live warn-on-large-env multilib-strict strict-keepdir news sfperms usersync binpkg-multi-instance userfetch userpriv preserve-libs unknown-features-warn fixlafiles binpkg-logs protect-owned xattr ccache binpkg-docompress binpkg-dostrip merge-sync config-protect-if-modified usersandbox parallel-fetch ipc-sandbox"
Comment 1 Leonid Kopylov 2023-11-30 11:52:45 UTC
Created attachment 875954 [details]
build.log.xz
Comment 2 Alfred Wingate 2023-11-30 12:06:25 UTC
Build.log has incorrect type set set (text/plain for xz compressed).

Here are the actual errors (with some truncation):

FAILED: IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o 
/usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DIOPDAL_EXPORTS -DVTK_IN_VTK -Dkiss_fft_scalar=double -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/IO/PDAL -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/IO/PDAL -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Core -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Core -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/ExecutionModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/ExecutionModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/DataModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/DataModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Math -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Math -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/ThirdParty/kissfft/vtkkissfft -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/ThirdParty/kissfft/vtkkissfft -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Transforms -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Transforms -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Filters/General -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Filters/General -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Misc -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Misc -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Filters/Core -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Filters/Core -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Utilities/KWIML -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Utilities/KWIML -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Utilities/KWSys -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Utilities/KWSys -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/ThirdParty/kissfft -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/ThirdParty/kissfft  -march=native -O2 -pipe -fomit-frame-pointer  -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -MD -MT IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -MF IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o.d -o IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -c /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/IO/PDAL/vtkPDALReader.cxx
In file included from /usr/include/pdal/DimUtil.hpp:40,
                 from /usr/include/pdal/Dimension.hpp:9,
                 from /usr/include/pdal/Stage.hpp:39,
                 from /usr/include/pdal/Reader.hpp:37,
                 from /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/IO/PDAL/vtkPDALReader.cxx:45:
/usr/include/pdal/util/Utils.hpp:975:31: error: ‘std::enable_if_t’ has not been declared
  975 |     template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr>
      |                               ^~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:975:42: error: expected ‘>’ before ‘<’ token
  975 |     template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr>
      |                                          ^
/usr/include/pdal/util/Utils.hpp:994:31: error: ‘std::enable_if_t’ has not been declared
  994 |     template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr>
      |                               ^~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:994:42: error: expected ‘>’ before ‘<’ token
  994 |     template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr>
      |                                          ^
/usr/include/pdal/util/Utils.hpp:995:22: error: redefinition of ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
  995 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ previously declared here
  976 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:1012:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, std::string&)’ does not match any template declaration
 1012 |     inline StatusWithReason fromString(const std::string& from, std::string& to)
      |                             ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
  976 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note:                 ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
  953 |     StatusWithReason fromString(const std::string& from, T* & to)
      |                      ^~~~~~~~~~
...
In file included from /usr/include/pdal/Dimension.hpp:10:
/usr/include/pdal/pdal_types.hpp: In member function ‘bool pdal::XForm::XFormComponent::set(const std::string&)’:
/usr/include/pdal/pdal_types.hpp:156:48: error: no matching function for call to ‘fromString(const std::string&, double&)’
  156 |                     failed = !Utils::fromString(sval, m_val);
      |                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
  953 |     StatusWithReason fromString(const std::string& from, T* & to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note:   template argument deduction/substitution failed:
/usr/include/pdal/pdal_types.hpp:156:48: note:   mismatched types ‘T*’ and ‘double’
  156 |                     failed = !Utils::fromString(sval, m_val);
      |                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
  976 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note:   template argument deduction/substitution failed:
/usr/include/pdal/pdal_types.hpp:156:48: note:   couldn’t deduce template parameter ‘<anonymous>’
  156 |                     failed = !Utils::fromString(sval, m_val);
      |                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/pdal/Metadata.hpp:39,
                 from /usr/include/pdal/Stage.hpp:42:
/usr/include/pdal/util/Bounds.hpp: At global scope:
/usr/include/pdal/util/Bounds.hpp:738:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::BOX2D&)’ does not match any template declaration
  738 |     inline StatusWithReason fromString(const std::string& s, BOX2D& bounds)
      |                             ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
  976 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note:                 ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
  953 |     StatusWithReason fromString(const std::string& from, T* & to)
      |                      ^~~~~~~~~~
...
/usr/include/pdal/Metadata.hpp: In function ‘T pdal::MetadataDetail::value(const std::string&, const std::string&) [with T = bool; std::string = std::__cxx11::basic_string<char>]’:
/usr/include/pdal/Metadata.hpp:398:27: error: no matching function for call to ‘fromString(const std::string&, bool&)’
  398 |     if (!Utils::fromString(value, b))
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
  953 |     StatusWithReason fromString(const std::string& from, T* & to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note:   template argument deduction/substitution failed:
/usr/include/pdal/Metadata.hpp:398:27: note:   mismatched types ‘T*’ and ‘bool’
  398 |     if (!Utils::fromString(value, b))
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
  976 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note:   template argument deduction/substitution failed:
/usr/include/pdal/Metadata.hpp:398:27: note:   couldn’t deduce template parameter ‘<anonymous>’
  398 |     if (!Utils::fromString(value, b))
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/include/pdal/Kernel.hpp:46,
                 from /usr/include/pdal/PluginHelper.hpp:43,
                 from /usr/include/pdal/Stage.hpp:45:
/usr/include/pdal/util/ProgramArgs.hpp: In instantiation of ‘void pdal::TArg<T>::setValue(const std::string&) [with T = std::__cxx11::basic_string<char>; std::string = std::__cxx11::basic_string<char>]’:
/usr/include/pdal/util/ProgramArgs.hpp:400:18:   required from here
/usr/include/pdal/util/ProgramArgs.hpp:414:40: error: no matching function for call to ‘fromString(const std::string&, std::__cxx11::basic_string<char>&)’
  414 |         auto status = Utils::fromString(s, m_var);
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’
  953 |     StatusWithReason fromString(const std::string& from, T* & to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:953:22: note:   template argument deduction/substitution failed:
/usr/include/pdal/util/ProgramArgs.hpp:414:40: note:   mismatched types ‘T*’ and ‘std::__cxx11::basic_string<char>’
  414 |         auto status = Utils::fromString(s, m_var);
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’
  976 |     StatusWithReason fromString(const std::string& from, T& to)
      |                      ^~~~~~~~~~
/usr/include/pdal/util/Utils.hpp:976:22: note:   template argument deduction/substitution failed:
/usr/include/pdal/util/ProgramArgs.hpp:414:40: note:   couldn’t deduce template parameter ‘<anonymous>’
  414 |         auto status = Utils::fromString(s, m_var);
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~
Comment 3 Alfred Wingate 2023-11-30 12:08:35 UTC
https://en.cppreference.com/w/cpp/types/enable_if I notice that the enable_if_t was in the standard library since c++14 but logs show that c++11 is used.
Comment 4 Paul Zander 2023-11-30 12:34:06 UTC
What version and USE flags of sci-libs/gdal are you using?
Comment 5 Leonid Kopylov 2023-11-30 12:35:20 UTC
(In reply to Paul Zander from comment #4)
> What version and USE flags of sci-libs/gdal are you using?

# emerge gdal -pvq
[ebuild   R   ] sci-libs/gdal-3.8.0  USE="armadillo curl fits geos gif gml hdf5 heif java jpeg jpeg2k lzma mysql netcdf odbc ogdi opencl pdf png postgres python spatialite sqlite webp xls zstd (-doc) -oracle -test" CPU_FLAGS_X86="avx avx2 sse sse2 sse4_1 ssse3" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 6 Paul Zander 2023-11-30 12:37:42 UTC
Correction: sci-libs/gdal.
Comment 7 Paul Zander 2023-11-30 12:38:06 UTC
Correction2: sci-libs/pdal...
Comment 8 Leonid Kopylov 2023-11-30 12:38:49 UTC
(In reply to Paul Zander from comment #7)
> Correction2: sci-libs/pdal...

# emerge sci-libs/pdal -pvq
[ebuild   R   ] sci-libs/pdal-2.6.0  USE="postgres -test"
Comment 9 Alfred Wingate 2023-11-30 17:48:04 UTC
Created attachment 876019 [details]
sci-libs/vtk-9.2.6-r1 build.log (xz compressed)

Reproduced on my end
Comment 10 Alfred Wingate 2023-11-30 17:48:25 UTC
Created attachment 876020 [details]
emerge --info
Comment 11 Larry the Git Cow gentoo-dev 2023-12-01 09:58:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11981b5d3dd54b42a1b0b1ea8503378526b67fa

commit f11981b5d3dd54b42a1b0b1ea8503378526b67fa
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-11-30 19:23:14 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-12-01 09:58:23 +0000

    sci-libs/vtk: require <sci-libs/pdal-2.6.0
    
    Broken, needs further work, limit for now.
    
    https://gitlab.kitware.com/vtk/vtk/-/issues/19158
    
    Bug: https://bugs.gentoo.org/918898
    
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34069
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/vtk/vtk-9.2.5.ebuild    | 2 +-
 sci-libs/vtk/vtk-9.2.6-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2024-01-10 12:41:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0167fc77186716079471d895b32b2283ca8b7fc4

commit 0167fc77186716079471d895b32b2283ca8b7fc4
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-07-06 14:26:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-10 12:41:01 +0000

    sci-libs/vtk: add 9.3.0
    
    Closes: https://bugs.gentoo.org/918898
    Closes: https://bugs.gentoo.org/909520
    Closes: https://bugs.gentoo.org/909380
    Closes: https://bugs.gentoo.org/908874
    Closes: https://bugs.gentoo.org/906264
    Closes: https://bugs.gentoo.org/906075
    Closes: https://bugs.gentoo.org/887505
    Closes: https://bugs.gentoo.org/840776
    Closes: https://bugs.gentoo.org/835659
    
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34432
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/Manifest                              |   6 +
 sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch       | 136 +++
 ...ix-Java-error-with-integer-enum-overloads.patch |  51 ++
 sci-libs/vtk/files/vtk-9.3.0-java.patch            |  11 +
 sci-libs/vtk/files/vtk-9.3.0-opencascade.patch     |  17 +
 sci-libs/vtk/files/vtk-9.3.0-pdal-2.6.0.patch      |  77 ++
 .../vtk-9.3.0-too-many-initializer-values.patch    |  20 +
 sci-libs/vtk/metadata.xml                          |   1 +
 sci-libs/vtk/vtk-9.3.0.ebuild                      | 909 +++++++++++++++++++++
 9 files changed, 1228 insertions(+)