From unknown Sun Jun 22 07:33:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52660 <52660@debbugs.gnu.org> To: bug#52660 <52660@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Enable babeltrace Python's bindings. Reply-To: bug#52660 <52660@debbugs.gnu.org> Date: Sun, 22 Jun 2025 14:33:09 +0000 retitle 52660 [PATCH] gnu: Enable babeltrace Python's bindings. reassign 52660 guix-patches submitter 52660 Olivier Dion severity 52660 normal tag 52660 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 19 14:20:14 2021 Received: (at submit) by debbugs.gnu.org; 19 Dec 2021 19:20:14 +0000 Received: from localhost ([127.0.0.1]:48177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz1jC-0003zh-AE for submit@debbugs.gnu.org; Sun, 19 Dec 2021 14:20:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:35044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mz1jA-0003zX-4f for submit@debbugs.gnu.org; Sun, 19 Dec 2021 14:20:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz1j9-0002Rq-SQ for guix-patches@gnu.org; Sun, 19 Dec 2021 14:20:11 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]:50246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz1j7-0004X4-GI for guix-patches@gnu.org; Sun, 19 Dec 2021 14:20:11 -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 1BJJJsl9008208 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 19 Dec 2021 14:20:01 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 1BJJJsl9008208 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1639941602; bh=8MAbe38Q1ToBdDa8jY3u01lFdcU1x9HopNstgInKrUU=; h=From:To:Cc:Subject:Date:From; b=cwUSDh63Y7aUJ/Ql3EMyRBFbIC6OcR9h/2ZCvC6OAtUYg/rZCeC1+1yq02C6HcejS wb3mMHVicqUUCGSlaKIch+NFWdTsDd4hQqV+4utHVRiZnYQYXFDCoCBdJfmi7F6V5U GFJkIiZPZeSyUGQMI/VVE1PPgoDeb7D8e+JaP6xs= From: Olivier Dion To: guix-patches@gnu.org Subject: [PATCH] gnu: Enable babeltrace Python's bindings. Date: Sun, 19 Dec 2021 14:19:52 -0500 Message-Id: <7e2cb55433ce69de1198515dbe8f78c189c4c9c1.1639941549.git.olivier.dion@polymtl.ca> 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, 19 Dec 2021 19:19:54 +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.01, RCVD_IN_MSPIKE_WL=-0.01, 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 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) [tests?]: Set to false. [configure-flags]: Enable Python's plugins and bindings. [make-flags]: Add output's /lib to linker rpath. --- gnu/packages/instrumentation.scm | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm index 564547324c..4b2fe4095a 100644 --- a/gnu/packages/instrumentation.scm +++ b/gnu/packages/instrumentation.scm @@ -32,6 +32,7 @@ (define-module (gnu packages instrumentation) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages sphinx) #:use-module (gnu packages swig) #:use-module (gnu packages tbb) @@ -57,19 +58,23 @@ (define-public babeltrace (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")))))) + `(#:tests? #f ; FIXME - When Python's bindings are enabled, tests do not pass. + #:make-flags + (list (string-append "LDFLAGS=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib")) + #:configure-flags + '("--enable-debug-info" + "--enable-man-pages" + "--enable-python-bindings" + "--enable-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 (list glib)) ;; NOTE - elfutils is used for the LTTng debug information filter -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 03:25:03 2021 Received: (at 52660-done) by debbugs.gnu.org; 22 Dec 2021 08:25:03 +0000 Received: from localhost ([127.0.0.1]:56631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzwvm-0004AA-Uj for submit@debbugs.gnu.org; Wed, 22 Dec 2021 03:25:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzwvl-00049P-I8 for 52660-done@debbugs.gnu.org; Wed, 22 Dec 2021 03:25:01 -0500 Received: from [2001:470:142:3::e] (port=57290 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzwvf-0007fs-Qr; Wed, 22 Dec 2021 03:24:55 -0500 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=jIjegzciNk9sTdvrs1sQbbGyMVCu+H2Eu0IJlYN+UVM=; b=XgVp3aQwAnBngZDTqFj6 SpmOO3IQHHprmcsVesmvIZex2LOe+yLWxtzcNm9wA9J8Fh3NsWWkKi7ZcUDF3RsIEgJSkmo31GhU4 YahqrkPkVXAf4o1mS0TjMJRopRZ9KPqRWsdxr0rLG5lr9AJUS7wb4z/zQxMmMkDFihv5XN/K7oCpd +NwFx5QCeUPyd9o/JXkSUnIKGe40N5USvN/P1+HL7Vuwxl539rExR3GL6oTEMGkZ7VhE/MqQEeWMk 2bm35T5bza9JyFQ45b2PctkcNGHGEDjTZCwHhTQ9rGuv5GMd7/HkVcxRFpV+bvsoDycrP325Tlhel eONkqQqDoxsKNw==; Received: from [2a01:cb18:832e:5f00:3563:417e:2a38:86d8] (port=49248 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzwvf-0006DS-RI; Wed, 22 Dec 2021 03:24:56 -0500 From: Mathieu Othacehe To: Olivier Dion Subject: Re: bug#52660: [PATCH] gnu: Enable babeltrace Python's bindings. References: <7e2cb55433ce69de1198515dbe8f78c189c4c9c1.1639941549.git.olivier.dion@polymtl.ca> Date: Wed, 22 Dec 2021 09:24:53 +0100 In-Reply-To: <7e2cb55433ce69de1198515dbe8f78c189c4c9c1.1639941549.git.olivier.dion@polymtl.ca> (Olivier Dion's message of "Sun, 19 Dec 2021 14:19:52 -0500") Message-ID: <87ilvhqc6i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52660-done Cc: 52660-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 (---) Hello Olivier, > * gnu/packages/instrumentation.scm (babeltrace) > [tests?]: Set to false. > [configure-flags]: Enable Python's plugins and bindings. > [make-flags]: Add output's /lib to linker rpath. I gexpified it before pushing! Thanks, Mathieu From unknown Sun Jun 22 07:33:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Jan 2022 12:24:06 +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