Skip to contentSkip to conversation

package/lttng-modules: bump version to 2.16.0

PATCH In review Bernd Kuhls 3 participants 8 messages Sep 9 – Sep 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/lttng-modules: bump version to 2.16.0

https://git.lttng.org/?p=lttng-modules.git;a=blob_plain;f=ChangeLog;hb=53eb8c30aa8a8afaf7bc46a9959a94bd0508d18e

Fixes build errors with newer kernels.

Please note that the previous 2.14 branch does not support kernel versions >= 7.2:
https://git.lttng.org/?p=lttng-modules.git;a=commitdiff;h=7db42e0238d347eff969c1b1cf66fb5320da1bab

---
 package/lttng-modules/lttng-modules.hash | 4 ++--
 package/lttng-modules/lttng-modules.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/lttng-modules/lttng-modules.hash +2 -2
index 3cf11dae32..3c12217d50 100644
@@ -1,5 +1,5 @@
-# From https://lttng.org/files/lttng-modules/lttng-modules-2.14.3.tar.bz2.sha256
-sha256  35a1875ad96e8b4b6aa8729f59af350bfc788ba65c6856deaa84d33acc0f28c2  lttng-modules-2.14.3.tar.bz2
+# From https://lttng.org/files/lttng-modules/lttng-modules-2.16.0.tar.bz2.sha256
+sha256  854600604cdaaa66fc1711e564aff37d8dbba9bd1d3aaa94f12a561da845deb9  lttng-modules-2.16.0.tar.bz2
 
 # Hash for license files
 sha256  fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb  LICENSES/LGPL-2.1-only.txt
