Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sci-libs/vtk fails with CMake PATH error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Slippery Jim
Apprentice
Apprentice


Joined: 08 Jan 2005
Posts: 281

PostPosted: Mon Sep 30, 2024 10:03 am    Post subject: sci-libs/vtk fails with CMake PATH error Reply with quote

vtk-9.2.5 fails the configure phase with an error about an empty PATH, when detecting hdf5 libraries.

The culprit seems to be in one of the patches (CMake/patches/99/FindHDF5.cmake, see the call stack in the log below), but I'm CMake-illiterate, so I can't figure this out. Any CMakers out there who can see what's going on here?

All the ebuild's dependencies were successfully installed in $ROOT before running the command.

Command line and the complete build log:
Code:

james@Two-Spear ~/software/gentoo-target $ PKGDIR=`pwd -P`/binpkgs emerge --keep-going --root=root --sysroot=root --config-root=root -vkb =sci-libs/vtk-9.2.5

...

 * Package:    sci-libs/vtk-9.2.5:0/9.2
 * Repository: gentoo
 * Maintainer: negril.nx+gentoo@gmail.com sci@gentoo.org,proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux rendering threads
 * FEATURES:   fakeroot network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking for at least 4096 MiB disk space at "/var/tmp/portage/sci-libs/vtk-9.2.5/temp" ...
 [ ok ]
>>> Unpacking source...
>>> Unpacking VTK-9.2.5.tar.gz to /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Unpacking VTKData-9.2.5.tar.gz to /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Unpacking VTKDataFiles-9.2.5.tar.gz to /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Source unpacked in /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Preparing source in /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build"
 * Applying vtk-9.2.2-vtkGeometryFilter-add-missing-mutex-header-file.patch ...
 [ ok ]
 * Applying vtk-9.2.2-VTKm-respect-user-CXXFLAGS.patch ...
 [ ok ]
 * Applying vtk-9.2.2-link-with-glut-library-for-freeglut.patch ...
 [ ok ]
 * Applying vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch ...
 [ ok ]
 * Applying vtk-9.2.5-Fix-compilation-error-with-CUDA-12.patch ...
 [ ok ]
 * Applying vtk-9.2.5-More-include-cstdint-to-compile-with-gcc13.patch ...
 [ ok ]
 * Hardcoded definition(s) removed in ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/CMakeLists.txt:
 *      set                     (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose
 * Hardcoded definition(s) removed in ThirdParty/libproj/vtklibproj/CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE Release)
 * Hardcoded definition(s) removed in ThirdParty/expat/vtkexpat/CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE NoConfig)  # so that accessing CMAKE_*_POSTFIX will
 * Hardcoded definition(s) removed in ThirdParty/eigen/vtkeigen/CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE "Release")
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build"
cmake -C /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INS
TALL_LICENSEDIR=share/vtk/licenses -DVTK_ANDROID_BUILD=OFF -DVTK_IOS_BUILD=OFF -DVTK_BUILD_ALL_MODULES=OFF -DVTK_BUILD_DOCUMENTATION=OFF -DVT
K_BUILD_EXAMPLES=OFF -DVTK_ENABLE_CATALYST=OFF -DVTK_ENABLE_KITS=OFF -DVTK_ENABLE_LOGGING=OFF -DVTK_ENABLE_REMOTE_MODULES=OFF -DVTK_FORBID_DO
WNLOADS=ON -DVTK_GROUP_ENABLE_Imaging=DEFAULT -DVTK_GROUP_ENABLE_Rendering=YES -DVTK_GROUP_ENABLE_StandAlone=YES -DVTK_GROUP_ENABLE_Views=DEF
AULT -DVTK_GROUP_ENABLE_Web=DEFAULT -DVTK_INSTALL_SDK=ON -DVTK_MODULE_ENABLE_VTK_IOCGNSReader=WANT -DVTK_MODULE_ENABLE_VTK_IOExportPDF=WANT -
DVTK_MODULE_ENABLE_VTK_IOLAS=DEFAULT -DVTK_MODULE_ENABLE_VTK_IONetCDF=WANT -DVTK_MODULE_ENABLE_VTK_IOOggTheora=WANT -DVTK_MODULE_ENABLE_VTK_I
OOpenVDB=DEFAULT -DVTK_MODULE_ENABLE_VTK_IOSQL=WANT -DVTK_MODULE_ENABLE_VTK_IOPDAL=DEFAULT -DVTK_MODULE_ENABLE_VTK_IOXML=WANT -DVTK_MODULE_EN
ABLE_VTK_IOXMLParser=WANT -DVTK_MODULE_ENABLE_VTK_RenderingFreeType=DEFAULT -DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=DEFAULT -DVTK
_MODULE_ENABLE_VTK_cgns=WANT -DVTK_MODULE_ENABLE_VTK_doubleconversion=WANT -DVTK_MODULE_ENABLE_VTK_eigen=WANT -DVTK_MODULE_ENABLE_VTK_expat=W
ANT -DVTK_MODULE_ENABLE_VTK_fmt=WANT -DVTK_MODULE_ENABLE_VTK_freetype=WANT -DVTK_MODULE_ENABLE_VTK_hdf5=WANT -DVTK_MODULE_ENABLE_VTK_jpeg=WAN
T -DVTK_MODULE_ENABLE_VTK_jsoncpp=WANT -DVTK_MODULE_ENABLE_VTK_libharu=WANT -DVTK_MODULE_ENABLE_VTK_libproj=WANT -DVTK_MODULE_ENABLE_VTK_libx
ml2=WANT -DVTK_MODULE_ENABLE_VTK_lz4=WANT -DVTK_MODULE_ENABLE_VTK_lzma=WANT -DVTK_MODULE_ENABLE_VTK_netcdf=WANT -DVTK_MODULE_ENABLE_VTK_nlohm
annjson=WANT -DVTK_MODULE_ENABLE_VTK_ogg=WANT -DVTK_MODULE_ENABLE_VTK_pegtl=WANT -DVTK_MODULE_ENABLE_VTK_png=WANT -DVTK_MODULE_ENABLE_VTK_pug
ixml=WANT -DVTK_MODULE_ENABLE_VTK_sqlite=WANT -DVTK_MODULE_ENABLE_VTK_theora=WANT -DVTK_MODULE_ENABLE_VTK_tiff=WANT -DVTK_MODULE_ENABLE_VTK_u
tf8=WANT -DVTK_MODULE_ENABLE_VTK_vtkm=DEFAULT -DVTK_MODULE_ENABLE_VTK_zlib=WANT -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF -DVTK_MODULE_USE_EXT
ERNAL_VTK_ioss=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF -DVTK_RELOCATABLE_INSTALL=ON -DVTK_SMP_ENABLE_OPENMP=OFF -DVTK_SMP_ENABLE_STDTHR
EAD=ON -DVTK_SMP_ENABLE_TBB=OFF -DVTK_UNIFIED_INSTALL_TREE=ON -DVTK_USE_CUDA=OFF -DVTK_USE_EXTERNAL=ON -DVTK_USE_MEMKIND=OFF -DVTK_USE_MPI=OF
F -DVTK_USE_TK=OFF -DVTK_USE_X=ON -DVTK_WHEEL_BUILD=OFF -DVTK_WRAP_JAVA=OFF -DVTK_WRAP_PYTHON=OFF -DVTK_ENABLE_WRAPPING=OFF -DVTK_GROUP_ENABL
E_MPI=NO -DVTK_GROUP_ENABLE_Qt=NO -DVTK_ENABLE_OSPRAY=OFF -DVTK_MODULE_ENABLE_VTK_IOExportGL2PS=WANT -DVTK_MODULE_ENABLE_VTK_RenderingAnnotat
ion=WANT -DVTK_MODULE_ENABLE_VTK_RenderingContext2D=WANT -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_Renderi
ngCore=WANT -DVTK_MODULE_ENABLE_VTK_RenderingExternal=WANT -DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_Renderi
ngHyperTreeGrid=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLOD=WANT -DVTK_MODULE_ENABLE_VTK_Rende
ringLabel=WANT -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib=WANT -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_Renderi
ngRayTracing=WANT -DVTK_MODULE_ENABLE_VTK_RenderingSceneGraph=WANT -DVTK_MODULE_ENABLE_VTK_RenderingUI=WANT -DVTK_MODULE_ENABLE_VTK_Rendering
Volume=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_gl2ps
=WANT -DVTK_MODULE_ENABLE_VTK_glew=WANT -DVTK_MODULE_ENABLE_VTK_opengl=WANT -DVTK_USE_SDL2=NO -DVTK_BUILD_TESTING=OFF -DVTK_SMP_IMPLEMENTATIO
N_TYPE=STDThread -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_too
lchain.cmake /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5
loading initial cache file /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.3.1
-- The CXX compiler identification is GNU 13.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not use git to determine source version, using version
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT - Success
CMake Deprecation Warning at Utilities/KWSys/vtksys/CMakeLists.txt:91 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Checking whether wstring is available
-- Checking whether wstring is available - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
-- Checking whether C compiler has clock_gettime
-- Checking whether C compiler has clock_gettime - yes
-- Checking whether CXX compiler has setenv
-- Checking whether CXX compiler has setenv - yes
-- Checking whether CXX compiler has unsetenv
-- Checking whether CXX compiler has unsetenv - yes
-- Checking whether CXX compiler has environ in stdlib.h
-- Checking whether CXX compiler has environ in stdlib.h - no
-- Checking whether CXX compiler has utimes
-- Checking whether CXX compiler has utimes - yes
-- Checking whether CXX compiler has utimensat
-- Checking whether CXX compiler has utimensat - yes
-- Checking whether CXX compiler struct stat has st_mtim member
-- Checking whether CXX compiler struct stat has st_mtim member - yes
-- Checking whether CXX compiler struct stat has st_mtimespec member
-- Checking whether CXX compiler struct stat has st_mtimespec member - no
-- Looking for include files sys/types.h, ifaddrs.h
-- Looking for include files sys/types.h, ifaddrs.h - found
-- Checking whether CXX compiler has rlimit64
-- Checking whether CXX compiler has rlimit64 - yes
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Checking whether backtrace works with this C++ compiler
-- Checking whether backtrace works with this C++ compiler - yes
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Checking whether dladdr works with this C++ compiler
-- Checking whether dladdr works with this C++ compiler - yes
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Checking whether cxxabi works with this C++ compiler
-- Checking whether cxxabi works with this C++ compiler - yes
-- Checking whether CXX compiler has getloadavg
-- Checking whether CXX compiler has getloadavg - yes
-- Checking whether <ext/stdio_filebuf.h> is available
-- Checking whether <ext/stdio_filebuf.h> is available - yes
-- Found utf8cpp: /mnt/software/gentoo-target/root/usr/include/utf8cpp 
-- Checking for builtin __atomic_add_fetch
-- Checking for builtin __atomic_add_fetch -- success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE 
-- Performing Test VTK_HAS_STD_ISNAN
-- Performing Test VTK_HAS_STD_ISNAN - Success
-- Performing Test VTK_HAS_STD_ISINF
-- Performing Test VTK_HAS_STD_ISINF - Success
-- Performing Test VTK_HAS_STD_ISFINITE
-- Performing Test VTK_HAS_STD_ISFINITE - Success
-- Looking for isnan
-- Looking for isnan - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for finite
-- Looking for finite - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for feenableexcept
-- Looking for feenableexcept - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for getsockname in socket
-- Looking for getsockname in socket - not found
-- Checking for getsockname with socklen_t
-- Checking for getsockname with socklen_t -- 1
-- Looking for SO_REUSEADDR
-- Looking for SO_REUSEADDR - found
-- Found Eigen3: /mnt/software/gentoo-target/root/usr/include/eigen3 (found version "3.4.0")
-- Found double-conversion: /mnt/software/gentoo-target/root/usr/lib64/libdouble-conversion.so 
-- Found LZ4: /mnt/software/gentoo-target/root/usr/lib64/liblz4.so (found version "1.9.4")
-- Found LZMA: /mnt/software/gentoo-target/root/usr/lib64/liblzma.so (found version "5.6.2")
-- Found ZLIB: /mnt/software/gentoo-target/root/usr/lib64/libz.so (found version "1.3.1") 
-- Found EXPAT: /mnt/software/gentoo-target/root/usr/lib64/libexpat.so (found version "2.5.0")
-- Found Freetype: /mnt/software/gentoo-target/root/usr/lib64/libfreetype.so (found version "2.13.2")
-- Found JPEG: /mnt/software/gentoo-target/root/usr/lib64/libjpeg.so (found version "62")
-- Found PNG: /mnt/software/gentoo-target/root/usr/lib64/libpng.so (found version "1.6.43")
-- Found TIFF: /mnt/software/gentoo-target/root/usr/lib64/libtiff.so (found version "4.6.0") 
-- Found OpenGL: /mnt/software/gentoo-target/root/usr/lib64/libOpenGL.so  found components: OpenGL GLX
-- Found X11: /mnt/software/gentoo-target/root/usr/include   
-- Looking for XOpenDisplay in /mnt/software/gentoo-target/root/usr/lib64/libX11.so;/mnt/software/gentoo-target/root/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /mnt/software/gentoo-target/root/usr/lib64/libX11.so;/mnt/software/gentoo-target/root/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found GLEW: /mnt/software/gentoo-target/root/usr/lib64/libGLEW.so 
-- Found JsonCpp: /mnt/software/gentoo-target/root/usr/lib64/libjsoncpp.so (found suitable version "1.9.5", minimum required is "0.7.0")
-- Found HDF5: /mnt/software/gentoo-target/root/usr/lib64/libhdf5.so;/mnt/software/gentoo-target/root/usr/lib64/libz.so;/mnt/software/gentoo-target/root/usr/lib64/libdl.a;/mnt/software/gentoo-target/root/usr/lib64/libm.so (found version "1.14.3") found components: C HL
CMake Error at CMake/vtkDetectLibraryType.cmake:34 (message):
  The `PATH` argument is empty.
