From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1674912-garchives=archives.gentoo.org@lists.gentoo.org> 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 8641215808B for <garchives@archives.gentoo.org>; Mon, 30 Sep 2024 02:02:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5416CE2A56; Mon, 30 Sep 2024 02:02:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 3CA97E2A56 for <gentoo-commits@lists.gentoo.org>; Mon, 30 Sep 2024 02:02:35 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E4013431E8 for <gentoo-commits@lists.gentoo.org>; Mon, 30 Sep 2024 02:02:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DC0CC36 for <gentoo-commits@lists.gentoo.org>; Mon, 30 Sep 2024 02:02:32 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1727661521.579c67b21758fbacff3527a01a12f00ed90f931d.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: 579c67b21758fbacff3527a01a12f00ed90f931d X-VCS-Branch: master Date: Mon, 30 Sep 2024 02:02:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5838d8bd-30dc-4ed6-b892-1abfe29dfc3b X-Archives-Hash: 9206986dd81d189827791dec29ca1328 commit: 579c67b21758fbacff3527a01a12f00ed90f931d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 30 01:58:41 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 30 01:58:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=579c67b2 toolchain.eclass: add explanation for 'sorry' on fallback Ada path Give a nicer message to users in case they hit the 'sorry' fallback Ada path. Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b563277e90b1..b2ada2190328 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -903,6 +903,9 @@ toolchain_src_configure() { # OK, even gnat-gpl didn't work. Give up for now. # TODO: Source a newer, or build our own, bootstrap tarball. if [[ -z ${ada_bootstrap} ]] ; then + eerror "Couldn't find a suitable GNAT compiler for Ada!" + eerror "Please try installing dev-lang/gnat-gpl." + eerror "For other platforms, you may need to use crossdev." die "Fallback ada-bootstrap path not yet implemented!" #einfo "Using bootstrap GNAT compiler..."