From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MCcjJkMXUGTEYAEASxT56A (envelope-from ) for ; Mon, 01 May 2023 21:47:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ODMFJkMXUGTcLwEA9RJhRA (envelope-from ) for ; Mon, 01 May 2023 21:47:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 660AA35CFD for ; Mon, 1 May 2023 21:47:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptZUH-0006q1-QL; Mon, 01 May 2023 15:47:05 -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 1ptZUE-0006pW-RF for guix-patches@gnu.org; Mon, 01 May 2023 15:47:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptZUE-0005uA-J1 for guix-patches@gnu.org; Mon, 01 May 2023 15:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptZUE-0004Fv-EN for guix-patches@gnu.org; Mon, 01 May 2023 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63213] [PATCH] gnu: lttng-tools: Fix build failure. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 May 2023 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63213@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168297040016325 (code B ref -1); Mon, 01 May 2023 19:47:02 +0000 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= 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches From: Olivier Dion via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682970435; a=rsa-sha256; cv=none; b=EAS2xdzqJFoyAPatnq41NF7y/8NgnmU4wzTvIXvQLUzDVazYlV901KGUMF1iAzb11jMP6g is6CnvO3z1SaUVoH8pTMkQLL6PTm31QCXZaq2mLzfZuJ5GOAL9z0DJwRLSxNz/Xiqs2TBv sberFzaQSSpvaolWzh9FKx3n08zREIu1BQ9WfkZMFlAgt2LsFY6lsLwSufQgqdFbQkVe+U nMNPEnak767XDa9vifoaGaEIMBPpzKF0j/OnEXx1heuquDZ7Dl1wUZ1Viqa+Yq0PQL1o40 qiznHyTfvj66wU6CyqXMBy1s6K4uj/NMAc9sF/XUzbUi3Q7gErR2iwkCU5a6xA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=OcsUYab0; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682970435; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uZijy+LUmpojX4ZyhKEoKTjAfzOBRUaY1jVTmIOkzic=; b=SsfB4AmkEesBSoQa7xBEwmr82r36eGq9J2xYwFsHUoLLLw8cW//zFZrRyOE4fCIOgVf0ff g+s24Cxbqqw6XNHzraUL1dzrxLI5huhlESRRcvoFkbTFwU8b6lib7JcrtAOhbPPGtq7YES SUFEHiLe197JafUK7DmSUHPlxrtYYmOUtqd8BM7GeAULjjHbwyUELWOf7ciEx9s1Pn/yDI Ja6I/qd3rbhohdmXhMAD4mVIfu+XyjAlzqnrxdElgiZXIHYHJ5KiO4I9dgQR0Cp8tszioI V2zwGShs/6GteQx0Ug/6R+A3yatggDwNWabT5440W2SzOurhgnA6da2de8sqZA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=OcsUYab0; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.61 X-Spam-Score: -3.61 X-Migadu-Queue-Id: 660AA35CFD X-TUID: KZuqCB93wXVe * 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