[packages/lttng-tools] - up to 2.14.0

baggins baggins at pld-linux.org
Mon Aug 11 09:22:57 CEST 2025


commit 74838ed17dc9c62274dfde2902b0dd310d0a29aa
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Aug 11 11:22:37 2025 +0200

    - up to 2.14.0

 lttng-tools-python.patch |  6 +++---
 lttng-tools.spec         | 17 +++++++++++------
 tests.patch              | 10 ++++++++++
 3 files changed, 24 insertions(+), 9 deletions(-)
---
diff --git a/lttng-tools.spec b/lttng-tools.spec
index 9cd1280..d8690c5 100644
--- a/lttng-tools.spec
+++ b/lttng-tools.spec
@@ -1,20 +1,22 @@
 Summary:	LTTng Trace Control
 Summary(pl.UTF-8):	Sterowanie śledzeniem LTTng
 Name:		lttng-tools
-Version:	2.13.15
-Release:	3
+Version:	2.14.0
+Release:	0.1
 License:	LGPL v2.1+ (library), GPL v2 (tools)
 Group:		Libraries
 Source0:	https://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2
-# Source0-md5:	77b85bdbaa0ae6ba10cbd9df0f066400
+# Source0-md5:	293be98387e047c5807dcceb1aa9d8fb
 Patch0:		%{name}-python.patch
 Patch1:		x32.patch
 Patch2:		%{name}-swig-crash.patch
 Patch3:		%{name}-assert.patch
+Patch4:		tests.patch
 URL:		https://lttng.org/
 BuildRequires:	asciidoc
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.12
+BuildRequires:	babeltrace2-devel
 # for builds from git
 #BuildRequires:	bison >= 2.4
 #BuildRequires:	flex >= 2.5.35
@@ -24,7 +26,7 @@ BuildRequires:	kmod-devel
 BuildRequires:	libtool >= 2:2.2
 BuildRequires:	libuuid-devel
 BuildRequires:	libxml2-devel >= 1:2.7.6
-BuildRequires:	lttng-ust-devel >= 2.12
+BuildRequires:	lttng-ust-devel >= 2.14
 BuildRequires:	popt-devel >= 1.13
 BuildRequires:	python3-devel >= 1:3.2
 BuildRequires:	rpmbuild(macros) >= 1.219
@@ -93,9 +95,10 @@ Wiązanie Pythona 3 do LTTng.
 %prep
 %setup -q
 %patch -P 0 -p1
-%patch -P 1 -p1
+#patch -P 1 -p1
 %patch -P 2 -p1
-%patch -P 3 -p1
+#patch -P 3 -p1
+%patch -P 4 -p1
 
 %build
 %{__libtoolize}
@@ -219,12 +222,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/lttng/event-rule
 %{_includedir}/lttng/handle.h
 %{_includedir}/lttng/health.h
+%{_includedir}/lttng/kernel.h
 %{_includedir}/lttng/kernel-probe.h
 %{_includedir}/lttng/load.h
 %{_includedir}/lttng/location.h
 %{_includedir}/lttng/log-level-rule.h
 %{_includedir}/lttng/lttng.h
 %{_includedir}/lttng/lttng-error.h
+%{_includedir}/lttng/lttng-export.h
 %{_includedir}/lttng/rotation.h
 %{_includedir}/lttng/save.h
 %{_includedir}/lttng/session.h
diff --git a/lttng-tools-python.patch b/lttng-tools-python.patch
index ebed76c..964e7cb 100644
--- a/lttng-tools-python.patch
+++ b/lttng-tools-python.patch
@@ -6,6 +6,6 @@
  nodist__lttng_la_SOURCES = lttng_wrap.c
 -_lttng_la_LDFLAGS = -module
 +_lttng_la_LDFLAGS = -module -avoid-version
- _lttng_la_LIBADD = 	$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la 		\
- 			$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la		\
- 			$(top_builddir)/src/common/libcommon-gpl.la
+ _lttng_la_LIBADD = 	$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la	\
+ 			$(top_builddir)/src/common/libsessiond-comm.la		\
+ 			$(top_builddir)/src/common/libcommon-gpl.la		\
diff --git a/tests.patch b/tests.patch
new file mode 100644
index 0000000..092acf7
--- /dev/null
+++ b/tests.patch
@@ -0,0 +1,10 @@
+--- lttng-tools-2.14.0/tests/unit/test_uuid.cpp~	2025-06-27 16:36:48.000000000 +0200
++++ lttng-tools-2.14.0/tests/unit/test_uuid.cpp	2025-08-11 11:16:53.513327713 +0200
+@@ -7,6 +7,7 @@
+ 
+ #include "common/uuid.hpp"
+ 
++#include <cassert>
+ #include <stdbool.h>
+ #include <stdio.h>
+ #include <string.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lttng-tools.git/commitdiff/74838ed17dc9c62274dfde2902b0dd310d0a29aa



More information about the pld-cvs-commit mailing list