GNU bug report logs - #38385
[PATCH 0/2] gnu: qemu: Build with vde2 support.

Previous Next

Package: guix-patches;

Reported by: Diego Nicola Barbato <dnbarbato <at> posteo.de>

Date: Tue, 26 Nov 2019 13:00:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38385 in the body.
You can then email your comments to 38385 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Tue, 26 Nov 2019 13:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 26 Nov 2019 13:00:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: guix-patches <at> gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH 0/2] gnu: qemu: Build with vde2 support.
Date: Tue, 26 Nov 2019 13:59:00 +0100
Hello Guix,

The following two patches add vde2 (Virtual Distributed Ethernet) and
modify QEMU so that it supports vde netdevs.

The latest release of vde2 (2.3.2) is rather old (from 2011) and there
have been quite a few changes on their github repository (e.g. they
switched from openssl to wolfssl), which might qualify it for an
exception to our rule to use only official releases.  Nevertheless, I
have decided to stick with that old release for now (as do Nix and
Debian), because I haven't been able to package the git version due to
their configure script checking for something which is true for
openssl-1.0 but not wolfssl (even though they've switched to the
latter), which probably hasn't been noticed yet as nobody has tried to
build it in a pure environment until now.

Regards,

Diego

Diego Nicola Barbato (2):
  gnu: Add vde2.
  gnu: qemu: Build with vde2 support.

 gnu/packages/networking.scm     | 30 ++++++++++++++++++++++++++++++
 gnu/packages/virtualization.scm |  2 +-
 2 files changed, 31 insertions(+), 1 deletion(-)

-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Tue, 26 Nov 2019 13:02:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH 2/2] gnu: qemu: Build with vde2 support.
Date: Tue, 26 Nov 2019 14:01:08 +0100
* gnu/packages/virtualization.scm (qemu)[inputs]: Add vde2.
---
 gnu/packages/virtualization.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index d9cda7696d..99b2e6623a 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -220,7 +220,7 @@ exec smbd $@")))
        ("spice" ,spice)
        ("usbredir" ,usbredir)
        ("util-linux" ,util-linux)
-       ;; ("vde2" ,vde2)
+       ("vde2" ,vde2)
        ("virglrenderer" ,virglrenderer)
        ("zlib" ,zlib)))
     (native-inputs `(("gettext" ,gettext-minimal)
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Tue, 26 Nov 2019 13:02:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH 1/2] gnu: Add vde2.
Date: Tue, 26 Nov 2019 14:01:07 +0100
* gnu/packages/networking.scm (vde2): New variable.
---
 gnu/packages/networking.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 87cabee645..95aca7f9d1 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2717,3 +2717,33 @@ a service (such as an HTTP or SSH server) on localhost visible to the wider
 Internet, even behind NAT or restrictive firewalls.  A managed front-end relay
 service is available at @url{https://pagekite.net/}, or you can run your own.")
     (license license:agpl3+)))
+
+(define-public vde2
+  (package
+    (name "vde2")
+    (version "2.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "mirror://sourceforge/vde/vde2/2.3.2/vde2-2.3.2.tar.gz")
+       (sha256
+        (base32 "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:parallel-build? #f))           ; Build fails if #t.
+    (inputs
+     `(("python" ,python)
+       ("libpcap" ,libpcap)
+       ("openssl" ,openssl-1.0)))       ; Build fails with 1.1.
+    (home-page "https://github.com/virtualsquare/vde-2")
+    (synopsis "Virtual Distributed Ethernet")
+    (description "VDE is a set of programs to provide virtual software-defined
+Ethernet network interface controllers across multiple virtual or
+physical, local or remote devices.  The VDE architecture provides
+virtual counterparts to hardware components such as switches and
+cables.")
+    (license (list license:gpl2
+                   license:lgpl2.1       ; libvdeplug
+                   (license:non-copyleft ; slirpvde
+                    "file://COPYING.slirpvde"
+                    "See COPYING.slirpvde in the distribution.")))))
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Sun, 01 Dec 2019 19:42:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH v2 0/2] gnu: qemu: Build with vde2 support.
Date: Sun,  1 Dec 2019 20:41:30 +0100
Hey Guix,

Here's version 2 of my patch series.

I've added a copyright line to networking.scm and removed vde from
qemu-minimal's inputs.

Regards,

Diego

