[PATCH 0/2] gnu: bcc: Update to 0.18.0.

OpenSubmitted by Greg Hogan.
Details
2 participants
  • Greg Hogan
  • Efraim Flashner
Owner
unassigned
Severity
normal
G
G
Greg Hogan wrote on 13 Jan 16:14 +0100
(address . guix-patches@gnu.org)
CA+3U0ZmJ10FibqCuMY_iOGgqcSpN1DEmntHhvpTVUZn=90_MOg@mail.gmail.com
bcc update depends on updated libbpf.
Attachment: file
G
G
Greg Hogan wrote on 13 Jan 16:19 +0100
[PATCH 1/2] gnu: libbpf: Update to 0.3.
(address . 45843@debbugs.gnu.org)
CA+3U0Zm=cHNsZ2gA7G7eWYtjjWZ1FeZvwySuSN+Bt2aQZeb5UQ@mail.gmail.com
From dc8b0a99a9aece0a86406df963b3d4b5d887d482 Mon Sep 17 00:00:00 2001From: Greg Hogan <code@greghogan.com>Date: Tue, 12 Jan 2021 19:56:31 +0000Subject: [PATCH 1/2] gnu: libbpf: Update to 0.3.
* gnu/packages/linux.scm (libbpf): Update to 0.3.[arguments]: Remove obsolete deletion.--- gnu/packages/linux.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
Toggle diff (43 lines)diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scmindex b16b3b7adb..29b6f44ba6 100644--- a/gnu/packages/linux.scm+++ b/gnu/packages/linux.scm@@ -49,7 +49,7 @@ ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com> ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>-;;; Copyright © 2020 Greg Hogan <code@greghogan.com>+;;; Copyright © 2020, 2021 Greg Hogan <code@greghogan.com> ;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com> ;;; Copyright © 2020 David Dashyan <mail@davie.li> ;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>@@ -7585,7 +7585,7 @@ persistent over reboots.") (define-public libbpf (package (name "libbpf")- (version "0.0.9")+ (version "0.3") (source (origin (method git-fetch)@@ -7595,7 +7595,7 @@ persistent over reboots.") (file-name (git-file-name name version)) (sha256 (base32- "18l0gff7nm841mwhr7bc7x863xcyvwh58zl7mc0amnsjqlbrvqg7"))))+ "1zw04rz2igywwj2rwxw6ffwa5rp3d6iz0xi7nv9lmq5gpzpm25di")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config)))@@ -7616,9 +7616,6 @@ persistent over reboots.") (delete 'configure) (add-before 'build 'pre-build (lambda* (#:key inputs #:allow-other-keys)- (substitute* "scripts/check-reallocarray.sh"- (("/bin/rm" rm)- (string-append (assoc-ref inputs "coreutils") rm))) (chdir "src") #t))))) (home-page "https://github.com/libbpf/libbpf")-- 2.23.3
Attachment: file
G
G
Greg Hogan wrote on 13 Jan 16:20 +0100
[PATCH 2/2] gnu: bcc: Update to 0.18.0.
(address . 45843@debbugs.gnu.org)
CA+3U0Zk+nbWgZg35c9_o_3Eh3oTKat2+mBTqFiCNYSDZq7oYkg@mail.gmail.com
From 347d6085929e4f01b9f6a57fe22aab98e3b50bb9 Mon Sep 17 00:00:00 2001From: Greg Hogan <code@greghogan.com>Date: Tue, 12 Jan 2021 19:56:57 +0000Subject: [PATCH 2/2] gnu: bcc: Update to 0.18.0.
* gnu/packages/linux.scm (bcc): Update to 0.18.0.--- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Toggle diff (24 lines)diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scmindex 29b6f44ba6..1a0a0a42af 100644--- a/gnu/packages/linux.scm+++ b/gnu/packages/linux.scm@@ -7629,7 +7629,7 @@ headers.") (define-public bcc (package (name "bcc")- (version "0.15.0")+ (version "0.18.0") (source (origin (method git-fetch)@@ -7639,7 +7639,7 @@ headers.") (file-name (git-file-name name version)) (sha256 (base32- "1d5j9zanffa1c7lpi5fcrdlx1n7hy86xl82fam2xqr0s41q4ipxw"))))+ "1cxvawglph4510s8aga6xnq2xnv0rrnpchgj93j1xgzwipwnqr40")))) (build-system cmake-build-system) (native-inputs `(("bison" ,bison)-- 2.23.3
Attachment: file
E
E
Efraim Flashner wrote 3 days ago
Re: [bug#45843] [PATCH 0/2] gnu: bcc: Update to 0.18.0.
(name . Greg Hogan)(address . code@greghogan.com)(address . 45843@debbugs.gnu.org)
YAfygE+rv09aShq4@3900XT
These patches break bpftrace. I checked upstream and didn't see a newerrelease than 0.11.4.
In file included from /tmp/guix-build-bpftrace-0.11.4.drv-0/bpftrace-0.11.4-checkout/src/btf.cpp:20:/gnu/store/w9yqdg4v092cblkkbpwcpvyfpdppvn3r-libbpf-0.3/include/bpf/btf.h:125:14: error: ISO C++ forbids forward references to 'enum' types enum btf_func_linkage linkage, int proto_type_id); ^1 error generated.make[2]: *** [src/CMakeFiles/bpftrace.dir/build.make:105: src/CMakeFiles/bpftrace.dir/btf.cpp.o] Error 1
-- Efraim Flashner <efraim@flashner.co.il> אפרים פלשנרGPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIyBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmAH8oAACgkQQarn3Mo9g1HWNg/4iu8gOJ7dh4Heh4Mjen6rzWXuPTq5QRwjcJRk7MJ7OaLEkkYtdlGwSEABQD2iNLaLe3PX7wiSE/4q4TEMd8KnXpi4ArZVUAwPtiBU3aW8S0C5RoaOBSEJq2yhHdzFhuinGPC/r9phTxVQiUj8EFySSGnbBjFHh114yAFO8XSSvDGKcrj5qSR7nnW8aoBcuju40kV5Alzu1Aq2syUsuaUVu82YKN4duOmWCLP6iH2W+M6pFkeDihVUinnHITvOmy06pYMjL1R4OsShaqXw3hv9LqeABJU67rffkQ28Tw02E+KE8VcNTGTvXQlQ4OB1cdlYcTUsQg84OHeg2D+nwkvk6PElD6JvQ4vVNsfQ3rjjLI0UhcWXMLqMmf/jZx1BgEPxd2GiaLQXJsllO/jqoRI+Y+9BcXerdnuFQgHc+B2hR8EuLuznSHIcFbkgBFkBqbN5/143SbxTpHg+kLjnrqkstUWLdFV6cxW15/qMQFHqV4bsiJ5z7b/ElBa9C9VuXgtpwzK/HFbwB95ANXn8rVT3dFSA7F5EC4bZsTqIpIciSHP4wRLT5LQzipAX9CNwydCj6Ay40GfpU3hxwz1FGxm4hQkIFoOC6jHbnSEOqJSp9yrsJ17a45t6WhfchhdU44wh9nDTQV1mv8Algb3gz/1uHcvvgtIY6iwIINPZagi6xg===K1G0-----END PGP SIGNATURE-----

?