GNU bug report logs - #63218
[PATCH] gnu: babeltrace: Fix build failure.

Previous Next

Package: guix-patches;

Reported by: Olivier Dion <olivier.dion <at> polymtl.ca>

Date: Tue, 2 May 2023 00:57:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63218 in the body.
You can then email your comments to 63218 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63218; Package guix-patches. (Tue, 02 May 2023 00:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Olivier Dion <olivier.dion <at> polymtl.ca>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 02 May 2023 00:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <olivier.dion <at> polymtl.ca>
To: guix-patches <at> gnu.org
Cc: Olivier Dion <olivier.dion <at> polymtl.ca>
Subject: [PATCH] gnu: babeltrace: Fix build failure.
Date: Mon,  1 May 2023 20:56:18 -0400
* gnu/packages/instrumentation.scm (babeltrace)
[native-inputs]: Add autoconf, automake, libtool.
[arguments]: Invoke autoreconf before 'configure.
---
 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 @@ (define-public babeltrace
          (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 @@ (define-public babeltrace
      (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,

base-commit: 39ba8a10971f15264966823e8696d63c2995df86
-- 
2.39.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 02 May 2023 09:58:02 GMT) Full text and rfc822 format available.

Notification sent to Olivier Dion <olivier.dion <at> polymtl.ca>:
bug acknowledged by developer. (Tue, 02 May 2023 09:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 63218-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Olivier Dion <olivier.dion <at> polymtl.ca>
Cc: 63218-done <at> debbugs.gnu.org
Subject: Re: bug#63218: [PATCH] gnu: babeltrace: Fix build failure.
Date: Tue, 02 May 2023 11:57:30 +0200
Hi,

Olivier Dion <olivier.dion <at> polymtl.ca> skribis:

> * gnu/packages/instrumentation.scm (babeltrace)
> [native-inputs]: Add autoconf, automake, libtool.
> [arguments]: Invoke autoreconf before 'configure.

Applied, thanks!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#63218; Package guix-patches. (Tue, 02 May 2023 13:36:02 GMT) Full text and rfc822 format available.

Message #13 received at 63218-done <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <olivier.dion <at> polymtl.ca>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 63218-done <at> debbugs.gnu.org
Subject: Re: bug#63218: [PATCH] gnu: babeltrace: Fix build failure.
Date: Tue, 02 May 2023 09:35:46 -0400
On Tue, 02 May 2023, Ludovic Courtès <ludo <at> gnu.org> wrote:
> Applied, thanks!

If you don't mind checking 63213 while at it, it's the same fix but for
lttng-tools :-)

-- 
Olivier Dion
oldiob.dev




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 May 2023 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.