alr install emacs_ada_mode fails

alr install emacs_ada_mode fails with:

gprinstall: error: file does not exist '/home/karl/src/ada/hello_1.0.2_5715870b/alire/tmp/alr-gsaz.tmp/emacs_ada_mode_8.1.0_114ab44a/ada_annex_p_lr1_parse_table.txt'
error: Command ["gprinstall", "-q", "--install-name=emacs_ada_mode=8.1.0", "-m", "-p", "--link-lib-subdir=bin", "--mode=usage", "--prefix=/home/karl/.alire", "-P", "/home/karl/src/ada/hello_1.0.2_5715870b/alire/tmp/alr-gsaz.tmp/emacs_ada_mode_8.1.0_114ab44a/emacs_ada_mode.gpr"] exited with code 4

I’ve read this longer thread “Getting Emacs ada-mode working” about emacs-ada-mode and all the problems but i haven’t been able to make sense of it yet.

Welcome to the forum!

You can either download the binaries from here, or take a look at how they are built at the GitHub actions.

1 Like

Yes… as you read the state of the ada-mode in Emacs is not great. If you have any issues with Alire or mgrojo’s solution, you could use GitHub - tkurtbond/old-ada-mode: This is a fork of the old version of ada-mode.el that was distributed with Emacs.

This is what I am currently using. It is not as advance nor capable as the newer versions, but it works for me (mostly).

Welcome and best regards,
Fer

1 Like

Thanks to all for help. I fixed it by installing ada-mode “by hand” and not with alr (OK, the install/build scripts calls it) or package-install. Surprisingly, this worked. I think I’ve been using emacs since 1998 or so - but I haven’t had such a stubborn candidate :sunglasses::crazy_face:
The question is whether everything works as intended.