mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-28 05:00:29 +02:00
gnu: opendht: Disable liburing support.
It caused a regression in Jami (could no longer register Jami account names).
* gnu/packages/networking.scm (opendht) [source]: Delete
opendht-meson-liburing.patch patch.
[#:phases] {disable-problematic-tests}: Reinstate a few tests.
[propagated-inputs]: Remove liburing, leaving a comment.
* gnu/packages/patches/opendht-meson-liburing.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
Change-Id: I6dde661e6f7e5bc71fc6f6efe38e6f10b41a31ed
This commit is contained in:
@@ -1992,7 +1992,6 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/openbox-add-fix-for-glib2-exposed-segfault.patch \
|
||||
%D%/packages/patches/openbox-python3.patch \
|
||||
%D%/packages/patches/opendht-meson-install-headers.patch \
|
||||
%D%/packages/patches/opendht-meson-liburing.patch \
|
||||
%D%/packages/patches/openexr-2-gcc-14.patch \
|
||||
%D%/packages/patches/openfst-for-vosk-fix-unique-ptr.patch \
|
||||
%D%/packages/patches/openjdk-currency-time-bomb.patch \
|
||||
|
||||
@@ -4205,8 +4205,8 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||
(sha256
|
||||
(base32
|
||||
"1v8miwsslqlqlpp7p210jhxwkblqyc69cgxaq680qhg7h1sf3y2i"))
|
||||
(patches (search-patches "opendht-meson-install-headers.patch"
|
||||
"opendht-meson-liburing.patch"))))
|
||||
(patches
|
||||
(search-patches "opendht-meson-install-headers.patch"))))
|
||||
(outputs '("out" "python" "tools" "debug"))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
@@ -4224,25 +4224,10 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||
(add-after 'unpack 'disable-problematic-tests
|
||||
(lambda _
|
||||
(substitute* "meson.build"
|
||||
;; The 'proxy' test fails with "killed by signal 6 SIGABRT"
|
||||
;; inside the build environment (see:
|
||||
;; <https://github.com/savoirfairelinux/opendht/issues/819#issuecomment-3701318124>)
|
||||
(("test\\('(DhtProxy)', test_proxy)")
|
||||
"")
|
||||
;; The 'http' test fails due to liburing not being
|
||||
;; functional inside build environment, causing
|
||||
;; "io_uring_queue_init: Cannot allocate memory" errors
|
||||
;; (see:
|
||||
;; <https://github.com/savoirfairelinux/opendht/issues/819#issuecomment-3701318124>).
|
||||
(("test\\('Http', test_http)")
|
||||
"")
|
||||
;; The 'peerdiscovery' test fails even outside of the build
|
||||
;; environment (see:
|
||||
;; <https://github.com/savoirfairelinux/opendht/issues/819#issuecomment-3701328516>).
|
||||
(("test\\('PeerDiscovery', test_peerdiscovery)")
|
||||
""))
|
||||
(substitute* "tests/Makefile.am"
|
||||
(("\\bdhtrunnertester\\.(h|cpp)\\b")
|
||||
""))))
|
||||
(add-after 'unpack 'relax-test-timeouts
|
||||
(lambda _
|
||||
@@ -4281,7 +4266,8 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||
argon2
|
||||
gnutls
|
||||
jsoncpp
|
||||
liburing
|
||||
;; liburing causes issues (see
|
||||
;; <https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/2179>).
|
||||
nettle
|
||||
openssl ;required for the DHT proxy
|
||||
simdutf))
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
Upstream-status: <https://github.com/savoirfairelinux/opendht/pull/821>
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 7d7c5e0a..d3c4a500 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -208,12 +208,18 @@ if get_option('tools').enabled()
|
||||
install: true,
|
||||
)
|
||||
if llhttp.found()
|
||||
+ durl_deps = [msgpack, openssl]
|
||||
+
|
||||
+ if io_uring.found()
|
||||
+ durl_deps += io_uring
|
||||
+ endif
|
||||
+
|
||||
durl = executable(
|
||||
'durl',
|
||||
'tools/durl.cpp',
|
||||
include_directories: opendht_interface_inc,
|
||||
link_with: opendht,
|
||||
- dependencies: [msgpack, openssl],
|
||||
+ dependencies: durl_deps,
|
||||
)
|
||||
endif
|
||||
endif
|
||||
Reference in New Issue
Block a user