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 964B915800C for ; Mon, 3 Apr 2023 20:16:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB684E094A; Mon, 3 Apr 2023 20:16: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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EB17E094A for ; Mon, 3 Apr 2023 20:16: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 80E4C335C56 for ; Mon, 3 Apr 2023 20:16:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC78F8BC for ; Mon, 3 Apr 2023 20:16:52 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1680552751.102d9b22dc3c74927226fe3fa7b3a39eb4b1a012.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdispatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libdispatch/libdispatch-5.7.1.ebuild dev-libs/libdispatch/libdispatch-5.7.3.ebuild X-VCS-Directories: dev-libs/libdispatch/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 102d9b22dc3c74927226fe3fa7b3a39eb4b1a012 X-VCS-Branch: master Date: Mon, 3 Apr 2023 20:16: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: ca641336-047f-4fa0-86eb-ab6afce81f19 X-Archives-Hash: 3d38363b670ebef4fd4879f50e30d434 commit: 102d9b22dc3c74927226fe3fa7b3a39eb4b1a012 Author: Georgy Yakovlev gentoo org> AuthorDate: Mon Apr 3 20:12:31 2023 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Apr 3 20:12:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102d9b22 dev-libs/libdispatch: add USE=test build system unconditionally was evaluating BUILD_TESTING as true this leads to build failures in one of the test deps on some arches. /usr/bin/powerpc64le-unknown-linux-gnu-ld.bfd: tests/libbsdtests.a(bsdtests.c.o): in function `test_ptr_null_format': bsdtests.c:(.text+0x1d8): undefined reference to `vsnprintf.inline' /usr/bin/powerpc64le-unknown-linux-gnu-ld.bfd: tests/libbsdtests.a(bsdtests.c.o): in function `test_ptr_notnull_format': bsdtests.c:(.text+0x478): undefined reference to `vsnprintf.inline' /usr/bin/powerpc64le-unknown-linux-gnu-ld.bfd: tests/libbsdtests.a(bsdtests.c.o): in function `test_ptr_format': bsdtests.c:(.text+0x72c): undefined reference to `vsnprintf.inline' /usr/bin/powerpc64le-unknown-linux-gnu-ld.bfd: tests/libbsdtests.a(bsdtests.c.o): in function `test_ptr_not_format': bsdtests.c:(.text+0x9dc): undefined reference to `vsnprintf.inline' /usr/bin/powerpc64le-unknown-linux-gnu-ld.bfd: tests/libbsdtests.a(bsdtests.c.o): in function `test_uint32_format': bsdtests.c:(.text+0xc8c): undefined reference to `vsnprintf.inline' /usr/bin/powerpc64le-unknown-linux-gnu-ld.bfd: tests/libbsdtests.a(bsdtests.c.o):bsdtests.c:(.text+0xf3c): more undefined references to `vsnprintf.inline' follow explicitly passing -DBUILD_TESTINF=OFF allows to skip building and linking offending test. Library works well on ppc64le, just the test does not build with 128bit ieee-long-double toolchain due to old headers somewhere in test deps. The actual falure will still be visible with FEATURES="test" but only on ppc64le systems with USE=ieee-long-double toolchain. Signed-off-by: Georgy Yakovlev gentoo.org> dev-libs/libdispatch/libdispatch-5.7.1.ebuild | 4 ++++ dev-libs/libdispatch/libdispatch-5.7.3.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dev-libs/libdispatch/libdispatch-5.7.1.ebuild b/dev-libs/libdispatch/libdispatch-5.7.1.ebuild index c0c209226f47..da9e6411f534 100644 --- a/dev-libs/libdispatch/libdispatch-5.7.1.ebuild +++ b/dev-libs/libdispatch/libdispatch-5.7.1.ebuild @@ -15,6 +15,9 @@ SRC_URI="https://github.com/apple/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm64 ppc64 ~riscv x86" +IUSE="test" + +RESTRICT="!test? ( test )" DEPEND=" !gnustep-base/libobjc2 @@ -49,5 +52,6 @@ src_configure () { export HOST_CXX="$(tc-getBUILD_CXX)" tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG + local mycmakeargs=( -DBUILD_TESTING=$(usex test) ) cmake_src_configure } diff --git a/dev-libs/libdispatch/libdispatch-5.7.3.ebuild b/dev-libs/libdispatch/libdispatch-5.7.3.ebuild index 33616ad732de..95454fe7e805 100644 --- a/dev-libs/libdispatch/libdispatch-5.7.3.ebuild +++ b/dev-libs/libdispatch/libdispatch-5.7.3.ebuild @@ -15,6 +15,9 @@ SRC_URI="https://github.com/apple/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" DEPEND=" !gnustep-base/libobjc2 @@ -49,5 +52,6 @@ src_configure () { export HOST_CXX="$(tc-getBUILD_CXX)" tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG + local mycmakeargs=( -DBUILD_TESTING=$(usex test) ) cmake_src_configure }