From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 23 09:11:28 2021 Received: (at submit) by debbugs.gnu.org; 23 Sep 2021 13:11:28 +0000 Received: from localhost ([127.0.0.1]:52962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTOVc-00048q-FP for submit@debbugs.gnu.org; Thu, 23 Sep 2021 09:11:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:57978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTO2d-0003GW-Cm for submit@debbugs.gnu.org; Thu, 23 Sep 2021 08:41:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTO2b-0003tC-RG for guix-patches@gnu.org; Thu, 23 Sep 2021 08:41:31 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:44011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTO2Z-0005G5-9I for guix-patches@gnu.org; Thu, 23 Sep 2021 08:41:29 -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 18NCfGNw008592 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 23 Sep 2021 08:41:24 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 18NCfGNw008592 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1632400885; bh=RFH/SXt6du6KOvhFLOk+LlMp2ouUjtVF1rU6egq40ho=; h=From:To:Cc:Subject:Date:From; b=ZoHjBmpXlinRq6F6dp9Thh69SsPoulBaAhTsOVJjub9YaLHuvdAJkr8o/ZjfgY5N3 7hKaUJBpTVOHHeyvf2rlHbrzPGn96Ni0LrNceUj/DZhaNEHb4al7RBz1K/ZfMvyVdI sSLF7Bo/Od/38sbQPx5PsHh+d67rowgRmAMo4NH8= From: Olivier Dion To: guix-patches@gnu.org Subject: [PATCH] gnu: Add babeltrace. Date: Thu, 23 Sep 2021 08:41:13 -0400 Message-Id: <20210923124113.3269-1-olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 23 Sep 2021 12:41:16 +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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 23 Sep 2021 09:11:26 -0400 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/linux.scm (babeltrace): New variable. Signed-off-by: Olivier Dion --- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9bb90e599e..dcfea9cc6c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -131,6 +131,7 @@ #: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) @@ -8051,6 +8052,40 @@ enable and disable specific instrumentation points, and writes event records to ring buffers shared with a consumer daemon.") (license license:lgpl2.1+))) +(define-public babeltrace + (package + (name "babeltrace") + (version "2.0.3") + (source (origin + (method url-fetch) + (uri (string-append "https://www.efficios.com/files/babeltrace/babeltrace2-" + version ".tar.bz2")) + (sha256 + (base32 "1804pyq7fz6rkcz4r1abkkn0pfnss13m6fd8if32s42l4lajadm5")))) + + (build-system gnu-build-system) + + (propagated-inputs + `(("elfutils" ,elfutils))) + + (native-inputs + `(("asciidoc" ,asciidoc) + ("bison" ,bison) + ("flex" ,flex) + ("glib" ,glib) + ("pkg-config" ,pkg-config) + ("python" ,python-3) + ("python-sphinx" ,python-sphinx) + ("xmltoman" ,xmltoman))) + + (home-page "https://babeltrace.org/") + (synopsis "Babeltrace /ˈbæbəltreɪs/ is an open-source trace manipulation toolkit.") + (description "Babeltrace 2 is the reference parser implementation of the +Common Trace Format (CTF), a versatile trace format produced by various +tracers and tools such as LTTng and barectf. The Babeltrace 2 library and its +Python bindings can read and write CTF traces.") + (license license:expat))) + (define-public kexec-tools (package (name "kexec-tools") -- 2.33.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 23 15:30:14 2021 Received: (at 50757) by debbugs.gnu.org; 23 Sep 2021 19:30:14 +0000 Received: from localhost ([127.0.0.1]:55917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTUQ9-0003Hc-O5 for submit@debbugs.gnu.org; Thu, 23 Sep 2021 15:30:14 -0400 Received: from out2.migadu.com ([188.165.223.204]:56337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTUQ6-0003HM-Ar for 50757@debbugs.gnu.org; Thu, 23 Sep 2021 15:30:12 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632425409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3KMjTzqfRvEYFtN9XAFk2Ms0vtOfdliYSv14JPGS5JM=; b=j3VN6fh8T6fowDxit9OQ9GU6dRKy/NV55io9g3sLl2p96WDBXk3hU3oyIo5QyvCHaOiu5f 6s8SGS6rm2TtGXvcW6i4zR3Cc60wP1WYrec8n/KAn5kIB1umvpi0cl/VSQ72XOa07hlshC Rj6f9CZX0pa+8RmjKWaP+RBrD/O+G4c= From: Sarah Morgensen To: Olivier Dion Subject: Re: [bug#50757] [PATCH] gnu: Add babeltrace. References: <20210923124113.3269-1-olivier.dion@polymtl.ca> Date: Thu, 23 Sep 2021 12:30:06 -0700 In-Reply-To: <20210923124113.3269-1-olivier.dion@polymtl.ca> (Olivier Dion's message of "Thu, 23 Sep 2021 08:41:13 -0400 (5 hours, 59 minutes, 55 seconds ago)") Message-ID: <86k0j7ks3l.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50757 Cc: 50757@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: -1.0 (-) Hello, Thank you for your patch. This looks like an interesting tool! I test-compiled this, and I have a couple comments. Olivier Dion writes: > * gnu/packages/linux.scm (babeltrace): New variable. > > Signed-off-by: Olivier Dion "We" don't used signed-off-by like this (signed-off-by is used by the committer who is pushing your patch); you can leave it out. > --- > gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 9bb90e599e..dcfea9cc6c 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -131,6 +131,7 @@ > #: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) > @@ -8051,6 +8052,40 @@ enable and disable specific instrumentation points= , and writes event records > to ring buffers shared with a consumer daemon.") > (license license:lgpl2.1+))) >=20=20 > +(define-public babeltrace > + (package > + (name "babeltrace") > + (version "2.0.3") 2.0.4 is available; is there a particular reason for using 2.0.3? > + (source (origin > + (method url-fetch) > + (uri (string-append "https://www.efficios.com/files/babelt= race/babeltrace2-" > + version ".tar.bz2")) > + (sha256 > + (base32 "1804pyq7fz6rkcz4r1abkkn0pfnss13m6fd8if32s42l4laj= adm5")))) > + > + (build-system gnu-build-system) > + > + (propagated-inputs > + `(("elfutils" ,elfutils))) Is there a reason why this is propagated? It seems like babeltrace uses it for the libraries and headers only, so it should probably be in 'inputs'. > + > + (native-inputs > + `(("asciidoc" ,asciidoc) > + ("bison" ,bison) > + ("flex" ,flex) > + ("glib" ,glib) guix gc --references /gnu/store/mm02i199mwwqgazk6fphz6rka8ga4fh6-babeltra= ce-2.0.3 says that babeltrace retains a reference to glib, so it should probably be a regular input as well. > + ("pkg-config" ,pkg-config) > + ("python" ,python-3) > + ("python-sphinx" ,python-sphinx) > + ("xmltoman" ,xmltoman))) > + > + (home-page "https://babeltrace.org/") > + (synopsis "Babeltrace /=CB=88b=C3=A6b=C9=99ltre=C9=AAs/ is an open-s= ource trace manipulation toolkit.") > + (description "Babeltrace 2 is the reference parser implementation of= the > +Common Trace Format (CTF), a versatile trace format produced by various > +tracers and tools such as LTTng and barectf. The Babeltrace 2 library an= d its > +Python bindings can read and write CTF traces.") --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix lint babeltrace /home/sarah/guix-apply/gnu/packages/linux.scm:8170:17: babeltrace@2.0.3: se= ntences in description should be followed by two spaces; possible infractio= n at 174 /home/sarah/guix-apply/gnu/packages/linux.scm:8169:14: babeltrace@2.0.3: no= period allowed at the end of the synopsis /home/sarah/guix-apply/gnu/packages/linux.scm:8169:14: babeltrace@2.0.3: sy= nopsis should not start with the package name --8<---------------cut here---------------end--------------->8--- Synopses should reduce to a noun; open-source is implied by its inclusion in Guix; the pronunciation is more suited to the description, but may not be necessary at all. Consider: "Trace manipulation toolkit" or "Trace manipulation toolkit with Python bindings" (depending on what the focus should be on) In the description, it may be worth mentioning that it provides the command-line tool "@command{babeltrace2}"; consider referencing the manual page for wording. You could even start with something like: "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}." That's just an example though! It could definitly be improved. Hope that helps, -- Sarah From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 13 04:52:44 2021 Received: (at control) by debbugs.gnu.org; 13 Oct 2021 08:52:44 +0000 Received: from localhost ([127.0.0.1]:58068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maa0C-0003o2-6e for submit@debbugs.gnu.org; Wed, 13 Oct 2021 04:52:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maa0A-0003nZ-Jq for control@debbugs.gnu.org; Wed, 13 Oct 2021 04:52:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50062) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maa05-0005X1-BC for control@debbugs.gnu.org; Wed, 13 Oct 2021 04:52:37 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:56371 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maa05-0007uP-1D for control@debbugs.gnu.org; Wed, 13 Oct 2021 04:52:37 -0400 Date: Wed, 13 Oct 2021 10:52:34 +0200 Message-Id: <87wnmhs3vx.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #50757 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 50757 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 17 11:19:35 2021 Received: (at 50757) by debbugs.gnu.org; 17 Oct 2021 15:19:35 +0000 Received: from localhost ([127.0.0.1]:45146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc7wl-0008KA-0L for submit@debbugs.gnu.org; Sun, 17 Oct 2021 11:19:35 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:34656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mc7wj-0008Js-Bl for 50757@debbugs.gnu.org; Sun, 17 Oct 2021 11:19:33 -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 19HFJMpS016498 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 17 Oct 2021 11:19:26 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 19HFJMpS016498 From: Olivier Dion To: 50757@debbugs.gnu.org Subject: [PATCH] gnu: Add babeltrace. Date: Sun, 17 Oct 2021 11:19:22 -0400 Message-ID: <87sfwzbrwl.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Sun, 17 Oct 2021 15:19:22 +0000 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50757 Cc: Sarah Morgensen 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! Sorry for the late reply, I've never received the ML messages! I had to check the web interface to see your comments. I will apply them soon and CC you on v2 of this patch :-) Regards, Olivier -- Olivier Dion Polymtl From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 21 13:32:01 2021 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= From: Olivier Dion To: 50757@debbugs.gnu.org Subject: [PATCH v2] gnu: Add babeltrace. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50757 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: -3.3 (---) * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 21 21:31:37 2021 Received: (at 50757-done) by debbugs.gnu.org; 22 Nov 2021 02:31:37 +0000 Received: from localhost ([127.0.0.1]:46448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moz7I-0000hx-KI for submit@debbugs.gnu.org; Sun, 21 Nov 2021 21:31:36 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:40485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moz7H-0000hj-26 for 50757-done@debbugs.gnu.org; Sun, 21 Nov 2021 21:31:35 -0500 Received: by mail-qt1-f173.google.com with SMTP id t34so15224704qtc.7 for <50757-done@debbugs.gnu.org>; Sun, 21 Nov 2021 18:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=r8Rj9va6GwWeJbCl6DkLvmhX5hpAz0KZNxox3FJHIA4=; b=iAf1hP/vemG7byZ+Jl2t6SykHsXehXXlWQXXJfDZccpbpsNFy8GYdJuy4S9kCgsQ3g howJ2BiYaztrQdUFaMaTYnmLcplLxJXnXxKF8z9SF8TCxF165+rgCPMivw/5FaAx2TdJ Fp1R+pIrI54iuudzOl1gHY+5B8/ZTxHqrPBcxNCdPJAFQdv8siHBxTffPbQApr+WOWme gPOhQw96culYZYiZTq2o1Kta6LgLM/3i9cGFmWVA/yczDTC+0ecBvxu1ER2AT2vjDgN4 9HmmVDxBNmY+UzHjqgpSGJIn4d1TdwujmdviCjyeXkcJ75HmHMWO7MbFgZjrK3BSg2+R TqvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=r8Rj9va6GwWeJbCl6DkLvmhX5hpAz0KZNxox3FJHIA4=; b=iaKE/i8KFJPVZuVdCtAnqSkk3jCKEF71iP0ymyfiMuhRfcw5w6SocIxdBgdwRhqyvI rKovdPC19bBEIxwlByH4k0fCwPjTMLEIhkZLDI+FRSdt1GCuovRO8lhbZxP517vrzJvq LrhgRZ5i6D4LXVHccd1vhI8MmzOHK93AFWb6piufIQIxrasPIojat9KNBFIyqMzJXv0o cqMX9P2Mu6E0ZdkSXWzLtuGU6YEIbKVQXQdjgJ+zeKYbVPowzVXHjaEtt/Am/Bq8Hj53 8pwlovM+cPh1CsGUgxB+QCt0ctJj+XnEaQvmUwS2vZBhQnB8aoE52lLM9zHQvmN/oFGu tETg== X-Gm-Message-State: AOAM531TMDMxXzZywUZJMYjmbR6j0Wilkvi8sRErTsIaSDUaGkYcBurj ST++iCK+9ohK4lvF6kI5mVdONiNFeuVr6y/Q X-Google-Smtp-Source: ABdhPJzceJx553FBFpi59jzUjjMKe1wArqByTCK/1rcESNNiJpvEhK6jGz1McVryEDuBeQagiKiayQ== X-Received: by 2002:a05:622a:5c7:: with SMTP id d7mr27303500qtb.202.1637548289459; Sun, 21 Nov 2021 18:31:29 -0800 (PST) Received: from hurd (dsl-10-148-124.b2b2c.ca. [72.10.148.124]) by smtp.gmail.com with ESMTPSA id h22sm3809414qtb.86.2021.11.21.18.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 18:31:29 -0800 (PST) From: Maxim Cournoyer To: Olivier Dion Subject: Re: bug#50757: [PATCH] gnu: Add babeltrace. References: <20210923124113.3269-1-olivier.dion@polymtl.ca> Date: Sun, 21 Nov 2021 21:31:28 -0500 In-Reply-To: (Olivier Dion's message of "Sun, 21 Nov 2021 13:31:42 -0500") Message-ID: <87v90kc45b.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50757-done Cc: 50757-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: -1.0 (-) Hey Olivier! Olivier Dion writes: > * 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") Thanks for this, and to Sarah for the nice review! I've pushed this as-is to master as 82f8ac4c291e80ef94ee57ff1e0f62f1307c0afb. Happy hacking! Maxim From unknown Sat Sep 20 08:01:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Dec 2021 12:24:12 +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