-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot concretize when specifying platform=
in externals
#43406
Comments
@becker33 @scheibelp @alalazo |
The issue is specific to spack:
specs:
- hwloc
view: false
concretizer:
unify: true
packages:
hwloc:
externals:
- spec: hwloc@2.2.0 platform=linux
prefix: /usr
buildable: False
|
platform=
in externals
While I look for a fix, note that the issue comes from the least useful part of the |
Bisection says this regressed in #42253 |
Edited the description, kept the original report in a |
Steps to reproduce
This environment fails to concretize:
The behavior regressed in #42253
Original report
I have a
package.yaml
defined like this (minimal reproducer):If i concretize:
All good.
Now if I add anything specific to the
arch=
spec, like this for example:And try to concretize:
The error message complains about the version but it's actually fake, as if i add more specific constraints it will complain about something else:
Specifying variants works fine.
I'm executing this with the latest develop branch but this error is present also in 0.21.2.
0.21.1 works fine.
Error message
Information on your system
General information
spack debug report
and reported the version of Spack/Python/PlatformThe text was updated successfully, but these errors were encountered: