Steps to reproduce
- Choose a package with multi-valued variants (MVV)
- Add it as an external package but with only some of those possible values enabled
- Try to build something that requires some of the unspecified values
- Notice that the external package satisfies those conditions despite not having those values enabled
Error message
No errors, but the concretizer shouldn't be using features undeclared in the external package. For non-MVV, we could explicitly add ~foo~bar, but there's no way to do that with MVVs.
Information on your system
- Spack: 0.19.0.dev0 (98860c6)
- Python: 3.9.12
- Platform: darwin-monterey-m1
- Concretizer: clingo
General information
Steps to reproduce
Error message
No errors, but the concretizer shouldn't be using features undeclared in the external package. For non-MVV, we could explicitly add
~foo~bar, but there's no way to do that with MVVs.Information on your system
General information
spack debug reportand reported the version of Spack/Python/Platform