From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 24 15:44:19 2024 Received: (at submit) by debbugs.gnu.org; 24 Oct 2024 19:44:19 +0000 Received: from localhost ([127.0.0.1]:36236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t43kp-0004v3-5J for submit@debbugs.gnu.org; Thu, 24 Oct 2024 15:44:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:41208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t43kl-0004us-8g for submit@debbugs.gnu.org; Thu, 24 Oct 2024 15:44:17 -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 1t43kA-0006Om-QY for guix-patches@gnu.org; Thu, 24 Oct 2024 15:43:39 -0400 Received: from anamika.lostca.se ([65.21.75.227]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t43k8-00082v-Fn for guix-patches@gnu.org; Thu, 24 Oct 2024 15:43:38 -0400 Received: from localhost.localdomain (unknown [IPv6:2a02:9140:3880:a200:5ec:a5a8:cf14:36a9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 196FF35650; Thu, 24 Oct 2024 19:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1729799002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+BWBuQAEvpPhqlfRL5RCoeA4z0eozfhwtxvFxo6SyNc=; b=N5htx8uZNU0DVZl3RbxtPG+MPPtRyA0Kb32U3zYXJp94C67vKhJQJVldUlK81v7xrNVqfP lgIeULvEyLfc4jWxQ4k4iooYFQIHhYxsd2XvMroIYQydWERxM1KA/kwy5xLOUvmHizNYap 1aWirLkjTIEVjdg4oel6anABbY+WFOQ= From: Ashish SHUKLA To: guix-patches@gnu.org Subject: [PATCH] gnu: bpftrace: Update to 1.21.2. Date: Thu, 24 Oct 2024 21:43:12 +0200 Message-ID: <3223c821d377cf78c51d25858cd5c91373ebebad.1729798992.git.ashish.is@lostca.se> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-Debbugs-Cc: Leo Famulari , Wilko Meyer Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=65.21.75.227; envelope-from=ashish.is@lostca.se; helo=anamika.lostca.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Ashish SHUKLA 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.4 (--) This patch also fixes broken compilation due to improper detection of bfd features. This is taken from following upstream PR: https://github.com/bpftrace/bpftrace/pull/3332 * gnu/packages/linux.scm (bpftrace): Update to 1.21.2. [arguments] Rename, and update "patch-paths" phase. Change-Id: If7180d4da8073914172296f46a3427ccdff22478 --- gnu/packages/linux.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e0785cccf7..6578dd2e97 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10343,7 +10343,7 @@ (define-public bpftool (define-public bpftrace (package (name "bpftrace") - (version "0.21.0") + (version "0.21.2") (source (origin (method git-fetch) @@ -10352,7 +10352,7 @@ (define-public bpftrace (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "06yg3w80kdq0i003w2gvn0czbh8z9d3rfgmglp37dkir7g3dc6iz")))) + (base32 "0icbhf1wk523a7lcmwqa67zc6hl6h02p5mfg26cizva447kbwsgz")))) (build-system cmake-build-system) (arguments (list #:configure-flags #~(list "-DBUILD_TESTING=ON") ;; Only run the unit tests suite, as the other ones @@ -10360,8 +10360,14 @@ (define-public bpftrace ;; 'root'. #:test-target "bpftrace_test" #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-paths + (add-after 'unpack 'patch-paths-and-bfd-defs (lambda _ + (substitute* '("cmake/FindLibBfd.cmake" + "src/CMakeLists.txt") + (("LIBSFRAME_FOUND") + "LIBSFRAME_LIBRARIES") + (("LIBZSTD_FOUND") + "LIBZSTD_LIBRARIES")) (with-directory-excursion "tests" (substitute* (find-files ".") (("/bin/sh") base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b -- 2.47.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 28 00:36:01 2024 Received: (at submit) by debbugs.gnu.org; 28 Oct 2024 04:36:02 +0000 Received: from localhost ([127.0.0.1]:50323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5HU1-0005yn-Ba for submit@debbugs.gnu.org; Mon, 28 Oct 2024 00:36:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:41118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5HTv-0005yO-NG for submit@debbugs.gnu.org; Mon, 28 Oct 2024 00:35:57 -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 1t5HTK-0006pr-9p for guix-patches@gnu.org; Mon, 28 Oct 2024 00:35:19 -0400 Received: from smtp21.cstnet.cn ([159.226.251.21] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1t5HTI-0004ZN-4C for guix-patches@gnu.org; Mon, 28 Oct 2024 00:35:17 -0400 Received: from m (unknown [107.174.64.25]) by APP-01 (Coremail) with SMTP id qwCowAC3vytzFB9n8bAkCw--.45300S2; Mon, 28 Oct 2024 12:35:10 +0800 (CST) From: Z572 To: Ashish SHUKLA via Guix-patches via Subject: Re: [bug#73994] [PATCH] gnu: bpftrace: Update to 1.21.2. In-Reply-To: <3223c821d377cf78c51d25858cd5c91373ebebad.1729798992.git.ashish.is@lostca.se> (Ashish SHUKLA via Guix-patches via's message of "Thu, 24 Oct 2024 21:43:12 +0200") References: <3223c821d377cf78c51d25858cd5c91373ebebad.1729798992.git.ashish.is@lostca.se> Date: Mon, 28 Oct 2024 12:34:57 +0800 Message-ID: <87o7344zgu.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: qwCowAC3vytzFB9n8bAkCw--.45300S2 X-Coremail-Antispam: 1UD129KBjvJXoW7tF15XF45Aw13tryDKrWrGrg_yoW8Zw1Up3 yFvrnYgrs5Kas5Kw4fWa1Dt345X3yxCrWjk3yxAw1rt39xurWFqrZ2kFWrZFnrAry8uay7 Xa10qa45Wr45W37anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9Kb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVWxJr0_GcWlnx0Ee4C267I2x7xF54xIwI0E7I0Y6sxI4wAS0I0E 0xvYzxvE52x082IY62kv0487M2AExVA0xI801c8C04v7Mc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUGVWUXwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcVAKI48JMxkF7I0En4kS14v26r126r1DMxAIw28IcxkI7VAKI4 8JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xv wVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjx v20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20E Y4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267 AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxUhpV1UUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.21; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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.4 (-) X-Debbugs-Envelope-To: submit Cc: Wilko Meyer , Leo Famulari , 73994-done@debbugs.gnu.org, Ashish SHUKLA 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.4 (--) --=-=-= Content-Type: text/plain Ashish SHUKLA via Guix-patches via writes: > This patch also fixes broken compilation due to improper detection > of bfd features. This is taken from following upstream PR: > > https://github.com/bpftrace/bpftrace/pull/3332 > > * gnu/packages/linux.scm (bpftrace): Update to 1.21.2. > [arguments] Rename, and update "patch-paths" phase. > > Change-Id: If7180d4da8073914172296f46a3427ccdff22478 > --- > gnu/packages/linux.scm | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index e0785cccf7..6578dd2e97 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -10343,7 +10343,7 @@ (define-public bpftool > (define-public bpftrace > (package > (name "bpftrace") > - (version "0.21.0") > + (version "0.21.2") > (source > (origin > (method git-fetch) > @@ -10352,7 +10352,7 @@ (define-public bpftrace > (commit (string-append "v" version)))) > (file-name (git-file-name name version)) > (sha256 > - (base32 "06yg3w80kdq0i003w2gvn0czbh8z9d3rfgmglp37dkir7g3dc6iz")))) > + (base32 "0icbhf1wk523a7lcmwqa67zc6hl6h02p5mfg26cizva447kbwsgz")))) > (build-system cmake-build-system) > (arguments (list #:configure-flags #~(list "-DBUILD_TESTING=ON") > ;; Only run the unit tests suite, as the other ones > @@ -10360,8 +10360,14 @@ (define-public bpftrace > ;; 'root'. > #:test-target "bpftrace_test" > #:phases #~(modify-phases %standard-phases > - (add-after 'unpack 'patch-paths > + (add-after 'unpack 'patch-paths-and-bfd-defs > (lambda _ > + (substitute* '("cmake/FindLibBfd.cmake" > + "src/CMakeLists.txt") > + (("LIBSFRAME_FOUND") > + "LIBSFRAME_LIBRARIES") > + (("LIBZSTD_FOUND") > + "LIBZSTD_LIBRARIES")) > (with-directory-excursion "tests" > (substitute* (find-files ".") > (("/bin/sh") > > base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b push, and move comments to code. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmcfFHEACgkQO1qpk+Gi 3/BBbQ//SbaEqzoKmtmRB8M2G7CdGvD/8PqrLtu8ECR6uTgV2zZnWGi4aqfuTMjt 7gV2Zrvrs7NA2ns/XpHThkRD3MlvmgrGA1p/BAkhugNYDWlYbyoi4pNsOfX560R4 B6e8oQLd12TlPXAzY2Misrp/RhWoDF6b+LbWVzjJY0EDTdi2UpAqBQh0Xjafy9A+ BoKhumnakbZ5FbsgJNmJhrKIbiHRUdoKiSmUseM3c36F1Km8TqHKGmfvRCMP3yLd vI6lc3bwxQolyxOwqIp7DGalhvn0dWGcL3bK0wA8o4xxjOggsjDsw8QArdwtD4q2 VpUB3G0VK/v6bhfAcFO+97CAYHKFRxm+9PiVgJB9n0kAMdwAnlJXC4EYqsBxaWGV +nl4bw0W2wnGLOEHKYXk5DHOWbd4TUKFE5pRKT9gQJzq0BjYMNVQbmiy1aVRakWZ etug0VRFFrPQpQ/QaI3Scb6mRFZi08ywTvV19w1dVWVRZEC6uABOlxvImvqFnXP8 ybC4+JcJVy8d/T3My/Bbxo6DvE6VGcpj6OohDja4j3cmWCDgF4gGEUcwFtKDsWt3 XWdKAIQG1A8ptLi1qDYdtsae6roV12gRLxCmfmkRsodejIkq/uuYBru/SQ4CxoTK uHlMg1Byjy5O9/9Zhir9hkDDJAb+1DJn8uYoPUQu2M5whB8ep4Q= =2qaC -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 12:49:50 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, 25 Nov 2024 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