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 2073415802E for ; Tue, 2 Jul 2024 15:00:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3406C2BC089; Tue, 2 Jul 2024 15:00:28 +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 1261F2BC089 for ; Tue, 2 Jul 2024 15:00:27 +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 E6FC1341DD0 for ; Tue, 2 Jul 2024 15:00:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 526D31D9E for ; Tue, 2 Jul 2024 15:00:25 +0000 (UTC) From: "Ivan Lloro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ivan Lloro" Message-ID: <1719932423.814f22bd9f106c56a68c48b4cf7a1546923b6c0a.ivan.lloro.boada@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/mayo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-gfx/mayo/mayo-0.8.0.ebuild X-VCS-Directories: media-gfx/mayo/ X-VCS-Committer: ivan.lloro.boada X-VCS-Committer-Name: Ivan Lloro X-VCS-Revision: 814f22bd9f106c56a68c48b4cf7a1546923b6c0a X-VCS-Branch: dev Date: Tue, 2 Jul 2024 15:00:25 +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: 9e954647-21a1-471f-9fea-7521fd3dfbf7 X-Archives-Hash: 8d61faca818c79b2887a355e6fc162be commit: 814f22bd9f106c56a68c48b4cf7a1546923b6c0a Author: Ivan Lloro gmail com> AuthorDate: Tue Jul 2 15:00:21 2024 +0000 Commit: Ivan Lloro gmail com> CommitDate: Tue Jul 2 15:00:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=814f22bd */*: Add warning only GCC 13 compiles (so far). Closes: https://bugs.gentoo.org/935121 Signed-off-by: Ivan Lloro gmail.com> media-gfx/mayo/mayo-0.8.0.ebuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/media-gfx/mayo/mayo-0.8.0.ebuild b/media-gfx/mayo/mayo-0.8.0.ebuild index c8b860801..8fe1a4d74 100644 --- a/media-gfx/mayo/mayo-0.8.0.ebuild +++ b/media-gfx/mayo/mayo-0.8.0.ebuild @@ -15,12 +15,13 @@ KEYWORDS="~amd64" RDEPEND=" >=sci-libs/opencascade-7.7.0-r2 - =media-libs/assimp-5.3.1 " +BDEPEND="sys-devel/gcc:13" DEPEND="${RDEPEND}" @@ -28,6 +29,19 @@ PATCHES=( "${FILESDIR}"/${P}-nogit.patch ) +pkg_pretend() { + # https://bugs.gentoo.org/935121 + if tc-is-gcc && ver_test $(gcc-version) -ne 13 ; then + ewarn "GCC 13 is not in use! Versions different to gcc-13 are known to fail to compile." + ewarn "That is so even when any gcc >= 9 should work according to upstream." + ewarn "See https://bugs.gentoo.org/935121" + elif tc-is-clang; then + ewarn "LLVM/Clang >= 6 should work according to upstream but it is untested." + ewarn "If compilation fails, gcc-13 is known to work." + ewarn "See https://bugs.gentoo.org/935121" + fi +} + src_configure() { eqmake5 "CASCADE_INC_DIR=/usr/include/opencascade" "CASCADE_LIB_DIR=/usr/$(get_libdir)/opencascade" "ASSIMP_INC_DIR=/usr/include/assimp" "ASSIMP_LIB_DIR=/usr/$(get_libdir)" mayo.pro }