From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.bugs Subject: bug#66017: Cannot install Ada mode Date: Fri, 22 Sep 2023 07:29:20 -0700 Message-ID: <86bkdu8enz.fsf@stephe-leake.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32634"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt) Cc: 66017@debbugs.gnu.org To: Left Right Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 22 16:30:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qjhAq-0008C9-Q7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Sep 2023 16:30:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjhAI-0003IJ-Va; Fri, 22 Sep 2023 10:29:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjhAG-0003Gt-SB for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 10:29:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjhAG-0004WL-H4 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 10:29:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjhAQ-0002cq-O0 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Leake Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66017 X-GNU-PR-Package: emacs Original-Received: via spool by 66017-submit@debbugs.gnu.org id=B66017.169539298310041 (code B ref 66017); Fri, 22 Sep 2023 14:30:02 +0000 Original-Received: (at 66017) by debbugs.gnu.org; 22 Sep 2023 14:29:43 +0000 Original-Received: from localhost ([127.0.0.1]:37053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjhA7-0002bs-5o for submit@debbugs.gnu.org; Fri, 22 Sep 2023 10:29:43 -0400 Original-Received: from omta38.uswest2.a.cloudfilter.net ([35.89.44.37]:56656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjhA3-0002bd-Od for 66017@debbugs.gnu.org; Fri, 22 Sep 2023 10:29:41 -0400 Original-Received: from eig-obgw-6008a.ext.cloudfilter.net ([10.0.30.227]) by cmsmtp with ESMTP id jfDMqGBB0QFHRjh9mqoa18; Fri, 22 Sep 2023 14:29:22 +0000 Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with ESMTPS id jh9lqEXZo56Vsjh9lqqoAS; Fri, 22 Sep 2023 14:29:22 +0000 X-Authority-Analysis: v=2.4 cv=ZqH+lv3G c=1 sm=1 tr=0 ts=650da4c2 a=dWLzHQi6WpdymmZIwiVdBw==:117 a=Fln8i1WyhtedwaIJAdHvmw==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=zNV7Rl7Rt7sA:10 a=vvvmwbhNdt4A:10 a=pGLkceISAAAA:8 a=mDV3o1hIAAAA:8 a=zXMWs3ndr0S2DxgXOfoA:9 a=DxAgKJJZWQ4A:10 a=-9mXkHejWegA:10 a=_FVE-zBwftR9WsbkzFJk:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XTj4lkXdz5egVCe957Y81XHhhEAWFKWqUHM3P4fGg0A=; b=gRM1M4SzxPFzWcpqNTAQJ+rLgN fHzxWYfPSJcTdEkTPW8JBk8+DEnnisXQ26gVKmlg9zdFt4c/VchEZykOGnfdTgWcMGc4ZRQBmxvE7 Ec/EsPqTsAqpdOQ8wxBC5JRRa7AX2rvRdBP1i9aW04gCJkOcDYEkZBWjmY5w4GVwipb2u6nQb8/PF k7oa2DlRqXONewWszXyLkc+Ce3FoGJ4dmzJSH9kGVvFxOX2zXcr/RNV68m3rnMjTMJ557cyzhBEGW zTqPz9kXxofWP0J7Sd9ui6RRnXAD0NZteaiobOzfT3czjtE00ANbP0fD4K+8PzXVpqEyaxkUY/XGC Xpx9niyA==; Original-Received: from 135-180-197-170.fiber.dynamic.sonic.net ([135.180.197.170]:64747 helo=DESKTOP-G20DCG1) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qjh9l-003rFu-13; Fri, 22 Sep 2023 08:29:21 -0600 In-Reply-To: (Left Right's message of "Tue, 19 Sep 2023 21:56:28 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 135.180.197.170 X-Source-L: No X-Exim-ID: 1qjh9l-003rFu-13 X-Source-Sender: 135-180-197-170.fiber.dynamic.sonic.net (DESKTOP-G20DCG1) [135.180.197.170]:64747 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 4 X-Org: HG=bhshared_hm;ORG=bluehost; X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes X-CMAE-Envelope: MS4xfAtrPvoFxmUrEm1LU6QOW+NwuSfpZk2SrivUcmegNHqAFrMbbJDSnGif8SK4fKTpDeu5LZoW8xFHv+6MLarQ7yNiipDRP1k/A1qyI18mXCxI5nu3omhv Rtyui8Y76XvG4r5GBcGPKQliFj5zj9Zeflv4VbeU2biC51/4rVMd/blGsYCjs8Vgpy+hkk31OQjqiylZpdBcL0r969cWEF4eETo= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271104 Archived-At: Left Right writes: > Hello Stephen, you wrote: > >> This indicates you are using a compiler external to Alire, with a newer version >> than the internal one; I only test with Alire internal compilers, for >> consistency. > >> Please configure the internal Alire compiler. > >> I will add the tested Alire version to the documentation. > > I don't know what to do with Alire, but I will try to figure out. Run "alr toolchain", select the internal Ada compiler. > But please consider that anyone trying to install Ada on Linux will > firstly try to go through the process recommended by the distro > maintainers. Alire is supposed to replace that process, but it's not quite there yet. > In my case, it's a combination of using pacman to install gcc-ada and > AUR (auxiliary packages not directly maintained by Arch distribution) > to install gprbuild, adaxml, alire etc. All I've done so far to > install Ada was to install packages from these sources. > (Unfortunately, both documentation and execution here are lacking, and > the process is quite complicated and error-prone). Apparently this ended up with Alire being configured for the external distro Ada compiler, rather than the internal one. That should not happen by default; perhaps you ran "alr toolchain" at some point? > It seems like you want me to install what gcc-ada would install, but > through Alire. No, just use the default compiler provided by the default Alire installation. > Am I right? In other words, something that isn't provided and managed > by the Linux distribution I'm using. This seems like a process that > requires a lot more expertise from an average user (building any GCC > compiler is not an easy task). Why is this the prefered choice of > environment? It is supposed to require less expertise. Unfortunately, when it fails, it is confusing and hard to diagnose. Part of the reason to start using Alire is to avoid version conflicts like this! Apparently that doesn't really work. Sigh. > As for the documentation: it seems we are reading two different > documentations. Is the one you are referring to available online? > > I was reading this: > https://www.gnu.org/software/emacs/manual/html_mono/ada-mode.html#Installation Sigh. That document is dated 2019 (see the Top node). The upstream source has been updated since then. > This documentation has no mention of how to build Ada mode, nor > anything about how Ada compiler and toolchain are meant to be set up > etc. The current version refers to ELPA. -- -- Stephe