From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72E6A15808B for ; Sun, 29 Sep 2024 00:19:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 466C4E2A5E; Sun, 29 Sep 2024 00:19:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 297AFE2A5E for ; Sun, 29 Sep 2024 00:19:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38E68343231 for ; Sun, 29 Sep 2024 00:19:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B885C1897 for ; Sun, 29 Sep 2024 00:18:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1727569087.687e6b6f1b665dbc5b37f470d4984c9c34eabad3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 687e6b6f1b665dbc5b37f470d4984c9c34eabad3 X-VCS-Branch: master Date: Sun, 29 Sep 2024 00:18:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f914694-5e0d-41cb-9bb2-652ef7da65a8 X-Archives-Hash: f2bc060f105a67574fe63df27e7bce99 commit: 687e6b6f1b665dbc5b37f470d4984c9c34eabad3 Author: Sam James gentoo org> AuthorDate: Sat Aug 3 02:10:34 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 29 00:18:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687e6b6f toolchain.eclass: enable libada with USE=ada This was added in d6d640106d59381bf34fea26b80c31e1de8c9e6b but it's not clear to me why. Noticed because it causes loads of Ada test failures as UNRESOLVED, failing with: ``` gnatmake: RTS path "/var/tmp/portage/sys-devel/gcc-15.0.9999/work/build/x86_64-pc-linux-gnu/./libada" not valid: missing adainclude and adalib directories compiler exited with status 1 ``` Fixes: d6d640106d59381bf34fea26b80c31e1de8c9e6b Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 53b64a470e37..e9ee095d772e 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1309,7 +1309,7 @@ toolchain_src_configure() { fi if in_iuse ada ; then - confgcc+=( --disable-libada ) + confgcc+=( $(use_enable ada libada) ) fi if in_iuse cet ; then