gnu: gnunet: Update to 0.21.1.

* gnu/packages/gnunet.scm (gnunet): Update to 0.21.1.
[phases]: Adjust disable-problematic-tests phase.

Change-Id: Ia4b1c1ee9c3646e191669ea465d57acc006018e7
This commit is contained in:
Maxim Cournoyer 2024-03-09 20:36:21 -05:00
parent f0698ffb52
commit aedb0879c2
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 12 additions and 10 deletions

View File

@ -258,7 +258,7 @@ supports HTTP, HTTPS and GnuTLS.")
(define-public gnunet (define-public gnunet
(package (package
(name "gnunet") (name "gnunet")
(version "0.20.0") (version "0.21.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -266,7 +266,7 @@ supports HTTP, HTTPS and GnuTLS.")
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 (base32
"064mmhksznbsymanikwqkgmdhk2f0zjll2aq2cmxa14wm5w9w0jn")))) "0p3q9590bm0d6q6p17jcbq2yiciqmvk5ys6pwdrp4257mhz8prlk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
(list bluez (list bluez
@ -306,15 +306,17 @@ supports HTTP, HTTPS and GnuTLS.")
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'disable-problematic-tests (add-after 'unpack 'disable-problematic-tests
(lambda _ (lambda _
(substitute* "src/cadet/Makefile.in" ;; The 'test_communicator_bidirect-tcp' fails
;; The speed_reliable tests appear to be unreliable (see: ;; non-deterministically (see:
;; https://bugs.gnunet.org/view.php?id=7787). ;; https://bugs.gnunet.org/view.php?id=8689).
(("test_cadet_[0-9]+_speed_reliable\\$\\(EXEEXT)") (substitute* "src/service/transport/Makefile.in"
(("test_communicator_bidirect-tcp\\$\\(EXEEXT) ")
"")) ""))
(substitute* "src/core/Makefile.in" ;; The 'test_fs_search_with_and' fails non-deterministically
;; The 'test_core_api' test fails non-deterministically (see: ;; (see: https://bugs.gnunet.org/view.php?id=8692).
;; https://bugs.gnunet.org/view.php?id=7784). (substitute* "src/service/fs/Makefile.in"
(("test_core_api\\$\\(EXEEXT) ") "")))) (("test_fs_search_with_and\\$\\(EXEEXT) ")
""))))
(add-before 'check 'set-env-var-for-tests (add-before 'check 'set-env-var-for-tests
(lambda _ (lambda _
(setenv "LANG" "en_US.UTF-8"))) (setenv "LANG" "en_US.UTF-8")))