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 7AEBD15852A for ; Thu, 22 Aug 2024 12:22:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA3FEE2A4F; Thu, 22 Aug 2024 12:22:11 +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 85C46E2A4F for ; Thu, 22 Aug 2024 12:22:11 +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 7B231340C7B for ; Thu, 22 Aug 2024 12:22:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D93351EFA for ; Thu, 22 Aug 2024 12:22:08 +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: <1724329301.b2f1216adb56a434ab8e590cb530ce79c2e4da1a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/dtrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild dev-debug/dtrace/dtrace-9999.ebuild X-VCS-Directories: dev-debug/dtrace/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b2f1216adb56a434ab8e590cb530ce79c2e4da1a X-VCS-Branch: master Date: Thu, 22 Aug 2024 12:22:08 +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: 09706ff6-dca6-486b-b2a0-3eb04811bf79 X-Archives-Hash: 5740f5493914cf8da31d1a0c96e5a6c7 commit: b2f1216adb56a434ab8e590cb530ce79c2e4da1a Author: Sam James gentoo org> AuthorDate: Thu Aug 22 12:20:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 22 12:21:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f1216a dev-debug/dtrace: improve config checks further (mostly pedantry, also for tests) This adds some technically-required-but-already-covered-by-dependencies CONFIG_* requirements in general, and then some real config requirements we were missing for the testsuite. Signed-off-by: Sam James gentoo.org> dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild | 12 +++++++++++- dev-debug/dtrace/dtrace-9999.ebuild | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild index f084535e5911..04646e70ea08 100644 --- a/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild +++ b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild @@ -85,12 +85,22 @@ pkg_pretend() { CONFIG_CHECK+=" ~CUSE" # Tracing - CONFIG_CHECK+=" ~FTRACE_SYSCALLS ~UPROBE_EVENTS ~DYNAMIC_FTRACE ~FUNCTION_TRACER" + CONFIG_CHECK+=" ~TRACING" + CONFIG_CHECK+=" ~UPROBES ~UPROBE_EVENTS" + CONFIG_CHECK+=" ~FTRACE ~FTRACE_SYSCALLS ~DYNAMIC_FTRACE ~FUNCTION_TRACER" CONFIG_CHECK+=" ~FPROBE" + # DTrace can fallback to kprobes for fbt but people often want them off + # for security and newer kernels work fine with BPF for that, so + # let's omit it. # https://gcc.gnu.org/PR84052 CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT" + if use install-tests ; then + # See test/modules + CONFIG_CHECK+=" ~EXT4_FS ~ISO9660_FS ~NFS_FS ~RDS ~TUN" + fi + check_extra_config } diff --git a/dev-debug/dtrace/dtrace-9999.ebuild b/dev-debug/dtrace/dtrace-9999.ebuild index f084535e5911..04646e70ea08 100644 --- a/dev-debug/dtrace/dtrace-9999.ebuild +++ b/dev-debug/dtrace/dtrace-9999.ebuild @@ -85,12 +85,22 @@ pkg_pretend() { CONFIG_CHECK+=" ~CUSE" # Tracing - CONFIG_CHECK+=" ~FTRACE_SYSCALLS ~UPROBE_EVENTS ~DYNAMIC_FTRACE ~FUNCTION_TRACER" + CONFIG_CHECK+=" ~TRACING" + CONFIG_CHECK+=" ~UPROBES ~UPROBE_EVENTS" + CONFIG_CHECK+=" ~FTRACE ~FTRACE_SYSCALLS ~DYNAMIC_FTRACE ~FUNCTION_TRACER" CONFIG_CHECK+=" ~FPROBE" + # DTrace can fallback to kprobes for fbt but people often want them off + # for security and newer kernels work fine with BPF for that, so + # let's omit it. # https://gcc.gnu.org/PR84052 CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT" + if use install-tests ; then + # See test/modules + CONFIG_CHECK+=" ~EXT4_FS ~ISO9660_FS ~NFS_FS ~RDS ~TUN" + fi + check_extra_config }