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

invalid enumeration value: 'openbsd' #1750

Open
reznikmm opened this issue Aug 31, 2024 · 1 comment
Open

invalid enumeration value: 'openbsd' #1750

reznikmm opened this issue Aug 31, 2024 · 1 comment
Labels
type: enhancement Improvements to existing functionality
Milestone

Comments

@reznikmm
Copy link
Contributor

Describe the bug
Not an issue for me, but perhaps you may want it to be reported. If I build HEAD ( commit be902e8) with "Build alr with alr" I get error:

$ alr build
error: Cannot continue without a workspace:
error:    Loading release from manifest: alire.toml:
error:    Failed to load alire.toml:
error:    Loading release from manifest: alire.toml:
error:    gpr-set-externals:
error:    values:
error:    case(os):
error:    invalid enumeration value: 'openbsd'. Can be: freebsd, linux, macos, os-unknown, windows.

To Reproduce
Steps to reproduce the behavior:

  1. git clone --recurse-submodules https://github.com/alire-project/alire.git
  2. alr -C alire/ build
  3. See error

Expected Behavior
Alr should be built.

alr version
2.0.1

alr logs
If pertinent, paste the output of alr -vv -d <your command> here.

@mosteo
Copy link
Member

mosteo commented Sep 2, 2024

That's expected behavior, local manifests are strictly checked for variable values, unlike index manifests.

You can override this behavior with --force, but still that should be mentioned in the error.

@mosteo mosteo added the type: enhancement Improvements to existing functionality label Sep 2, 2024
@mosteo mosteo added this to the 2.x milestone Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvements to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants