-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Version concretization failing for virtual dependencies #13870
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingconcretizationtriageThe issue needs to be prioritizedThe issue needs to be prioritizedvirtual-dependencies
Description
I'm working on updating the bazel package in #13813. bazel contains:
depends_on('java@8', type=('build', 'link', 'run'))jdk contains:
provides('java')
provides('java@8', when='@1.8.0:1.8.999')My packages.yaml contains:
packages:
jdk:
paths:
[email protected]_12: /Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home
[email protected]_10: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
[email protected]_231-b11: /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
[email protected]_45-b18: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
buildable: FalseHowever, spack spec bazel and spack install bazel happily use JDK 12.0.1_12, even though it doesn't provide java@8.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconcretizationtriageThe issue needs to be prioritizedThe issue needs to be prioritizedvirtual-dependencies