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

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

Re: [SPAM UNSURE] gnatfind is missing from GCC v11 and newer


From: Simon Wright
Subject: Re: [SPAM UNSURE] gnatfind is missing from GCC v11 and newer
Date: Wed, 25 Oct 2023 17:56:08 +0100

On 25 Oct 2023, at 17:19, Left Right <olegsivokon@gmail.com> wrote:
> 
> When trying to run build.sh in gpr_query I ran into a problem with the line:
> 
> I altered it like this to overcome the problem:
> 
> ./build.sh: line 15: cd: too many arguments
> 
> if type alr; then
>    # alr can be installed from https://alire.ada.dev/
>    echo "building gpr_query via Alire; compiler:"
>    alr toolchain
>    alr get emacs_gpr_query~1.0.1
>    cd $(find . -type d -name 'emacs_gpr_query_*') ; alr build --release
> 
> to my understanding, the problem was that it was finding another file
> in this directory that also starts with emacs_gpr_query_, namely:
> emacs_gpr_query_config_devel.gpr or
> emacs_gpr_query_config_release.gpr. This behavior may be contingent on
> what /bin/sh is on any given system.

It’s finding another *directory* (the "find -type d") . I’m guessing that a 
previous build downloaded version 1.0.1 to emacs_gpr_query_1.0.1_ad2db6d2/, but 
since there’s now a version 1.0.2 there’d be a new directory 
emacs_gpr_query_1.0.2_????????/, making 2 directories, hence the problem. You 
could delete the existing directory and try again?

I can’t replicate, because I can’t get 1.0.2; will post a separate message.


reply via email to

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