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

alr run with ambiguous bins #892

Open
reznikmm opened this issue Nov 29, 2021 · 1 comment
Open

alr run with ambiguous bins #892

reznikmm opened this issue Nov 29, 2021 · 1 comment
Labels
cost: 0-trivial Minimal changes required (<1h) type: bug Something isn't working

Comments

@reznikmm
Copy link
Contributor

Hello!

I found strange messages from alr run after creating a crate for libadalang_tools:

max@untu:/tmp/libadalang_tools_23.0.0_ccffc4dd$ ~/bin/alr run --list
Crate libadalang_tools builds these executables:
   gnatmetric
      (found at /tmp/libadalang_tools_23.0.0_ccffc4dd/bin/gnatmetric)
      (found at /tmp/libadalang_tools_23.0.0_ccffc4dd/bin/gnatmetric)
...

Looks like the candidate list is incorrect. Then, I tried:

max@untu:/tmp/libadalang_tools_23.0.0_ccffc4dd$ ~/bin/alr run gnatmetric
...
error: Too many candidates found:
/tmp/libadalang_tools_23.0.0_ccffc4dd/bin/gnatmetric
/tmp/libadalang_tools_23.0.0_ccffc4dd/valgrind/gnatmetric

This candidate list is correct, I guess.

Alr version: 1.1.0

@mosteo mosteo added cost: 0-trivial Minimal changes required (<1h) type: bug Something isn't working labels Nov 29, 2021
@mosteo
Copy link
Member

mosteo commented Nov 29, 2021

Thanks, Maxim. I guess the list is computed correctly but in the first instance it is wrongly printed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cost: 0-trivial Minimal changes required (<1h) type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants