From unknown Sun Jun 22 08:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78821: severe build difficulties overcome only by severe stubbonness Resent-From: Lucas Veltkamp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, stephen_leake@stephe-leake.org Resent-Date: Wed, 18 Jun 2025 01:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78821 X-GNU-PR-Package: emacs, ada-mode X-GNU-PR-Keywords: To: ada-mode-users@nongnu.org, 78821@debbugs.gnu.org X-Debbugs-Original-To: ada-mode-users@nongnu.org, bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.175021185115996 (code B ref -1); Wed, 18 Jun 2025 01:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2025 01:57:31 +0000 Received: from localhost ([127.0.0.1]:39995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRi3M-00049o-IF for submit@debbugs.gnu.org; Tue, 17 Jun 2025 21:57:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49298) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRbo9-00059c-Dd for submit@debbugs.gnu.org; Tue, 17 Jun 2025 15:17:24 -0400 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 1uRbnz-0001ax-Iv for bug-gnu-emacs@gnu.org; Tue, 17 Jun 2025 15:17:11 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1uRbnw-0003xs-N8 for bug-gnu-emacs@gnu.org; Tue, 17 Jun 2025 15:17:11 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4bMGp43sv0z9skM; Tue, 17 Jun 2025 21:17:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=henri.lv; s=MBO0001; t=1750187820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pzXxlqJ/SC6Kd1VMWS/002GkSiQQ037Tx1LNrRiNvc8=; b=HUTYlFMN1r5YjAi9HggFAoDsr99fM+ZNW4RZ4PbleorqViacCQcDH3kOp+HUX78FKG1R4L wxaLTLNlmQALABfQcNMLBL2PZeW9VXNG5Gw3FweGS8pv1uD9wWO+U2Wxexj4l53dhL8LOk RJ9huFt+qmh3bnRD8GnM5kUVsS7qD7xB5xgOCjxNVkSeXGqeVZskpA7OS3z0AXwmmlYRdi pFTdzdovi1g5bwDTcau9Zd8mavrMeizfewRDLiaX6F5Nw6lJB0+SVUdIF8x9EsEGQL7pb/ o3U5+IwrT9XDaUzgEFnKoNMbRsCDvnrszkE1nRtAByVUO/lW4zjZpguCGHaQYw== Message-ID: <99bd581b102cd3ae5efa707ad69c5dea2ea7258e.camel@henri.lv> From: Lucas Veltkamp Date: Tue, 17 Jun 2025 20:16:59 +0100 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=lucas@henri.lv; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Tue, 17 Jun 2025 21:57:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Package: emacs, ada-mode I just wanted to report issues building the source for emacs ada mode on my debian trixie and bookworm machines (x_86 and arm64 respectively). Alire does not work full stop to build it, with the error:=C2=A0 >ada_annex_p.re2c:105: note: macro "YYDEBUG" defined here >ada_annex_p_re2c.c:18729:10: error: macro "YYDEBUG" requires 2 >arguments, but only 1 given repeated again and again. I tried with different versions of gnat, and different versions of the alr package to no avail. Building using the makefile installed when getting the package through the emacs repositories produced the same issue, but only because it uses alr by default, if available. Editing the build file to remove all reference to alr gets it to build.=C2=A0 There were smaller issues, which are probably worth mentioning too. The build script, edited to remove alire references, only works if you change the call to gnatprove to the actual name of the binary on your system (which unfortunately varies in debian with the form gnatprove- $GCCVERSIONNUM). Further, it builds by default with 8 jobs, an oddly specific number which happens to outnumber the cores on my arm machine (this is very very minor but I thought if I'm making a list...). The install script works (I removed reference to alr there too), apart from the fact that it does not copy across the requisite txt file (ada_annex_p_lr1_re2c_parse_table.txt), so you need to do that by hand. If these errors just occur because I'm stupid or missing some documentation, I apologise. Thank you for working on this package. yours, Lucas