Travis includes gnutls in the default package set, but it is
an outdated version linkng to an incompatible libffi version.
The 'update: true' stanza causes the brew toolchain to be
updated but not the installed formula. It is possible to
run 'brew upgrade' to update installed formula, but this is
very slow adding more than 5 minutes to the build time.
Listing the gnutls package explicitly causes it to be updated
without extending the build time.

Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---

Note in testing this I got past the libffi.6.dylib error, but
eventually hit the Travis 50 minute timeout. So we need to
do more to minimize what we build on macOS, splitting the job
into two I guess.

 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 2fd63eceaa..afbb070082 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -287,6 +287,7 @@ jobs:
             - pixman
             - gnu-sed
             - python
+            - gnutls
           update: true
       before_script:
         - brew link --overwrite python
-- 
2.24.1


Reply via email to