Call Stack (most recent call first):
  CMake/patches/99/FindHDF5.cmake:1130 (vtk_detect_library_type)
  CMake/vtkModule.cmake:4572 (find_package)
  CMake/vtkModule.cmake:5172 (vtk_module_find_package)
  CMake/vtkModule.cmake:5043 (vtk_module_third_party_external)
  ThirdParty/hdf5/CMakeLists.txt:3 (vtk_module_third_party)


-- Configuring incomplete, errors occurred!
 * ERROR: sci-libs/vtk-9.2.5::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 5158:  Called cmake_src_configure
 *   environment, line 1703:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=sci-libs/vtk-9.2.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/vtk-9.2.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =sci-libs/vtk-9.2.5
 * The complete build log is located at '/var/tmp/log/sci-libs:vtk-9.2.5:20240930-064750.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/vtk-9.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/vtk-9.2.5/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build'
 * S: '/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5'


output of emerge --info:
Code:

james@Two-Spear ~/software/gentoo-target $ PKGDIR=`pwd -P`/binpkgs emerge --keep-going --root=root --sysroot=root --config-root=root --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.39-r6, 6.1.90-gentoo-minimal x86_64)
=================================================================
System uname: Linux-6.1.90-gentoo-minimal-x86_64-AMD_Ryzen_7_PRO_4750G_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    61641800 total,  13042696 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 29 Jul 2024 11:00:00 +0000
Head commit of repository gentoo: 41cff4b6997cb0cbd140096228c44561df8da895
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
dev-lang/python:          3.12.3-r1::gentoo
sys-devel/gcc:            13.3.1_p20240614::gentoo
sys-devel/gcc-config:     2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.39-r6::local
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: no

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j16 -l14.4"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync merge-wait 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 unprivileged userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -l14.4"
PKGDIR="/mnt/software/gentoo-target/binpkgs"
PORTAGE_CONFIGROOT="/mnt/software/gentoo-target/root/"
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="amd64 split-usr test-rust threads" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" KERNEL="linux"
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
Back to top
View user's profile Send private message
Slippery Jim
Apprentice
Apprentice


