Travis: workaround for the cmake3 installation error

General discussion regarding the development of POCO for contributors.
zosrothko
Posts: 30
Joined: 08 Aug 2014, 20:29
Location: Lille, France
Contact:

Travis: workaround for the cmake3 installation error

Postby zosrothko » 11 Nov 2015, 10:36

Hi

The travis CI is failing because of a failed check on SSL certificate between the Travis Ubuntu server and the http://www.cmake.org server as show below. There is a work around in applying theses 2 patches:
https://github.com/pocoproject/poco/com ... c03575188a
https://github.com/pocoproject/poco/com ... 414f856c00



Tracis log
-----------
- sudo add-apt-repository -y ppa:andykimpe/cmake3
- sudo apt-get update -qq

Setting up cmake3 (3.0.0-2) ...

--2015-11-09 11:20:00-- http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
Resolving http://www.cmake.org (http://www.cmake.org)... 66.194.253.19
Connecting to http://www.cmake.org (http://www.cmake.org)|66.194.253.19|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://cmake.org/files/v3.0/cmake-3.0.0.tar.gz [following]
--2015-11-09 11:20:01-- http://cmake.org/files/v3.0/cmake-3.0.0.tar.gz
Resolving cmake.org (cmake.org)... 66.194.253.19
Connecting to cmake.org (cmake.org)|66.194.253.19|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://cmake.org/files/v3.0/cmake-3.0.0.tar.gz [following]
--2015-11-09 11:20:01-- https://cmake.org/files/v3.0/cmake-3.0.0.tar.gz
Connecting to cmake.org (cmake.org)|66.194.253.19|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name `cmake.org'.
To connect to cmake.org insecurely, use `--no-check-certificate'.
dpkg: error processing cmake3 (--configure):
subprocess installed post-installation script returned error exit status 5
Setting up libparse-debcontrol-perl (2.005-3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:

Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 2 guests

cron