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 EE4881582ED for ; Mon, 10 Jun 2024 11:28:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3723DE2A7C; Mon, 10 Jun 2024 11:28:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 52720E2A74 for ; Mon, 10 Jun 2024 11:28:24 +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 7F54C340940 for ; Mon, 10 Jun 2024 11:28:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9E10126B for ; Mon, 10 Jun 2024 11:28:21 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1718000969.f6942cfedbd9d7e70fdf948d9e66f8e2b20c2ee5.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-nntp/pan/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-nntp/pan/pan-0.159-r1.ebuild X-VCS-Directories: net-nntp/pan/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: f6942cfedbd9d7e70fdf948d9e66f8e2b20c2ee5 X-VCS-Branch: master Date: Mon, 10 Jun 2024 11:28:21 +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: 399007ed-3060-4e8d-828a-fd478fff8d25 X-Archives-Hash: fb76a1efd6edb7642e9846a76b0f071f commit: f6942cfedbd9d7e70fdf948d9e66f8e2b20c2ee5 Author: Joe Kappus wt gd> AuthorDate: Mon Jun 10 06:28:03 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Mon Jun 10 06:29:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6942cfe net-nntp/pan: correct test restriction, relax clang linking Am aware of https://wiki.gentoo.org/wiki/Project:Quality_Assurance/-Wl,-z,defs_and_-Wl,--no-allow-shlib-undefined Will try to get this properly fixed soon, workaround now for clang users. Bug: https://bugs.gentoo.org/933860 Signed-off-by: Joe Kappus wt.gd> net-nntp/pan/pan-0.159-r1.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/net-nntp/pan/pan-0.159-r1.ebuild b/net-nntp/pan/pan-0.159-r1.ebuild index 0e4f95094..fc1cbd592 100644 --- a/net-nntp/pan/pan-0.159-r1.ebuild +++ b/net-nntp/pan/pan-0.159-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake gnome2 +inherit cmake gnome2 toolchain-funcs DESCRIPTION="A newsreader for GNOME" HOMEPAGE="https://gitlab.gnome.org/GNOME/pan/" @@ -14,6 +14,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="dbus gnome-keyring libnotify spell ssl" +# currently broken due to cmake migration +RESTRICT="test" DEPEND=" >=dev-libs/glib-2.26:2 @@ -42,6 +44,11 @@ BDEPEND=" src_prepare() { cmake_src_prepare + + # Relax linker restriction on clang. Not ideal, but it's this or block clang. + if tc-is-clang; then + append-ldflags "-Wl,--allow-shlib-undefined" + fi } src_configure() { @@ -66,10 +73,4 @@ src_install() { dolib.so "${BUILD_DIR}/pan/tasks/libtasks.so" dolib.so "${BUILD_DIR}/pan/usenet-utils/libusenet-utils.so" - -} - -src_test() { - # not doing tests. Bug #933860 - einfo "Skipping tests..." }