guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/17: gnu: opendht: Update to 3.1.7.


From: guix-commits
Subject: 11/17: gnu: opendht: Update to 3.1.7.
Date: Mon, 8 Jan 2024 23:48:11 -0500 (EST)

apteryx pushed a commit to branch telephony-team
in repository guix.

commit b52e781ea2f5e290d95978319e7a652be68ca32e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Aug 17 15:02:16 2023 -0400

    gnu: opendht: Update to 3.1.7.
    
    * gnu/packages/networking.scm (opendht): Update to 3.1.7.
    [arguments]: Add a new relax-test-timeouts phase.
    
    Change-Id: Ida7fe021599e9c469e49f6540a908e80b7264241
---
 gnu/packages/networking.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3d5cf598c9..659f38d7e4 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3808,7 +3808,7 @@ and targeted primarily for asynchronous processing of 
HTTP-requests.")
 (define-public opendht
   (package
     (name "opendht")
-    (version "2.4.12")
+    (version "3.1.7")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3817,7 +3817,7 @@ and targeted primarily for asynchronous processing of 
HTTP-requests.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0yji5pziqxfvyfizk3fn9j59bqlfdwfa1a0y9jjfknb2mmlwwb9w"))))
+                "15jx62fm1frbbvpkxysvvwz1a8d605xi53aacf0bvp4mb1dzpddn"))))
     (outputs '("out" "python" "tools" "debug"))
     (build-system gnu-build-system)
     (arguments
@@ -3845,6 +3845,14 @@ and targeted primarily for asynchronous processing of 
HTTP-requests.")
               (substitute* "tests/Makefile.am"
                 (("\\bdhtrunnertester\\.(h|cpp)\\b")
                  ""))))
+          (add-after 'unupack 'relax-test-timeouts
+            (lambda _
+              ;; At least the 'test_send_json' has been seen to fail
+              ;; non-deterministically, but it seems hard to reproducible that
+              ;; failure.
+              (substitute* "tests/httptester.cpp"
+                (("std::chrono::seconds\\(10)")
+                 "std::chrono::seconds(30)"))))
           (add-after 'unpack 'fix-python-installation-prefix
             ;; Specify the installation prefix for the compiled Python module
             ;; that would otherwise attempt to installs itself to Python's own



reply via email to

[Prev in Thread] Current Thread [Next in Thread]