It fails in Manjaro, like this (only the last few lines):
.
.
.
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found GLEW: /usr/lib/libGLEW.so
-- Found Eigen3: /usr/include/eigen3 (found version "3.3.7")
-- Found MPI_C: /usr/lib/openmpi/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1") found components: C
CMake Warning at VTK/CMake/vtkModule.cmake:4160 (find_package):
Could not find a configuration file for package "ospray" that is compatible
with requested version "2.1".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/ospray-1.8.5/osprayConfig.cmake, version: 1.8.5
/usr/lib/cmake/ospray-1.8.5/osprayConfig.cmake, version: 1.8.5
/lib64/cmake/ospray-1.8.5/osprayConfig.cmake, version: 1.8.5
/lib/cmake/ospray-1.8.5/osprayConfig.cmake, version: 1.8.5
Call Stack (most recent call first):
VTK/Rendering/RayTracing/CMakeLists.txt:62 (vtk_module_find_package)
CMake Error at VTK/CMake/vtkModule.cmake:4166 (message):
Could not find the ospray external dependency.
Call Stack (most recent call first):
VTK/Rendering/RayTracing/CMakeLists.txt:62 (vtk_module_find_package)
-- Configuring incomplete, errors occurred!
See also "/home/msr/.cache/yay/paraview-git/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/msr/.cache/yay/paraview-git/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
error making: %!s(func() string=0x5622f57c0830)
Pinned Comments
GloW commented on 2020-06-22 10:18
Out of memory error.
You may use ninja-mem to prevent trashing when building on system with low memory to core ratio.
To activate use MAKEFLAGS+=" -m75" where 75 is the percent of memory usage when trashing prevention kicks in.
Or simply lower the make parallel jobs in "MAKEFLAGS" variable.
Refers to #731427 #716760