Package Details: lttng-tools 2.13.8-1

Git Clone URL: https://aur.archlinux.org/lttng-tools.git (read-only, click to copy)
Package Base: lttng-tools
Description: LTTng tracing control tools
Upstream URL: http://lttng.org/
Licenses: GPL2, LGPL2.1
Provides: lttng
Submitter: christoph.gysin
Maintainer: russkel
Last Packager: russkel
Votes: 10
Popularity: 0.89
First Submitted: 2015-08-27 06:36 (UTC)
Last Updated: 2025-04-20 15:06 (UTC)

Dependencies (10)

Sources (1)

Latest Comments

1 2 Next › Last »

Batleram commented on 2026-03-18 21:35 (UTC)

The package was fixed in later versions, you can apply this diff to build 2.15.0

diff --git a/.SRCINFO b/.SRCINFO
index 455c5f7..4d83c2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = lttng-tools
    pkgdesc = LTTng tracing control tools
-   pkgver = 2.13.8
+   pkgver = 2.15.0
    pkgrel = 1
    url = http://lttng.org/
    arch = i686
@@ -9,16 +9,16 @@ pkgbase = lttng-tools
    license = LGPL2.1
    makedepends = asciidoc
    makedepends = xmlto
+   makedepends = babeltrace2>=2.1.0
    depends = popt
    depends = liburcu>=0.7.2
-   depends = lttng-ust>=2.13.0
+   depends = lttng-ust>=2.15.0
    depends = linux>=2.6.27
    depends = libxml2>=2.7.6
    optdepends = lttng-modules: kernel tracing support
-   optdepends = babeltrace: view traces with `lttng view` command
    optdepends = man-db: view man pages with the `lttng help` command
    provides = lttng
-   source = http://lttng.org/files/lttng-tools/lttng-tools-2.13.8.tar.bz2
-   sha512sums = 6daafb1fd458cfbaa7e19b3a8aaafa958116bb836f389febf7ac4035e5d7884d308a9fdefb4e9063329cb7d837853a79ddae0e263d3b58db1f87519bba2dcb3b
+   source = http://lttng.org/files/lttng-tools/lttng-tools-2.15.0.tar.bz2
+   sha512sums = a6cfe0b64d31e317c1bf48377abca917f373c959511f18f83719abc8059f1c4e69a898e056dad92fc5817f242b17358f7f893d910c7715d5710657b86cbcce56

 pkgname = lttng-tools
diff --git a/PKGBUILD b/PKGBUILD
index fac6fe5..b7ab56b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Manuel Mendez <mmendez534 at gmail dot com>

 pkgname=lttng-tools
-pkgver=2.13.8
+pkgver=2.15.0
 pkgrel=1
 pkgdesc='LTTng tracing control tools'
 arch=(i686 x86_64)
@@ -11,7 +11,7 @@ url='http://lttng.org/'
 license=(GPL2 LGPL2.1)
 provides=(lttng)
 source=("http://lttng.org/files/$pkgname/$pkgname-$pkgver.tar.bz2")
-makedepends=(asciidoc xmlto)
+makedepends=('asciidoc' 'xmlto' 'babeltrace2>=2.1.0')
 depends=(
     'popt'
     'liburcu>=0.7.2'
@@ -21,7 +21,6 @@ depends=(
 )
 optdepends=(
     'lttng-modules: kernel tracing support'
-    'babeltrace: view traces with `lttng view` command'
     'man-db: view man pages with the `lttng help` command'
 )
 sha512sums=(6daafb1fd458cfbaa7e19b3a8aaafa958116bb836f389febf7ac4035e5d7884d308a9fdefb4e9063329cb7d837853a79ddae0e263d3b58db1f87519bba2dcb3b)
@@ -38,3 +37,4 @@ package()
     cd "${srcdir}/${pkgname}-${pkgver}"
     make install DESTDIR="${pkgdir}"
 }
+sha512sums=('a6cfe0b64d31e317c1bf48377abca917f373c959511f18f83719abc8059f1c4e69a898e056dad92fc5817f242b17358f7f893d910c7715d5710657b86cbcce56')

AndrewD commented on 2025-11-13 05:00 (UTC)

lttng-tools needs this patch fix lttng-tools fails to compile with libxml2 2.14.0+ #170

kistlin commented on 2025-10-16 15:49 (UTC)

It currently fails compiling with:

session-config.c:432:15: error: called object is not a function or function pointer
  432 |         ret = handler->input(out_str, &out_len, (const xmlChar *) in_str, &in_len);
      |               ^~~~~~~

Does someone see the same issue? Maybe an incompatibility with the latest libxml2?

evalan-mfiumara commented on 2021-05-07 09:27 (UTC)

Can confirm this package is broken

collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:668: lttng] Error 1
make[3]: Leaving directory '/home/mattia/.cache/yay/lttng-tools/src/lttng-tools-2.11.0/src/bin/lttng'
make[2]: *** [Makefile:538: all-recursive] Error 1
make[2]: Leaving directory '/home/mattia/.cache/yay/lttng-tools/src/lttng-tools-2.11.0/src/bin'
make[1]: *** [Makefile:526: all-recursive] Error 1
make[1]: Leaving directory '/home/mattia/.cache/yay/lttng-tools/src/lttng-tools-2.11.0/src'
make: *** [Makefile:621: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: lttng-tools

qlyoung commented on 2021-02-11 20:18 (UTC)

This package currently doesn't build with the mainline version of lttng-ust due to a link time issue. All it needs is a version bump:

diff --git a/PKGBUILD b/PKGBUILD
index 5ebd358..82bdf41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,5 +3,5 @@

 pkgname=lttng-tools
-pkgver=2.11.0
+pkgver=2.12.0
 pkgrel=1
 pkgdesc='LTTng tracing control tools'
@@ -24,5 +24,5 @@ optdepends=(
     'man-db: view man pages with the `lttng help` command'
 )
-sha1sums=(aa7e5784ed6c7fe68f91d16edf497cbd761564c2)
+sha1sums=(1a7c873512411828134ec2b4762481e0c90f1836)

 build()

eepp commented on 2020-06-10 17:35 (UTC)

YaLTeR: I don't think so? Where do you see that?

YaLTeR commented on 2019-11-16 14:29 (UTC)

Seems like building requires dtrace (available from https://aur.archlinux.org/packages/systemtap/).

christoph.gysin commented on 2017-09-23 10:02 (UTC)

@milianw: It seems libpfm4 is optional. From the README.md: The following items are _optional_ dependencies: [...] - **libpfm >= 4.0**: needed to run the perf regression test suite. - Debian/Ubuntu package: `libpfm4-dev`

milianw commented on 2017-09-19 09:00 (UTC)

Thanks for the update. One more thing I just notice on another machine: lttng-tools now depends on libpfm4 apparently. Note that this clashes with papi currently, so you'll have to force-install libpfm4 manually. I've reported this issue at the papi AUR package site. For lttng-tools, I suggest adding a dependency on the libpfm4 AUR.

christoph.gysin commented on 2017-09-15 18:27 (UTC)

@milianw Good catch, thanks. Fixed, and should not happen anymore :)