package/lttng-modules/lttng-modules.mk +1 -1
index b51fb5dd96..d4cdafe568 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LTTNG_MODULES_VERSION = 2.14.3
+LTTNG_MODULES_VERSION = 2.16.0
 LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules
 LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2
 LTTNG_MODULES_LICENSE = LGPL-2.1/GPL-2.0 (kernel modules), MIT (lib/bitfield.h, lib/prio_heap/*)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/4 package/lttng-libust: bump version to 2.16.0

https://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=ChangeLog;hb=c896a32e65fd23d30ec541f78e7cb5867ba531c1

---
 package/lttng-libust/lttng-libust.hash | 4 ++--
 package/lttng-libust/lttng-libust.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/lttng-libust/lttng-libust.hash +2 -2
index 946b22d40f..1f82e33b5b 100644
@@ -1,5 +1,5 @@
-# From https://lttng.org/files/lttng-ust/lttng-ust-2.14.0.tar.bz2.sha256
-sha256  82cdfd304bbb2b2b7d17cc951a6756b37a9f73868ec0ba7db448a0d5ca51b763  lttng-ust-2.14.0.tar.bz2
+# From https://lttng.org/files/lttng-ust/lttng-ust-2.16.0.tar.bz2.sha256
+sha256  1e84e02fa1fc1261eb6cf3d14d64006506a29f7c605ac85de02180318c6aa38a  lttng-ust-2.16.0.tar.bz2
 
 # Hash for license files
 sha256  5a93d5831e1297ab10fe643e1a631e83be392896da14ee2951285a79012df69d  LICENSES/BSD-3-Clause.txt
package/lttng-libust/lttng-libust.mk +1 -1
index fbd565271f..7ecb18748c 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust
-LTTNG_LIBUST_VERSION = 2.14.0
+LTTNG_LIBUST_VERSION = 2.16.0
 LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2
 LTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond), BSD-3-Clause (snprintf)
 LTTNG_LIBUST_LICENSE_FILES = \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/4 package/lttng-tools: bump version to 2.16.0

In reply to Bernd Kuhls

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

---
 .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
.checkpackageignore +0 -1
index 2b61ff3bab..bb6ba84505 100644
@@ -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
package/lttng-tools/0001-configure.ac-add-disable-tests.patch +2 -1
index 4bc9239c3d..bdf621b4ec 100644
@@ -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 <[email protected]>
-[Upstream status: https://github.com/lttng/lttng-tools/pull/162]
 ---
  configure.ac | 3 +++
  1 file changed, 3 insertions(+)
package/lttng-tools/0002-Fix-eventfd.cpp-Remove-the-scope-resolution-operator.patch deleted +0 -48

48 lines not on this page · raw message

package/lttng-tools/0002-Fix-sessiond-channel-memory-types.hpp-fails-to-build.patch new file +55 -0

55 lines not on this page · raw message

package/lttng-tools/lttng-tools.hash +8 -8
index a181cd6dc0..f49c47a270 100644
@@ -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
package/lttng-tools/lttng-tools.mk +8 -2
index 9a66ede669..6f6cdedb43 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH 3/4] package/lttng-tools: bump version to 2.16.0

package/lttng-tools/0001-configure.ac-add-disable-tests.patch Subject: [PATCH] configure.ac: add --disable-tests · line 8

Quoted 9 lines · Bernd Kuhls
package/lttng-tools/0001-configure.ac-add-disable-tests.patch +1 -0
index 4bc9239c3d..bdf621b4ec 100644
@@ -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)

Considering upstream's feedback on this patch, I believe we should:

1. Drop our patch

2. Disable lttng-tools on architectures that don't build

This would follow upstream's guidance on this matter.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH 3/4] package/lttng-tools: bump version to 2.16.0

Quoted 8 lines · Thomas Petazzoni
Quoted 6 lines · Bernd Kuhls
package/lttng-tools/0001-configure.ac-add-disable-tests.patch +0 -0
index 4bc9239c3d..bdf621b4ec 100644
@@ -5,8 +5,9 @@ Subject: [PATCH] configure.ac: add --disable-tests
 
Quoted 5 lines

package/lttng-tools/0001-configure.ac-add-disable-tests.patch Subject: [PATCH] configure.ac: add --disable-tests · line 8

Quoted 3 lines
package/lttng-tools/0001-configure.ac-add-disable-tests.patch +1 -0
 Allow the user to explicitly disable tests
 
+Upstream: https://github.com/lttng/lttng-tools/pull/162 (rejected)

Considering upstream's feedback on this patch, I believe we should:

Actually this was five years ago; in the meantime, we've had --disable-tests available since commit 6ba949601 ("common: Provide --disable-tests configuration option"), included in both v2.15 and v2.16.

Kienan wrote the patch to be able to build LTTng-tools on a system that doesn't have libbabeltrace2 (tests need that now). So it wasn't written with your use case in mind, but --disable-tests achieves the same thing.

Wishing you a wonderful day,

Phil

Quoted 7 lines

1. Drop our patch

2. Disable lttng-tools on architectures that don't build

This would follow upstream's guidance on this matter.

Quoted 7 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Re: [Buildroot] [PATCH 3/4] package/lttng-tools: bump version to 2.16.0

Hello Philippe,

Quoted 9 lines · Philippe Proulx

Actually this was five years ago; in the meantime, we've had --disable-tests available since commit 6ba949601 ("common: Provide --disable-tests configuration option"), included in both v2.15 and v2.16.

Kienan wrote the patch to be able to build LTTng-tools on a system that doesn't have libbabeltrace2 (tests need that now). So it wasn't written with your use case in mind, but --disable-tests achieves the same thing.

Nice, thanks for the heads up!

Bernd: could you have a look and see if we can drop our patch?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

PATCH 4/4 package/liburcu: bump version to 0.15.6

In reply to Bernd Kuhls

https://git.lttng.org/?p=urcu.git;a=blob;f=ChangeLog;h=44d0d303b649682d05b3be85fa702eb919343807

---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/e25940ddc695aae05e98a5eb597e09f2f835615f

with the exception of an unrelated build error for the linux kernel using the defconfig bootlin-aarch64-glibc-old:

*** C compiler is too old.
*** Your GCC version: 6.3.0
*** Minimum GCC version: 8.1.0

due to upstream commit included since kernel 6.16:
https://github.com/torvalds/linux/commit/118c40b7b50340bf7ff7e0adee8e3bab6e552c82

A build using this particular defconfig with kernel 6.12 passed:
https://gitlab.com/bkuhls/buildroot/-/jobs/16384475368

 package/liburcu/liburcu.hash | 4 ++--
 package/liburcu/liburcu.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/liburcu/liburcu.hash +2 -2
index 5b5947f6b8..6f45dcc28b 100644
@@ -1,5 +1,5 @@
-# From https://lttng.org/files/urcu/userspace-rcu-0.15.5.tar.bz2.sha256
-sha256  b2f787a8a83512c32599e71cdabcc5131464947b82014896bd11413b2d782de1  userspace-rcu-0.15.5.tar.bz2
+# From https://lttng.org/files/urcu/userspace-rcu-0.15.6.tar.bz2.sha256
+sha256  850b192096eb11ebf2c70e8f97bc7da7479ee41da1bebeb44e3986908bac414f  userspace-rcu-0.15.6.tar.bz2
 
 # Hash for license files
 sha256  aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3  LICENSES/GPL-2.0-or-later.txt
package/liburcu/liburcu.mk +1 -1
index cf1b08e469..14fe6e91eb 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBURCU_VERSION = 0.15.5
+LIBURCU_VERSION = 0.15.6
 LIBURCU_SITE = http://lttng.org/files/urcu
 LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2
 LIBURCU_LICENSE = LGPL-2.1+ (library), MIT-like (few source files listed in LICENSE), GPL-2.0+ (test), GPL-3.0 (few *.m4 files)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw
In reply to Bernd Kuhls
Quoted 9 lines · Bernd Kuhls

https://git.lttng.org/?p=lttng-modules.git;a=blob_plain;f=ChangeLog;hb=53eb8c30aa8a8afaf7bc46a9959a94bd0508d18e

Fixes build errors with newer kernels.

Please note that the previous 2.14 branch does not support kernel versions >= 7.2:
https://git.lttng.org/?p=lttng-modules.git;a=commitdiff;h=7db42e0238d347eff969c1b1cf66fb5320da1bab

Series applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot