Closed kutschkem closed 6 years ago
The problem is apparently with cmake: https://gitlab.kitware.com/cmake/cmake/issues/17240 I will try if the build works with cmake 3.7.2, and report back. If it turns out that this is the issue, maybe changing the downloads from https to http will help.
Interesting, we're using cmake 3.10.x (not sure of the patch version) on our Windows CI and maybe our macOS CI machines too (you mentioned you're using 3.10.2 above). Does this only affect linux on such a high version of cmake?
IIRC we use 3.10.2 on both MacOS and Windows
It affects people behind a proxy, not sure if it is OS-specific.
This bug report looks like it affects Windows too, but I'm not 100% sure it's the same issue.: https://gitlab.kitware.com/cmake/cmake/issues/17592
By the way, building with cmake 3.7.2 seemed to work.
The mistake was that I needed to build CMake with SSL support
set -e
sudo apt-get -y install openssl libssl-dev
# download cmake
version=3.10
build=2
mkdir ~/temp
cd ~/temp
wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz
tar -xzvf cmake-$version.$build.tar.gz
cd cmake-$version.$build/
# build cmake
./bootstrap -- -DCMAKE_USE_OPENSSL=ON
make -j2
sudo make install
Now the downloads work. Sadly this was not well documented on the side of cmake :-(
@kutschkem ran into this same issue. Thank you for documenting the solution.
Bug report
Required Info:
Steps to reproduce issue
On a fresh vagrant box "ubuntu/xenial64" with git and cmake 3.10.2 installed, follow the installation instructions on https://github.com/ros2/ros2/wiki/Linux-Development-Setup
The box is using a cntlm proxy on the host.
Vagrantfile
script/install_gcc.sh
scripts/install_cmake.sh
scripts/install_ros.sh
Expected behavior
Successfull installation.
Actual behavior
Error when building target curl-7.57.0
Additional information
Using curl on the commandline to download https://github.com/curl/curl/releases/download/curl-7_57_0/curl-7.57.0.tar.gz works without problem, so I wouldn't expect the problem to be an issue with the installed version of curl.