guix-patches
[Top][All Lists]
Advanced

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

bug#38951: gnu: Add libgovirt.


From: Danny Milosavljevic
Subject: bug#38951: gnu: Add libgovirt.
Date: Mon, 13 Jan 2020 17:17:51 +0100

Hi Raghav,

I've found the reason for the test failure by using this patch:

--- libgovirt-0.3.6/tests/mock-httpd.c.orig     2020-01-13 16:54:08.578009738 
+0100
+++ libgovirt-0.3.6/tests/mock-httpd.c  2020-01-13 16:54:58.442238829 +0100
@@ -114,6 +114,9 @@
                cert = g_tls_certificate_new_from_files (abs_srcdir 
"/https-cert/server-cert.pem",
                                                         abs_srcdir 
"/https-cert/server-key.pem",
                                                         &error);
+               if (error != NULL) {
+                       fprintf(stderr, "ERROR: %s\n", error->message);
+               }
                g_assert (error == NULL);
                server = soup_server_new (SOUP_SERVER_SERVER_HEADER, 
"simple-soup-httpd ",
                                          SOUP_SERVER_TLS_CERTIFICATE, cert,

Then I fixed the test failure by adding glib-networking (which is a GIO plugin).

I suspect that the tests won't work reliably because of the networking
involved (even when local)--but let's cross that bridge when we come to it.

Committed to guix master as commit 3f1ed953e8a596dc3a4924758a931b8a774bde5f.

Attachment: pgphrqFgX_8Hm.pgp
Description: OpenPGP digital signature


reply via email to

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