Hello community,

here is the log from the commit of package gnutls for openSUSE:Factory checked 
in at 2017-05-20 14:31:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnutls (Old)
 and      /work/SRC/openSUSE:Factory/.gnutls.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnutls"

Sat May 20 14:31:57 2017 rev:100 rq:496936 version:3.5.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnutls/gnutls.changes    2017-05-20 
14:28:37.958448893 +0200
+++ /work/SRC/openSUSE:Factory/.gnutls.new/gnutls.changes       2017-05-20 
14:32:00.113847627 +0200
@@ -1,0 +2,6 @@
+Thu May 18 08:44:18 UTC 2017 - [email protected]
+
+- skip trust-store tests to avoid build cycle with
+  ca-certificates-mozilla, add gnutls-3.5.11-skip-trust-store-tests.patch
+
+-------------------------------------------------------------------

New:
----
  gnutls-3.5.11-skip-trust-store-tests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnutls.spec ++++++
--- /var/tmp/diff_new_pack.bFxfbd/_old  2017-05-20 14:32:01.129703905 +0200
+++ /var/tmp/diff_new_pack.bFxfbd/_new  2017-05-20 14:32:01.133703340 +0200
@@ -41,9 +41,9 @@
 Source2:        %{name}.keyring
 Source3:        baselibs.conf
 Patch0:         gnutls-broken-openpgp-tests.patch
+Patch1:         gnutls-3.5.11-skip-trust-store-tests.patch
 BuildRequires:  autogen
 BuildRequires:  automake
-BuildRequires:  ca-certificates-mozilla
 BuildRequires:  datefudge
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -200,6 +200,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 export LDFLAGS="-pie"

++++++ gnutls-3.5.11-skip-trust-store-tests.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Thu, 18 May 2017 10:31:42 +0200
References: https://build.opensuse.org/request/show/493998
Upstream: never

trust-store test added in 
https://gitlab.com/gnutls/gnutls/commit/8d740ae87fae9c1237421dd24825b78103c5da36
need ca-certificates-mozilla to run.

[  242s] FAIL: trust-store
[  242s] =================
[  242s]
[  242s] doit:64: no certificates were found in system trust store!
[  242s] FAIL trust-store (exit status: 1)

But this would create a build cycle. Skip test.

Index: gnutls-3.5.11/tests/trust-store.c
===================================================================
--- gnutls-3.5.11.orig/tests/trust-store.c      2017-04-07 07:52:07.000000000 
+0200
+++ gnutls-3.5.11/tests/trust-store.c   2017-05-18 10:33:53.537598763 +0200
@@ -44,6 +44,9 @@ static void tls_log_func(int level, cons
 
 void doit(void)
 {
+       /* building without ca-certificates-mozilla, skip test */
+       exit(77);
+
        gnutls_certificate_credentials_t x509_cred;
        int ret;
 



Reply via email to