[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnu Emacs Ada mode 8.1.0 released.
From: |
Stephen Leake |
Subject: |
Re: Gnu Emacs Ada mode 8.1.0 released. |
Date: |
Sat, 28 Oct 2023 10:50:50 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt) |
Manuel Gómez <mgrojo@gmail.com> writes:
> El 28/10/23 a las 15:19, Simon Wright escribió:
>> On 27 Oct 2023, at 22:10, Manuel Gómez <mgrojo@gmail.com> wrote:
>>>
>>> warn: New solution is incomplete.
>>> warn: +❗ emacs_wisi ~4.3.0 (new,missing:skipped)
>> I think you may need to "alr index —update-all"
>>
>
> Not the problem in this case, it's "already up to date".
>
> I think the problem is that "emacs_gpr_mode=1.0.4" requires both
> "emacs_wisi~4.3.0" and "wisitoken~4.1.0", but any of the "emacs_wisi"
> in 4.3.x requires either "wisitoken~4.2.0" or "wisitoken~4.2.1". The
> requirements on emacs_wisi and wisitoken cannot be satisfied at the
> same time.
Yes, my bad. Thanks for finding this.
I'll update Alire next week.
> With this patch it built fine:
>
> --- alire.toml~ 2023-10-28 17:31:26.480065477 +0200
> +++ alire.toml 2023-10-28 17:33:03.112004687 +0200
> @@ -40,5 +40,5 @@
> gnat = "(>=11 & <2000) | >=2021"
> re2c = ">=2.2"
> stephes_ada_library = "~3.7.3"
> -wisitoken = "~4.1.0"
> +wisitoken = "~4.2.0"
This should be wisitoken 4.2.1; see below.
> It seems to work too, although I got one Constraint_Error, and now I
> wonder if it's related to my dependency change. Just in any case it's
> unrelated, the steps to reproduce it are:
>
> ~/.emacs.d/elpa/gpr-mode-1.0.4/emacs_gpr_mode_1.0.4_6bc569c4$ alr edit
> Editing crate with: ['emacs'
> '--eval=(ada-build-prompt-select-prj-file"emacs_gpr_mode.gpr")',
> 'emacs_gpr_mode.gpr']
>
> Inside Emacs:
> C-x C-f gpr_process_actions.ads
> C-s WisiToken.Descriptor
> C-c C-d
>
> It goes to WisiToken.Descriptor but then I get this error:
>
> error in process filter: error: CONSTRAINT_ERROR :
> sal-gen_definite_doubly_linked_lists.adb:167 access check failed
This is a bug in gcc 13, which is worked around in wisitoken 4.2.1 (note
the trailing .1).
> Also, running M-x ada-find-file gives this error:
>
> cl-no-applicable-method: No applicable method: project-roots,
> #s(ada-prj "emacs_gpr_mode" nil
Sigh. the Emacs project API keeps changing, it's hard to keep up.
project-roots is officially obsolete.
However, I don't see 'project-roots' called anywhere in gpr-mode or
related ELPA packages. Can you set debug-on-error to find out where it
is?
--
-- Stephe