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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4AD5015813A for ; Tue, 07 Jan 2025 20:01:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 439A6E0817; Tue, 07 Jan 2025 20:01:07 +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 2D73DE0817 for ; Tue, 07 Jan 2025 20:01:07 +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 5367B335D72 for ; Tue, 07 Jan 2025 20:01:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B925811B5 for ; Tue, 07 Jan 2025 20:01:04 +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: <1736279969.76a03786adbf398191760dee58a4a06e44ebc584.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild X-VCS-Directories: dev-lang/gnat-gpl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 76a03786adbf398191760dee58a4a06e44ebc584 X-VCS-Branch: master Date: Tue, 07 Jan 2025 20:01:04 +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: 4e933609-5465-4709-b5fe-4fe4294eeddc X-Archives-Hash: 3dada5a30b51d9bcb7356b61a2f12df4 commit: 76a03786adbf398191760dee58a4a06e44ebc584 Author: Sam James gentoo org> AuthorDate: Tue Jan 7 19:59:29 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 7 19:59:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a03786 dev-lang/gnat-gpl: strip unsupported flags as we do in ada-bootstrap The binhost apparently tried to build gnat-gpl instead of ada-bootstrap (why?) and failed with: ``` checking whether the GNU Fortran compiler is working... no configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching /var/tmp/portage/dev-lang/gnat-gpl-2021-r5/work/build/x86_64-pc-linux-gnu/libgfortran/config.log ``` Let's try use the same stripping-unsupported-flags approach as we do in ada-bootstrap until we remove gnat-gpl entirely. Bug: https://bugs.gentoo.org/938150 Bug: https://bugs.gentoo.org/940601 Signed-off-by: Sam James gentoo.org> dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild index 0b3ec6d0b5d2..24781590d295 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -149,8 +149,12 @@ src_configure() { # conservative, we just want it to build for bootstrapping proper # sys-devel/gcc[ada]. We don't need it to be fast. strip-flags + CC="${WORKDIR}"/${BTSTRP}/bin/gcc strip-unsupported-flags + CC="${WORKDIR}"/${GNATDIR}/bin/gcc strip-unsupported-flags strip-unsupported-flags filter-lto + append-flags -O2 + append-flags -fno-strict-aliasing downgrade_arch_flags "$(gcc-version)" toolchain_src_configure