Closed HiPhish closed 3 months ago
warn: Missing: warn: +❗ libgmp * (new,indirect,missing)
Here's your issue. That is normally fulfilled by a system package, but since Void Linux uses an unknown (for Alire) package manager, that can't be solved.
Theoretically, if you install libgmp manually and accept that solution (since everything else is solved), the build might be successful.
Side note: Alire should eventually realize that there's no complete solution, but since there's a combinatorial explosion at play, that could take lots of time.
Thank you for the information, I was able to build the package.
That is normally fulfilled by a system package, but since Void Linux uses an unknown (for Alire) package manager, that can't be solved.
So if I was using something more common like Debian or Ubuntu Alire would have been able to detect that I have libgmp
installed, right? Would it be a lot of work to support Void's XBPS? I am very new to Ada, so I cannot commit to doing it, but I'm curious.
Yes, that's it.
It's not overly complex. Basically you need to identify the XBPS commands that provide the version of an installed package and that install a package (preferably without downgrading/removing anything). The worst part is the boilerplate to retrieve that information from Ada while ensuring robustness.
You need to implement this interface: https://github.com/alire-project/alire/blob/master/src/alire/alire-origins-deployers-system.ads (the subprograms marked as abstract).
Alas, we don't have a reference implementation where you simply replace the commands to invoke, but you can look at other implementations (all children packages of Alire.Origins.Deployers.System
) and follow the closest one with the appropriate changes. I'm unfamiliar with XBPS, so I cannot say immediately which other package manager would be closer.
Describe the bug When I try to download and build the
ada_language_server
Alire gets stuck endlessly trying to solve things. (I am new to Ada, so please forgive me if I don't know how to properly name things)To Reproduce Steps to reproduce the behavior:
alr get --build ada_language_server
I have the following things installed on Void Linux:
v.24.0.0
tag checked out in Git)gmp
&gmp-devel
6.3.0 (system package; it is mentioned down below, so I guess this one needs to be present)Expected Behavior It should build normally. The same command with the
hello
package works fine, so GNAT and Alire are working at least for the trivial base case.alr
versionalr 2.0.1
alr
logsI did not do
alr -vv -d <your command>
because I could not figure out how to passn
to the interactive input. Please let me know if it is necessary.