Superbuild failure on Lubuntu VM

0 views
Skip to first unread message

Evgueni Ovtchinnikov

unread,
May 9, 2017, 7:28:56 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

I have just tried to use SuperBuild on a VM (our old empty one). I installed CMake 3.8.1, cloned SIRF-SuperBuild, run cmake . and make and got this error:

 

stir@ubuntu-stir:~/devel/SIRF-SuperBuild$ make

Scanning dependencies of target HDF5

[  1%] Creating directories for 'HDF5'

[  2%] Performing download step (download, verify and extract) for 'HDF5'

-- Downloading...

   dst='/home/stir/devel/SIRF-SuperBuild/HDF5-prefix/src/CMake-hdf5-1.10.0-patch1.tar.gz'

   timeout='none'

-- Using src='https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz'

-- Retrying...

-- Using src='https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz'

-- Retry after 5 seconds (attempt #2) ...

-- Using src='https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz'

-- Retry after 5 seconds (attempt #3) ...

-- Using src='https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz'

-- Retry after 15 seconds (attempt #4) ...

-- Using src='https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz'

-- Retry after 60 seconds (attempt #5) ...

-- Using src='https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz'

CMake Error at HDF5-stamp/download-HDF5.cmake:157 (message):

  Each download failed!

 

    error: downloading 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz' failed

         status_code: 1

         status_string: "Unsupported protocol"

         log:

         --- LOG BEGIN ---

         Protocol "https" not supported or disabled in libcurl

 

  Closing connection -1

 

 

 

         --- LOG END ---

         error: downloading 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz' failed

         status_code: 1

         status_string: "Unsupported protocol"

         log:

         --- LOG BEGIN ---

         Protocol "https" not supported or disabled in libcurl

 

  Closing connection -1

 

 

 

         --- LOG END ---

         error: downloading 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz' failed

         status_code: 1

         status_string: "Unsupported protocol"

         log:

         --- LOG BEGIN ---

         Protocol "https" not supported or disabled in libcurl

 

  Closing connection -1

 

 

 

         --- LOG END ---

         error: downloading 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz' failed

         status_code: 1

         status_string: "Unsupported protocol"

         log:

         --- LOG BEGIN ---

         Protocol "https" not supported or disabled in libcurl

 

  Closing connection -1

 

 

 

         --- LOG END ---

         error: downloading 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz' failed

         status_code: 1

         status_string: "Unsupported protocol"

         log:

         --- LOG BEGIN ---

         Protocol "https" not supported or disabled in libcurl

 

  Closing connection -1

 

 

 

         --- LOG END ---

         error: downloading 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-patch1/src/CMake-hdf5-1.10.0-patch1.tar.gz' failed

         status_code: 1

         status_string: "Unsupported protocol"

         log:

         --- LOG BEGIN ---

         Protocol "https" not supported or disabled in libcurl

 

  Closing connection -1

 

 

 

         --- LOG END ---

        

    

 

 

CMakeFiles/HDF5.dir/build.make:89: recipe for target 'HDF5-prefix/src/HDF5-stamp/HDF5-download' failed

make[2]: *** [HDF5-prefix/src/HDF5-stamp/HDF5-download] Error 1

CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/HDF5.dir/all' failed

make[1]: *** [CMakeFiles/HDF5.dir/all] Error 2

Makefile:83: recipe for target 'all' failed

make: *** [all] Error 2

Thomas, Ben

unread,
May 9, 2017, 7:36:17 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

Hi,

 

The error suggests that cURL doesn’t have SSL support. Something like:

 

apt-get install libcurl4-openssl-dev

 

might solve it.

 

Kind regards,


Ben

Evgueni Ovtchinnikov

unread,
May 9, 2017, 7:41:05 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

No, it did not help.

 

By the way, VM’s Firefox downloaded that file ok.

Thielemans, Kris

unread,
May 9, 2017, 7:46:40 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

Try with an older CMake? Just to be sure it’s not a new bug…

Evgueni Ovtchinnikov

unread,
May 9, 2017, 8:36:54 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

Tried with CMake 3.7.2, same story.

Edoardo Pasca

unread,
May 9, 2017, 9:06:59 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

I quickly searched online and found that CMake uses its own curl, which comes without ssl support.

 

I will try to compile on the same VM.

 

Edo

Thielemans, Kris

unread,
May 9, 2017, 9:39:28 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

Sounds quite crazy. They have to be able to download https…

 

In this case, using http would work as well. Any objection in replacing https with http?

Evgueni Ovtchinnikov

unread,
May 9, 2017, 10:00:51 AM5/9/17
to CCP-PET...@jiscmail.ac.uk

It appears the problem was caused by my building CMake from its sources rather than downloading binaries.

 

HDF5 now has been downloaded and is being built.

Reply all
Reply to author
Forward
0 new messages