Joined: 08 Jan 2005
Posts: 281

PostPosted: Mon Sep 30, 2024 3:10 pm    Post subject: Reply with quote

Additional information:

The ebuild installs fine if the target root is / or if I drop the --sysroot option so I think either the paths passed in to the scripts are wrong, or else the script is mangling them somehow.

Here's the system info for / as the target:
Code:

james@Two-Spear ~/software/gentoo-target $ emerge --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.39-r6, 6.1.90-gentoo-minimal x86_64)
=================================================================
System uname: Linux-6.1.90-gentoo-minimal-x86_64-AMD_Ryzen_7_PRO_4750G_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    61641800 total,  15093576 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 29 Jul 2024 11:00:00 +0000
Head commit of repository gentoo: 41cff4b6997cb0cbd140096228c44561df8da895
Timestamp of repository brother-overlay: Mon, 08 Jul 2024 10:19:15 +0000
Head commit of repository brother-overlay: 181663c2a3e34a3fbac384c7173c3986ba5f7bb8

Timestamp of repository haskell: Tue, 23 Jul 2024 14:19:03 +0000
Head commit of repository haskell: 42830e066e6398873c984ac807dd3b9a18f78881

Timestamp of repository steam-overlay: Mon, 15 Jul 2024 07:34:33 +0000
Head commit of repository steam-overlay: 8cfcc3f068b712dce3d91d3020afb058f68aa036

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::local
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

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

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j16 -l14.4"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync merge-wait 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -l14.4"
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="amd64 cups pdf poppler postscript split-usr test-rust threads" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" KERNEL="linux" LLVM_SLOT="17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12"
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



