From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 15:46:40 2023 Received: (at submit) by debbugs.gnu.org; 1 May 2023 19:46:40 +0000 Received: from localhost ([127.0.0.1]:41106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptZTr-0004FB-TL for submit@debbugs.gnu.org; Mon, 01 May 2023 15:46:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:51620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptZTo-0004F2-TK for submit@debbugs.gnu.org; Mon, 01 May 2023 15:46:38 -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 1ptZTg-0006mo-Qm for guix-patches@gnu.org; Mon, 01 May 2023 15:46:28 -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 1ptZTe-0005lt-Rj for guix-patches@gnu.org; Mon, 01 May 2023 15:46:28 -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 341JkHZS023475 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 1 May 2023 15:46:25 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 341JkHZS023475 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1682970385; bh=uZijy+LUmpojX4ZyhKEoKTjAfzOBRUaY1jVTmIOkzic=; h=From:To:Cc:Subject:Date:From; b=OcsUYab0cSmK5Rlff5HrZpYQOLQPH4Ikue0vpU87Ps76hqj9bEe6s/axUv5TyUWv0 Ch2vvJrHsOJGckLC4rBocJ4D/Y4vG+jWwne4NItrZH2l7lLfVHnUpObFe4bwwI4NEs a7cxL619XS+oIvf/wUPVzjmlgSe28McISh8LYNb0= From: Olivier Dion To: guix-patches@gnu.org Subject: [PATCH] gnu: lttng-tools: Fix build failure. Date: Mon, 1 May 2023 15:46:16 -0400 Message-Id: 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 Mon, 1 May 2023 19:46:17 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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 (lttng-tools) [native-inputs]: Add autoconf, automake, libtool. [arguments]: Add 'autoreconf build phase before 'configure. --- gnu/packages/instrumentation.scm | 42 ++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm index c25086127a..cbfb49370e 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) @@ -376,7 +377,10 @@ (define-public lttng-tools (add-after 'unpack 'patch-default-man-path (lambda _ (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 ;; bindings. We don't put it in the inputs, because the rest of the tools ;; can work without it. @@ -384,19 +388,31 @@ (define-public lttng-tools (list liburcu popt numactl)) (propagated-inputs (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 - (list pkg-config - perl - libpfm4 - python-3 - swig - procps - which - flex - bison - asciidoc - libxml2 - lttng-ust)) + (append + (list pkg-config + perl + libpfm4 + python-3 + swig + procps + which + flex + bison + asciidoc + libxml2 + lttng-ust) + (list autoconf + automake + libtool))) (home-page "https://lttng.org/") (synopsis "LTTng userspace tracer libraries") (description "The lttng-tools project provides a session base-commit: f21007ce4aceeacf5bbfc7cd45d526073141f194 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Fri May 05 17:56:52 2023 Received: (at 63213-done) by debbugs.gnu.org; 5 May 2023 21:56:52 +0000 Received: from localhost ([127.0.0.1]:57744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pv3Q4-0001F2-A4 for submit@debbugs.gnu.org; Fri, 05 May 2023 17:56:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pv3Q3-0001Ep-9q for 63213-done@debbugs.gnu.org; Fri, 05 May 2023 17:56:51 -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 1pv3Py-0005ww-2o; Fri, 05 May 2023 17:56:46 -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=2HD7RT707NO1WwnXm6qxV49D3MFx5xHVz7Hg83D98i0=; b=ErGJRAhhKbl7s4uuIY/5 nVRSpk8IprR3/ijDsIyj8Octkzxd7M0JIE0Zk0hCIYlCFWJ3x1EuUUhH9Ef6O8FMHk8zEWvY3iaNr yMu5iN+dYSAx4wo1u+P/MCeFA3aEXZ2BVxcHEnLslgoSaq+/U8FT82U6Y+5QgtigteXSn80iLZBPx QlzWgwZnEp9mNiwqcSk3tiRx4JGZdlnHBpZGWITt5z+t0cwkj1XLJAYvyQGx3rmFqyVYPC6dnNyEq C5Wj2PbMl/CnJ+D7qEMmnxRT0ljX7cTu/zPEP7K/C+aYR2gcsPnh6ryyCy47yQHp1xPvdZ7ToGbMq XjleEgIWHbPutg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pv3Po-0008Lx-FZ; Fri, 05 May 2023 17:56:40 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Olivier Dion Subject: Re: bug#63213: [PATCH] gnu: lttng-tools: Fix build failure. References: Date: Fri, 05 May 2023 23:56:34 +0200 In-Reply-To: (Olivier Dion's message of "Mon, 1 May 2023 15:46:16 -0400") Message-ID: <875y96moh9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63213-done Cc: 63213-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 (---) Olivier Dion skribis: > * gnu/packages/instrumentation.scm (lttng-tools) > [native-inputs]: Add autoconf, automake, libtool. > [arguments]: Add 'autoreconf build phase before 'configure. Applied, thanks! Ludo'. From unknown Fri Jun 20 07:26:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Jun 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator