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

Program_Error raised when searching for an existing crate #795

Closed
onox opened this issue Aug 19, 2021 · 2 comments · Fixed by #807
Closed

Program_Error raised when searching for an existing crate #795

onox opened this issue Aug 19, 2021 · 2 comments · Fixed by #807
Labels
type: bug Something isn't working

Comments

@onox
Copy link
Contributor

onox commented Aug 19, 2021

Running alr search canberra (could be the name of any crate that exists in the index) raises a Program_Error:

detail: Spawning: ["gnat", "--version"] > GNAT-TEMP-000003.TMP                        
debug: Command exited with valid code: 0                                              
debug: Looking for external in version string: GNAT 7.5.0                             
Copyright (C) 1996-2017, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
debug: Identified external from version: 7.5.0                                        
debug: Status ended: Looking for external crate: gnat_external                        
debug: Adding external: gnat_external=7.5.0                                           
debug: Status ended: Solving dependencies
debug: Status ended: Searching           
debug: ---8<--- Exception dump begin ---8<---
debug: PROGRAM_ERROR
debug: Alire.Crates.Containers.Maps.Tree_Types.Implementation.TE_Check: attempt to tamper with elements
debug: raised PROGRAM_ERROR : Alire.Crates.Containers.Maps.Tree_Types.Implementation.TE_Check: attempt to tamper with elements

Using Alr 1.1.0-dev+local-toolchain (PR #793) and index devel-1.1.

@mosteo mosteo added the type: bug Something isn't working label Aug 19, 2021
@mosteo
Copy link
Member

mosteo commented Aug 19, 2021

Cannot reproduce over here, so I guess this is a problem with the containers provided by GNAT 7.5. You said you were on LTS 18.04, right? I'll see if there is a simple workaround for that...

@onox
Copy link
Contributor Author

onox commented Aug 19, 2021

Yes, Ubuntu 18.04.5 LTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants