Installation issue with spack: fails on cmake
I have opened the issue #17326 on spack repository as well. Opening it here for visibility.
I am trying to install paraview with cuda support, which fails with the following cmake error
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
"vtkPVCatalystPython" of type STATIC_LIBRARY
depends on "ClientKit" (weak)
depends on "PythonCatalyst-objects" (weak)
depends on "PythonInitializer" (weak)
depends on "vtkPVClientWebPython" (weak)
depends on "vtkPVPythonCatalystPython" (weak)
"vtkPVPythonCatalystPython" of type STATIC_LIBRARY
depends on "PythonCatalyst-objects" (weak)
depends on "PythonInitializer" (weak)
depends on "vtkPVClientWebPython" (weak)
depends on "ClientKit" (weak)
depends on "vtkPVCatalystPython" (weak)
"ClientKit" of type STATIC_LIBRARY
depends on "PythonInitializer" (weak)
depends on "vtkPVClientWebPython" (weak)
depends on "vtkPVCatalystPython" (weak)
depends on "vtkPVPythonCatalystPython" (weak)
depends on "PythonCatalyst-objects" (strong)
"vtkPVClientWebPython" of type STATIC_LIBRARY
depends on "ClientKit" (weak)
depends on "PythonCatalyst-objects" (weak)
depends on "PythonInitializer" (weak)
depends on "vtkPVCatalystPython" (weak)
depends on "vtkPVPythonCatalystPython" (weak)
"PythonInitializer" of type STATIC_LIBRARY
depends on "vtkPVClientWebPython" (weak)
depends on "ClientKit" (weak)
depends on "PythonCatalyst-objects" (weak)
depends on "vtkPVCatalystPython" (weak)
depends on "vtkPVPythonCatalystPython" (weak)
"PythonCatalyst-objects" of type OBJECT_LIBRARY
depends on "PythonInitializer" (weak)
depends on "vtkPVClientWebPython" (weak)
depends on "ClientKit" (weak)
depends on "vtkPVCatalystPython" (weak)
depends on "vtkPVPythonCatalystPython" (weak)
At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed. Build files cannot be regenerated correctly.
Steps to reproduce the issue
$ spack install paraview +cuda +hdf5 +mpi +python3 -shared ^cuda@10.1.0
Information on your system
* **Spack:** 0.15.0-2-aaf6f80d4
* **Python:** 3.6.8
* **Platform:** linux-ubuntu18.04-broadwell
Additional information
I have cuda locally installed, with the following in my .spack/packages.yaml
:
cuda:
paths:
cuda@10.1.0: /usr/local/cuda-10.1
spack-build-env.txt spack-build-out.txt
@chuckatkins @danlipsa
General information
* [x] I have run `spack debug report` and reported the version of Spack/Python/Platform
* [x] I have run `spack maintainers <name-of-the-package>` and @mentioned any maintainers
* [x] I have uploaded the build log and environment files
* [x] I have searched the issues of this repo and believe this is not a duplicate