-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Can't initialize a new crate using the main branch of Alire with both amd64 and arm64 builds using GNAT 13 #1532
Comments
I switched to the
I was previously building it with Update: I just built Alire |
I have this problem with alire 1.2 on OpenSUSE. Basically any alr command that operates on the toml fails, eg.
I was able to work around this by changing the function Stepping through the code in gdb I'm not sure what is happening. The problem starts from
At this point Props is empty:
The Section_Loaders call goes through a few intermediary functions that dispatch to
When it returns back to the calling line in The LHS is the empty
but the RHS should be the populated
That's how it ends up with the empty property list that raises the exception. Trying it on another system (FreeBSD) this doesn't happen, the RHS in the
|
I've seen strange bugs with expression functions in the past, but I'm surprised to see a regression in going to GNAT 13. |
There are some other regressions in GNAT 13 (e.g., AdaCore/RecordFlux#1293). |
I'm trying to investigate why pins won't work for
arm64
builds of alire but work foramd64
builds of Alire. I see this issue inv1.2.2
. I decided I would use the main branch to investigate anyways. However, I can no longer even initialize a crate to reproduce the issue to investigate.In looking into it, whenever I try to initialize a new crate (e.g.,
alr init --in-place --bin
), an exception is raised. I see this both in theamd64
andarm64
builds of Alire (I built it and tested on both architectures). The following line is where the exception is raised:alire/src/alire/alire-releases.adb
Line 878 in 92896bd
The following is what alire prints to the console:
If you turn on verbose logging, you can see this printed to the console:
The property key it is looking for is
NAME
.I should note I develop on a Mac M1 and run this inside a docker container. That shouldn't really affect much since every other tool in any language I develop in works, including other Ada/SPARK tools and previous versions of Alire (minus some features like pins...).
I'll use the version of Alire where I experience the pin issue to try to debug that but I thought I should raise this in case anyone else experiences it.
The text was updated successfully, but these errors were encountered: