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 239F7158043 for ; Mon, 1 Apr 2024 05:30:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E789E2A16; Mon, 1 Apr 2024 05:30:55 +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 3F12DE2A16 for ; Mon, 1 Apr 2024 05:30:55 +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 4A7583431BD for ; Mon, 1 Apr 2024 05:30:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A550F1620 for ; Mon, 1 Apr 2024 05:30:52 +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: <1711949366.d7bd3f9525291e25cbae8c6f107227d6a14a4c4f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-fortran/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild X-VCS-Directories: sci-libs/netcdf-fortran/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d7bd3f9525291e25cbae8c6f107227d6a14a4c4f X-VCS-Branch: master Date: Mon, 1 Apr 2024 05:30:52 +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: 42e8702c-141e-4d43-8733-e451f9222f89 X-Archives-Hash: b6ab4cece9c260e3b42e7cccd04f2d78 commit: d7bd3f9525291e25cbae8c6f107227d6a14a4c4f Author: Eli Schwartz gmail com> AuthorDate: Mon Apr 1 01:46:11 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Apr 1 05:29:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7bd3f95 sci-libs/netcdf-fortran: mark as LTO-unsafe Closes: https://bugs.gentoo.org/927588 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild | 7 ++++++- sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild | 7 ++++++- sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild index 2677655adbea..011dff676f10 100644 --- a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild +++ b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 FORTRAN_STANDARD="77 90" -inherit fortran-2 +inherit flag-o-matic fortran-2 DESCRIPTION="Scientific library and interface for array oriented data access" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" @@ -25,6 +25,11 @@ DEPEND=" BDEPEND="doc? ( app-text/doxygen )" src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/927588 + # https://github.com/Unidata/netcdf-fortran/issues/437 + filter-lto + econf \ --disable-valgrind \ --with-temp-large="${T}" \ diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild index d89617045f7d..fc08cfb95414 100644 --- a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild +++ b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild @@ -5,7 +5,7 @@ EAPI=8 FORTRAN_STANDARD="77 90" -inherit autotools fortran-2 +inherit autotools flag-o-matic fortran-2 DESCRIPTION="Scientific library and interface for array oriented data access" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" @@ -28,6 +28,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/927588 + # https://github.com/Unidata/netcdf-fortran/issues/437 + filter-lto + econf \ --disable-valgrind \ --with-temp-large="${T}" \ diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild index f9c020fa3521..9b44a0997205 100644 --- a/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild +++ b/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 FORTRAN_STANDARD="77 90" -inherit cmake fortran-2 +inherit cmake flag-o-matic fortran-2 DESCRIPTION="Scientific library and interface for array oriented data access" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" @@ -25,6 +25,11 @@ DEPEND=" BDEPEND="doc? ( app-text/doxygen[dot] )" src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/927588 + # https://github.com/Unidata/netcdf-fortran/issues/437 + filter-lto + local mycmakeargs=( -DDISABLE_ZSTANDARD_PLUGIN=$(usex !zstd) -DBUILD_EXAMPLES=$(usex examples)