guix_mirror_bot pushed a commit to branch master
in repository guix.
commit bc994f663897f87051b7fdebb28b3b70eac95503
Author: Spencer King <[email protected]>
AuthorDate: Mon Jan 26 16:07:36 2026 -0600
gnu: radare2: Update to 6.0.8.
* gnu/packages/engineering.scm (radare2): Update to 6.0.8.
[arguments]<#:configure-flags>: Disable use_libuv.
* gnu/packages/patches/radare2-fix-meson-build-to-use-sys-sdb.patch:
Remove diff for nonexistent code.
Change-Id: I567713ef8535eb134e42be6b2865265bb5574731
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/engineering.scm | 12 +++++++++---
.../patches/radare2-fix-meson-build-to-use-sys-sdb.patch | 12 ------------
2 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 05e10b9548..d0db20ab9a 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -49,6 +49,7 @@
;;; Copyright © 2025 bdunahu <[email protected]>
;;; Copyright © 2026 Cayetano Santos <[email protected]>
;;; Copyright © 2026 Daniel Khodabakhsh <[email protected]>
+;;; Copyright © 2026 Spencer King <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2152,7 +2153,7 @@ bootloader in Espressif ESP8266 & ESP32 series chips.")
(define-public radare2
(package
(name "radare2")
- (version "6.0.7")
+ (version "6.0.8")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2160,7 +2161,7 @@ bootloader in Espressif ESP8266 & ESP32 series chips.")
(commit version)))
(sha256
(base32
- "1nkqa8mkmvmbc3812gf5ayfmzyf0krjgc1695rpkphw3fsl76rgx"))
+ "1fxrwlgliizxz71svdsvkd03yanxif88cxhiaw5i8znf7f97nh4v"))
(file-name (git-file-name name version))
(patches
(search-patches "radare2-fix-meson-build-to-use-sys-sdb.patch"
@@ -2169,7 +2170,12 @@ bootloader in Espressif ESP8266 & ESP32 series chips.")
(arguments
(list
#:configure-flags
- #~(list "-Duse_libuv=true"
+ ;; XXX: 6.0.8 fails to build when use_libuv=true
+ ;; this is because some functions in libr/core/rtr.c
+ ;; are in an #if HAVE_LIBUV block and were being removed by the
preprocessor
+ ;; https://github.com/radareorg/radare2/issues/25156
+ ;; Re-evaluate this setting in future updates
+ #~(list "-Duse_libuv=false"
"-Duse_ssl=true"
"-Duse_sys_capstone=true"
"-Duse_sys_lz4=true"
diff --git a/gnu/packages/patches/radare2-fix-meson-build-to-use-sys-sdb.patch
b/gnu/packages/patches/radare2-fix-meson-build-to-use-sys-sdb.patch
index b5ba46261c..fa960ba3d1 100644
--- a/gnu/packages/patches/radare2-fix-meson-build-to-use-sys-sdb.patch
+++ b/gnu/packages/patches/radare2-fix-meson-build-to-use-sys-sdb.patch
@@ -80,18 +80,6 @@ index 13d7a78db5..5371e0fe2a 100644
r_syscall_d_sources = []
endif
-
-diff --git a/libr/util/d/meson.build b/libr/util/d/meson.build
-index 9f34b18642..14a08412be 100644
---- a/libr/util/d/meson.build
-+++ b/libr/util/d/meson.build
-@@ -40,7 +40,6 @@ if host_machine.system() != 'uefi'
- output: charsets_sdb_files,
- command: [sdb_exe, '-r', meson.current_source_dir()],
- env: sdb_env,
-- depends: sdb_exe,
- build_by_default: true,
- install: true,
- install_dir: join_paths(r2_sdb, 'charsets')
diff --git a/meson.build b/meson.build
index 52583b29cf..f26be0e41a 100644
--- a/meson.build