Superbuild failure on Lubuntu VM

0 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Evgueni Ovtchinnikov

nieprzeczytany,
9 maj 2017, 07:28:569.05.2017
do 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

nieprzeczytany,
9 maj 2017, 07:36:179.05.2017
do 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

nieprzeczytany,
9 maj 2017, 07:41:059.05.2017
do CCP-PET...@jiscmail.ac.uk

No, it did not help.

 

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

Thielemans, Kris

nieprzeczytany,
9 maj 2017, 07:46:409.05.2017
do CCP-PET...@jiscmail.ac.uk

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

Evgueni Ovtchinnikov

nieprzeczytany,
9 maj 2017, 08:36:549.05.2017
do CCP-PET...@jiscmail.ac.uk

Tried with CMake 3.7.2, same story.

Edoardo Pasca

nieprzeczytany,
9 maj 2017, 09:06:599.05.2017
do 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

nieprzeczytany,
9 maj 2017, 09:39:289.05.2017
do 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

nieprzeczytany,
9 maj 2017, 10:00:519.05.2017
do 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.

Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0