robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
52 stars 23 forks source link

YCM compilation fails due to gitlab downtime #149

Closed traversaro closed 6 years ago

traversaro commented 6 years ago
[ 43%] Downloading file cmake/FindQCustomPlot.cmake from OVITO (The Open Visualization Tool) git repository (ref 8689fcb1fdd2e8dc748e76d54d3b77a3f87d384c)
-- Cannot download file https://gitlab.com/stuko/ovito/raw/8689fcb1fdd2e8dc748e76d54d3b77a3f87d384c/cmake/FindQCustomPlot.cmake
  Network problem or not existing file.
  CMake Error at /home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/ycm_download_cmake_FindQCustomPlot_cmake_real.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/downloads/cmake/FindQCustomPlot.cmake]
      expected hash: [a59dd4d955a5e775270a4f2656a039ae490e03ed]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [22;"HTTP response code said error"].
  Retrying.

-- Cannot download file https://gitlab.com/stuko/ovito/raw/8689fcb1fdd2e8dc748e76d54d3b77a3f87d384c/cmake/FindQCustomPlot.cmake
  Network problem or not existing file.
  CMake Error at /home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/ycm_download_cmake_FindQCustomPlot_cmake_real.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/downloads/cmake/FindQCustomPlot.cmake]
      expected hash: [a59dd4d955a5e775270a4f2656a039ae490e03ed]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [22;"HTTP response code said error"].
  Retrying.

CMake Error at /home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/ycm_download_cmake_FindQCustomPlot_cmake.cmake:30 (message):
  Cannot download file
  https://gitlab.com/stuko/ovito/raw/8689fcb1fdd2e8dc748e76d54d3b77a3f87d384c/cmake/FindQCustomPlot.cmake

    Network problem or not existing file.
    CMake Error at /home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/ycm_download_cmake_FindQCustomPlot_cmake_real.cmake:9 (file):
    file DOWNLOAD HASH mismatch

      for file: [/home/straversaro/src/ycm/build/3rdparty/CMakeFiles/3rdparty-ovito.dir/downloads/cmake/FindQCustomPlot.cmake]
        expected hash: [a59dd4d955a5e775270a4f2656a039ae490e03ed]
          actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
               status: [22;"HTTP response code said error"]

3rdparty/CMakeFiles/3rdparty-ovito.dir/build.make:90: recipe for target '3rdparty/ovito/cmake/FindQCustomPlot.cmake' failed
make[2]: *** [3rdparty/ovito/cmake/FindQCustomPlot.cmake] Error 1
CMakeFiles/Makefile2:1298: recipe for target '3rdparty/CMakeFiles/3rdparty-ovito.dir/all' failed
make[1]: *** [3rdparty/CMakeFiles/3rdparty-ovito.dir/all] Error 2
Makefile:128: recipe for target 'all' failed
make: *** [all] Error 2
traversaro commented 6 years ago

For anyone having this problem, you can workaround by downloading the YCM version that does not download anything and build that one, i.e. https://github.com/robotology/ycm/releases/download/v0.6.0/ycm-0.6.0.dev-offline.tar.gz .

traversaro commented 6 years ago

See https://twitter.com/gitlabstatus/status/1006574140038533120 .

traversaro commented 6 years ago

Related issue: https://github.com/robotology/ycm/issues/105 .

traversaro commented 6 years ago

Another instance of Gitlab downtime: https://github.com/robotology/ycm/issues/113 .

traversaro commented 6 years ago

Gitlab outage fixed, see post-mortem at https://gitlab.com/gitlab-com/infrastructure/issues/4380 .

traversaro commented 6 years ago

The issue was fixed on the Gitlab side. For the long term solution (or at least mitigation) for this kind of problems, see https://github.com/robotology/ycm/issues/105 .