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#43742: Unable to compile ada-mode Date: Thu, 08 Oct 2020 08:43:07 -0700 Message-ID: <86blhcoh9w.fsf@stephe-leake.org> References: <4667596.0VBMTVartN@laptop.coltonlewis.name> <86o8lhoatl.fsf@stephe-leake.org> <2068429.C4sosBPzcN@laptop.coltonlewis.name> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: 43742@debbugs.gnu.org, ada-mode-users@nongnu.org To: Colton Lewis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 08 17:53:06 2020 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 1kQYE5-00024g-Ne for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 17:53:06 +0200 Original-Received: from localhost ([::1]:45162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQYE4-0000rg-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 11:53:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQY5K-0001bl-68 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 11:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQY5J-0001of-Rn for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 11:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQY5J-0000mG-Nd; Thu, 08 Oct 2020 11:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Leake Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, stephen_leake@stephe-leake.org Resent-Date: Thu, 08 Oct 2020 15:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43742 X-GNU-PR-Package: emacs, ada-mode X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, ada-mode-users@nongnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16021718372972 (code B ref -1); Thu, 08 Oct 2020 15:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Oct 2020 15:43:57 +0000 Original-Received: from localhost ([127.0.0.1]:32966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQY5F-0000ls-HL for submit@debbugs.gnu.org; Thu, 08 Oct 2020 11:43:57 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQY5A-0000lf-8P for submit@debbugs.gnu.org; Thu, 08 Oct 2020 11:43:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQY54-0001Rp-ES for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 11:43:51 -0400 Original-Received: from gateway24.websitewelcome.com ([192.185.50.45]:20564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQY52-0001ie-19 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 11:43:45 -0400 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 9A607C4099 for ; Thu, 8 Oct 2020 10:43:12 -0500 (CDT) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id QY4WkdGhjBD8bQY4WkfMvx; Thu, 08 Oct 2020 10:43:12 -0500 X-Authority-Reason: nr=8 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=cROlG5xq7vEDoUoDZpUzB/NZthOEqmylWKkF/0FoDwo=; b=QX7smWNCNeadqHkC2xCiL3TLX hoMHRErfxAGZLK70NfVMlJfg+PuOXrW0ecAgIHutIZpMSxWleRE8D1FGgY33kkQFUqSxv16CkEDs/ BXDrXNwf9gMDFrNaU4B4ltLCYGTCO36QC7mqp2BH9Q9VGtVoGpMawC3uHl5QAOLPg1FtrPunhe0xd Nf2ioFT3YYTzjClNa25hysnFfJZRKqo6NwwAMCA0rgoL/cAyYTf00BRrIhyDwEHjQ7oXYN6Gvzo5B EuroV8KqJyPC1+XoPX1NG6nY5jS7cVs/MoHITLpYTIMWY0OMGPbX0V3sDNLsrHKsI7XkFmt7mfSQy ZGlbIRSvA==; Original-Received: from [76.77.182.20] (port=51222 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kQY4V-003zfz-SO; Thu, 08 Oct 2020 09:43:11 -0600 In-Reply-To: <2068429.C4sosBPzcN@laptop.coltonlewis.name> (Colton Lewis's message of "Tue, 06 Oct 2020 06:32:37 +0000") 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 - 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: 76.77.182.20 X-Source-L: No X-Exim-ID: 1kQY4V-003zfz-SO X-Source-Sender: (Takver4) [76.77.182.20]:51222 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 3 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.50.45; envelope-from=stephen_leake@stephe-leake.org; helo=gateway24.websitewelcome.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/08 11:43:23 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:190106 Archived-At: Colton Lewis writes: > On Sunday, October 4, 2020 6:01:10 PM CDT Stephen Leake wrote: >> >> Colton Lewis writes: >> >> > >> > emacs-27.1 >> > ada-mode-7.1.4 >> > gnat-10.2.1 >> >> What is "gnat-10.2.1"? where did you get it? > > GCC version 10.2.1 from the default Fedora 32 repositories. Ok. Apparently Debian testing has gnat-10.2.0. I could test with the latest Debian gnat release. > On a tangent, the online Emacs manual Where? > says ada-mode should be included in the standard distribution, but it > wasn't. ada-mode used to be in Emacs core, but I moved it to ELPA. Apparently that's a more complex process than I realized. > Should it be there? There is not yet a mechanism to bundle ELPA packages in the emacs distribution. I don't see the point of doing that; people should be used to installing Emacs packages, just like they install Debian (or Fedora or ...) packages. > [Ada] wisi-ada.adb > [Ada] wisitoken.adb > sal-gen_unbounded_definite_red_black_trees.adb:308:26: access > discriminant in return aggregate would be a dangling reference That's a new instance of a known bug; see the WORKAROUND note at line 321 in that file; delete the '.all' and it magically works. > clang-10: warning: argument unused during compilation: > '-specs=/tmp/GNAT-TEMP-000014.TMP' [-Wunused-command-line-argument] This I don't understand -- -- Stephe