ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alire & git issue on macOS with SDK 15


From: Manuel Gómez
Subject: Re: Alire & git issue on macOS with SDK 15
Date: Sat, 16 Mar 2024 23:10:54 +0100
User-agent: Mozilla Thunderbird

El 13/3/24 a las 18:48, Simon Wright escribió:
At the point where we go into ~/emacs.d/elpa/ada-mode-8.1.0 and call build.sh, the Alire 
path calls "alr get emacs_ada_mode~8.1.0". If you’re running macOS 14 (Sonoma) 
with an updated Xcode or Command Line Tools, you may well see something like

Cloning into '/Users/simon/.emacs.d/elpa/ada-mode-8.1.0/alr-tgob.tmp'...
remote: Counting objects: 48758, done.
remote: Compressing objects: 100% (10336/10336), done.
remote: Total 48758 (delta 38298), reused 48758 (delta 38298)
Receiving objects: 100% (48758/48758), 240.39 MiB | 3.90 MiB/s, done.
Resolving deltas: 100% (38298/38298), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout


I don't know why, but didn't have this problem when using build.sh but I've had it when trying to clone directly the repository (with git version 2.34.1).

This is because the repository at savannah.nongnu.org <http://savannah.nongnu.org/> 
doesn’t have a default branch, and the git that comes with the v15 SDK is 2.39.3 (it says 
"(Apple Git-146)" - I don’t know whether it’s been customised).

If you use Homebrew, "brew install git" gets you version 2.44, which doesn’t 
have this problem.


I've checked-out org.emacs.ada-mode, which seems to be the correct one.

Shouldn't there be a default branch? Is this a savannah convention or just something particular to ada-mode?

On the other hand, I wanted to use my alr2appimage tool on ada-mode to get AppImages of the executables in ada-mode, but I get this error:

gprinstall: error: file does not exist '/home/mgr/src/alire/emacs_ada_mode_8.1.0_114ab44a/bin/ada_annex_p_lr1_parse_table.txt' error: Command ["gprinstall", "-q", "-f", "--install-name=emacs_ada_mode=8.1.0", "-m", "-p", "--link-lib-subdir=bin", "--mode=usage", "--prefix=/home/mgr/src/alire/emacs_ada_mode_8.1.0_114ab44a/alr2appimage-AppDir-CfJhir/usr", "-P", "/home/mgr/src/alire/emacs_ada_mode_8.1.0_114ab44a/emacs_ada_mode.gpr"] exited with code 4
Finished: "alr install"
with status 1

There's only an ada_annex_p_lr1_re2c_parse_table.txt not ada_annex_p_lr1_parse_table.txt.

I'll change it to ada_annex_p_lr1_re2c_parse_table.txt in the gpr file and see what happens, but I guess gprinstall is not used for the official instructions and this is some leftover.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]