* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-15 8:22 Dennis Lamm
0 siblings, 0 replies; 24+ messages in thread
From: Dennis Lamm @ 2024-05-15 8:22 UTC (permalink / raw
To: gentoo-commits
commit: e06dcd300233970ef990eabe77bab1c6134e56fd
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 11:25:55 2024 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Wed May 15 08:22:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06dcd30
dev-debug/systemtap: stap-exporter.service improved
removed EnvironmentFile and replaced variables
removed /etc/sysconfig/stap-exporter file
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35598
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 136 ++++++++++++++++++++++++++++
1 file changed, 136 insertions(+)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
new file mode 100644
index 000000000000..cbd73ebe1f15
--- /dev/null
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit autotools linux-info python-single-r1
+
+DESCRIPTION="A linux trace/probe tool"
+HOMEPAGE="https://www.sourceware.org/systemtap"
+SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="libvirt selinux sqlite +ssl test zeroconf"
+
+CDEPEND="
+ ${PYTHON_DEPS}
+
+ dev-libs/boost:=
+ >=dev-libs/elfutils-0.142[debuginfod]
+ dev-libs/json-c:=
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+
+ libvirt? ( >=app-emulation/libvirt-1.0.2 )
+ selinux? ( sys-libs/libselinux )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? (
+ dev-libs/nspr
+ dev-libs/nss
+ )
+ zeroconf? ( net-dns/avahi )
+"
+DEPEND="
+ ${CDEPEND}
+ app-alternatives/cpio
+ app-text/xmlto
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ >=sys-devel/gettext-0.18.2
+
+ libvirt? ( dev-libs/libxml2 )
+"
+RDEPEND="
+ ${CDEPEND}
+ acct-group/stapdev
+ acct-group/stapsys
+ acct-group/stapusr
+"
+BDEPEND="test? ( dev-util/dejagnu )"
+
+CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+DOCS="AUTHORS HACKING NEWS README"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1-ia64.patch"
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang .
+
+ sed -i \
+ -e 's|-Werror||g' \
+ configure.ac \
+ Makefile.am \
+ stapbpf/Makefile.am \
+ stapdyn/Makefile.am \
+ staprun/Makefile.am \
+ testsuite/systemtap.unprivileged/unprivileged_probes.exp \
+ testsuite/systemtap.unprivileged/unprivileged_myproc.exp \
+ testsuite/systemtap.base/stmt_rel_user.exp \
+ testsuite/systemtap.base/sdt_va_args.exp \
+ testsuite/systemtap.base/sdt_misc.exp \
+ testsuite/systemtap.base/sdt.exp \
+ scripts/kprobes_test/gen_code.py \
+ || die "Failed to clean up sources"
+
+ sed -i \
+ -e 's#$(INSTALL_DATA) $(srcdir)/stap-exporter.options "$(DESTDIR)$(sysconfdir)/sysconfig/stap-exporter"##g' \
+ stap-exporter/Makefile.am || die "Failed to modify stap-exporter Makefile.am"
+ sed -i \
+ -e '\#^EnvironmentFile=-/etc/sysconfig/stap-exporter#d' \
+ -e 's#$PORT $KEEPALIVE $SCRIPTS $OPTIONS#--port 9900 --keepalive 300#g' \
+ stap-exporter/stap-exporter.service || die "Failed to adapt stap-exporter.service"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --cache-file="${S}"/config.cache
+ --disable-docs
+ --disable-grapher
+ --disable-refdocs
+ --disable-server
+ # Our toolchain sets this for us already and adding in
+ # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
+ # This option (at least as of 4.5) doesn't pass -fno* etc,
+ # it just doesn't _add_ options, which is good. If it changes
+ # to actually pass -fno-stack-protector and friends, we'll
+ # need to change course. Forcing =2 also has problems for
+ # setting it to 3.
+ # bug #794667.
+ --disable-ssp
+ --enable-pie
+ --with-python3
+ --without-java
+ --without-openssl
+ --without-python2-probes
+ --without-rpm
+ $(use_enable libvirt virt)
+ $(use_enable sqlite)
+ $(use_with zeroconf avahi)
+ $(use_with ssl nss)
+ $(use_with selinux)
+ )
+ PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ python_optimize
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-22 13:19 Matt Jolly
0 siblings, 0 replies; 24+ messages in thread
From: Matt Jolly @ 2024-05-22 13:19 UTC (permalink / raw
To: gentoo-commits
commit: 303de9fd079110e5e08f508dba1aa5b1ab2c83ed
Author: Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 04:27:29 2024 +0000
Commit: Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Wed May 22 13:17:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303de9fd
dev-debug/systemtap: enable py3.12
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
dev-debug/systemtap/systemtap-5.0.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index cbd73ebe1f15..d14b0739b712 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit autotools linux-info python-single-r1
diff --git a/dev-debug/systemtap/systemtap-5.0.ebuild b/dev-debug/systemtap/systemtap-5.0.ebuild
index 7bc3f9abc5df..8c59a7604374 100644
--- a/dev-debug/systemtap/systemtap-5.0.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit autotools linux-info python-single-r1
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-28 12:04 Michał Górny
0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2024-05-28 12:04 UTC (permalink / raw
To: gentoo-commits
commit: 9feaedd12e1fafb2aa6ad17bf5858fb64be9a129
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 12:04:00 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 12:04:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9feaedd1
dev-debug/systemtap: Stabilize 5.0-r1 arm64, #932908
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index d14b0739b712..dbc46e4a51d9 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-28 12:04 Michał Górny
0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2024-05-28 12:04 UTC (permalink / raw
To: gentoo-commits
commit: 7609e72770d819073e4ced2adc3197e9ff007e85
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 12:04:02 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 12:04:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7609e727
dev-debug/systemtap: Stabilize 5.0-r1 ppc, #932908
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index dbc46e4a51d9..26111e1fd2f8 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-28 12:11 Michał Górny
0 siblings, 0 replies; 24+ messages in thread
From: Michał Górny @ 2024-05-28 12:11 UTC (permalink / raw
To: gentoo-commits
commit: 0add31aa450af2ea35fc5b1a29a32dc0748b005c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 12:10:45 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 12:10:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0add31aa
dev-debug/systemtap: Stabilize 5.0-r1 arm, #932908
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index 26111e1fd2f8..0c15ea179dbc 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-28 12:44 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-05-28 12:44 UTC (permalink / raw
To: gentoo-commits
commit: 47a997d1383d66e4b837875857224493424e74cf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 12:43:59 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 12:43:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a997d1
dev-debug/systemtap: Stabilize 5.0-r1 amd64, #932908
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index 0c15ea179dbc..9baf475a5dd4 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-05-28 13:19 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-05-28 13:19 UTC (permalink / raw
To: gentoo-commits
commit: 4fc435abb03e74143638478cfdf85ad9528b5f23
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 13:18:14 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 13:18:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc435ab
dev-debug/systemtap: Stabilize 5.0-r1 sparc, #932908
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index 9baf475a5dd4..a3abdf621018 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-06-03 7:00 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-06-03 7:00 UTC (permalink / raw
To: gentoo-commits
commit: a79cb21f847dfd13ec651c7db426f06603111ff7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 3 06:59:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 3 06:59:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79cb21f
dev-debug/systemtap: drop 4.9, 5.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/Manifest | 1 -
dev-debug/systemtap/systemtap-4.9.ebuild | 128 -------------------------------
dev-debug/systemtap/systemtap-5.0.ebuild | 128 -------------------------------
3 files changed, 257 deletions(-)
diff --git a/dev-debug/systemtap/Manifest b/dev-debug/systemtap/Manifest
index e7c441bb9887..fbcc54ede583 100644
--- a/dev-debug/systemtap/Manifest
+++ b/dev-debug/systemtap/Manifest
@@ -1,3 +1,2 @@
DIST systemtap-4.8.tar.gz 5628003 BLAKE2B 9f5050eba29d390c907b117187f94ef088f16bb739b4971bc32ffe88b1024a4157cd4e9793a8fc1e149a5a182a28330e3b4fd9d51213bb3637d616fbb9867f6d SHA512 fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2
-DIST systemtap-4.9.tar.gz 6684228 BLAKE2B 880747bcfbaa1909ca20a6cb30eb37d9443547783489396355b642758054ae0e0bf5b495a0adf57851c7c7a6b4300e498bb8c1c8da6df83ab1d1e18877b108a7 SHA512 a2736223fee0c801c36719a0245f31ed7e2e63c30bb7d5cab631dd57e4eb10e04abf2c9b272bda2a17c207c9dd163a1eb8a3e0759eda0c781946e644625510b7
DIST systemtap-5.0.tar.gz 6572411 BLAKE2B db962df2fdcbc5bc11259c03d78073924f03fee4434dca8686a62fcb0818dab1ca91558160dd9d67d43b709f63ffe4f0af30ab1fe6965e19155bdd4c04501a04 SHA512 dc511a05e66abcbbd8c926973962751196180f3c571d0cd2a3b158ae367c5339ad32967a680ecd03224ab5f7ed2c55be7064867e4fb1b1cd7ea1cb21b2436e4c
diff --git a/dev-debug/systemtap/systemtap-4.9.ebuild b/dev-debug/systemtap/systemtap-4.9.ebuild
deleted file mode 100644
index 629bdf77f7c4..000000000000
--- a/dev-debug/systemtap/systemtap-4.9.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
-
-inherit autotools linux-info python-single-r1
-
-DESCRIPTION="A linux trace/probe tool"
-HOMEPAGE="https://www.sourceware.org/systemtap"
-SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="libvirt selinux sqlite +ssl test zeroconf"
-
-CDEPEND="
- ${PYTHON_DEPS}
-
- dev-libs/boost:=
- >=dev-libs/elfutils-0.142
- dev-libs/json-c:=
- sys-libs/ncurses:=
- sys-libs/readline:=
-
- libvirt? ( >=app-emulation/libvirt-1.0.2 )
- selinux? ( sys-libs/libselinux )
- sqlite? ( dev-db/sqlite:3 )
- ssl? (
- dev-libs/nspr
- dev-libs/nss
- )
- zeroconf? ( net-dns/avahi )
-"
-DEPEND="
- ${CDEPEND}
- app-alternatives/cpio
- app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
- >=sys-devel/gettext-0.18.2
-
- libvirt? ( dev-libs/libxml2 )
-"
-RDEPEND="
- ${CDEPEND}
- acct-group/stapdev
- acct-group/stapsys
- acct-group/stapusr
-"
-BDEPEND="test? ( dev-util/dejagnu )"
-
-CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
-ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
-ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
-ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
-
-DOCS="AUTHORS HACKING NEWS README"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-PATCHES=(
- "${FILESDIR}/${PN}-3.1-ia64.patch"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- python_fix_shebang .
-
- sed -i \
- -e 's|-Werror||g' \
- configure.ac \
- Makefile.am \
- stapbpf/Makefile.am \
- stapdyn/Makefile.am \
- staprun/Makefile.am \
- testsuite/systemtap.unprivileged/unprivileged_probes.exp \
- testsuite/systemtap.unprivileged/unprivileged_myproc.exp \
- testsuite/systemtap.base/stmt_rel_user.exp \
- testsuite/systemtap.base/sdt_va_args.exp \
- testsuite/systemtap.base/sdt_misc.exp \
- testsuite/systemtap.base/sdt.exp \
- scripts/kprobes_test/gen_code.py \
- || die "Failed to clean up sources"
-
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --cache-file="${S}"/config.cache
- --disable-docs
- --disable-grapher
- --disable-refdocs
- --disable-server
- # Our toolchain sets this for us already and adding in
- # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
- # This option (at least as of 4.5) doesn't pass -fno* etc,
- # it just doesn't _add_ options, which is good. If it changes
- # to actually pass -fno-stack-protector and friends, we'll
- # need to change course. Forcing =2 also has problems for
- # setting it to 3.
- # bug #794667.
- --disable-ssp
- --enable-pie
- --with-python3
- --without-java
- --without-openssl
- --without-python2-probes
- --without-rpm
- $(use_enable libvirt virt)
- $(use_enable sqlite)
- $(use_with zeroconf avahi)
- $(use_with ssl nss)
- $(use_with selinux)
- )
- PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- python_optimize
-}
diff --git a/dev-debug/systemtap/systemtap-5.0.ebuild b/dev-debug/systemtap/systemtap-5.0.ebuild
deleted file mode 100644
index 8c59a7604374..000000000000
--- a/dev-debug/systemtap/systemtap-5.0.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit autotools linux-info python-single-r1
-
-DESCRIPTION="A linux trace/probe tool"
-HOMEPAGE="https://www.sourceware.org/systemtap"
-SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="libvirt selinux sqlite +ssl test zeroconf"
-
-CDEPEND="
- ${PYTHON_DEPS}
-
- dev-libs/boost:=
- >=dev-libs/elfutils-0.142[debuginfod]
- dev-libs/json-c:=
- sys-libs/ncurses:=
- sys-libs/readline:=
-
- libvirt? ( >=app-emulation/libvirt-1.0.2 )
- selinux? ( sys-libs/libselinux )
- sqlite? ( dev-db/sqlite:3 )
- ssl? (
- dev-libs/nspr
- dev-libs/nss
- )
- zeroconf? ( net-dns/avahi )
-"
-DEPEND="
- ${CDEPEND}
- app-alternatives/cpio
- app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
- >=sys-devel/gettext-0.18.2
-
- libvirt? ( dev-libs/libxml2 )
-"
-RDEPEND="
- ${CDEPEND}
- acct-group/stapdev
- acct-group/stapsys
- acct-group/stapusr
-"
-BDEPEND="test? ( dev-util/dejagnu )"
-
-CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
-ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
-ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
-ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
-
-DOCS="AUTHORS HACKING NEWS README"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-PATCHES=(
- "${FILESDIR}/${PN}-3.1-ia64.patch"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- python_fix_shebang .
-
- sed -i \
- -e 's|-Werror||g' \
- configure.ac \
- Makefile.am \
- stapbpf/Makefile.am \
- stapdyn/Makefile.am \
- staprun/Makefile.am \
- testsuite/systemtap.unprivileged/unprivileged_probes.exp \
- testsuite/systemtap.unprivileged/unprivileged_myproc.exp \
- testsuite/systemtap.base/stmt_rel_user.exp \
- testsuite/systemtap.base/sdt_va_args.exp \
- testsuite/systemtap.base/sdt_misc.exp \
- testsuite/systemtap.base/sdt.exp \
- scripts/kprobes_test/gen_code.py \
- || die "Failed to clean up sources"
-
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --cache-file="${S}"/config.cache
- --disable-docs
- --disable-grapher
- --disable-refdocs
- --disable-server
- # Our toolchain sets this for us already and adding in
- # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
- # This option (at least as of 4.5) doesn't pass -fno* etc,
- # it just doesn't _add_ options, which is good. If it changes
- # to actually pass -fno-stack-protector and friends, we'll
- # need to change course. Forcing =2 also has problems for
- # setting it to 3.
- # bug #794667.
- --disable-ssp
- --enable-pie
- --with-python3
- --without-java
- --without-openssl
- --without-python2-probes
- --without-rpm
- $(use_enable libvirt virt)
- $(use_enable sqlite)
- $(use_with zeroconf avahi)
- $(use_with ssl nss)
- $(use_with selinux)
- )
- PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- python_optimize
-}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 4:44 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 4:44 UTC (permalink / raw
To: gentoo-commits
commit: 5ddee4b3b67da0f59240f91bdd288e48de309d2a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 02:52:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 04:44:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ddee4b3
dev-debug/systemtap: update HOMEPAGE, SRC_URI (drop www.)
While sourceware still supports www., it doesn't appear in README and
so on, so normalise it like we do for other sourceware-hosted projects.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-4.8.ebuild | 4 ++--
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-4.8.ebuild b/dev-debug/systemtap/systemtap-4.8.ebuild
index 203f02f9b82c..45af257ee310 100644
--- a/dev-debug/systemtap/systemtap-4.8.ebuild
+++ b/dev-debug/systemtap/systemtap-4.8.ebuild
@@ -8,8 +8,8 @@ PYTHON_COMPAT=( python3_{10..11} pypy3 )
inherit autotools linux-info python-single-r1
DESCRIPTION="A linux trace/probe tool"
-HOMEPAGE="https://www.sourceware.org/systemtap"
-SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+HOMEPAGE="https://sourceware.org/systemtap/"
+SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index e3e98ce134ac..d008e6d6e599 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -8,8 +8,8 @@ PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit autotools linux-info python-single-r1
DESCRIPTION="A linux trace/probe tool"
-HOMEPAGE="https://www.sourceware.org/systemtap"
-SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+HOMEPAGE="https://sourceware.org/systemtap/"
+SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 4:44 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 4:44 UTC (permalink / raw
To: gentoo-commits
commit: 346179f3c66756c56e0f35df000379670eb411e7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 02:53:27 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 04:44:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346179f3
dev-debug/systemtap: tweak description style
We tend to avoid 'a ...' these days.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-4.8.ebuild | 2 +-
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-4.8.ebuild b/dev-debug/systemtap/systemtap-4.8.ebuild
index 45af257ee310..7349ac27d462 100644
--- a/dev-debug/systemtap/systemtap-4.8.ebuild
+++ b/dev-debug/systemtap/systemtap-4.8.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{10..11} pypy3 )
inherit autotools linux-info python-single-r1
-DESCRIPTION="A linux trace/probe tool"
+DESCRIPTION="Linux trace/probe tool"
HOMEPAGE="https://sourceware.org/systemtap/"
SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index d008e6d6e599..8461ac0c4eb8 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit autotools linux-info python-single-r1
-DESCRIPTION="A linux trace/probe tool"
+DESCRIPTION="Linux trace/probe tool"
HOMEPAGE="https://sourceware.org/systemtap/"
SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 4:44 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 4:44 UTC (permalink / raw
To: gentoo-commits
commit: 818cec7cd4efae42c55af03f4c0617a95d069c14
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 04:34:17 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 04:44:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=818cec7c
dev-debug/systemtap: add 5.1, add 9999
* Improve test deps while here and use new --disable-Werror
* Workaround bashism in Makefile.am for Python (brace expansion)
* Add live ebuild + template (useful for testing w/ newer kernels)
* Make debuginfod dep optional again after upstream fixes
Bug: https://bugs.gentoo.org/921113
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/Manifest | 1 +
dev-debug/systemtap/metadata.xml | 1 +
dev-debug/systemtap/systemtap-5.1.ebuild | 136 ++++++++++++++++++++++++++++++
dev-debug/systemtap/systemtap-9999.ebuild | 136 ++++++++++++++++++++++++++++++
4 files changed, 274 insertions(+)
diff --git a/dev-debug/systemtap/Manifest b/dev-debug/systemtap/Manifest
index fbcc54ede583..56cedb336373 100644
--- a/dev-debug/systemtap/Manifest
+++ b/dev-debug/systemtap/Manifest
@@ -1,2 +1,3 @@
DIST systemtap-4.8.tar.gz 5628003 BLAKE2B 9f5050eba29d390c907b117187f94ef088f16bb739b4971bc32ffe88b1024a4157cd4e9793a8fc1e149a5a182a28330e3b4fd9d51213bb3637d616fbb9867f6d SHA512 fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2
DIST systemtap-5.0.tar.gz 6572411 BLAKE2B db962df2fdcbc5bc11259c03d78073924f03fee4434dca8686a62fcb0818dab1ca91558160dd9d67d43b709f63ffe4f0af30ab1fe6965e19155bdd4c04501a04 SHA512 dc511a05e66abcbbd8c926973962751196180f3c571d0cd2a3b158ae367c5339ad32967a680ecd03224ab5f7ed2c55be7064867e4fb1b1cd7ea1cb21b2436e4c
+DIST systemtap-5.1.tar.gz 6590820 BLAKE2B 22be535b7c55d0ab90a5361a23fad93c436560c14fbbd345aca7ea2c0fcdd0f66b1ef8591800f86a14cc7ae7fe737a120695d76fe15bfdb8b349080228c37e90 SHA512 da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f
diff --git a/dev-debug/systemtap/metadata.xml b/dev-debug/systemtap/metadata.xml
index 4a3d4007cae0..ef6a9e2cd046 100644
--- a/dev-debug/systemtap/metadata.xml
+++ b/dev-debug/systemtap/metadata.xml
@@ -5,6 +5,7 @@
<email>swegener@gentoo.org</email>
</maintainer>
<use>
+ <flag name="debuginfod">Enable debuginfod support via <pkg>dev-libs/elfutils</pkg> libdebuginfod</flag>
<flag name="libvirt">Support probing of libvirt domains.</flag>
</use>
</pkgmetadata>
diff --git a/dev-debug/systemtap/systemtap-5.1.ebuild b/dev-debug/systemtap/systemtap-5.1.ebuild
new file mode 100644
index 000000000000..56427628dd76
--- /dev/null
+++ b/dev-debug/systemtap/systemtap-5.1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit autotools linux-info python-single-r1
+
+DESCRIPTION="Linux trace/probe tool"
+HOMEPAGE="https://sourceware.org/systemtap/"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://sourceware.org/git/systemtap.git"
+ inherit git-r3
+else
+ SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debuginfod libvirt selinux sqlite +ssl test zeroconf"
+
+CDEPEND="
+ ${PYTHON_DEPS}
+
+ dev-libs/boost:=
+ >=dev-libs/elfutils-0.142[debuginfod?]
+ dev-libs/json-c:=
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+
+ libvirt? ( >=app-emulation/libvirt-1.0.2 )
+ selinux? ( sys-libs/libselinux )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? (
+ dev-libs/nspr
+ dev-libs/nss
+ )
+ zeroconf? ( net-dns/avahi )
+"
+DEPEND="
+ ${CDEPEND}
+ app-alternatives/cpio
+ app-text/xmlto
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ >=sys-devel/gettext-0.18.2
+
+ libvirt? ( dev-libs/libxml2 )
+"
+RDEPEND="
+ ${CDEPEND}
+ acct-group/stapdev
+ acct-group/stapsys
+ acct-group/stapusr
+"
+BDEPEND="
+ test? (
+ dev-util/dejagnu
+ || (
+ net-analyzer/netcat
+ net-analyzer/openbsd-netcat
+ )
+ sys-apps/which
+ )
+"
+
+CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+DOCS="AUTHORS HACKING NEWS README"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1-ia64.patch"
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang .
+
+ sed -i \
+ -e 's#$(INSTALL_DATA) $(srcdir)/stap-exporter.options "$(DESTDIR)$(sysconfdir)/sysconfig/stap-exporter"##g' \
+ stap-exporter/Makefile.am || die "Failed to modify stap-exporter Makefile.am"
+ sed -i \
+ -e '\#^EnvironmentFile=-/etc/sysconfig/stap-exporter#d' \
+ -e 's#$PORT $KEEPALIVE $SCRIPTS $OPTIONS#--port 9900 --keepalive 300#g' \
+ stap-exporter/stap-exporter.service || die "Failed to adapt stap-exporter.service"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --cache-file="${S}"/config.cache
+ --disable-docs
+ --disable-grapher
+ --disable-refdocs
+ --disable-server
+ --disable-Werror
+ # Our toolchain sets this for us already and adding in
+ # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
+ # This option (at least as of 4.5) doesn't pass -fno* etc,
+ # it just doesn't _add_ options, which is good. If it changes
+ # to actually pass -fno-stack-protector and friends, we'll
+ # need to change course. Forcing =2 also has problems for
+ # setting it to 3.
+ # bug #794667.
+ --disable-ssp
+ --enable-pie
+ --with-python3
+ --without-java
+ --without-openssl
+ --without-python2-probes
+ --without-rpm
+ $(use_enable libvirt virt)
+ $(use_enable sqlite)
+ $(use_with debuginfod)
+ $(use_with zeroconf avahi)
+ $(use_with ssl nss)
+ $(use_with selinux)
+ )
+ CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ python_optimize
+}
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
new file mode 100644
index 000000000000..56427628dd76
--- /dev/null
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit autotools linux-info python-single-r1
+
+DESCRIPTION="Linux trace/probe tool"
+HOMEPAGE="https://sourceware.org/systemtap/"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://sourceware.org/git/systemtap.git"
+ inherit git-r3
+else
+ SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debuginfod libvirt selinux sqlite +ssl test zeroconf"
+
+CDEPEND="
+ ${PYTHON_DEPS}
+
+ dev-libs/boost:=
+ >=dev-libs/elfutils-0.142[debuginfod?]
+ dev-libs/json-c:=
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+
+ libvirt? ( >=app-emulation/libvirt-1.0.2 )
+ selinux? ( sys-libs/libselinux )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? (
+ dev-libs/nspr
+ dev-libs/nss
+ )
+ zeroconf? ( net-dns/avahi )
+"
+DEPEND="
+ ${CDEPEND}
+ app-alternatives/cpio
+ app-text/xmlto
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ >=sys-devel/gettext-0.18.2
+
+ libvirt? ( dev-libs/libxml2 )
+"
+RDEPEND="
+ ${CDEPEND}
+ acct-group/stapdev
+ acct-group/stapsys
+ acct-group/stapusr
+"
+BDEPEND="
+ test? (
+ dev-util/dejagnu
+ || (
+ net-analyzer/netcat
+ net-analyzer/openbsd-netcat
+ )
+ sys-apps/which
+ )
+"
+
+CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+DOCS="AUTHORS HACKING NEWS README"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1-ia64.patch"
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang .
+
+ sed -i \
+ -e 's#$(INSTALL_DATA) $(srcdir)/stap-exporter.options "$(DESTDIR)$(sysconfdir)/sysconfig/stap-exporter"##g' \
+ stap-exporter/Makefile.am || die "Failed to modify stap-exporter Makefile.am"
+ sed -i \
+ -e '\#^EnvironmentFile=-/etc/sysconfig/stap-exporter#d' \
+ -e 's#$PORT $KEEPALIVE $SCRIPTS $OPTIONS#--port 9900 --keepalive 300#g' \
+ stap-exporter/stap-exporter.service || die "Failed to adapt stap-exporter.service"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --cache-file="${S}"/config.cache
+ --disable-docs
+ --disable-grapher
+ --disable-refdocs
+ --disable-server
+ --disable-Werror
+ # Our toolchain sets this for us already and adding in
+ # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
+ # This option (at least as of 4.5) doesn't pass -fno* etc,
+ # it just doesn't _add_ options, which is good. If it changes
+ # to actually pass -fno-stack-protector and friends, we'll
+ # need to change course. Forcing =2 also has problems for
+ # setting it to 3.
+ # bug #794667.
+ --disable-ssp
+ --enable-pie
+ --with-python3
+ --without-java
+ --without-openssl
+ --without-python2-probes
+ --without-rpm
+ $(use_enable libvirt virt)
+ $(use_enable sqlite)
+ $(use_with debuginfod)
+ $(use_with zeroconf avahi)
+ $(use_with ssl nss)
+ $(use_with selinux)
+ )
+ CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ python_optimize
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 5:00 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 5:00 UTC (permalink / raw
To: gentoo-commits
commit: 629ef453e0f9f68567c807416557e2d3c7b6780f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 04:45:27 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 04:47:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=629ef453
dev-debug/systemtap: add comment wrt bash
I forgot to add this earlier. Turns out there's a bug for it too.
Fixes: 818cec7cd4efae42c55af03f4c0617a95d069c14
Bug: https://bugs.gentoo.org/913947
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1.ebuild | 2 ++
dev-debug/systemtap/systemtap-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/dev-debug/systemtap/systemtap-5.1.ebuild b/dev-debug/systemtap/systemtap-5.1.ebuild
index 56427628dd76..0bdad429da92 100644
--- a/dev-debug/systemtap/systemtap-5.1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1.ebuild
@@ -127,6 +127,8 @@ src_configure() {
$(use_with ssl nss)
$(use_with selinux)
)
+
+ # Use bash because of bashisms with brace expansion in Makefile.am (bug #913947)
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index 56427628dd76..0bdad429da92 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -127,6 +127,8 @@ src_configure() {
$(use_with ssl nss)
$(use_with selinux)
)
+
+ # Use bash because of bashisms with brace expansion in Makefile.am (bug #913947)
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 5:00 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 5:00 UTC (permalink / raw
To: gentoo-commits
commit: 4d0a6ed89648091f6e250d6aa866cd2e7c1a29fe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 04:55:31 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 04:57:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0a6ed8
dev-debug/systemtap: make tests more robust
They failed for me with my usual CFLAGS otherwise (the sanity check / smoketest
failed, even).
Bug: https://bugs.gentoo.org/868408
Bug: https://bugs.gentoo.org/935333
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1.ebuild | 16 +++++++++++++++-
dev-debug/systemtap/systemtap-9999.ebuild | 16 +++++++++++++++-
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-5.1.ebuild b/dev-debug/systemtap/systemtap-5.1.ebuild
index 0bdad429da92..df5d1a5ea9c7 100644
--- a/dev-debug/systemtap/systemtap-5.1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} pypy3 )
-inherit autotools linux-info python-single-r1
+inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
DESCRIPTION="Linux trace/probe tool"
HOMEPAGE="https://sourceware.org/systemtap/"
@@ -132,6 +132,20 @@ src_configure() {
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
+src_test() {
+ # TODO: Install tests like dev-debug/dtrace[install-tests] and
+ # e.g. Fedora does.
+ (
+ strip-flags
+ filter-flags '-fcf-protection=*'
+ filter-flags '-fdiagnostics-color=*' '-fdiagnostics-urls=*'
+ filter-flags '-g*'
+ filter-lto
+ tc-ld-force-bfd
+ emake -Onone -k check CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+ )
+}
+
src_install() {
default
python_optimize
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index 0bdad429da92..df5d1a5ea9c7 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} pypy3 )
-inherit autotools linux-info python-single-r1
+inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
DESCRIPTION="Linux trace/probe tool"
HOMEPAGE="https://sourceware.org/systemtap/"
@@ -132,6 +132,20 @@ src_configure() {
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
+src_test() {
+ # TODO: Install tests like dev-debug/dtrace[install-tests] and
+ # e.g. Fedora does.
+ (
+ strip-flags
+ filter-flags '-fcf-protection=*'
+ filter-flags '-fdiagnostics-color=*' '-fdiagnostics-urls=*'
+ filter-flags '-g*'
+ filter-lto
+ tc-ld-force-bfd
+ emake -Onone -k check CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+ )
+}
+
src_install() {
default
python_optimize
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 5:30 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 5:30 UTC (permalink / raw
To: gentoo-commits
commit: a288b778cefd6b3a836e88e0f9d7442a94a44bd8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 05:29:39 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 05:30:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a288b778
dev-debug/systemtap: link to upstream bug re which
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1.ebuild | 1 +
dev-debug/systemtap/systemtap-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/dev-debug/systemtap/systemtap-5.1.ebuild b/dev-debug/systemtap/systemtap-5.1.ebuild
index df5d1a5ea9c7..6a13a1bb981f 100644
--- a/dev-debug/systemtap/systemtap-5.1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1.ebuild
@@ -54,6 +54,7 @@ RDEPEND="
acct-group/stapsys
acct-group/stapusr
"
+# which: https://sourceware.org/PR32106
BDEPEND="
test? (
dev-util/dejagnu
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index df5d1a5ea9c7..6a13a1bb981f 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -54,6 +54,7 @@ RDEPEND="
acct-group/stapsys
acct-group/stapusr
"
+# which: https://sourceware.org/PR32106
BDEPEND="
test? (
dev-util/dejagnu
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-21 9:37 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-21 9:37 UTC (permalink / raw
To: gentoo-commits
commit: cdc65357bd715c535f4fb152d90f219c660867d0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 09:36:15 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 09:37:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc65357
dev-debug/systemtap: add upstream bug re bash
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index 6a13a1bb981f..94c53a3d0f1f 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -129,7 +129,8 @@ src_configure() {
$(use_with selinux)
)
- # Use bash because of bashisms with brace expansion in Makefile.am (bug #913947)
+ # Use bash because of bashisms with brace expansion in Makefile.am
+ # https://sourceware.org/PR32105
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-30 18:10 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-30 18:10 UTC (permalink / raw
To: gentoo-commits
commit: efb3a82e3496d3a52a1d04d4cbdb83b25655d96a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 18:04:29 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 18:09:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb3a82e
dev-debug/systemtap: conditionally install /usr/bin/dtrace
systemtap provides a 'dtrace' script at /usr/bin/dtrace which obviously
clashes with dev-debug/dtrace. The reasons for this are complicated,
but this 'dtrace' is only used by some packages for userspace probes.
The plan, for now, is:
* to modify packages to look for stap-dtrace instead;
* users can set USE=dtrace-symlink to get systemtap to install /usr/bin/dtrace
again to build applications locally or as a workaround for unported applications/scripts;
* contact systemtap upstream about renaming it and providing a symlink
conditionally as we are, and providing a pkgconfig var for getting the
name
Bug: https://bugs.gentoo.org/938302
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/metadata.xml | 4 ++++
.../{systemtap-9999.ebuild => systemtap-5.1-r1.ebuild} | 12 +++++++++---
dev-debug/systemtap/systemtap-9999.ebuild | 9 ++++++++-
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/dev-debug/systemtap/metadata.xml b/dev-debug/systemtap/metadata.xml
index ef6a9e2cd046..eb938ea4fd71 100644
--- a/dev-debug/systemtap/metadata.xml
+++ b/dev-debug/systemtap/metadata.xml
@@ -6,6 +6,10 @@
</maintainer>
<use>
<flag name="debuginfod">Enable debuginfod support via <pkg>dev-libs/elfutils</pkg> libdebuginfod</flag>
+ <flag name="dtrace-symlink">
+ Provide /usr/bin/dtrace symlink pointing to /usr/bin/stap-dtrace.
+ This prevents coinstallation with <pkg>dev-debug/dtrace</pkg>.
+ </flag>
<flag name="libvirt">Support probing of libvirt domains.</flag>
</use>
</pkgmetadata>
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
similarity index 93%
copy from dev-debug/systemtap/systemtap-9999.ebuild
copy to dev-debug/systemtap/systemtap-5.1-r1.ebuild
index 94c53a3d0f1f..06b3b67bd81b 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -19,7 +19,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="debuginfod libvirt selinux sqlite +ssl test zeroconf"
+IUSE="debuginfod dtrace-symlink libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
${PYTHON_DEPS}
@@ -129,8 +129,7 @@ src_configure() {
$(use_with selinux)
)
- # Use bash because of bashisms with brace expansion in Makefile.am
- # https://sourceware.org/PR32105
+ # Use bash because of bashisms with brace expansion in Makefile.am (bug #913947)
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
@@ -151,4 +150,11 @@ src_test() {
src_install() {
default
python_optimize
+
+ # Avoid file collision with dev-debug/dtrace
+ mv "${ED}"/usr/bin/dtrace "${ED}"/usr/bin/stap-dtrace || die
+
+ if use dtrace-symlink ; then
+ dosym stap-dtrace /usr/bin/dtrace
+ fi
}
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index 94c53a3d0f1f..f26acd209aca 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -19,7 +19,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="debuginfod libvirt selinux sqlite +ssl test zeroconf"
+IUSE="debuginfod dtrace-symlink libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
${PYTHON_DEPS}
@@ -151,4 +151,11 @@ src_test() {
src_install() {
default
python_optimize
+
+ # Avoid file collision with dev-debug/dtrace
+ mv "${ED}"/usr/bin/dtrace "${ED}"/usr/bin/stap-dtrace || die
+
+ if use dtrace-symlink ; then
+ dosym stap-dtrace /usr/bin/dtrace
+ fi
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-08-30 18:10 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-08-30 18:10 UTC (permalink / raw
To: gentoo-commits
commit: 98647fbbef3820bc3aa8282317f452f5465e5c3b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 18:08:16 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 18:09:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98647fbb
dev-debug/systemtap: fix bashism comment in 5.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1-r1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.1-r1.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
index 06b3b67bd81b..f26acd209aca 100644
--- a/dev-debug/systemtap/systemtap-5.1-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -129,7 +129,8 @@ src_configure() {
$(use_with selinux)
)
- # Use bash because of bashisms with brace expansion in Makefile.am (bug #913947)
+ # Use bash because of bashisms with brace expansion in Makefile.am
+ # https://sourceware.org/PR32105
CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-09-11 23:59 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-09-11 23:59 UTC (permalink / raw
To: gentoo-commits
commit: ab843bbe1f9c1bcb3431d95b7887c34e97835e1f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 23:57:58 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 23:58:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab843bbe
dev-debug/systemtap: update USE=install-tests -> USE=test-install in comment
Following discussion with mgorny and us agreeing to use test-install
for Python.
dev-debug/dtrace was updated in 063c07a77f3d3b04649bf1e00bc90b1fcd316d1a.
Bug: https://bugs.gentoo.org/531648
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1-r1.ebuild | 2 +-
dev-debug/systemtap/systemtap-5.1.ebuild | 2 +-
dev-debug/systemtap/systemtap-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-5.1-r1.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
index f26acd209aca..863daaf9b0a7 100644
--- a/dev-debug/systemtap/systemtap-5.1-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -135,7 +135,7 @@ src_configure() {
}
src_test() {
- # TODO: Install tests like dev-debug/dtrace[install-tests] and
+ # TODO: Install tests like dev-debug/dtrace[test-install] and
# e.g. Fedora does.
(
strip-flags
diff --git a/dev-debug/systemtap/systemtap-5.1.ebuild b/dev-debug/systemtap/systemtap-5.1.ebuild
index 6a13a1bb981f..fbe559a2469a 100644
--- a/dev-debug/systemtap/systemtap-5.1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1.ebuild
@@ -134,7 +134,7 @@ src_configure() {
}
src_test() {
- # TODO: Install tests like dev-debug/dtrace[install-tests] and
+ # TODO: Install tests like dev-debug/dtrace[test-install] and
# e.g. Fedora does.
(
strip-flags
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index f26acd209aca..863daaf9b0a7 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -135,7 +135,7 @@ src_configure() {
}
src_test() {
- # TODO: Install tests like dev-debug/dtrace[install-tests] and
+ # TODO: Install tests like dev-debug/dtrace[test-install] and
# e.g. Fedora does.
(
strip-flags
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-09-12 1:01 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-09-12 1:01 UTC (permalink / raw
To: gentoo-commits
commit: befec4a4119cfc28dffcea87cf619777f0b6a9dd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 01:00:49 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 01:00:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befec4a4
dev-debug/systemtap: Stabilize 5.1-r1 amd64, #939495
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-debug/systemtap/systemtap-5.1-r1.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
index 863daaf9b0a7..66dc87d63e04 100644
--- a/dev-debug/systemtap/systemtap-5.1-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]] ; then
inherit git-r3
else
SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-09-12 1:02 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-09-12 1:02 UTC (permalink / raw
To: gentoo-commits
commit: be731770bbb0494cfd29d21d81df67c962d5a357
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 01:02:20 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 01:02:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be731770
dev-debug/systemtap: update HOMEPAGE to include upstream wiki
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1-r1.ebuild | 2 +-
dev-debug/systemtap/systemtap-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-5.1-r1.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
index 66dc87d63e04..7bdeaac6c062 100644
--- a/dev-debug/systemtap/systemtap-5.1-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
DESCRIPTION="Linux trace/probe tool"
-HOMEPAGE="https://sourceware.org/systemtap/"
+HOMEPAGE="https://sourceware.org/systemtap/ https://sourceware.org/systemtap/wiki"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://sourceware.org/git/systemtap.git"
inherit git-r3
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index 863daaf9b0a7..9d0ddd4fb4aa 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
DESCRIPTION="Linux trace/probe tool"
-HOMEPAGE="https://sourceware.org/systemtap/"
+HOMEPAGE="https://sourceware.org/systemtap/ https://sourceware.org/systemtap/wiki"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://sourceware.org/git/systemtap.git"
inherit git-r3
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-10-03 9:54 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-10-03 9:54 UTC (permalink / raw
To: gentoo-commits
commit: c0a35b3d4a4080f801f874c5d799fbb11265b59c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 3 09:53:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 3 09:53:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a35b3d
dev-debug/systemtap: enable py3.13
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/systemtap/systemtap-5.1-r1.ebuild | 2 +-
dev-debug/systemtap/systemtap-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-5.1-r1.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
index d6d1a8c25395..de32caa4bc1f 100644
--- a/dev-debug/systemtap/systemtap-5.1-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index f2336a606fdf..4777e9d326b8 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-11-21 23:08 Sven Wegener
0 siblings, 0 replies; 24+ messages in thread
From: Sven Wegener @ 2024-11-21 23:08 UTC (permalink / raw
To: gentoo-commits
commit: e204c473a857937b5e065fe18a9feed6ace091ca
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 20:51:37 2024 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 23:07:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e204c473
dev-debug/systemtap: remove .egg-info
The build system directly calls setup.py.
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
dev-debug/systemtap/systemtap-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index b8cba03f7466..109764c069e8 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -150,6 +150,7 @@ src_test() {
src_install() {
default
+ rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die
python_optimize
# Avoid file collision with dev-debug/dtrace
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-11-21 23:08 Sven Wegener
0 siblings, 0 replies; 24+ messages in thread
From: Sven Wegener @ 2024-11-21 23:08 UTC (permalink / raw
To: gentoo-commits
commit: ac4b5698234958d927d9f03372a1f7720be02030
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 09:05:30 2024 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 23:07:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac4b5698
dev-debug/systemtap: move setuptools dep to BDEPEND
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
dev-debug/systemtap/systemtap-4.8.ebuild | 6 ++++--
dev-debug/systemtap/systemtap-5.0-r1.ebuild | 6 ++++--
dev-debug/systemtap/systemtap-5.1-r1.ebuild | 2 +-
dev-debug/systemtap/systemtap-5.1.ebuild | 2 +-
dev-debug/systemtap/systemtap-9999.ebuild | 2 +-
5 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/dev-debug/systemtap/systemtap-4.8.ebuild b/dev-debug/systemtap/systemtap-4.8.ebuild
index 424f64136cb4..f1da9abd10fb 100644
--- a/dev-debug/systemtap/systemtap-4.8.ebuild
+++ b/dev-debug/systemtap/systemtap-4.8.ebuild
@@ -38,7 +38,6 @@ DEPEND="
${CDEPEND}
app-alternatives/cpio
app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
>=sys-devel/gettext-0.18.2
libvirt? ( dev-libs/libxml2 )
@@ -49,7 +48,10 @@ RDEPEND="
acct-group/stapsys
acct-group/stapusr
"
-BDEPEND="test? ( dev-util/dejagnu )"
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ test? ( dev-util/dejagnu )
+"
CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
diff --git a/dev-debug/systemtap/systemtap-5.0-r1.ebuild b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
index a82fc3af3eb6..c7d6dcfb96ee 100644
--- a/dev-debug/systemtap/systemtap-5.0-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.0-r1.ebuild
@@ -38,7 +38,6 @@ DEPEND="
${CDEPEND}
app-alternatives/cpio
app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
>=sys-devel/gettext-0.18.2
libvirt? ( dev-libs/libxml2 )
@@ -49,7 +48,10 @@ RDEPEND="
acct-group/stapsys
acct-group/stapusr
"
-BDEPEND="test? ( dev-util/dejagnu )"
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ test? ( dev-util/dejagnu )
+"
CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
diff --git a/dev-debug/systemtap/systemtap-5.1-r1.ebuild b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
index de32caa4bc1f..959daf66209e 100644
--- a/dev-debug/systemtap/systemtap-5.1-r1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1-r1.ebuild
@@ -43,7 +43,6 @@ DEPEND="
${CDEPEND}
app-alternatives/cpio
app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
>=sys-devel/gettext-0.18.2
libvirt? ( dev-libs/libxml2 )
@@ -56,6 +55,7 @@ RDEPEND="
"
# which: https://sourceware.org/PR32106
BDEPEND="
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
test? (
dev-util/dejagnu
|| (
diff --git a/dev-debug/systemtap/systemtap-5.1.ebuild b/dev-debug/systemtap/systemtap-5.1.ebuild
index e8c3b20243c9..5830c0e68aca 100644
--- a/dev-debug/systemtap/systemtap-5.1.ebuild
+++ b/dev-debug/systemtap/systemtap-5.1.ebuild
@@ -43,7 +43,6 @@ DEPEND="
${CDEPEND}
app-alternatives/cpio
app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
>=sys-devel/gettext-0.18.2
libvirt? ( dev-libs/libxml2 )
@@ -56,6 +55,7 @@ RDEPEND="
"
# which: https://sourceware.org/PR32106
BDEPEND="
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
test? (
dev-util/dejagnu
|| (
diff --git a/dev-debug/systemtap/systemtap-9999.ebuild b/dev-debug/systemtap/systemtap-9999.ebuild
index 4777e9d326b8..b8cba03f7466 100644
--- a/dev-debug/systemtap/systemtap-9999.ebuild
+++ b/dev-debug/systemtap/systemtap-9999.ebuild
@@ -43,7 +43,6 @@ DEPEND="
${CDEPEND}
app-alternatives/cpio
app-text/xmlto
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
>=sys-devel/gettext-0.18.2
libvirt? ( dev-libs/libxml2 )
@@ -56,6 +55,7 @@ RDEPEND="
"
# which: https://sourceware.org/PR32106
BDEPEND="
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
test? (
dev-util/dejagnu
|| (
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/
@ 2024-11-21 23:08 Sven Wegener
0 siblings, 0 replies; 24+ messages in thread
From: Sven Wegener @ 2024-11-21 23:08 UTC (permalink / raw
To: gentoo-commits
commit: 61cbd979388cc3b3f7b40b9001e213df253646aa
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 20:55:04 2024 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 23:07:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61cbd979
dev-debug/systemtap: add 5.2
Closes: https://bugs.gentoo.org/943277
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
dev-debug/systemtap/Manifest | 1 +
dev-debug/systemtap/systemtap-5.2.ebuild | 162 +++++++++++++++++++++++++++++++
2 files changed, 163 insertions(+)
diff --git a/dev-debug/systemtap/Manifest b/dev-debug/systemtap/Manifest
index 56cedb336373..a7c388c03f50 100644
--- a/dev-debug/systemtap/Manifest
+++ b/dev-debug/systemtap/Manifest
@@ -1,3 +1,4 @@
DIST systemtap-4.8.tar.gz 5628003 BLAKE2B 9f5050eba29d390c907b117187f94ef088f16bb739b4971bc32ffe88b1024a4157cd4e9793a8fc1e149a5a182a28330e3b4fd9d51213bb3637d616fbb9867f6d SHA512 fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2
DIST systemtap-5.0.tar.gz 6572411 BLAKE2B db962df2fdcbc5bc11259c03d78073924f03fee4434dca8686a62fcb0818dab1ca91558160dd9d67d43b709f63ffe4f0af30ab1fe6965e19155bdd4c04501a04 SHA512 dc511a05e66abcbbd8c926973962751196180f3c571d0cd2a3b158ae367c5339ad32967a680ecd03224ab5f7ed2c55be7064867e4fb1b1cd7ea1cb21b2436e4c
DIST systemtap-5.1.tar.gz 6590820 BLAKE2B 22be535b7c55d0ab90a5361a23fad93c436560c14fbbd345aca7ea2c0fcdd0f66b1ef8591800f86a14cc7ae7fe737a120695d76fe15bfdb8b349080228c37e90 SHA512 da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f
+DIST systemtap-5.2.tar.gz 6594250 BLAKE2B 39fc0731a42f3a9d8f4c9329083de1e85ef969cfdefc9eeacc4f9e546e8fe73f7d45f53c79b0c1a1d63bd88c439abfff4d21060c8baefe2282b96562634d6aa3 SHA512 30137e232e44abe98747ae61a71a162eff5abc89e9a922f86ade834eac2cac1923ae06d4ed17710718adba082ad06d2fb544822003a54e13b97eea9e183bdf9d
diff --git a/dev-debug/systemtap/systemtap-5.2.ebuild b/dev-debug/systemtap/systemtap-5.2.ebuild
new file mode 100644
index 000000000000..109764c069e8
--- /dev/null
+++ b/dev-debug/systemtap/systemtap-5.2.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit autotools flag-o-matic linux-info python-single-r1 toolchain-funcs
+
+DESCRIPTION="Linux trace/probe tool"
+HOMEPAGE="https://sourceware.org/systemtap/ https://sourceware.org/systemtap/wiki"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://sourceware.org/git/systemtap.git"
+ inherit git-r3
+else
+ SRC_URI="https://sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debuginfod dtrace-symlink libvirt selinux sqlite +ssl test zeroconf"
+
+CDEPEND="
+ ${PYTHON_DEPS}
+
+ dev-libs/boost:=
+ >=dev-libs/elfutils-0.142[debuginfod?]
+ dev-libs/json-c:=
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+
+ libvirt? ( >=app-emulation/libvirt-1.0.2 )
+ selinux? ( sys-libs/libselinux )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? (
+ dev-libs/nspr
+ dev-libs/nss
+ )
+ zeroconf? ( net-dns/avahi )
+"
+DEPEND="
+ ${CDEPEND}
+ app-alternatives/cpio
+ app-text/xmlto
+ >=sys-devel/gettext-0.18.2
+
+ libvirt? ( dev-libs/libxml2 )
+"
+RDEPEND="
+ ${CDEPEND}
+ acct-group/stapdev
+ acct-group/stapsys
+ acct-group/stapusr
+"
+# which: https://sourceware.org/PR32106
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ test? (
+ dev-util/dejagnu
+ || (
+ net-analyzer/netcat
+ net-analyzer/openbsd-netcat
+ )
+ sys-apps/which
+ )
+"
+
+CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+DOCS="AUTHORS HACKING NEWS README"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1-ia64.patch"
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang .
+
+ sed -i \
+ -e 's#$(INSTALL_DATA) $(srcdir)/stap-exporter.options "$(DESTDIR)$(sysconfdir)/sysconfig/stap-exporter"##g' \
+ stap-exporter/Makefile.am || die "Failed to modify stap-exporter Makefile.am"
+ sed -i \
+ -e '\#^EnvironmentFile=-/etc/sysconfig/stap-exporter#d' \
+ -e 's#$PORT $KEEPALIVE $SCRIPTS $OPTIONS#--port 9900 --keepalive 300#g' \
+ stap-exporter/stap-exporter.service || die "Failed to adapt stap-exporter.service"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --cache-file="${S}"/config.cache
+ --disable-docs
+ --disable-grapher
+ --disable-refdocs
+ --disable-server
+ --disable-Werror
+ # Our toolchain sets this for us already and adding in
+ # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
+ # This option (at least as of 4.5) doesn't pass -fno* etc,
+ # it just doesn't _add_ options, which is good. If it changes
+ # to actually pass -fno-stack-protector and friends, we'll
+ # need to change course. Forcing =2 also has problems for
+ # setting it to 3.
+ # bug #794667.
+ --disable-ssp
+ --enable-pie
+ --with-python3
+ --without-java
+ --without-openssl
+ --without-python2-probes
+ --without-rpm
+ $(use_enable libvirt virt)
+ $(use_enable sqlite)
+ $(use_with debuginfod)
+ $(use_with zeroconf avahi)
+ $(use_with ssl nss)
+ $(use_with selinux)
+ )
+
+ # Use bash because of bashisms with brace expansion in Makefile.am
+ # https://sourceware.org/PR32105
+ CONFIG_SHELL="${BROOT}"/bin/bash PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ # TODO: Install tests like dev-debug/dtrace[test-install] and
+ # e.g. Fedora does.
+ (
+ strip-flags
+ filter-flags '-fcf-protection=*'
+ filter-flags '-fdiagnostics-color=*' '-fdiagnostics-urls=*'
+ filter-flags '-g*'
+ filter-lto
+ tc-ld-force-bfd
+ emake -Onone -k check CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+ )
+}
+
+src_install() {
+ default
+ rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die
+ python_optimize
+
+ # Avoid file collision with dev-debug/dtrace
+ mv "${ED}"/usr/bin/dtrace "${ED}"/usr/bin/stap-dtrace || die
+
+ if use dtrace-symlink ; then
+ dosym stap-dtrace /usr/bin/dtrace
+ fi
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
end of thread, other threads:[~2024-11-21 23:08 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22 13:19 [gentoo-commits] repo/gentoo:master commit in: dev-debug/systemtap/ Matt Jolly
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 23:08 Sven Wegener
2024-11-21 23:08 Sven Wegener
2024-11-21 23:08 Sven Wegener
2024-10-03 9:54 Sam James
2024-09-12 1:02 Sam James
2024-09-12 1:01 Sam James
2024-09-11 23:59 Sam James
2024-08-30 18:10 Sam James
2024-08-30 18:10 Sam James
2024-08-21 9:37 Sam James
2024-08-21 5:30 Sam James
2024-08-21 5:00 Sam James
2024-08-21 5:00 Sam James
2024-08-21 4:44 Sam James
2024-08-21 4:44 Sam James
2024-08-21 4:44 Sam James
2024-06-03 7:00 Sam James
2024-05-28 13:19 Sam James
2024-05-28 12:44 Sam James
2024-05-28 12:11 Michał Górny
2024-05-28 12:04 Michał Górny
2024-05-28 12:04 Michał Górny
2024-05-15 8:22 Dennis Lamm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox