CMake Error at CMake/vtkModuleMacros.cmake:891 (find_package): By not providing "FindKISSFFT.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "KISSFFT", but CMake did not find one. Could not find a package configuration file provided by "KISSFFT" with any of the following names: KISSFFTConfig.cmake kissfft-config.cmake Add the installation prefix of "KISSFFT" to CMAKE_PREFIX_PATH or set "KISSFFT_DIR" to a directory containing one of the above files. If "KISSFFT" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): ThirdParty/kissfft/CMakeLists.txt:1 (vtk_module_third_party) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/CMakeFiles/CMakeError.log". * ERROR: sci-libs/vtk-8.2.0::gentoo failed (configure phase): * cmake failed
See also https://github.com/gentoo/guru/issues/23
Confirmed while trying to add ~arm64 to kicad-meta. It wants sci-libs/vtk too.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395eb9c6329ad0d2790d190b0441928563b116ad commit 395eb9c6329ad0d2790d190b0441928563b116ad Author: Aisha Tammy <floss@bsd.ac> AuthorDate: 2021-04-23 16:46:36 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-04-23 16:46:36 +0000 sci-libs/kissfft: new fft library * new dependency of vtk Closes: https://github.com/gentoo/gentoo/pull/20513 Closes: https://bugs.gentoo.org/754690 Bug: https://bugs.gentoo.org/754684 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Signed-off-by: David Seifert <soap@gentoo.org> sci-libs/kissfft/Manifest | 1 + sci-libs/kissfft/kissfft-131.1.0.ebuild | 54 +++++++++++++++++++++++++++++++++ sci-libs/kissfft/kissfft-9999.ebuild | 54 +++++++++++++++++++++++++++++++++ sci-libs/kissfft/metadata.xml | 16 ++++++++++ 4 files changed, 125 insertions(+)
Hi, I also face errors with vtk, but in the CMakeOutput.log is no error. I get this: Is this related to this bug? >>> Emerging (1 of 1) sci-libs/vtk-8.2.0::gentoo * VTK-8.2.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * Using: openjdk-8 * Using python3.8 to build >>> Unpacking source... >>> Unpacking VTK-8.2.0.tar.gz to /var/tmp/portage/sci-libs/vtk-8.2.0/work >>> Source unpacked in /var/tmp/portage/sci-libs/vtk-8.2.0/work >>> Preparing source in /var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0 ... * Applying vtk-8.1.0-openmpi-4-compatibility.patch ... [ ok ] * Applying vtk-8.2.0-qt-5.15.patch ... patching file Rendering/Qt/vtkQtLabelRenderStrategy.cxx patching file Rendering/Qt/vtkQtStringToImage.cxx Hunk #1 succeeded at 31 with fuzz 2 (offset 1 line). [ ok ] * Applying vtk-8.2.0-gcc-10.patch ... patching file CMake/VTKGenerateExportHeader.cmake patch unexpectedly ends in middle of line Hunk #1 succeeded at 174 with fuzz 1. [ ok ] * Applying vtk-8.2.0-fno-common.patch ... [ ok ] * Applying vtk-8.2.0-py38.patch ... [ ok ] * Applying vtk-8.2.0-freetype-2.10.3-provide-FT_CALLBACK_DEF.patch ... [ ok ] * Working in BUILD_DIR: "/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build" * Hardcoded definition(s) removed in ThirdParty/libproj/vtklibproj/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in ThirdParty/eigen/vtkeigen/CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release") * Dropping bundled expat ... [ ok ] * Dropping bundled freetype ... [ ok ] * Dropping bundled hdf5 ... [ ok ] * Dropping bundled jpeg ... [ ok ] * Dropping bundled jsoncpp ... [ ok ] * Dropping bundled libharu ... [ ok ] * Dropping bundled libxml2 ... [ ok ] * Dropping bundled lz4 ... [ ok ] * Dropping bundled netcdf ... [ ok ] * Dropping bundled png ... [ ok ] * Dropping bundled tiff ... [ ok ] * Dropping bundled zlib ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build" cmake -C /var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev -DVTK_DIR=/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0 -DVTK_INSTALL_LIBRARY_DIR=lib64 -DVTK_INSTALL_PACKAGE_DIR=lib64/cmake/vtk-8.2 -DVTK_INSTALL_DOC_DIR=/usr/share/doc/vtk-8.2.0 -DVTK_DATA_ROOT=/usr/share/vtk/data -DVTK_CUSTOM_LIBRARY_SUFFIX= -DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_AUTOBAHN=ON -DVTK_USE_SYSTEM_EXPAT=ON -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_FreeType=ON -DVTK_USE_SYSTEM_GL2PS=OFF -DVTK_USE_SYSTEM_HDF5=ON -DVTK_USE_SYSTEM_JPEG=ON -DVTK_USE_SYSTEM_LIBPROJ=OFF -DVTK_USE_SYSTEM_LIBXML2=ON -DVTK_USE_SYSTEM_LibXml2=ON -DVTK_USE_SYSTEM_NETCDF=ON -DVTK_USE_SYSTEM_OGGTHEORA=ON -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON -DVTK_USE_SYSTEM_TWISTED=ON -DVTK_USE_SYSTEM_XDMF2=OFF -DVTK_USE_SYSTEM_XDMF3=OFF -DVTK_USE_SYSTEM_ZLIB=ON -DVTK_USE_SYSTEM_ZOPE=ON -DVTK_USE_SYSTEM_LIBRARIES=ON -DVTK_USE_SYSTEM_DIY2=OFF -DVTK_USE_GL2PS=ON -DVTK_USE_LARGE_DATA=ON -DVTK_USE_PARALLEL=ON -DVTK_EXTRA_COMPILER_WARNINGS=ON -DVTK_Group_StandAlone=ON -DBUILD_DOCUMENTATION=no -DBUILD_EXAMPLES=no -DBUILD_VTK_BUILD_ALL_MODULES_FOR_TESTS=off -DVTK_BUILD_ALL_MODULES=no -DUSE_DOCUMENTATION_HTML_HELP=no -DVTK_Group_Imaging=yes -DVTK_Group_MPI=no -DVTK_Group_Rendering=yes -DVTK_Group_Tk=yes -DVTK_Group_Views=no -DVTK_Group_Web=no -DVTK_SMP_IMPLEMENTATION_TYPE=Sequential -DVTK_WWW_DIR=/var/tmp/portage/sci-libs/vtk-8.2.0/image/ -DVTK_WRAP_JAVA=yes -DVTK_WRAP_PYTHON=yes -DVTK_WRAP_PYTHON_SIP=yes -DVTK_WRAP_TCL=yes -DVTK_USE_BOOST=no -DUSE_VTK_USE_BOOST=no -DModule_vtkInfovisBoost=no -DModule_vtkInfovisBoostGraphAlgorithms=no -DVTK_USE_ODBC=yes -DModule_vtkIOODBC=yes -DVTK_USE_OFFSCREEN=no -DVTK_OPENGL_HAS_OSMESA=no -DVTK_USE_OGGTHEORA_ENCODER=no -DVTK_USE_NVCONTROL=yes -DModule_vtkFiltersStatisticsGnuR=no -DVTK_USE_X=yes -DVTK_USE_FFMPEG_ENCODER=yes -DModule_vtkIOGDAL=no -DModule_vtkIOGeoJSON=no -DModule_vtkIOXdmf2=no -DBUILD_TESTING=no -DVTK_USE_COCOA=no -DJAVAC_OPTIONS=-source;1.7;-target;1.7 -DVTK_INSTALL_PYTHON_MODULES_DIR=/usr/lib/python3.8/site-packages -DPYTHON_INCLUDE_DIR=/usr/include/python3.8 -DPYTHON_LIBRARY=/usr/lib64/libpython3.8.so -DSIP_PYQT_DIR=/usr/share/sip -DSIP_INCLUDE_DIR=/usr/include/python3.8 -DVTK_PYTHON_INCLUDE_DIR=/usr/include/python3.8 -DVTK_PYTHON_LIBRARY=/usr/lib64/libpython3.8.so -DVTK_PYTHON_SETUP_ARGS:STRING=--prefix= --root=/var/tmp/portage/sci-libs/vtk-8.2.0/image -DVTK_USE_SYSTEM_SIX=ON -DVTK_USE_QVTK=ON -DVTK_USE_QVTK_OPENGL=ON -DVTK_USE_QVTK_QTOPENGL=ON -DQT_WRAP_CPP=ON -DQT_WRAP_UI=ON -DVTK_INSTALL_QT_DIR=lib64/qt5/plugins/designer -DDESIRED_QT_VERSION=5 -DVTK_QT_VERSION=5 -DQT_MOC_EXECUTABLE=/usr/lib64/qt5/bin/moc -DQT_UIC_EXECUTABLE=/usr/lib64/qt5/bin/uic -DQT_INCLUDE_DIR=/usr/include/qt5 -DQT_QMAKE_EXECUTABLE=/usr/lib64/qt5/bin/qmake -DVTK_Group_Qt:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0 loading initial cache file /var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 ... -- Looking for localeconv -- Looking for localeconv - found -- Looking for PTHREAD_MUTEX_RECURSIVE -- Looking for PTHREAD_MUTEX_RECURSIVE - not found -- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.5") found components: C HL CMake Error at IO/CityGML/CMakeLists.txt:8 (get_target_property): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "LOCATION" is not allowed. -- Found NetCDF: /usr/lib64/libnetcdf.so -- Check size of HPDF_Shading -- Check size of HPDF_Shading - done -- Found LibHaru: /usr/lib64/libhpdf.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.10") -- Found ogg: /usr/lib64/libogg.so -- Found theora: /usr/lib64/libtheoraenc.so -- Found JsonCpp: /usr/lib64/libjsoncpp.so (found suitable version "1.9.3", minimum required is "0.7.0") -- Found Tclsh: /usr/bin/tclsh (found version "8.6") -- Found TCL: /usr/lib64/libtcl.so -- Found TCLTK: /usr/lib64/libtcl.so -- Found TK: /usr/lib64/libtk.so -- Found PythonLibs: /usr/lib64/libpython3.8.so -- Found PythonInterp: /var/tmp/portage/sci-libs/vtk-8.2.0/temp/python3.8/bin/python (found version "3.8.9") -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe C++ -march=native -O2 -pipe Linker flags: Executable -Wl,-lc -Wl,-lc -Wl,-O1 -Wl,--as-needed Module -Wl,-lc -Wl,-lc -Wl,-O1 -Wl,--as-needed Shared -Wl,-lc -Wl,-O1 -Wl,--as-needed -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build/CMakeFiles/CMakeError.log". * ERROR: sci-libs/vtk-8.2.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 4948: Called cmake_src_configure * environment, line 1605: 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-8.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/vtk-8.2.0::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-8 CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="-source 1.7 -target 1.7" COMPILER="" and of course, the output of emerge --info =vtk-8.2.0 * The complete build log is located at '/var/tmp/portage/sci-libs/vtk-8.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/vtk-8.2.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-libs/vtk-8.2.0/work/vtk-8.2.0_build' * S: '/var/tmp/portage/sci-libs/vtk-8.2.0/work/VTK-8.2.0' >>> Failed to emerge sci-libs/vtk-8.2.0, Log file:
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2728a6a5f2c0a39f44ceee464a764bec6da2c320 commit 2728a6a5f2c0a39f44ceee464a764bec6da2c320 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-06-03 16:52:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-10 03:37:44 +0000 sci-libs/vtk: improve all-modules USE flag - add missing flags to REQUIRED_USE - add new mysql USE flag - needed by all-modules, adds new dependency on dev-db/mysql-connector-c. Dev-db/mariadb-connector-c isn't supported by this version. Fix an issue with using of deprecated my_bool when using mysql-connector-c. - remove xdmf2 USE flag, block sci-libs/xdmf2 with all-modules: sci-libs/xdmf2 doesn't ship any cmake configuration files, which leads to configuration errors when trying to build against external xdmf2 - block sci-libs/xdmf2: when built against internal xdmf2, there are header file collisions with the header files installed by sci-libs/xdmf2 - add dependency on sci-libs/kissfft, bug #754684) and drop bundled - fix an issue with xdmf3 library being installed in both library locations, lib and lib64 - fix QA issues with RPATH - byte compile python files - disable searching for zfp (no package in tree) - addresses some QA issues with defined but unused cmake variables: fixing all of them would need a thorough testing of each single USE flag and checking where these belong to, in this over-complex build system (bug #660582) Closes: https://bugs.gentoo.org/793839 Closes: https://bugs.gentoo.org/754684 Closes: https://bugs.gentoo.org/646846 Bug: https://bugs.gentoo.org/660582 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Sam James <sam@gentoo.org> ...01-fix-library-installation-dir-for-xdmf3.patch | 57 +++ sci-libs/vtk/vtk-8.2.0-r2.ebuild | 382 +++++++++++++++++++++ 2 files changed, 439 insertions(+)