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 B38B3158041 for ; Thu, 21 Mar 2024 05:58:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 947EEE29B5; Thu, 21 Mar 2024 05:58:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FA99E29B5 for ; Thu, 21 Mar 2024 05:58:49 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7266343025 for ; Thu, 21 Mar 2024 05:58:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3466515B1 for ; Thu, 21 Mar 2024 05:58:46 +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: <1711000662.ec105e48578ab0964c600fcd6cb09d42e349215e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/oc/oc-2.0.ebuild X-VCS-Directories: sci-libs/oc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ec105e48578ab0964c600fcd6cb09d42e349215e X-VCS-Branch: master Date: Thu, 21 Mar 2024 05:58:46 +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: 7739b706-8494-4d33-af7e-d1dd90602e31 X-Archives-Hash: 5fa69133e62c38356429d37f7e22c1e4 commit: ec105e48578ab0964c600fcd6cb09d42e349215e Author: Eli Schwartz gmail com> AuthorDate: Thu Mar 21 05:47:42 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 21 05:57:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec105e48 sci-libs/oc: mark as LTO-unsafe, strict-aliasing unsafe Upstream is libdap. They exist. They have lots of maintained software, it is simply that oc isn't one of them as far as I can tell. What happened to it? I don't know. Maybe it's legacy abandoned software. Their distfiles server still has it, but that's it. Possibly we should delete the package instead... Closes: https://bugs.gentoo.org/862906 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sci-libs/oc/oc-2.0.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0.ebuild index ee688999d5dd..9dd7413b919e 100644 --- a/sci-libs/oc/oc-2.0.ebuild +++ b/sci-libs/oc/oc-2.0.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit flag-o-matic + DESCRIPTION="Network Data Access Protocol client C library" HOMEPAGE="https://opendap.org/" SRC_URI="https://opendap.org/pub/OC/source/${P}.tar.gz" @@ -18,6 +20,15 @@ RDEPEND="net-misc/curl" DEPEND="${RDEPEND}" src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862906 + # + # Upstream exists, they just don't seem to mention oc anymore, *anywhere*. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf --disable-static }