From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id B20A91581B9 for ; Wed, 17 Sep 2025 08:00:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9C595341980 for ; Wed, 17 Sep 2025 08:00:14 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 99EA6110571; Wed, 17 Sep 2025 08:00:13 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 8FE26110571 for ; Wed, 17 Sep 2025 08:00:13 +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 462CE3410BB for ; Wed, 17 Sep 2025 08:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82076323D for ; Wed, 17 Sep 2025 08:00:11 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1758096007.5afcdbf9ebb57e24d3d840414b269c70906edb7d.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/, sys-cluster/ceph/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/ceph/ceph-20.1.0-r1.ebuild sys-cluster/ceph/ceph-20.1.0-r2.ebuild sys-cluster/ceph/files/ceph-20.1.0-opentelemetry.patch X-VCS-Directories: sys-cluster/ceph/files/ sys-cluster/ceph/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 5afcdbf9ebb57e24d3d840414b269c70906edb7d X-VCS-Branch: master Date: Wed, 17 Sep 2025 08:00:11 +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: 80192a4d-df4c-4fe4-a5c3-0a5ca2a85bf9 X-Archives-Hash: 3e6664581c3dbc8fd5051c617bfa7d54 commit: 5afcdbf9ebb57e24d3d840414b269c70906edb7d Author: Patrick Lauer gentoo org> AuthorDate: Wed Sep 17 07:58:36 2025 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Wed Sep 17 08:00:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5afcdbf9 sys-cluster/ceph: Improve jaeger/opentelemetry Partial fix, improves detection of libraries. Doesn't compile yet due to abseil-cpp. Bug: https://bugs.gentoo.org/930064 Bug: https://bugs.gentoo.org/962988 Signed-off-by: Patrick Lauer gentoo.org> ...ceph-20.1.0-r1.ebuild => ceph-20.1.0-r2.ebuild} | 5 ++- .../ceph/files/ceph-20.1.0-opentelemetry.patch | 48 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/sys-cluster/ceph/ceph-20.1.0-r1.ebuild b/sys-cluster/ceph/ceph-20.1.0-r2.ebuild similarity index 99% rename from sys-cluster/ceph/ceph-20.1.0-r1.ebuild rename to sys-cluster/ceph/ceph-20.1.0-r2.ebuild index 4772f238589d..3d2313fb29bc 100644 --- a/sys-cluster/ceph/ceph-20.1.0-r1.ebuild +++ b/sys-cluster/ceph/ceph-20.1.0-r2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0 LGPL-2.1 CC-BY-SA-3.0 GPL-2 GPL-2+ LGPL-2+ LGPL-2.1 LGPL-3 GPL-3 BSD Boost-1.0 MIT public-domain" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="~amd64" CPU_FLAGS_X86=(avx2 avx512f pclmul sse{,2,3,4_1,4_2} ssse3) @@ -84,7 +84,7 @@ DEPEND=" !jemalloc? ( >=dev-util/google-perftools-2.6.1:= ) jaeger? ( dev-cpp/nlohmann_json:= - +Date: Tue, 15 Apr 2025 21:48:10 +0800 +Subject: [PATCH] CMakeLists.txt: fix opentelemetry library + +otherwise, cmake failed with: + +> CMake Error at src/CMakeLists.txt:443 (target_link_libraries): +> The link interface of target "jaeger_base" contains: +> +> opentelemetry::libopentelemetry +> +> but the target was not found. Possible reasons include: +> +> * There is a typo in the target name. +> * A find_package call is missing for an IMPORTED target. +> * An ALIAS target is missing. + +See also: https://bugs.gentoo.org/930064 + +Signed-off-by: Z. Liu +--- + src/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 801086e1268a1..5d30cde9790d4 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -330,7 +330,7 @@ if(WITH_JAEGER) + include(BuildOpentelemetry) + build_opentelemetry() + add_library(jaeger_base INTERFACE) +- target_link_libraries(jaeger_base INTERFACE opentelemetry::libopentelemetry ++ target_link_libraries(jaeger_base INTERFACE ${OPENTELEMETRY_CPP_LIBRARIES} + thrift::libthrift) + endif() + +--- a/src/CMakeLists.txt 2025-09-17 07:24:59.548258925 -0000 ++++ b/src/CMakeLists.txt 2025-09-17 07:28:31.449345268 -0000 +@@ -319,6 +319,7 @@ + + if(WITH_JAEGER) + find_package(thrift 0.13.0 REQUIRED) ++ find_package(prometheus-cpp REQUIRED) + find_package(opentelemetry-cpp REQUIRED) + set(jaeger_base + opentelemetry-cpp::common