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

Gprbuild confusion between normal & external versions #1548

Open
simonjwright opened this issue Jan 26, 2024 · 1 comment
Open

Gprbuild confusion between normal & external versions #1548

simonjwright opened this issue Jan 26, 2024 · 1 comment

Comments

@simonjwright
Copy link
Contributor

simonjwright commented Jan 26, 2024

In the ubuntu-latest workflow of the Ada example in my fork of sdl2-examples, we’re seeing that

The workflow uses the version: "nightly".

The run above was today, and succeeded, but a similar run executed today in the repo of which mine is a fork failed with "ERROR: Requested tool configured as gprbuild=22.0.1 but not installed: gprbuild".

Would this problem go away if Alire didn’t choose the external gprbuild when a 'normal' (?) crate is available?

@mosteo
Copy link
Member

mosteo commented Feb 8, 2024

The different selected version likely comes from --select attempting to find a gprbuild compatible with the gnat already selected. Was there one in your second run? --install won't attempt to do that, so it will select the newest version, provided by the external one in that case.

As for the error, it should have been fixed after #1533. It is possible you have to invalidate the action caches in your org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants