GNU bug report logs - #73940
[PATCH] gnu: gvisor-tap-vsock: Update to 0.7.5.

Previous Next

Package: guix-patches;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Mon, 21 Oct 2024 21:06:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Full log


Message #8 received at 73940 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: 73940 <at> debbugs.gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [PATCH v2] gnu: gvisor-tap-vsock: Update to 0.8.6.
Date: Tue, 27 May 2025 22:57:03 +0200
* gnu/packages/containers.scm (gvisor-tap-vsock): Update to 0.8.6.
[arguments]<#:phases>{'prune-tests}: Adjust.
[native-inputs]: Use go-1.23.

Change-Id: Ia591a145c519b4f0cdfcd20a76ccdb625c097676
---
 gnu/packages/containers.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index be3e05f862..51457a85d0 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -391,7 +391,7 @@ (define-public cni-plugins
 (define-public gvisor-tap-vsock
   (package
     (name "gvisor-tap-vsock")
-    (version "0.7.3")
+    (version "0.8.6")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -400,7 +400,7 @@ (define-public gvisor-tap-vsock
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1q1zism0c63k2aq6yhkjqc3b2zsm4lwn0bk39p2kl79h798wfyp4"))))
+                "18pwpw3dap42mpv5a1ciq6fh0y8ya5ix7r38bi8i1xc7dxcy3jdj"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -422,11 +422,19 @@ (define-public gvisor-tap-vsock
           (add-before 'check 'prune-tests
             (lambda _
               ;; Requires internet connection to fetch QEMU image.
-              (invoke "rm" "-r" "test")))
+              (invoke "rm" "-r" "test-qemu")
+              ;; Requires working DNS.
+              (substitute* "pkg/services/dns/dns_test.go"
+                (("Should pass DNS requests to default system DNS.*" all)
+                 (string-append all "\n" "ginkgo.Skip(\"No network.\");"))
+                (("\"redhat.com\",")
+                 "\"localhost\",")
+                (("\"52.200.142.250\"")
+                 "\"127.0.0.1\""))))
           (replace 'install
             (lambda _
               (install-file "bin/gvproxy" (string-append #$output "/bin")))))))
-    (native-inputs (list go-1.20))
+    (native-inputs (list go-1.23))
     (home-page "https://github.com/containers/gvisor-tap-vsock")
     (synopsis "Network stack for virtualization based on gVisor")
     (description "This package provides a replacement for @code{libslirp} and
-- 
2.49.0





This bug report was last modified 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.