>>> Emerging (9 of 9) sci-visualization/paraview-5.8.1::gentoo * ParaView-v5.8.1.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ParaView-v5.8.1.tar.xz to /var/tmp/portage/sci-visualization/paraview-5.8.1/work >>> Source unpacked in /var/tmp/portage/sci-visualization/paraview-5.8.1/work >>> Preparing source in /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1 ... * Applying paraview-4.0.1-xdmf-cstring.patch ... [ ok ] * Applying paraview-5.3.0-fix_buildsystem.patch ... [ ok ] * Applying paraview-5.5.0-allow_custom_build_type.patch ... [ ok ] * Applying paraview-5.8.0-w-vtk-8.2.0-qt-5.15.patch ... [ ok ] * Applying paraview-5.8.1-find-xmlpatterns.patch ... [ ok ] * Working in BUILD_DIR: "/var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build" * Hardcoded definition(s) removed in VTK/ThirdParty/libproj/vtklibproj/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in VTK/ThirdParty/eigen/vtkeigen/CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release") * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build" cmake -C /var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64/paraview-5.8 -UBUILD_SHARED_LIBS -DPARAVIEW_BUILD_SHARED_LIBS=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE -DVTK_USE_OGGTHEORA_ENCODER=TRUE -DVTK_GROUP_ENABLE_Imaging=YES -DVTK_GROUP_ENABLE_Rendering=YES -DVTK_GROUP_ENABLE_StandAlone=YES -DVTK_GROUP_ENABLE_Views=YES -DVTK_MODULE_ENABLE_VTK_IOInfovis=NO -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION=no -DBUILD_EXAMPLES=no -DPARAVIEW_ENABLE_FFMPEG=yes -DVTK_USE_FFMPEG_ENCODER=yes -DPARAVIEW_USE_MPI=no -DXDMF_BUILD_MPI=no -DVTK_GROUP_ENABLE_MPI=NO -DVTK_MODULE_ENABLE_VTK_IOMySQL=NO -DVTK_USE_X=yes -DVTK_OPENGL_HAS_OSMESA=no -DVTK_OPENGL_HAS_OSMESA=no -DPARAVIEW_PLUGINS_DEFAULT=no -DModule_pqPython=no -DPARAVIEW_USE_PYTHON=no -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=no -DPARAVIEW_USE_QT=yes -DModule_pqPython=no -DVTK_USE_NVCONTROL=no -DVTK_GROUP_ENABLE_Qt=YES -DVTK_MODULE_ENABLE_VTK_sqlite=YES -DBUILD_TESTING=no -DVTK_USE_TK=no -DVTK_GROUP_ENABLE_Tk=NO -DPARAVIEW_USE_QTWEBENGINE=no -DVTK_GROUP_ENABLE_Web=NO -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP -DOPENGL_gl_LIBRARY=/usr/lib64/libGL.so -DOPENGL_glu_LIBRARY=/usr/lib64/libGLU.so -DQT_MOC_EXECUTABLE=/usr/lib64/qt5/bin/moc -Dqt_xmlpatterns_executable=/usr/lib64/qt5/bin/xmlpatterns -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build/gentoo_toolchain.cmake /var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1 loading initial cache file /var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build/gentoo_common_config.cmake -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- 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 -- Performing Test HAVE_GCC_ERROR_RETURN_TYPE -- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success -- Performing Test Support for 64 bit file systems -- Performing Test Support for 64 bit file systems - Success -- Could not use git to determine source version, using version 5.8.1 -- The Fortran compiler identification is unknown -- 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 -- Checking whether C++ compiler has 'long long' -- Checking whether C++ compiler has 'long long' - yes -- Checking whether C++ compiler has '__int64' -- Checking whether C++ compiler has '__int64' - no -- 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 -- Checking whether CXX compiler has atol -- Checking whether CXX compiler has atol - yes -- Checking whether CXX compiler has atoll -- Checking whether CXX compiler has atoll - yes -- Checking whether CXX compiler has _atoi64 -- Checking whether CXX compiler has _atoi64 - no -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_Fortran_PREPROCESS_SOURCE CMake Error at VTK/CMake/FindOpenMP.cmake:209 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): VTK/CMake/FindOpenMP.cmake:419 (_OPENMP_GET_FLAGS) VTK/CMake/vtkModule.cmake:4106 (find_package) VTK/Common/Core/vtkSMPSelection.cmake:33 (vtk_module_find_package) VTK/Common/Core/CMakeLists.txt:41 (include) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build/CMakeFiles/CMakeError.log". * ERROR: sci-visualization/paraview-5.8.1::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 3666: Called cmake_src_configure * environment, line 1537: 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-visualization/paraview-5.8.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-visualization/paraview-5.8.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-visualization/paraview-5.8.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/paraview-5.8.1/temp/environment'. * Working directory: '/var/tmp/portage/sci-visualization/paraview-5.8.1/work/paraview-5.8.1_build' * S: '/var/tmp/portage/sci-visualization/paraview-5.8.1/work/ParaView-v5.8.1' >>> Failed to emerge sci-visualization/paraview-5.8.1, Log file:
* Found these USE flags for sys-devel/gcc-10.2.0-r5: U I - - d : Enable support for the D programming language - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - fortran : Add support for fortran - - go : Build the GCC Go language frontend. - - graphite : Add support for the framework for loop optimizations based on a polyhedral intermediate representation + + hardened : Activate default security enhancements for toolchain (gcc, glibc, binutils) - - jit : Enable libgccjit so other applications can embed gcc for Just-In-Time compilation. This will slow down the compiler a bit as it forces all of the toolchain to be shared libs. - - lto : Build using Link Time Optimizations (LTO) - - nls : Add Native Language Support (using gettext - GNU locale utilities) + + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually) - - objc : Build support for the Objective C code language - - objc++ : Build support for the Objective C++ language - - objc-gc : Build support for the Objective C code language Garbage Collector + + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" - - pgo : Build GCC using Profile Guided Optimization (PGO) + + sanitize : Build support for various sanitizer functions (ASAN/TSAN/etc...) - - systemtap : enable systemtap static probe points - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) - - vanilla : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically + + vtv : Build support for virtual table verification (a C++ hardening feature) - - zstd : Enable support for ZSTD compression
My suspicion is that my gcc does not have fortran. Will see if adding fortran use flag to gcc solve the problem...
(In reply to ihor from comment #2) > My suspicion is that my gcc does not have fortran. Will see if adding > fortran use flag to gcc solve the problem... Yes, I get the same with my -fortran gcc. You could alternatively build paraview with USE=-openmp Guessing will need to inherit fortran-2
yes, something like openmp? (virtual/fortran-0)
I can confirm that the issue is fixed when gcc has fortran useflag. Please fix the ebuild to ensure openmp -> fortran dependency
Created attachment 684915 [details] emerge --info
please disregard the attachment. i didn't mean to post it here, and i can't figure out how to remove it. sorry about that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1c41ffa23a0d0c0dbaee4b5ca2dc50883bcdb2 commit 9a1c41ffa23a0d0c0dbaee4b5ca2dc50883bcdb2 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-10-18 14:15:39 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-10-18 14:18:39 +0000 sci-visualization/paraview: add 5.11.0_rc1 This is a release candidate but we add it anyway because the in-tree version fails to configure if dev-qt/qt*:6 is present on the system Also updated the LICENSEs Closes: https://bugs.gentoo.org/762973 Bug: https://bugs.gentoo.org/789552 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-visualization/paraview/Manifest | 1 + .../paraview/paraview-5.11.0_rc1.ebuild | 232 +++++++++++++++++++++ 2 files changed, 233 insertions(+)