systemtap 1:4.7-1 (aarch64;znver1) 2022-15273
9999

Status published
Submitter alexander [@T] mezon.ru
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/235034
Packages
systemtap-1:4.7-1.aarch64.binary
systemtap-1:4.7-1.aarch64.source
systemtap-debuginfo-1:4.7-1.aarch64.debuginfo
systemtap-debugsource-1:4.7-1.aarch64.binary
systemtap-devel-1:4.7-1.aarch64.binary
systemtap-examples-1:4.7-1.aarch64.binary
systemtap-exporter-1:4.7-1.aarch64.binary
systemtap-runtime-1:4.7-1.aarch64.binary
systemtap-runtime-debuginfo-1:4.7-1.aarch64.debuginfo
systemtap-server-1:4.7-1.aarch64.binary
systemtap-server-debuginfo-1:4.7-1.aarch64.debuginfo
systemtap-1:4.7-1.znver1.binary
systemtap-1:4.7-1.znver1.source
systemtap-debuginfo-1:4.7-1.znver1.debuginfo
systemtap-debugsource-1:4.7-1.znver1.binary
systemtap-devel-1:4.7-1.znver1.binary
systemtap-examples-1:4.7-1.znver1.binary
systemtap-exporter-1:4.7-1.znver1.binary
systemtap-runtime-1:4.7-1.znver1.binary
systemtap-runtime-debuginfo-1:4.7-1.znver1.debuginfo
systemtap-runtime-java-1:4.7-1.znver1.binary
systemtap-runtime-java-debuginfo-1:4.7-1.znver1.debuginfo
systemtap-server-1:4.7-1.znver1.binary
systemtap-server-debuginfo-1:4.7-1.znver1.debuginfo
Build Date 2022-09-26 20:06:38 +0000 UTC
Last Updated 2022-09-30 16:01:31.897023676 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 2a17c21ddc79d39d114aef4488c3280cbac94013

commit 2a17c21ddc79d39d114aef4488c3280cbac94013
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Mon Sep 26 21:41:48 2022 +0200
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Mon Sep 26 21:41:48 2022 +0200

    4.7
---
 .abf.yml                        |  2 +-
 systemtap-4.7-python-3.11.patch | 11 +++++++++++
 systemtap.spec                  | 12 +++++++-----
 3 files changed, 19 insertions(+), 6 deletions(-)
 create mode 100644 systemtap-4.7-python-3.11.patch

diff --git a/.abf.yml b/.abf.yml
index 327bedc..1399a7b 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  systemtap-4.4.tar.gz: f126888adda90a0ec57f43f9db20fde68c8ef356
+  systemtap-4.7.tar.gz: fc943fc3233b111fd80c9cbd063859dc1b699dcb
diff --git a/systemtap-4.7-python-3.11.patch b/systemtap-4.7-python-3.11.patch
new file mode 100644
index 0000000..07703ca
--- /dev/null
+++ b/systemtap-4.7-python-3.11.patch
@@ -0,0 +1,11 @@
+diff -up systemtap-4.7/python/HelperSDT/_HelperSDT.c.omv~ systemtap-4.7/python/HelperSDT/_HelperSDT.c
+--- systemtap-4.7/python/HelperSDT/_HelperSDT.c.omv~	2022-09-26 21:15:43.686689832 +0200
++++ systemtap-4.7/python/HelperSDT/_HelperSDT.c	2022-09-26 21:16:19.271903219 +0200
+@@ -13,6 +13,7 @@
+ 
+ // PR25841: ensure that the libHelperSDT.so file contains debuginfo
+ // for the tapset helper functions, so they don't have to look into libpython*
++#include <internal/pycore_frame.h> // PyFrameObject definition
+ #include <frameobject.h>
+ PyFrameObject _dummy_frame;
+ #include <object.h>
diff --git a/systemtap.spec b/systemtap.spec
index e287e0d..c4c35f8 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -14,12 +14,13 @@
 Summary:	Infrastructure to gather information about the running Linux system
 Name:		systemtap
 Epoch:		1
-Version:	4.4
-Release:	2
+Version:	4.7
+Release:	1
 License:	GPLv2+
 Group:		Development/Kernel
 Url:		http://sourceware.org/systemtap/
 Source0:	http://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz
+Patch0:		systemtap-4.7-python-3.11.patch
 Patch3:		systemtap-2.5-fix-aliasing-violations.patch
 
 BuildRequires:	cap-devel
@@ -152,7 +153,7 @@ autoreconf -fi
 %make_build
 
 %install
-%makeinstall_std
+%make_install
 
 # we add testsuite with a lot of examples
 install -m 766 -d testsuite %{buildroot}%{_datadir}/%{name}/
@@ -161,6 +162,8 @@ install -m 766 -d testsuite %{buildroot}%{_datadir}/%{name}/
 
 %files
 %{_bindir}/stap
+/lib/systemd/system/stap-exporter.service
+%{_bindir}/stap-profile-annotate
 %{_mandir}/man[17]/*
 %lang(cs) %{_mandir}/cs/man[17]/*
 %dir %{_datadir}/%{name}
@@ -192,7 +195,7 @@ install -m 766 -d testsuite %{buildroot}%{_datadir}/%{name}/
 %if %{with java}
 %files runtime-java
 %dir %{_libexecdir}/systemtap
-%{_libexecdir}/systemtap/libHelperSDT_*.so
+%{_libexecdir}/systemtap/libHelperSDT.so
 %{_libexecdir}/systemtap/HelperSDT.jar
 %{_libexecdir}/systemtap/stapbm
 %endif
@@ -211,7 +214,6 @@ install -m 766 -d testsuite %{buildroot}%{_datadir}/%{name}/
 %files exporter
 %{_sysconfdir}/stap-exporter
 %{_sysconfdir}/sysconfig/stap-exporter
-%{_unitdir}/stap-exporter.service
 %{_mandir}/man8/stap-exporter.8*
 %{_sbindir}/stap-exporter
 %endif
Not Available

benbullard79 [@T] cox.netNo Comment.570d 18hrs
benbullard79 [@T] cox.netNo Comment.570d 18hrs