And here's the configuration part of the successful build log:
Code:

Two-Spear /home/james/software/gentoo-target # emerge -v1 vtk

...

 * Package:    sci-libs/vtk-9.2.5:0/9.2
 * Repository: gentoo
 * Maintainer: negril.nx+gentoo@gmail.com sci@gentoo.org,proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux rendering threads
 * FEATURES:   fakeroot network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking for at least 4096 MiB disk space at "/var/tmp/portage/sci-libs/vtk-9.2.5/temp" ...
 [ ok ]
>>> Unpacking source...
>>> Unpacking VTK-9.2.5.tar.gz to /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Unpacking VTKData-9.2.5.tar.gz to /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Unpacking VTKDataFiles-9.2.5.tar.gz to /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Source unpacked in /var/tmp/portage/sci-libs/vtk-9.2.5/work
>>> Preparing source in /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build"
 * Applying vtk-9.2.2-vtkGeometryFilter-add-missing-mutex-header-file.patch ...
 [ ok ]
 * Applying vtk-9.2.2-VTKm-respect-user-CXXFLAGS.patch ...
 [ ok ]
 * Applying vtk-9.2.2-link-with-glut-library-for-freeglut.patch ...
 [ ok ]
 * Applying vtk-9.2.5-Add-include-cstdint-to-compile-with-gcc-13.patch ...
 [ ok ]
 * Applying vtk-9.2.5-Fix-compilation-error-with-CUDA-12.patch ...
 [ ok ]
 * Applying vtk-9.2.5-More-include-cstdint-to-compile-with-gcc13.patch ...
 [ ok ]
 * Hardcoded definition(s) removed in ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/CMakeLists.txt:
 *      set                     (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose
 * Hardcoded definition(s) removed in ThirdParty/libproj/vtklibproj/CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE Release)
 * Hardcoded definition(s) removed in ThirdParty/expat/vtkexpat/CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE NoConfig)  # so that accessing CMAKE_*_POSTFIX will
 * Hardcoded definition(s) removed in ThirdParty/eigen/vtkeigen/CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE "Release")
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build"
cmake -C /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LICENSEDIR=share/vtk/licenses -DVTK_ANDROID_BUILD=OFF -DVTK_IOS_BUILD=OFF -DVTK_BUILD_ALL_MODULES=OFF -DVTK_BUILD_DOCUMENTATION=OFF -DVTK_BUILD_EXAMPLES=OFF -DVTK_ENABLE_CATALYST=OFF -DVTK_ENABLE_KITS=OFF -DVTK_ENABLE_LOGGING=OFF -DVTK_ENABLE_REMOTE_MODULES=OFF -DVTK_FORBID_DOWNLOADS=ON -DVTK_GROUP_ENABLE_Imaging=DEFAULT -DVTK_GROUP_ENABLE_Rendering=YES -DVTK_GROUP_ENABLE_StandAlone=YES -DVTK_GROUP_ENABLE_Views=DEFAULT -DVTK_GROUP_ENABLE_Web=DEFAULT -DVTK_INSTALL_SDK=ON -DVTK_MODULE_ENABLE_VTK_IOCGNSReader=WANT -DVTK_MODULE_ENABLE_VTK_IOExportPDF=WANT -DVTK_MODULE_ENABLE_VTK_IOLAS=DEFAULT -DVTK_MODULE_ENABLE_VTK_IONetCDF=WANT -DVTK_MODULE_ENABLE_VTK_IOOggTheora=WANT -DVTK_MODULE_ENABLE_VTK_IOOpenVDB=DEFAULT -DVTK_MODULE_ENABLE_VTK_IOSQL=WANT -DVTK_MODULE_ENABLE_VTK_IOPDAL=DEFAULT -DVTK_MODULE_ENABLE_VTK_IOXML=WANT -DVTK_MODULE_ENABLE_VTK_IOXMLParser=WANT -DVTK_MODULE_ENABLE_VTK_RenderingFreeType=DEFAULT -DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=DEFAULT -DVTK_MODULE_ENABLE_VTK_cgns=WANT -DVTK_MODULE_ENABLE_VTK_doubleconversion=WANT -DVTK_MODULE_ENABLE_VTK_eigen=WANT -DVTK_MODULE_ENABLE_VTK_expat=WANT -DVTK_MODULE_ENABLE_VTK_fmt=WANT -DVTK_MODULE_ENABLE_VTK_freetype=WANT -DVTK_MODULE_ENABLE_VTK_hdf5=WANT -DVTK_MODULE_ENABLE_VTK_jpeg=WANT -DVTK_MODULE_ENABLE_VTK_jsoncpp=WANT -DVTK_MODULE_ENABLE_VTK_libharu=WANT -DVTK_MODULE_ENABLE_VTK_libproj=WANT -DVTK_MODULE_ENABLE_VTK_libxml2=WANT -DVTK_MODULE_ENABLE_VTK_lz4=WANT -DVTK_MODULE_ENABLE_VTK_lzma=WANT -DVTK_MODULE_ENABLE_VTK_netcdf=WANT -DVTK_MODULE_ENABLE_VTK_nlohmannjson=WANT -DVTK_MODULE_ENABLE_VTK_ogg=WANT -DVTK_MODULE_ENABLE_VTK_pegtl=WANT -DVTK_MODULE_ENABLE_VTK_png=WANT -DVTK_MODULE_ENABLE_VTK_pugixml=WANT -DVTK_MODULE_ENABLE_VTK_sqlite=WANT -DVTK_MODULE_ENABLE_VTK_theora=WANT -DVTK_MODULE_ENABLE_VTK_tiff=WANT -DVTK_MODULE_ENABLE_VTK_utf8=WANT -DVTK_MODULE_ENABLE_VTK_vtkm=DEFAULT -DVTK_MODULE_ENABLE_VTK_zlib=WANT -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF -DVTK_RELOCATABLE_INSTALL=ON -DVTK_SMP_ENABLE_OPENMP=OFF -DVTK_SMP_ENABLE_STDTHREAD=ON -DVTK_SMP_ENABLE_TBB=OFF -DVTK_UNIFIED_INSTALL_TREE=ON -DVTK_USE_CUDA=OFF -DVTK_USE_EXTERNAL=ON -DVTK_USE_MEMKIND=OFF -DVTK_USE_MPI=OFF -DVTK_USE_TK=OFF -DVTK_USE_X=ON -DVTK_WHEEL_BUILD=OFF -DVTK_WRAP_JAVA=OFF -DVTK_WRAP_PYTHON=OFF -DVTK_ENABLE_WRAPPING=OFF -DVTK_GROUP_ENABLE_MPI=NO -DVTK_GROUP_ENABLE_Qt=NO -DVTK_ENABLE_OSPRAY=OFF -DVTK_MODULE_ENABLE_VTK_IOExportGL2PS=WANT -DVTK_MODULE_ENABLE_VTK_RenderingAnnotation=WANT -DVTK_MODULE_ENABLE_VTK_RenderingContext2D=WANT -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingCore=WANT -DVTK_MODULE_ENABLE_VTK_RenderingExternal=WANT -DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingHyperTreeGrid=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLOD=WANT -DVTK_MODULE_ENABLE_VTK_RenderingLabel=WANT -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib=WANT -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_RenderingRayTracing=WANT -DVTK_MODULE_ENABLE_VTK_RenderingSceneGraph=WANT -DVTK_MODULE_ENABLE_VTK_RenderingUI=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolume=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=WANT -DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=WANT -DVTK_MODULE_ENABLE_VTK_gl2ps=WANT -DVTK_MODULE_ENABLE_VTK_glew=WANT -DVTK_MODULE_ENABLE_VTK_opengl=WANT -DVTK_USE_SDL2=NO -DVTK_BUILD_TESTING=OFF -DVTK_SMP_IMPLEMENTATION_TYPE=STDThread -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5
loading initial cache file /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.3.1
-- The CXX compiler identification is GNU 13.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not use git to determine source version, using version
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE
-- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT - Success
CMake Deprecation Warning at Utilities/KWSys/vtksys/CMakeLists.txt:91 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Checking whether wstring is available
-- Checking whether wstring is available - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
-- Checking whether C compiler has clock_gettime
-- Checking whether C compiler has clock_gettime - yes
-- Checking whether CXX compiler has setenv
-- Checking whether CXX compiler has setenv - yes
-- Checking whether CXX compiler has unsetenv
-- Checking whether CXX compiler has unsetenv - yes
-- Checking whether CXX compiler has environ in stdlib.h
-- Checking whether CXX compiler has environ in stdlib.h - no
-- Checking whether CXX compiler has utimes
-- Checking whether CXX compiler has utimes - yes
-- Checking whether CXX compiler has utimensat
-- Checking whether CXX compiler has utimensat - yes
-- Checking whether CXX compiler struct stat has st_mtim member
-- Checking whether CXX compiler struct stat has st_mtim member - yes
-- Checking whether CXX compiler struct stat has st_mtimespec member
-- Checking whether CXX compiler struct stat has st_mtimespec member - no
-- Looking for include files sys/types.h, ifaddrs.h
-- Looking for include files sys/types.h, ifaddrs.h - found
-- Checking whether CXX compiler has rlimit64
-- Checking whether CXX compiler has rlimit64 - yes
-- Looking for C++ include execinfo.h
-- Looking for C++ include execinfo.h - found
-- Checking whether backtrace works with this C++ compiler
-- Checking whether backtrace works with this C++ compiler - yes
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Checking whether dladdr works with this C++ compiler
-- Checking whether dladdr works with this C++ compiler - yes
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Checking whether cxxabi works with this C++ compiler
-- Checking whether cxxabi works with this C++ compiler - yes
-- Checking whether CXX compiler has getloadavg
-- Checking whether CXX compiler has getloadavg - yes
-- Checking whether <ext/stdio_filebuf.h> is available
-- Checking whether <ext/stdio_filebuf.h> is available - yes
-- Found utf8cpp: /usr/include/utf8cpp 
-- Checking for builtin __atomic_add_fetch
-- Checking for builtin __atomic_add_fetch -- success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE 
-- Performing Test VTK_HAS_STD_ISNAN
-- Performing Test VTK_HAS_STD_ISNAN - Success
-- Performing Test VTK_HAS_STD_ISINF
-- Performing Test VTK_HAS_STD_ISINF - Success
-- Performing Test VTK_HAS_STD_ISFINITE
-- Performing Test VTK_HAS_STD_ISFINITE - Success
-- Looking for isnan
-- Looking for isnan - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for finite
-- Looking for finite - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for feenableexcept
-- Looking for feenableexcept - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for getsockname in socket
-- Looking for getsockname in socket - not found
-- Checking for getsockname with socklen_t
-- Checking for getsockname with socklen_t -- 1
-- Looking for SO_REUSEADDR
-- Looking for SO_REUSEADDR - found
-- Found Eigen3: /usr/include/eigen3 (found version "3.4.0")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so 
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.9.4")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.6.2")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") 
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.5.0")
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.13.2")
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.43")
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.6.0") 
-- Found OpenGL: /usr/lib64/libOpenGL.so  found components: OpenGL GLX
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found GLEW: /usr/lib64/libGLEW.so 
-- Found JsonCpp: /usr/lib64/libjsoncpp.so (found suitable version "1.9.5", minimum required is "0.7.0")
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.a;/usr/lib64/libm.so (found version "1.14.3") found components: C HL
-- Found OGG: /usr/lib64/libogg.so 
-- Found THEORA: /usr/lib64/libtheora.so 
-- Found NetCDF: /usr/include (found version "4.9.2")
-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.2")
-- Found SQLite3: /usr/include (found version "3.46.0")
-- Found LibPROJ: /usr/lib64/libproj.so (found version "9.2.1")
-- Found PEGTL: /usr/include/tao (found suitable version "2.8.3", minimum required is "2.0.0")
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.7")
-- Found CGNS: /usr/include (found suitable version "4.30", minimum required is "4.10")
-- Found LibHaru: /usr/lib64/libhpdf.so (found suitable version "2.4.2", minimum required is "2.4.0")
-- Found GL2PS: /usr/lib64/libgl2ps.so (found suitable version "1.4.2", minimum required is "1.4.2")
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -O2 -pipe -march=native
C++             -O2 -pipe -march=native
Linker flags:
Executable       -Wl,-lc  -Wl,-lc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module           -Wl,-lc  -Wl,-lc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared           -Wl,-lc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs

-- Configuring done (9.1s)
-- Generating done (0.5s)
-- Build files have been written to: /var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5_build
>>> Source configured.

...

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum