[Buildroot] [PATCH 3/4] package/lttng-tools: bump version to 2.16.0
flat view
From: Bernd Kuhls <hidden>
Date: 2026-09-09 08:14:23
Subsystem:
the rest · Maintainer:
Linus Torvalds
https://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=72dcc536523727343cb23e2a0fefd41044511d16 Added Upstream: tag to patch 0001. Removed patch 0002 which is included in this release. Added new patch 0002 to fix a build error on musl introduced by this bump due to upstream commit: https://github.com/lttng/lttng-tools/commit/968475a48be5a87139b19fddbb70b9225c5375bd Updated license file paths according to upstream commit https://git.lttng.org/?p=lttng-tools.git;a=history;f=LICENSES;hb=refs/heads/stable-2.16 Updated license hashes due to upstream commit https://git.lttng.org/?p=lttng-tools.git;a=commit;h=c09078e13a4ede575724009520c37a8b8d3e68d6 Signed-off-by: Bernd Kuhls <redacted> --- .checkpackageignore | 1 - .../0001-configure.ac-add-disable-tests.patch | 3 +- ...Remove-the-scope-resolution-operator.patch | 48 ---------------- ...nnel-memory-types.hpp-fails-to-build.patch | 55 +++++++++++++++++++ package/lttng-tools/lttng-tools.hash | 16 +++--- package/lttng-tools/lttng-tools.mk | 10 +++- 6 files changed, 73 insertions(+), 60 deletions(-) delete mode 100644 package/lttng-tools/0002-Fix-eventfd.cpp-Remove-the-scope-resolution-operator.patch create mode 100644 package/lttng-tools/0002-Fix-sessiond-channel-memory-types.hpp-fails-to-build.patch
diff --git a/.checkpackageignore b/.checkpackageignore
index 2b61ff3bab..bb6ba84505 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore@@ -563,7 +563,6 @@ package/ltrace/0002-sparc-add-missing-library.h-include.patch lib_patch.Upstream package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch lib_patch.Upstream package/lttng-babeltrace/0002-configure.ac-fix-popt-static-build.patch lib_patch.Upstream package/lttng-libust/0001-configure.ac-add-disable-tests.patch lib_patch.Upstream -package/lttng-tools/0001-configure.ac-add-disable-tests.patch lib_patch.Upstream package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch lib_patch.Upstream package/lua-lunix/0001-remove-link-with-librt.patch lib_patch.Upstream package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch lib_patch.Upstream
diff --git a/package/lttng-tools/0001-configure.ac-add-disable-tests.patch b/package/lttng-tools/0001-configure.ac-add-disable-tests.patch
index 4bc9239c3d..bdf621b4ec 100644
--- a/package/lttng-tools/0001-configure.ac-add-disable-tests.patch
+++ b/package/lttng-tools/0001-configure.ac-add-disable-tests.patch@@ -5,8 +5,9 @@ Subject: [PATCH] configure.ac: add --disable-tests Allow the user to explicitly disable tests +Upstream: https://github.com/lttng/lttng-tools/pull/162 (rejected) + Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> -[Upstream status: https://github.com/lttng/lttng-tools/pull/162] --- configure.ac | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/package/lttng-tools/0002-Fix-eventfd.cpp-Remove-the-scope-resolution-operator.patch b/package/lttng-tools/0002-Fix-eventfd.cpp-Remove-the-scope-resolution-operator.patch
deleted file mode 100644
index d4b46d3a5a..0000000000
--- a/package/lttng-tools/0002-Fix-eventfd.cpp-Remove-the-scope-resolution-operator.patch
+++ /dev/null@@ -1,48 +0,0 @@ -From d94d2b90c5148c4d83f1424b6e984044f2d8191f Mon Sep 17 00:00:00 2001 -From: Mingli Yu <mingli.yu@windriver.com> -Date: Thu, 24 Jul 2025 14:35:51 +0800 -Subject: [PATCH] Fix: eventfd.cpp: Remove the scope resolution operator -MIME-Version: 1.0 -Content-Type: text/plain; charset=utf8 -Content-Transfer-Encoding: 8bit - -Remove the scope resolution operator :: to fix the below build failure -with musl. - | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:18:31: error: expected id-expression before numeric constant - | 18 | int flags = ::EFD_CLOEXEC; - | | ^~~~~~~~~~~ - | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:21:36: error: expected id-expression before numeric constant - | 21 | flags |= ::EFD_SEMAPHORE; - | | ^~~~~~~~~~~~~ - -Signed-off-by: Mingli Yu <mingli.yu@windriver.com> -Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> -Change-Id: I405f6f15a25f7e6b7f0676093091a9e8a384739d - -Upstream: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff;h=d94d2b90c5148c4d83f1424b6e984044f2d8191f - -Signed-off-by: Bernd Kuhls <bernd@kuhls.net> ---- - src/common/eventfd.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/common/eventfd.cpp b/src/common/eventfd.cpp -index d331bbe40..447520f25 100644 ---- a/src/common/eventfd.cpp -+++ b/src/common/eventfd.cpp -@@ -15,10 +15,10 @@ - - lttng::eventfd::eventfd(bool use_semaphore_semantics, std::uint64_t initial_value) : - file_descriptor([use_semaphore_semantics, initial_value]() { -- int flags = ::EFD_CLOEXEC; -+ int flags = EFD_CLOEXEC; - - if (use_semaphore_semantics) { -- flags |= ::EFD_SEMAPHORE; -+ flags |= EFD_SEMAPHORE; - } - - const auto raw_fd = ::eventfd(initial_value, flags); --- -2.47.3 -
diff --git a/package/lttng-tools/0002-Fix-sessiond-channel-memory-types.hpp-fails-to-build.patch b/package/lttng-tools/0002-Fix-sessiond-channel-memory-types.hpp-fails-to-build.patch
new file mode 100644
index 0000000000..87df781a61
--- /dev/null
+++ b/package/lttng-tools/0002-Fix-sessiond-channel-memory-types.hpp-fails-to-build.patch@@ -0,0 +1,55 @@ +From e989cad2af408d93c386818cc87316b702f336b3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Galarneau?= + <jeremie.galarneau@efficios.com> +Date: Fri, 28 Aug 2026 21:32:40 +0000 +Subject: [PATCH] Fix: sessiond: channel-memory-types.hpp fails to build with + musl +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +OBSERVED ISSUE +━━━━━━━━━━━━━━ +Building 2.16.0 against musl (on Yocto) fails with: + + channel-memory-types.hpp:31:59: error: 'uid_t' has not been + declared; did you mean 'pid_t'? + +CAUSE +━━━━━ +The header uses pid_t and uid_t without including <sys/types.h>. +With glibc, those types leak in through the other included headers. +musl's headers are seemingly stricter and don't declare them +transitively. + +SOLUTION +━━━━━━━━ +Include <sys/types.h>. + +Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org> +Fixes: #1445 +Change-Id: I291522a2110d7d927f062ab0131c35ed9e793ba5 +Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> + +Upstream: https://github.com/lttng/lttng-tools/commit/e989cad2af408d93c386818cc87316b702f336b3 + +Signed-off-by: Bernd Kuhls <bernd@kuhls.net> +--- + src/bin/lttng-sessiond/channel-memory-types.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/bin/lttng-sessiond/channel-memory-types.hpp b/src/bin/lttng-sessiond/channel-memory-types.hpp +index 554691201..2b5fcc962 100644 +--- a/src/bin/lttng-sessiond/channel-memory-types.hpp ++++ b/src/bin/lttng-sessiond/channel-memory-types.hpp +@@ -16,6 +16,7 @@ + #include <chrono> + #include <cstdint> + #include <functional> ++#include <sys/types.h> + #include <vector> + + namespace lttng { +-- +2.47.3 +
diff --git a/package/lttng-tools/lttng-tools.hash b/package/lttng-tools/lttng-tools.hash
index a181cd6dc0..f49c47a270 100644
--- a/package/lttng-tools/lttng-tools.hash
+++ b/package/lttng-tools/lttng-tools.hash@@ -1,10 +1,10 @@ -# From https://lttng.org/files/lttng-tools/lttng-tools-2.14.0.tar.bz2.sha256 -sha256 d8c39c26cec13b7bd82551cd52a22efc358b888e36ebcf9c1b60ef1c3a3c2fd3 lttng-tools-2.14.0.tar.bz2 +# From https://lttng.org/files/lttng-tools/lttng-tools-2.16.0.tar.bz2.sha256 +sha256 b8b3244894e49e773d4942b8899f768057974edf75c18dbb48b65bb123c7b2c7 lttng-tools-2.16.0.tar.bz2 # Locally computed -sha256 068e55c7dbe597400199aee75ac5e71bdb2ca88c4c9a4cfa8e1fbc61f933eda5 LICENSE -sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSES/BSD-2-Clause -sha256 7a83b1aeb460458db9a4bd521d7f237c45b1650f6e60ea5ffc71e49472454de3 LICENSES/BSD-3-Clause -sha256 6841c85b94f9dab319356e3aaf9e969fcedad51d3aaadf665bf86f34f4186b62 LICENSES/GPL-2.0 -sha256 d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c LICENSES/LGPL-2.1 -sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT +sha256 7fdd1784ff7fd28680ec50aa0f198791aaf694dfbce1062021f459ee329001d7 LICENSE +sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSES/BSD-2-Clause.txt +sha256 7a83b1aeb460458db9a4bd521d7f237c45b1650f6e60ea5ffc71e49472454de3 LICENSES/BSD-3-Clause.txt +sha256 aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3 LICENSES/GPL-2.0-only.txt +sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb LICENSES/LGPL-2.1-only.txt +sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT.txt
diff --git a/package/lttng-tools/lttng-tools.mk b/package/lttng-tools/lttng-tools.mk
index 9a66ede669..6f6cdedb43 100644
--- a/package/lttng-tools/lttng-tools.mk
+++ b/package/lttng-tools/lttng-tools.mk@@ -4,12 +4,18 @@ # ################################################################################ -LTTNG_TOOLS_VERSION = 2.14.0 +LTTNG_TOOLS_VERSION = 2.16.0 LTTNG_TOOLS_SITE = https://lttng.org/files/lttng-tools LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2 LTTNG_TOOLS_INSTALL_STAGING = YES LTTNG_TOOLS_LICENSE = GPL-2.0, LGPL-2.1 (include/lttng/*, src/lib/lttng-ctl/*) -LTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Clause GPL-2.0 LGPL-2.1 MIT) +LTTNG_TOOLS_LICENSE_FILES = \ + LICENSE \ + LICENSES/BSD-2-Clause.txt \ + LICENSES/BSD-3-Clause.txt \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/MIT.txt LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux # We're patching configure.ac LTTNG_TOOLS_AUTORECONF = YES
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot