From unknown Sat Jun 21 05:15:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#63218] [PATCH] gnu: babeltrace: Fix build failure. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 May 2023 00:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63218@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168298900619266 (code B ref -1); Tue, 02 May 2023 00:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2023 00:56:46 +0000 Received: from localhost ([127.0.0.1]:41278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteJx-00050g-UJ for submit@debbugs.gnu.org; Mon, 01 May 2023 20:56:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:55710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteJr-00050S-Mg for submit@debbugs.gnu.org; Mon, 01 May 2023 20:56:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteJr-0000kZ-9n for guix-patches@gnu.org; Mon, 01 May 2023 20:56:39 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteJm-0001sQ-7w for guix-patches@gnu.org; Mon, 01 May 2023 20:56:39 -0400 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 3420uJPx028071 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 1 May 2023 20:56:26 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 3420uJPx028071 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1682988987; bh=RtJQzjbtCYb7UTb0VtrGwa+l/fv77YZ5/QiMuHCk1Mk=; h=From:To:Cc:Subject:Date:From; b=qaRnTvHawPj9iwGYoT/LYut/Gi7wGSA1qcyVJSA2QwkrP6coizuKD+BddRPZwHDS/ k+cjGQV77BDR5KkvDE5SmOmlNbIF55ORy+27l9T2zlzHaSv+w8yMaJjiCVLMhi+qnJ BkVs8Ttqdcy5w5sRRlRMKEDQll1EejC3C38YUXf0= From: Olivier Dion Date: Mon, 1 May 2023 20:56:18 -0400 Message-Id: <3d84fb99205dc84d30ac9d17e06ad0c6a5ad5fb5.1682988972.git.olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Tue, 2 May 2023 00:56:19 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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 . (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 From unknown Sat Jun 21 05:15:29 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Olivier Dion Subject: bug#63218: closed (Re: bug#63218: [PATCH] gnu: babeltrace: Fix build failure.) Message-ID: References: <87fs8f8391.fsf@gnu.org> <3d84fb99205dc84d30ac9d17e06ad0c6a5ad5fb5.1682988972.git.olivier.dion@polymtl.ca> X-Gnu-PR-Message: they-closed 63218 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 63218@debbugs.gnu.org Date: Tue, 02 May 2023 09:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1683021482-12928-1" This is a multi-part message in MIME format... ------------=_1683021482-12928-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63218: [PATCH] gnu: babeltrace: Fix build failure. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63218@debbugs.gnu.org. --=20 63218: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63218 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1683021482-12928-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63218-done) by debbugs.gnu.org; 2 May 2023 09:57:45 +0000 Received: from localhost ([127.0.0.1]:41777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptmlU-0003Ls-Rf for submit@debbugs.gnu.org; Tue, 02 May 2023 05:57:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptmlP-0003LW-Vo for 63218-done@debbugs.gnu.org; Tue, 02 May 2023 05:57:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptmlJ-0001nA-WC; Tue, 02 May 2023 05:57:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=IR+x7VugQPcippVZgl2S2WbEOI4pXWRFu/i+ZQJfF5s=; b=BWxFADzWD0uEUvnNC+7z 6Hf1PWSmZ80HgX2oG8NK2CoDUrDeZCX7wvoAfFjEyfs81YbLr4utK7mydWkSbvLJ23EOPibsm6S7a 0Tw1nJmbVifxbYZQYGcOE6kfhiKWrQeO93YBFrb73brVO5Q7wl08VF/mjk1up6ybiTMVs0KycGZp4 gklHaaUAdBiVtEImNkXroUKd2t7XKdhKioli+C5MXahB8o3GT3s693EucNaESiw2EwYnpjcwLTEEv YlXGAZS1u4HmfkyKkLwmZaGGk7rDIlPzNRXnE6F9uF7+hg+gVl2I3nia3yCWP0OQ9Y88PZhvCezmw 9l9rtWuRYFgBqg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptmlJ-0005fA-4A; Tue, 02 May 2023 05:57:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Olivier Dion Subject: Re: bug#63218: [PATCH] gnu: babeltrace: Fix build failure. References: <3d84fb99205dc84d30ac9d17e06ad0c6a5ad5fb5.1682988972.git.olivier.dion@polymtl.ca> Date: Tue, 02 May 2023 11:57:30 +0200 In-Reply-To: <3d84fb99205dc84d30ac9d17e06ad0c6a5ad5fb5.1682988972.git.olivier.dion@polymtl.ca> (Olivier Dion's message of "Mon, 1 May 2023 20:56:18 -0400") Message-ID: <87fs8f8391.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63218-done Cc: 63218-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Olivier Dion skribis: > * gnu/packages/instrumentation.scm (babeltrace) > [native-inputs]: Add autoconf, automake, libtool. > [arguments]: Invoke autoreconf before 'configure. Applied, thanks! Ludo=E2=80=99. ------------=_1683021482-12928-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 May 2023 00:56:46 +0000 Received: from localhost ([127.0.0.1]:41278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteJx-00050g-UJ for submit@debbugs.gnu.org; Mon, 01 May 2023 20:56:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:55710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteJr-00050S-Mg for submit@debbugs.gnu.org; Mon, 01 May 2023 20:56:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteJr-0000kZ-9n for guix-patches@gnu.org; Mon, 01 May 2023 20:56:39 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteJm-0001sQ-7w for guix-patches@gnu.org; Mon, 01 May 2023 20:56:39 -0400 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 3420uJPx028071 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 1 May 2023 20:56:26 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 3420uJPx028071 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1682988987; bh=RtJQzjbtCYb7UTb0VtrGwa+l/fv77YZ5/QiMuHCk1Mk=; h=From:To:Cc:Subject:Date:From; b=qaRnTvHawPj9iwGYoT/LYut/Gi7wGSA1qcyVJSA2QwkrP6coizuKD+BddRPZwHDS/ k+cjGQV77BDR5KkvDE5SmOmlNbIF55ORy+27l9T2zlzHaSv+w8yMaJjiCVLMhi+qnJ BkVs8Ttqdcy5w5sRRlRMKEDQll1EejC3C38YUXf0= From: Olivier Dion To: guix-patches@gnu.org Subject: [PATCH] gnu: babeltrace: Fix build failure. Date: Mon, 1 May 2023 20:56:18 -0400 Message-Id: <3d84fb99205dc84d30ac9d17e06ad0c6a5ad5fb5.1682988972.git.olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Tue, 2 May 2023 00:56:19 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Olivier Dion X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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 . (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 ------------=_1683021482-12928-1-- From unknown Sat Jun 21 05:15:29 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#63218] [PATCH] gnu: babeltrace: Fix build failure. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 May 2023 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63218-done@debbugs.gnu.org Received: via spool by 63218-done@debbugs.gnu.org id=D63218.168303456013754 (code D ref 63218); Tue, 02 May 2023 13:36:02 +0000 Received: (at 63218-done) by debbugs.gnu.org; 2 May 2023 13:36:00 +0000 Received: from localhost ([127.0.0.1]:42024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptqAi-0003Zl-CS for submit@debbugs.gnu.org; Tue, 02 May 2023 09:36:00 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:52224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptqAg-0003ZQ-3b for 63218-done@debbugs.gnu.org; Tue, 02 May 2023 09:35:58 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 342DZk5G026004; Tue, 2 May 2023 09:35:51 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 342DZk5G026004 From: Olivier Dion In-Reply-To: <87fs8f8391.fsf@gnu.org> References: <3d84fb99205dc84d30ac9d17e06ad0c6a5ad5fb5.1682988972.git.olivier.dion@polymtl.ca> <87fs8f8391.fsf@gnu.org> Date: Tue, 02 May 2023 09:35:46 -0400 Message-ID: <87mt2monyl.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Tue, 2 May 2023 13:35:46 +0000 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Tue, 02 May 2023, Ludovic Court=C3=A8s wrote: > Applied, thanks! If you don't mind checking 63213 while at it, it's the same fix but for lttng-tools :-) --=20 Olivier Dion oldiob.dev