From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KIobCqqQmmFs7QAAgWs5BA (envelope-from ) for ; Sun, 21 Nov 2021 19:32:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id o5HQBaqQmmFhIAAA1q6Kng (envelope-from ) for ; Sun, 21 Nov 2021 18:32:10 +0000 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 DCC0C2D29A for ; Sun, 21 Nov 2021 19:32:09 +0100 (CET) Received: from localhost ([::1]:45226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mordJ-0005iM-20 for larch@yhetil.org; Sun, 21 Nov 2021 13:32:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mordC-0005iB-Ij for guix-patches@gnu.org; Sun, 21 Nov 2021 13:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mordC-00039B-8L for guix-patches@gnu.org; Sun, 21 Nov 2021 13:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mordB-0003A9-TD for guix-patches@gnu.org; Sun, 21 Nov 2021 13:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50757] [PATCH v2] gnu: Add babeltrace. References: <20210923124113.3269-1-olivier.dion@polymtl.ca> In-Reply-To: <20210923124113.3269-1-olivier.dion@polymtl.ca> Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Nov 2021 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 50757@debbugs.gnu.org Cc: Olivier Dion Received: via spool by 50757-submit@debbugs.gnu.org id=B50757.163751952112151 (code B ref 50757); Sun, 21 Nov 2021 18:32:01 +0000 Received: (at 50757) by debbugs.gnu.org; 21 Nov 2021 18:32:01 +0000 Received: from localhost ([127.0.0.1]:45998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mordA-00039u-Mi for submit@debbugs.gnu.org; Sun, 21 Nov 2021 13:32:00 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]:56307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mord8-00039d-E5 for 50757@debbugs.gnu.org; Sun, 21 Nov 2021 13:31:59 -0500 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 1ALIViCi031689 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 21 Nov 2021 13:31:51 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 1ALIViCi031689 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1637519512; bh=NhBJzJ81Cvgg8B7qXWTW0xCLGKO9NfZMk9aN/TWUzRA=; h=From:To:Cc:Subject:Date:From; b=MG3QhqRG6klNOryggkX5EZPDOOCEPCTs6RPeAdp1w5+PIqYjtAtV19m5DtLcFHLN7 NJmGg/zGotKT2kfx2aJ+l/ePPeKcCMg7wINEp6jsfQDo3N2xzA2vBgCcB0qgO5kfQL wGi9gho77oWZno8dExsqUAxHeDpwzyimCdpd3C10= Date: Sun, 21 Nov 2021 13:31:42 -0500 Message-Id: X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Sun, 21 Nov 2021 18:31:44 +0000 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches From: Olivier Dion via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637519529; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NhBJzJ81Cvgg8B7qXWTW0xCLGKO9NfZMk9aN/TWUzRA=; b=gF+1Bh/zF0tdqyU1xEWhnFrRGUIRv6bx+qejcR8dq8ssmp8gECofSI5Wr/siZums6umi1y +3e7PU4xyKAEiU7Mtq13jpld2Ht+cyK2y+a7M9xeQrcVOpEAklPzIv7iy0tGsYd+4RT+nA tgZM7Wf+oHEPtzJ/PXcbpTssb0cpxhMGdz/fncmnznb2yTeV9+kX+OzPcgbKMHSipi0eQI CgBrRCKW0etVAdCUXVdQvDZa5VMFvA4tW12PhejLLLOOAbeG0IedoQHk7Otz5oONMyJrIg ef/SKgV3p2AhKnsu92+fTzhkm7UYvMCMYXVBNog0gJAH5cSKRCh88EbzxABtMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637519529; a=rsa-sha256; cv=none; b=uxGnDNjAz3Hc6iSdYCSwIIzIp84YL6JDP81xzc9o9vf1TeusW18ty8tMmCSMbSVI30RK9i 9APdYiku/H/rePwhRQhYFUOMh+PRhUTVfQRQ7tWvb0JFt3CbmUltyicecj0vDnrntVMRUr EGQP5P9Bj1dB6rgVW9LLo8ONsZNt/ZWy6owkXZJsLQNYeE3uXEiL9PiXwhHtiY6+jzH6k4 8q2DilmbiYXmCs0PlxSf17DHLWzpXOwDrTCPcSBqwlHfVCQEIvyTqm5MWLvhzo1bOhn50b Qev2FMDvtZX7Vu36sUVjIpFZFRzGBdkkGJ3Rj/DTZZXZKKU72GAUkrmwcZFjhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=MG3QhqRG; 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.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=MG3QhqRG; 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-Queue-Id: DCC0C2D29A X-Spam-Score: -3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: aHu8wnOElQt1 * gnu/packages/linux.scm (babeltrace): New variable. --- gnu/packages/linux.scm | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4d167dc522..81589955cc 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -131,6 +131,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages sdl) #:use-module (gnu packages serialization) #:use-module (gnu packages slang) + #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) @@ -8199,6 +8200,61 @@ (define-public lttng-tools @code{lttng-relayd} for network streaming.") (license (list license:gpl2 license:lgpl2.1)))) +(define-public babeltrace + (package + (name "babeltrace") + (version "2.0.4") + (source (origin + (method url-fetch) + (uri (string-append "https://www.efficios.com/files/babeltrace/babeltrace2-" + version ".tar.bz2")) + (sha256 + (base32 "1jlv925pr7hykc48mdvbmqm4ipy1r11xwzapa6fdpdfshmk12kvp")))) + + (build-system gnu-build-system) + + (arguments + `(;; FIXME - When Python's bindings are enabled, tests do not pass. + #:configure-flags '("--enable-debug-info" + "--enable-man-pages" + "--disable-python-bindings" + "--disable-python-plugins") + #:phases + (modify-phases %standard-phases + ;; These are recommended in the project's README for a development + ;; build configuration. + (add-before 'configure 'set-environment-variables + (lambda _ + (setenv "BABELTRACE_DEV_MODE" "1") + (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE")))))) + (inputs + `(("glib" ,glib))) + ;; NOTE - elfutils is used for the LTTng debug information filter + ;; component class. This can be moved to `native-inputs` if + ;; `--enable-debug-info` is replaced by `--disable-debug-info` in + ;; `#:configure-flags`. + (propagated-inputs + `(("elfutils" ,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. + (native-inputs + `(("asciidoc" ,asciidoc) + ("bison" ,bison) + ("flex" ,flex) + ("pkg-config" ,pkg-config) + ("python-3" ,python-3) + ("python-sphinx" ,python-sphinx) + ("swig", swig) + ("xmltoman" ,xmltoman))) + (home-page "https://babeltrace.org/") + (synopsis "Trace manipulation toolkit") + (description "Babeltrace 2 is a framework for viewing, converting, +transforming, and analyzing traces. It is also the reference parser +implementation of the Common Trace Format (CTF), produced by tools such as +LTTng and barectf. This package provides a library with a C API, Python 3 +bindings, and the command-line tool @command{babeltrace2}.") + (license license:expat))) + (define-public kexec-tools (package (name "kexec-tools") -- 2.34.0