gnu: lttng-tools: Fix build failure.
* gnu/packages/instrumentation.scm (lttng-tools) [native-inputs]: Add autoconf, automake, libtool. [arguments]: Add 'autoreconf build phase before 'configure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
61775aad6f
commit
ecb2710353
1 changed files with 28 additions and 13 deletions
|
@ -391,7 +391,10 @@ to ring buffers shared with a consumer daemon.")
|
||||||
(add-after 'unpack 'patch-default-man-path
|
(add-after 'unpack 'patch-default-man-path
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/common/defaults.h"
|
(substitute* "src/common/defaults.h"
|
||||||
(("/usr/bin/man") "man")))))))
|
(("/usr/bin/man") "man"))))
|
||||||
|
(add-before 'configure 'autoreconf
|
||||||
|
(lambda _
|
||||||
|
(invoke "autoreconf" "-vfi"))))))
|
||||||
;; NOTE - Users have to install python-3 in their profile to use the
|
;; NOTE - Users have to install python-3 in their profile to use the
|
||||||
;; bindings. We don't put it in the inputs, because the rest of the tools
|
;; bindings. We don't put it in the inputs, because the rest of the tools
|
||||||
;; can work without it.
|
;; can work without it.
|
||||||
|
@ -399,19 +402,31 @@ to ring buffers shared with a consumer daemon.")
|
||||||
(list liburcu popt numactl))
|
(list liburcu popt numactl))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list kmod module-init-tools))
|
(list kmod module-init-tools))
|
||||||
|
;; NOTE - LTTng 2.13.9 is distributed with a aclocal.m4 that does not
|
||||||
|
;; support Python3.10. We can either disable Python's bindings or we can
|
||||||
|
;; reconfigure the project with our autoconf. This is because the
|
||||||
|
;; distribution tarballs are generated on Ubuntu LTS 18.04.
|
||||||
|
;;
|
||||||
|
;; `paredit-raise-sexp' on the first list of native inputs and remove the
|
||||||
|
;; 'autoreconf build step whenever we bump to the next version that is
|
||||||
|
;; goind to be generated on Ubuntu LTS 22.04.
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config
|
(append
|
||||||
perl
|
(list pkg-config
|
||||||
libpfm4
|
perl
|
||||||
python-3
|
libpfm4
|
||||||
swig
|
python-3
|
||||||
procps
|
swig
|
||||||
which
|
procps
|
||||||
flex
|
which
|
||||||
bison
|
flex
|
||||||
asciidoc
|
bison
|
||||||
libxml2
|
asciidoc
|
||||||
lttng-ust))
|
libxml2
|
||||||
|
lttng-ust)
|
||||||
|
(list autoconf
|
||||||
|
automake
|
||||||
|
libtool)))
|
||||||
(home-page "https://lttng.org/")
|
(home-page "https://lttng.org/")
|
||||||
(synopsis "LTTng userspace tracer libraries")
|
(synopsis "LTTng userspace tracer libraries")
|
||||||
(description "The lttng-tools project provides a session
|
(description "The lttng-tools project provides a session
|
||||||
|
|
Reference in a new issue