[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/115: gnu: libsoup: Disable ssl-test.
From: |
guix-commits |
Subject: |
115/115: gnu: libsoup: Disable ssl-test. |
Date: |
Fri, 7 May 2021 16:56:56 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit c308c890c4b1ed5121a0230769cd121f5231bc16
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Mon May 3 09:12:39 2021 -0400
gnu: libsoup: Disable ssl-test.
* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
[native-inputs]: Remove gnutls.
---
gnu/packages/gnome.scm | 48 ++++--------------------------------------------
1 file changed, 4 insertions(+), 44 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5983654..0b99ad0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4930,49 +4930,10 @@ libxml to ease remote use of the RESTful API.")
(substitute* "tests/hsts-db-test.c"
((".*/hsts-db/subdomains.*") ""))
- ;; Generate a self-signed certificate that has "localhost" as its
- ;; 'dnsName'. Failing to do that, and starting with GnuTLS
- ;; 3.5.12, tests such as "ssl-tests" fail:
- ;;
- ;; ERROR:ssl-test.c:406:do_tls_interaction_test: Unexpected
status 6 Unacceptable TLS certificate (expected 200 OK)
- ;;
- ;; 'certtool' is interactive so we have to pipe it the answers.
- ;; Reported at
<https://bugzilla.gnome.org/show_bug.cgi?id=784696>.
- (let ((pipe (open-output-pipe "certtool --generate-self-signed \
- --load-privkey tests/test-key.pem --outfile tests/test-cert.pem")))
- (for-each (lambda (line)
- (display line pipe)
- (newline pipe))
- '("" ;Common name
- "" ;UID
- "Guix" ;Organizational unit name
- "GNU" ;Organization name
- "" ;Locality name
- "" ;State or province
- "" ;Country
- "" ;subject's domain component (DC)
- "" ;E-mail
- "" ;serial number
- "-1" ;expiration time
- "N" ;belong to authority?
- "N" ;web client certificate?
- "N" ;IPsec IKE?
- "Y" ;web server certificate?
- "localhost" ;dnsName of subject
- "" ;dnsName of subject (end)
- "" ;URI of subject
- "127.0.0.1" ;IP address of subject
- "" ;signing?
- "" ;encryption (RSA)?
- "" ;data encryption?
- "" ;sign OCSP requests?
- "" ;sign code?
- "" ;time stamping?
- "" ;email protection?
- "" ;URI of the CRL distribution point
- "y" ;above info OK?
- ))
- (close-pipe pipe))
+ ;; FIXME: ssl-test fails, starting with
+ ;; glib-networking 2.68.x.
+ (substitute* "tests/meson.build"
+ (("[ \t]*\\['ssl', true, \\[\\]\\],") ""))
#t))
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
@@ -4994,7 +4955,6 @@ libxml to ease remote use of the RESTful API.")
("vala" ,vala)
("php" ,php)
("curl" ,curl)
- ("gnutls" ,gnutls) ;for 'certtool'
("httpd" ,httpd)))
(propagated-inputs
;; libsoup-2.4.pc refers to all of these (except where otherwise noted)
- 80/115: gnu: gtk+: Enable cloud-providers support., (continued)
- 80/115: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/05/07
- 76/115: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/05/07
- 78/115: gnu: gtk+: Enable tests., guix-commits, 2021/05/07
- 77/115: gnu: gtk+-2: Update to 2.24.33., guix-commits, 2021/05/07
- 85/115: gnu: ibus: Enable documentation., guix-commits, 2021/05/07
- 91/115: gnu: zbar: Update to 0.23.90., guix-commits, 2021/05/07
- 92/115: gnu: gstreamer: Update to 1.18.4., guix-commits, 2021/05/07
- 93/115: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/05/07
- 100/115: gnu: gst-editing-services: Update to 1.18.4., guix-commits, 2021/05/07
- 97/115: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/05/07
- 115/115: gnu: libsoup: Disable ssl-test.,
guix-commits <=
- 103/115: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/05/07
- 113/115: gnu: gtkmm: Change build-system and adjust arguments accordingly., guix-commits, 2021/05/07
- 17/115: gnu: gtk-doc: Enable help., guix-commits, 2021/05/07
- 08/115: gnu: libsigc++: Update to 3.0.6., guix-commits, 2021/05/07
- 12/115: gnu: Add libsigc++-2., guix-commits, 2021/05/07
- 13/115: gnu: glibmm-2.64: Update to 2.64.5., guix-commits, 2021/05/07
- 22/115: gnu: cairo: Move documentation to separate output., guix-commits, 2021/05/07
- 19/115: gnu: gobject-introspection: Propagate glib., guix-commits, 2021/05/07
- 30/115: gnu: pango: Update to 1.48.3., guix-commits, 2021/05/07
- 34/115: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/05/07