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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C732C1580EB for ; Wed, 28 May 2025 16:18:54 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A816A343067 for ; Wed, 28 May 2025 16:18:54 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A7D87110287; Wed, 28 May 2025 16:18:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 bobolink.gentoo.org (Postfix) with ESMTPS id 9E09A110287 for ; Wed, 28 May 2025 16:18:53 +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 4D015343067 for ; Wed, 28 May 2025 16:18:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFA32E9B for ; Wed, 28 May 2025 16:18:51 +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: <1748449114.bdfd1f10d86cdbc4bf8ba820dba452dae9afd132.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/bind/bind-9.20.7-r1.ebuild net-dns/bind/metadata.xml X-VCS-Directories: net-dns/bind/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bdfd1f10d86cdbc4bf8ba820dba452dae9afd132 X-VCS-Branch: master Date: Wed, 28 May 2025 16:18:51 +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: 481b4960-fca4-4cc9-9a12-3c3986094431 X-Archives-Hash: 7c16b451a2b8a83929df19269f642910 commit: bdfd1f10d86cdbc4bf8ba820dba452dae9afd132 Author: Sam James gentoo org> AuthorDate: Wed May 28 16:17:07 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 28 16:18:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfd1f10 net-dns/bind: fix automagic dtrace/systemtap use Noticed because it automagically tries to use DTrace and with LTO, that goes wrong (for now, but that's being worked on right now). Signed-off-by: Sam James gentoo.org> net-dns/bind/bind-9.20.7-r1.ebuild | 11 ++++++++++- net-dns/bind/metadata.xml | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/net-dns/bind/bind-9.20.7-r1.ebuild b/net-dns/bind/bind-9.20.7-r1.ebuild index 5e2ec26cf327..010456b8ad3d 100644 --- a/net-dns/bind/bind-9.20.7-r1.ebuild +++ b/net-dns/bind/bind-9.20.7-r1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MPL-2.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="dnstap doc doh fixed-rrset idn jemalloc geoip gssapi lmdb selinux static-libs test xml" +IUSE="dnstap doc doh fixed-rrset idn jemalloc geoip gssapi lmdb selinux static-libs systemtap test xml" RESTRICT="!test? ( test )" DEPEND=" @@ -54,6 +54,9 @@ BDEPEND=" test? ( dev-util/cmocka ) + systemtap? ( + dev-debug/systemtap + ) " src_prepare() { @@ -68,6 +71,11 @@ src_configure() { # are available. Force fallback to prebuilt ones. use doc || export ac_cv_path_SPHINX_BUILD= SPHINX_BUILD= + # Workaround for bug #938302 + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + export DTRACE="${BROOT}"/usr/bin/stap-dtrace + fi + local myeconfargs=( --prefix="${EPREFIX}"/usr --sysconfdir="${EPREFIX}"/etc/bind @@ -83,6 +91,7 @@ src_configure() { $(use_with doh libnghttp2) $(use_enable static-libs static) $(use_enable geoip) + $(use_enable systemtap tracing) $(use_with test cmocka) $(use_with geoip maxminddb) $(use_with gssapi) diff --git a/net-dns/bind/metadata.xml b/net-dns/bind/metadata.xml index 5dfa7226e586..1f55c6ba2737 100644 --- a/net-dns/bind/metadata.xml +++ b/net-dns/bind/metadata.xml @@ -12,5 +12,6 @@ Enables fixed rrset-order option Enable gssapi support Enable LMDB support to store configuration for 'addzone' zones + Build support for profiling and tracing using dev-debug/systemtap