Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trace-cmd for openSUSE:Factory 
checked in at 2023-06-17 22:20:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trace-cmd (Old)
 and      /work/SRC/openSUSE:Factory/.trace-cmd.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trace-cmd"

Sat Jun 17 22:20:42 2023 rev:19 rq:1093570 version:3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/trace-cmd/trace-cmd.changes      2023-02-08 
17:20:53.242118172 +0100
+++ /work/SRC/openSUSE:Factory/.trace-cmd.new.15902/trace-cmd.changes   
2023-06-17 22:21:35.099996511 +0200
@@ -1,0 +2,37 @@
+Thu Jun 15 19:09:55 UTC 2023 - Tony Jones <to...@suse.com>
+
+- Add explicit thread dependency for older versions of meson (i.e SLE-15-SP5) 
+  New patch: libtracecmd-add-explicit-meson-thread-dependency.patch
+  New patch: tracecmd-add-explicit-meson-thread-dependency.patch
+
+-------------------------------------------------------------------
+Thu Jun 15 18:55:34 UTC 2023 - Tony Jones <to...@suse.com>
+
+- Update to version 3.2
+  * Add trace-attach.c to meson build
+  * Add initial support for meson
+  * Quiet valgrind from reporting forked children
+  * Close handle after opening
+  * Fix memory leaks of followers
+  * Add Makefile target for memory test
+  * Update the version to the development
+  * Add new command "attach"
+  * Add tracecmd_get_tsc2nsec() API
+  * Unlock records in tracecmd_iterate_events()
+  * Add "IP" to -N argument in help message
+  * Remove redundant check of instance in allocate_instance()
+  * Free buf_from in error path of tracecmd_compress_copy_from()
+  * Update v7 trace.dat documentation to clarify the strings section
+  * Do not destroy existing instances
+  * Do not extract top level unless told to
+  * Fix tracecmd_compress_copy_from() write size return 
+  * Document filter scope
+  * Support global filters
+  * Ensure filter is applied to single input file
+  * Open code execvp routine to avoid multiple execve syscalls
+
+- Drop patches (upstream):
+  * 0001-libtracecmd-Add-initial-support-for-meson.patch
+  * 0002-trace-cmd-Add-initial-support-for-meson.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-libtracecmd-Add-initial-support-for-meson.patch
  0002-trace-cmd-Add-initial-support-for-meson.patch
  trace-cmd-v3.1.6.tar.gz

New:
----
  libtracecmd-add-explicit-meson-thread-dependency.patch
  trace-cmd-v3.2.tar.gz
  tracecmd-add-explicit-meson-thread-dependency.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trace-cmd.spec ++++++
--- /var/tmp/diff_new_pack.RuiqTA/_old  2023-06-17 22:21:35.655999852 +0200
+++ /var/tmp/diff_new_pack.RuiqTA/_new  2023-06-17 22:21:35.659999876 +0200
@@ -17,15 +17,15 @@
 
 
 Name:           trace-cmd
-Version:        3.1.6
+Version:        3.2
 Release:        0
 Summary:        Configuration tool for Ftrace
 License:        GPL-2.0-only
 Group:          Development/Tools/Debuggers
 URL:            https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git
 Source0:        trace-cmd-v%{version}.tar.gz
-Patch1:         0001-libtracecmd-Add-initial-support-for-meson.patch
-Patch2:         0002-trace-cmd-Add-initial-support-for-meson.patch
+Patch1:         libtracecmd-add-explicit-meson-thread-dependency.patch
+Patch2:         tracecmd-add-explicit-meson-thread-dependency.patch
 BuildRequires:  asciidoc
 BuildRequires:  fdupes
 BuildRequires:  libtraceevent-devel

++++++ libtracecmd-add-explicit-meson-thread-dependency.patch ++++++
From: Daniel Wagner <dwag...@suse.de>
Date: Thu Jun 15 11:48:53 AM PDT 2023
Subject: libtracecmd: Add explicit meson thread dependency 
Patch-mainline: mailed to mailing list
References: none
Signed-off-by: Tony Jones <to...@suse.de>

Older version of meson do not add automatically the pthread and dl
dependency. Thus add it explicitly to thebuild.

Signed-off-by: Daniel Wagner <dwag...@suse.de>
---
 lib/meson.build           | 3 +++
 lib/trace-cmd/meson.build | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/lib/meson.build b/lib/meson.build
index 52f892fd82d5..389281d3806a 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -29,6 +29,9 @@ conf = configuration_data()
 libtraceevent_dep = dependency('libtraceevent', version: '>= 1.5.0', required: 
true)
 libtracefs_dep = dependency('libtracefs', version: '>= 1.6.0', required: true)
 
+threads_dep = dependency('threads', required: true)
+dl_dep = cc.find_library('dl', required : false)
+
 zlib_dep = dependency('zlib', required: false)
 conf.set('HAVE_ZLIB', zlib_dep.found(), description: 'Is zlib avialable?')
 
diff --git a/lib/trace-cmd/meson.build b/lib/trace-cmd/meson.build
index 8c00ca8f8ff7..2193e5265b22 100644
--- a/lib/trace-cmd/meson.build
+++ b/lib/trace-cmd/meson.build
@@ -45,6 +45,8 @@ if libtracecmd_standalone_build
         dependencies: [
             libtraceevent_dep,
             libtracefs_dep,
+            threads_dep,
+            dl_dep,
             zlib_dep,
             libzstd_dep,
             audit_dep],
@@ -77,6 +79,8 @@ else
         dependencies: [
             libtraceevent_dep,
             libtracefs_dep,
+            threads_dep,
+            dl_dep,
             zlib_dep,
             libzstd_dep,
             audit_dep],
-- 
2.40.1


++++++ trace-cmd-v3.1.6.tar.gz -> trace-cmd-v3.2.tar.gz ++++++
++++ 2343 lines of diff (skipped)

++++++ tracecmd-add-explicit-meson-thread-dependency.patch ++++++
From: Daniel Wagner <dwag...@suse.de>
Date: Thu Jun 15 11:48:53 AM PDT 2023
Subject: tracecmd: Add explicit meson thread dependency  
Patch-mainline: mailed to mailing list
References: none
Signed-off-by: Tony Jones <to...@suse.de>

Older version of meson do not add automatically the pthread and dl
dependency. Thus add it explicitly to the build.

Signed-off-by: Daniel Wagner <dwag...@suse.de>
---
 meson.build | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meson.build b/meson.build
index 906ac8168f4f..fbdf016f67a7 100644
--- a/meson.build
+++ b/meson.build
@@ -27,6 +27,9 @@ conf = configuration_data()
 libtraceevent_dep = dependency('libtraceevent', version: '>= 1.5.0', required: 
true)
 libtracefs_dep = dependency('libtracefs', version: '>= 1.6.0', required: true)
 
+threads_dep = dependency('threads', required: true)
+dl_dep = cc.find_library('dl', required : false)
+
 zlib_dep = dependency('zlib', required: false)
 conf.set('HAVE_ZLIB', zlib_dep.found(), description: 'Is zlib avialable?')
 
-- 
2.40.1

Reply via email to