Diego Nicola Barbato (2):
  gnu: Add vde2.
  gnu: qemu: Build with vde2 support.

 gnu/packages/networking.scm     | 31 +++++++++++++++++++++++++++++++
 gnu/packages/virtualization.scm |  4 ++--
 2 files changed, 33 insertions(+), 2 deletions(-)

-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Sun, 01 Dec 2019 19:43:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH v2 1/2] gnu: Add vde2.
Date: Sun,  1 Dec 2019 20:41:31 +0100
* gnu/packages/networking.scm (vde2): New variable.
---
 gnu/packages/networking.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3ab5e71828..5d5806e31f 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2019 Brice Waegeneire <brice <at> waegenei.re>
 ;;; Copyright © 2019 Tonton <tonton <at> riseup.net>
 ;;; Copyright © 2019 Alex Griffin <a <at> ajgrf.com>
+;;; Copyright © 2019 Diego N. Barbato <dnbarbato <at> posteo.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2717,3 +2718,33 @@ a service (such as an HTTP or SSH server) on localhost visible to the wider
 Internet, even behind NAT or restrictive firewalls.  A managed front-end relay
 service is available at @url{https://pagekite.net/}, or you can run your own.")
     (license license:agpl3+)))
+
+(define-public vde2
+  (package
+    (name "vde2")
+    (version "2.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "mirror://sourceforge/vde/vde2/2.3.2/vde2-2.3.2.tar.gz")
+       (sha256
+        (base32 "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:parallel-build? #f))           ; Build fails if #t.
+    (inputs
+     `(("python" ,python)
+       ("libpcap" ,libpcap)
+       ("openssl" ,openssl-1.0)))       ; Build fails with 1.1.
+    (home-page "https://github.com/virtualsquare/vde-2")
+    (synopsis "Virtual Distributed Ethernet")
+    (description "VDE is a set of programs to provide virtual software-defined
+Ethernet network interface controllers across multiple virtual or
+physical, local or remote devices.  The VDE architecture provides
+virtual counterparts to hardware components such as switches and
+cables.")
+    (license (list license:gpl2
+                   license:lgpl2.1       ; libvdeplug
+                   (license:non-copyleft ; slirpvde
+                    "file://COPYING.slirpvde"
+                    "See COPYING.slirpvde in the distribution.")))))
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Sun, 01 Dec 2019 19:43:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH v2 2/2] gnu: qemu: Build with vde2 support.
Date: Sun,  1 Dec 2019 20:41:32 +0100
* gnu/packages/virtualization.scm (qemu)[inputs]: Add vde2.
* gnu/packages/virtualization.scm (qemu-minimal)[inputs]: Remove vde2 from
  inherited inputs.
---
 gnu/packages/virtualization.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index fa7b07e179..3a1b260cbf 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -220,7 +220,7 @@ exec smbd $@")))
        ("spice" ,spice)
        ("usbredir" ,usbredir)
        ("util-linux" ,util-linux)
-       ;; ("vde2" ,vde2)
+       ("vde2" ,vde2)
        ("virglrenderer" ,virglrenderer)
        ("zlib" ,zlib)))
     (native-inputs `(("gettext" ,gettext-minimal)
@@ -268,7 +268,7 @@ server and embedded PowerPC, and S390 guests.")
                   '("gettext")))
     (inputs (fold alist-delete (package-inputs qemu)
                   '("libusb" "mesa" "sdl2" "spice" "virglrenderer" "gtk+"
-                    "usbredir" "libdrm" "libepoxy" "pulseaudio")))))
+                    "usbredir" "libdrm" "libepoxy" "pulseaudio" "vde2")))))
 
 ;; The GRUB test suite fails with later versions of Qemu, so we
 ;; keep it at 2.10 for now.  See
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Wed, 04 Dec 2019 16:03:01 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH v3 0/2] gnu: qemu: Build with vde2 support.
Date: Wed,  4 Dec 2019 17:02:03 +0100
I've rebased the patches on current master.

Diego Nicola Barbato (2):
  gnu: Add vde2.
  gnu: qemu: Build with vde2 support.

 gnu/packages/networking.scm     | 31 +++++++++++++++++++++++++++++++
 gnu/packages/virtualization.scm |  4 ++--
 2 files changed, 33 insertions(+), 2 deletions(-)

-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Wed, 04 Dec 2019 16:03:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH v3 1/2] gnu: Add vde2.
Date: Wed,  4 Dec 2019 17:02:04 +0100
* gnu/packages/networking.scm (vde2): New variable.
---
 gnu/packages/networking.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 05f348ad0f..0a9545c56d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2019 Alex Griffin <a <at> ajgrf.com>
 ;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
 ;;; Copyright © 2019 Daniel Schaefer <git <at> danielschaefer.me>
+;;; Copyright © 2019 Diego N. Barbato <dnbarbato <at> posteo.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2822,3 +2823,33 @@ to be a teaching tool and presents the subnetting results as
 easy-to-understand binary values.")
     (home-page "http://jodies.de/ipcalc")
     (license license:gpl2+)))
+
+(define-public vde2
+  (package
+    (name "vde2")
+    (version "2.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "mirror://sourceforge/vde/vde2/2.3.2/vde2-2.3.2.tar.gz")
+       (sha256
+        (base32 "14xga0ib6p1wrv3hkl4sa89yzjxv7f1vfqaxsch87j6scdm59pr2"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:parallel-build? #f))           ; Build fails if #t.
+    (inputs
+     `(("python" ,python)
+       ("libpcap" ,libpcap)
+       ("openssl" ,openssl-1.0)))       ; Build fails with 1.1.
+    (home-page "https://github.com/virtualsquare/vde-2")
+    (synopsis "Virtual Distributed Ethernet")
+    (description "VDE is a set of programs to provide virtual software-defined
+Ethernet network interface controllers across multiple virtual or
+physical, local or remote devices.  The VDE architecture provides
+virtual counterparts to hardware components such as switches and
+cables.")
+    (license (list license:gpl2
+                   license:lgpl2.1       ; libvdeplug
+                   (license:non-copyleft ; slirpvde
+                    "file://COPYING.slirpvde"
+                    "See COPYING.slirpvde in the distribution.")))))
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38385; Package guix-patches. (Wed, 04 Dec 2019 16:03:02 GMT) Full text and rfc822 format available.

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

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: 38385 <at> debbugs.gnu.org
Cc: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: [PATCH v3 2/2] gnu: qemu: Build with vde2 support.
Date: Wed,  4 Dec 2019 17:02:05 +0100
* gnu/packages/virtualization.scm (qemu)[inputs]: Add vde2.
* gnu/packages/virtualization.scm (qemu-minimal)[inputs]: Remove vde2 from
  inherited inputs.
---
 gnu/packages/virtualization.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index fa7b07e179..3a1b260cbf 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -220,7 +220,7 @@ exec smbd $@")))
        ("spice" ,spice)
        ("usbredir" ,usbredir)
        ("util-linux" ,util-linux)
-       ;; ("vde2" ,vde2)
+       ("vde2" ,vde2)
        ("virglrenderer" ,virglrenderer)
        ("zlib" ,zlib)))
     (native-inputs `(("gettext" ,gettext-minimal)
@@ -268,7 +268,7 @@ server and embedded PowerPC, and S390 guests.")
                   '("gettext")))
     (inputs (fold alist-delete (package-inputs qemu)
                   '("libusb" "mesa" "sdl2" "spice" "virglrenderer" "gtk+"
-                    "usbredir" "libdrm" "libepoxy" "pulseaudio")))))
+                    "usbredir" "libdrm" "libepoxy" "pulseaudio" "vde2")))))
 
 ;; The GRUB test suite fails with later versions of Qemu, so we
 ;; keep it at 2.10 for now.  See
-- 
2.24.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 11 Dec 2019 13:02:04 GMT) Full text and rfc822 format available.

Notification sent to Diego Nicola Barbato <dnbarbato <at> posteo.de>:
bug acknowledged by developer. (Wed, 11 Dec 2019 13:02:05 GMT) Full text and rfc822 format available.

Message #34 received at 38385-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: 38385-done <at> debbugs.gnu.org
Subject: Re: [bug#38385] [PATCH v3 1/2] gnu: Add vde2.
Date: Wed, 11 Dec 2019 12:02:29 +0100
Hi,

Diego Nicola Barbato <dnbarbato <at> posteo.de> skribis:

> * gnu/packages/networking.scm (vde2): New variable.

[...]

> * gnu/packages/virtualization.scm (qemu)[inputs]: Add vde2.
> * gnu/packages/virtualization.scm (qemu-minimal)[inputs]: Remove vde2 from
>   inherited inputs.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jan 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 166 days ago.

Previous Next


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