-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Not possible to disable values in MVV #30911
Copy link
Copy link
Closed
Labels
Description
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
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done