[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: gnu: babeltrace: Fix build failure.
From: |
guix-commits |
Subject: |
03/14: gnu: babeltrace: Fix build failure. |
Date: |
Tue, 2 May 2023 06:13:49 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9d8b0a7848b93a73872152aeff43d13216405fad
Author: Olivier Dion <olivier.dion@polymtl.ca>
AuthorDate: Mon May 1 20:56:18 2023 -0400
gnu: babeltrace: Fix build failure.
* gnu/packages/instrumentation.scm (babeltrace)
[native-inputs]: Add autoconf, automake, libtool.
[arguments]: Invoke autoreconf before 'configure.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/instrumentation.scm | 33 ++++++++++++++++++++++++---------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index c25086127a..114b100807 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -17,6 +17,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages instrumentation)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
@@ -93,7 +94,8 @@
(add-before 'configure 'set-environment-variables
(lambda _
(setenv "BABELTRACE_DEV_MODE" "1")
- (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE"))))))
+ (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE")
+ (invoke "autoreconf" "-vfi"))))))
(inputs
(list glib))
;; NOTE - elfutils is used for the LTTng debug information filter
@@ -104,15 +106,28 @@
(list elfutils))
;; NOTE - python-3 is set here for generating the bindings. Users need to
;; install python-3 in their profile in order to use these bindings.
+ ;;
+ ;; NOTE - Babeltrace 2.0.4 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 invokation whenever we bump to the next version that is
+ ;; goind to be generated on Ubuntu LTS 22.04.
(native-inputs
- (list asciidoc
- bison
- flex
- pkg-config
- python-3
- python-sphinx
- swig
- xmltoman))
+ (append
+ (list asciidoc
+ bison
+ flex
+ pkg-config
+ python-3
+ python-sphinx
+ swig
+ xmltoman)
+ (list autoconf
+ automake
+ libtool)))
(home-page "https://babeltrace.org/")
(synopsis "Trace manipulation toolkit")
(description "Babeltrace 2 is a framework for viewing, converting,
- branch master updated (3f8c4899a9 -> 44d7044094), guix-commits, 2023/05/02
- 02/14: gnu: hypre: Add missing TeX Live packages., guix-commits, 2023/05/02
- 01/14: gnu: Add texlive-alphalph., guix-commits, 2023/05/02
- 04/14: gnu: dune-common: Update to 2.9.0., guix-commits, 2023/05/02
- 03/14: gnu: babeltrace: Fix build failure.,
guix-commits <=
- 05/14: gnu: dune-geometry: Update to 2.9.0., guix-commits, 2023/05/02
- 07/14: gnu: dune-grid: Update to 2.9.0., guix-commits, 2023/05/02
- 08/14: gnu: dune-istl: Update to 2.9.0., guix-commits, 2023/05/02
- 09/14: gnu: dune-localfunctions: Update to 2.9.0., guix-commits, 2023/05/02
- 10/14: gnu: dune-alugrid: Update to 2.9.0., guix-commits, 2023/05/02
- 11/14: gnu: dune-subgrid: Update to 2.9.0-1-e83f3f9., guix-commits, 2023/05/02
- 06/14: gnu: dune-uggrid: Update to 2.9.0., guix-commits, 2023/05/02
- 12/14: gnu: dune-typetree: Update to 2.9.0., guix-commits, 2023/05/02
- 13/14: gnu: dune-functions: Update to 2.9.0., guix-commits, 2023/05/02
- 14/14: gnu: dune-pdelab: Update to 2.8.0-0.d5dddb6., guix-commits, 2023/05/02