summaryrefslogtreecommitdiff
path: root/dev-debug/dtrace
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-20 12:25:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-20 12:25:59 +0100
commitc431a44e3cfa102e5ef2c9d6bbac48e28c9b15cb (patch)
tree763b8a8b758bcb259d7f7325aac3170f62061933 /dev-debug/dtrace
parent1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 (diff)
gentoo auto-resync : 20:08:2024 - 12:25:59
Diffstat (limited to 'dev-debug/dtrace')
-rw-r--r--dev-debug/dtrace/Manifest4
-rw-r--r--dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild (renamed from dev-debug/dtrace/dtrace-2.0.1.1.ebuild)15
-rw-r--r--dev-debug/dtrace/dtrace-9999.ebuild13
3 files changed, 27 insertions, 5 deletions
diff --git a/dev-debug/dtrace/Manifest b/dev-debug/dtrace/Manifest
index 35f1b2bd43ae..bc2bcd3cd97c 100644
--- a/dev-debug/dtrace/Manifest
+++ b/dev-debug/dtrace/Manifest
@@ -1,5 +1,5 @@
AUX dtprobed.init 209 BLAKE2B f97bd2c0c681697becc2c6c7f87b8fdf779251d0473dd440bf30f0c3ce95e26e24b2496a2e8de4ff33a9ffc8a05e5bc64d066969dd7e4458ea65d2d10ae61723 SHA512 12a8e07747d8a8c3456675ea88060656dad2b594abc69daa15384abab4d11ea888d88287f921a095cad84f2e254dc858ea50e29f5e17b663f7b6be25dcbfd7b5
DIST dtrace-2.0.1.1.tar.gz 1435524 BLAKE2B 761a931b9d871e9316f11ebe960f6bbfd3c16a82cf1cdd9ae5d69b22e0d8cea8d4b3924c960b7915f8843ce1e5c37bd257a52f1ce346957002b0ab00e59306fb SHA512 15809f2bc996bac9bd6cbb2b03eaa9a0c6a2aea9404642280f14d75b7d6feaec31b5d2c16915255cd202006cdff7835f578c042b087605708a9eb935407f1b95
-EBUILD dtrace-2.0.1.1.ebuild 4551 BLAKE2B 23dd7a35b14e9bc0d3f1e4b1acb873fc5bccc151e92905a06e72b6f7d4e923e9dba550f0a09fc8c4b415c08e6bcfd7812c0d972fc853750f3a58947beaa3ff83 SHA512 4ec4767650eeef7059944a516ce8147ce2a713dbf57bedf95d93143dad94ddccf1f838584db456d11de61a394fe6322204d71337a497364922de6e45ca88e092
-EBUILD dtrace-9999.ebuild 4495 BLAKE2B dff9525b91907f412168c79dcaab59f48afcce7cdd2c086340707b63fe37c732a06bd7d9eb301facf4cc33ed2b29854a7b6e528a838300a3f760abac6c021418 SHA512 a6dd940179317d770f8d47494ea99e1b50d17d3632343d32e2c6ec0db388803eedf93cf5680cffccf34bcc1d9ebbad48917c1d8b01ab1281ee2fd19469847d40
+EBUILD dtrace-2.0.1.1-r1.ebuild 4799 BLAKE2B 7bcd3b79931978bdd51bc77045c3f99dcdf37681a5fbe8b96f95188603569ed603e1d4ac443aab230da8f7aff3254aa7b4e4c8bd28b19007c5c4426dbf9da0db SHA512 336788a61c481e00c168177b6575bce694f9c7ff2ed917937b34f429c21d0a59e775fdc2e9632e6d8d4a3eb53826f18e0fcda9d2f850cb006cd8bce97e8d847a
+EBUILD dtrace-9999.ebuild 4799 BLAKE2B 7bcd3b79931978bdd51bc77045c3f99dcdf37681a5fbe8b96f95188603569ed603e1d4ac443aab230da8f7aff3254aa7b4e4c8bd28b19007c5c4426dbf9da0db SHA512 336788a61c481e00c168177b6575bce694f9c7ff2ed917937b34f429c21d0a59e775fdc2e9632e6d8d4a3eb53826f18e0fcda9d2f850cb006cd8bce97e8d847a
MISC metadata.xml 647 BLAKE2B 4166a7a430a3cfa4967960edf9cc13673bc38b3b610669e13869d9ad0b99eaa643e31a7e07df964b1fb1b071aa437bd687de10968266a4d9b54fb04f5a3ce240 SHA512 19a73dac88ad46ae296698cd45b416fe08a75d666440518d913b78631bf11ae53087801e13936d6218f0c3b2083694acfafa5dca12ec9d5fd7fc4e2252d3deb3
diff --git a/dev-debug/dtrace/dtrace-2.0.1.1.ebuild b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
index 5baf5c47c35c..f084535e5911 100644
--- a/dev-debug/dtrace/dtrace-2.0.1.1.ebuild
+++ b/dev-debug/dtrace/dtrace-2.0.1.1-r1.ebuild
@@ -65,6 +65,16 @@ BDEPEND="
>=sys-devel/bpf-toolchain-14.1.0
sys-devel/flex
"
+# TODO: Make this optional, valgrind.h is included unconditionally
+# https://github.com/oracle/dtrace-utils/issues/80
+DEPEND+=" dev-debug/valgrind"
+
+QA_PRESTRIPPED="
+ usr/.*/dtrace/testsuite/test/triggers/.*
+"
+QA_FLAGS_IGNORED="
+ usr/.*/dtrace/testsuite/test/triggers/.*
+"
pkg_pretend() {
# TODO: optional kernel patches
@@ -76,6 +86,7 @@ pkg_pretend() {
# Tracing
CONFIG_CHECK+=" ~FTRACE_SYSCALLS ~UPROBE_EVENTS ~DYNAMIC_FTRACE ~FUNCTION_TRACER"
+ CONFIG_CHECK+=" ~FPROBE"
# https://gcc.gnu.org/PR84052
CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT"
@@ -94,7 +105,7 @@ src_configure() {
tc-export CC
- # TODO: Can drop once https://lore.kernel.org/dtrace/20240425164057.420580-1-nick.alcock@oracle.com/ is in
+ # https://github.com/oracle/dtrace-utils/issues/78
tc-enables-fortify-source && append-cppflags -U_FORTIFY_SOURCE
# lld does this by default, so fix that, although lld fails anyway...
@@ -113,7 +124,7 @@ src_configure() {
local confargs=(
# TODO: Maybe we should set the UNPRIV_UID to something? -3 is a bit... kludgy
--prefix="${EPREFIX}"/usr
- --mandir="${EPREFIX}"/usr/share/man
+ --mandir="${EPREFIX}"/usr/share/man/man8
--docdir="${EPREFIX}"/usr/share/doc/${PF}
HAVE_LIBCTF=yes
HAVE_LIBSYSTEMD=$(usex systemd)
diff --git a/dev-debug/dtrace/dtrace-9999.ebuild b/dev-debug/dtrace/dtrace-9999.ebuild
index 73afc981b1fd..f084535e5911 100644
--- a/dev-debug/dtrace/dtrace-9999.ebuild
+++ b/dev-debug/dtrace/dtrace-9999.ebuild
@@ -65,6 +65,16 @@ BDEPEND="
>=sys-devel/bpf-toolchain-14.1.0
sys-devel/flex
"
+# TODO: Make this optional, valgrind.h is included unconditionally
+# https://github.com/oracle/dtrace-utils/issues/80
+DEPEND+=" dev-debug/valgrind"
+
+QA_PRESTRIPPED="
+ usr/.*/dtrace/testsuite/test/triggers/.*
+"
+QA_FLAGS_IGNORED="
+ usr/.*/dtrace/testsuite/test/triggers/.*
+"
pkg_pretend() {
# TODO: optional kernel patches
@@ -76,6 +86,7 @@ pkg_pretend() {
# Tracing
CONFIG_CHECK+=" ~FTRACE_SYSCALLS ~UPROBE_EVENTS ~DYNAMIC_FTRACE ~FUNCTION_TRACER"
+ CONFIG_CHECK+=" ~FPROBE"
# https://gcc.gnu.org/PR84052
CONFIG_CHECK+=" !GCC_PLUGIN_RANDSTRUCT"
@@ -113,7 +124,7 @@ src_configure() {
local confargs=(
# TODO: Maybe we should set the UNPRIV_UID to something? -3 is a bit... kludgy
--prefix="${EPREFIX}"/usr
- --mandir="${EPREFIX}"/usr/share/man
+ --mandir="${EPREFIX}"/usr/share/man/man8
--docdir="${EPREFIX}"/usr/share/doc/${PF}
HAVE_LIBCTF=yes
HAVE_LIBSYSTEMD=$(usex systemd)