spack icon indicating copy to clipboard operation
spack copied to clipboard

Conflicting conditional dependencies error

Open mengsu42 opened this issue 9 years ago • 3 comments

What does the following error mean? It happened when I run spack install slepc.

Error: Conflicting conditional dependencies onpackage slepc for spec [email protected]%[email protected]+arpack arch=linux-rhel6-x86_64 ^blas^[email protected]%[email protected]+shared arch=linux-rhel6-x86_64 ^lapack^[email protected]%[email protected]~symlinks arch=linux-rhel6-x86_64 ^[email protected]%[email protected] arch=linux-rhel6-x86_64 ^[email protected]:3.8.99^[email protected]%[email protected]+internal_glib arch=linux-rhel6-x86_64 ^[email protected]%[email protected]+pic+shared~tk~ucs4 arch=linux-rhel6-x86_64 ^[email protected]%[email protected] arch=linux-rhel6-x86_64 ^[email protected]%[email protected] arch=linux-rhel6-x86_64 ^[email protected]%[email protected]+optimize+pic+shared arch=linux-rhel6-x86_64

mengsu42 avatar Nov 09 '17 04:11 mengsu42

I'm looking into this. In the meantime you should be able to proceed with:

spack spec [email protected] ^petsc+mpi

or

spack spec [email protected] ^petsc~mpi

(depending on whether you want to build with mpi)

scheibelp avatar Nov 09 '17 19:11 scheibelp

All instances of ~ in depends_on() should be removed. See:

https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/spack/0Lq90S3Yojc/ZykeNEd8BQAJ

citibeth avatar Jul 03 '19 23:07 citibeth

Duplicate of #1781

alalazo avatar Nov 01 '20 21:11 alalazo