Skip to content
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

Better concretizer error message: Cannot satisfy requirement group for package #33985

Open
2 tasks done
adamjstewart opened this issue Nov 18, 2022 · 0 comments
Open
2 tasks done

Comments

@adamjstewart
Copy link
Member

Summary

Okay, this one was my own dumb fault. I added a packages.yaml along the lines of:

packages:
  foo:
    require: "@1.2.3"

then later forgot about this and tried to install a newer version:

$ spack install foo@2.3.4
...
==> Error: Cannot satisfy requirement group for package 'foo'

I'm wondering if we can somehow improve this message to clarify that:

  1. I, the user, expressly forbid this in packages.yaml
  2. Specifically, ~/.spack/packages.yaml
  3. And if I want to allow this, I need to delete this specific section of packages.yaml

Rationale

No response

Description

No response

Additional information

No response

General information

  • I have run spack --version and reported the version of Spack
  • I have searched the issues of this repo and believe this is not a duplicate
alalazo added a commit to alalazo/spack that referenced this issue Nov 18, 2022
haampie pushed a commit that referenced this issue Nov 18, 2022
haampie pushed a commit that referenced this issue Dec 22, 2022
haampie pushed a commit that referenced this issue Dec 23, 2022
haampie pushed a commit that referenced this issue Jan 18, 2023
haampie pushed a commit that referenced this issue Jan 24, 2023
haampie pushed a commit that referenced this issue Feb 7, 2023
alalazo added a commit that referenced this issue Feb 7, 2023
amd-toolchain-support pushed a commit to amd-toolchain-support/spack that referenced this issue Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants