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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4D5E158095 for ; Tue, 13 Sep 2022 06:12:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB923E092C; Tue, 13 Sep 2022 06:12:33 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDCCFE092C for ; Tue, 13 Sep 2022 06:12:33 +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 AAB80335D9E for ; Tue, 13 Sep 2022 06:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BB59576 for ; Tue, 13 Sep 2022 06:06:10 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1663049147.1ef6255055b3c9039c4b4a12b4674fca0897c132.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang-runtime/clang-runtime-15.0.0-r1.ebuild sys-devel/clang-runtime/clang-runtime-15.0.0.9999.ebuild sys-devel/clang-runtime/clang-runtime-15.0.0.ebuild sys-devel/clang-runtime/clang-runtime-16.0.0.9999.ebuild X-VCS-Directories: sys-devel/clang-runtime/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1ef6255055b3c9039c4b4a12b4674fca0897c132 X-VCS-Branch: master Date: Tue, 13 Sep 2022 06:06:10 +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: 693abad9-743f-4e6d-92a6-7faca8bf0630 X-Archives-Hash: 989345e6688b82d866cf8c94eca4b553 commit: 1ef6255055b3c9039c4b4a12b4674fca0897c132 Author: Michał Górny gentoo org> AuthorDate: Tue Sep 13 06:05:47 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Sep 13 06:05:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef62550 sys-devel/clang-runtime: Add a pkg_pretend() warning about breakage Signed-off-by: Michał Górny gentoo.org> ...time-15.0.0.ebuild => clang-runtime-15.0.0-r1.ebuild} | 16 +++++++++++++++- sys-devel/clang-runtime/clang-runtime-15.0.0.9999.ebuild | 16 +++++++++++++++- sys-devel/clang-runtime/clang-runtime-16.0.0.9999.ebuild | 16 +++++++++++++++- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/sys-devel/clang-runtime/clang-runtime-15.0.0.ebuild b/sys-devel/clang-runtime/clang-runtime-15.0.0-r1.ebuild similarity index 51% rename from sys-devel/clang-runtime/clang-runtime-15.0.0.ebuild rename to sys-devel/clang-runtime/clang-runtime-15.0.0-r1.ebuild index f0ec98510540..0540473519b1 100644 --- a/sys-devel/clang-runtime/clang-runtime-15.0.0.ebuild +++ b/sys-devel/clang-runtime/clang-runtime-15.0.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib-build toolchain-funcs DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/" @@ -24,3 +24,17 @@ RDEPEND=" libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) " + +pkg_pretend() { + if tc-is-clang; then + ewarn "You seem to be using clang as a system compiler. As of clang-15," + ewarn "upstream has turned a few warnings that commonly occur during" + ewarn "configure script runs into errors by default. This causes some" + ewarn "configure tests to start failing, sometimes resulting in silent" + ewarn "breakage, missing functionality or runtime misbehavior. It is" + ewarn "not yet clear whether the change will remain or be reverted." + ewarn + ewarn "For more information, please see:" + ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" + fi +} diff --git a/sys-devel/clang-runtime/clang-runtime-15.0.0.9999.ebuild b/sys-devel/clang-runtime/clang-runtime-15.0.0.9999.ebuild index e4ff9326ddcb..c45769b02981 100644 --- a/sys-devel/clang-runtime/clang-runtime-15.0.0.9999.ebuild +++ b/sys-devel/clang-runtime/clang-runtime-15.0.0.9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib-build toolchain-funcs DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/" @@ -25,3 +25,17 @@ RDEPEND=" libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) " + +pkg_pretend() { + if tc-is-clang; then + ewarn "You seem to be using clang as a system compiler. As of clang-15," + ewarn "upstream has turned a few warnings that commonly occur during" + ewarn "configure script runs into errors by default. This causes some" + ewarn "configure tests to start failing, sometimes resulting in silent" + ewarn "breakage, missing functionality or runtime misbehavior. It is" + ewarn "not yet clear whether the change will remain or be reverted." + ewarn + ewarn "For more information, please see:" + ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" + fi +} diff --git a/sys-devel/clang-runtime/clang-runtime-16.0.0.9999.ebuild b/sys-devel/clang-runtime/clang-runtime-16.0.0.9999.ebuild index e4ff9326ddcb..c45769b02981 100644 --- a/sys-devel/clang-runtime/clang-runtime-16.0.0.9999.ebuild +++ b/sys-devel/clang-runtime/clang-runtime-16.0.0.9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib-build toolchain-funcs DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/" @@ -25,3 +25,17 @@ RDEPEND=" libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) " + +pkg_pretend() { + if tc-is-clang; then + ewarn "You seem to be using clang as a system compiler. As of clang-15," + ewarn "upstream has turned a few warnings that commonly occur during" + ewarn "configure script runs into errors by default. This causes some" + ewarn "configure tests to start failing, sometimes resulting in silent" + ewarn "breakage, missing functionality or runtime misbehavior. It is" + ewarn "not yet clear whether the change will remain or be reverted." + ewarn + ewarn "For more information, please see:" + ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" + fi +}