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

FindFFMPEG.cmake error #337

Closed randaz81 closed 4 years ago

randaz81 commented 4 years ago

The following error occurs on Ubuntu 20.04:

Step 57/149 : RUN cd ycm && mkdir build && cd build &&     cmake ..     -DCMAKE_BUILD_TYPE=$BUILD_TYPE &&     sudo make install
 ---> Running in bc6d0659a747
-- YCM Version: 0.11.20200430.3-20200430.3+git23d3b0b (0.11.20200430.3)
CMake Warning (dev) at find-modules/CMakeLists.txt:64 (message):
  A "FindGLUT.cmake" module already exists in CMAKE_ROOT.  Please remove it,
  or move it to proposed.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at find-modules/CMakeLists.txt:64 (message):
  A "FindGSL.cmake" module already exists in CMAKE_ROOT.  Please remove it,
  or move it to proposed.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at find-modules/CMakeLists.txt:64 (message):
  A "FindOpenGL.cmake" module already exists in CMAKE_ROOT.  Please remove
  it, or move it to proposed.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/user1/ycm/build
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
Scanning dependencies of target modules
[  2%] Files from modules installed in CMake build directory
[  2%] Built target modules
Scanning dependencies of target find-modules
[  5%] Files from find-modules installed in CMake build directory
[  5%] Built target find-modules
Scanning dependencies of target cmake-proposed
[  8%] Files from cmake-proposed installed in CMake build directory
[  8%] Built target cmake-proposed
Scanning dependencies of target 3rdparty-qt-gstreamer
[ 10%] Downloading file cmake/modules/FindGObject.cmake from qt-gstreamer git repository (robotology-dependency fork) (ref 383c41d310b14c328ab6d5d02f478f9cca182bfb)
[ 13%] Downloading file cmake/modules/COPYING-CMAKE-SCRIPTS from qt-gstreamer git repository (ref a0e95b202a72b6d9e48bd1949ab6811c0f3c91c3)
[ 16%] Downloading file cmake/modules/FindGLIB2.cmake from qt-gstreamer git repository (ref a0e95b202a72b6d9e48bd1949ab6811c0f3c91c3)
[ 18%] Downloading file cmake/modules/FindGStreamerPluginsBase.cmake from qt-gstreamer git repository (ref a0e95b202a72b6d9e48bd1949ab6811c0f3c91c3)
[ 21%] Downloading file cmake/modules/MacroFindGStreamerLibrary.cmake from qt-gstreamer git repository (ref a0e95b202a72b6d9e48bd1949ab6811c0f3c91c3)
[ 24%] Downloading file cmake/modules/FindGStreamer.cmake from qt-gstreamer git repository (robotology-dependency fork) (ref 383c41d310b14c328ab6d5d02f478f9cca182bfb)
[ 27%] Files from qt-gstreamer git repository (ref a0e95b202a72b6d9e48bd1949ab6811c0f3c91c3) downloaded
[ 27%] Built target 3rdparty-qt-gstreamer
Scanning dependencies of target 3rdparty-eigen
[ 29%] Downloading file cmake/FindEigen3.cmake from Eigen GitLab repository (ref a12b8a8c75ebef312509da643424951725519348)
[ 32%] Downloading file COPYING.BSD from Eigen GitLab repository (ref a12b8a8c75ebef312509da643424951725519348)
[ 35%] Files from Eigen GitLab repository (ref a12b8a8c75ebef312509da643424951725519348) downloaded
[ 35%] Built target 3rdparty-eigen
Scanning dependencies of target 3rdparty-qgv
[ 37%] Files from 3rdparty-qgv installed in CMake build directory
[ 37%] Built target 3rdparty-qgv
Scanning dependencies of target 3rdparty-cmrc
[ 40%] Downloading file LICENSE.txt from CMakeRC (A Standalone CMake-Based C++ Resource Compiler) git repository (ref 966a1a717715f4e57fb1de00f589dea1001b5ae6)
[ 43%] Downloading file CMakeRC.cmake from CMakeRC (A Standalone CMake-Based C++ Resource Compiler) git repository (ref 966a1a717715f4e57fb1de00f589dea1001b5ae6)
[ 45%] Files from CMakeRC (A Standalone CMake-Based C++ Resource Compiler) git repository (ref 966a1a717715f4e57fb1de00f589dea1001b5ae6) downloaded
[ 45%] Built target 3rdparty-cmrc
Scanning dependencies of target 3rdparty-cmake-wiki
[ 48%] Files from 3rdparty-cmake-wiki installed in CMake build directory
[ 48%] Built target 3rdparty-cmake-wiki
Scanning dependencies of target 3rdparty-vtk
[ 51%] Downloading file CMake/FindFFMPEG.cmake from VTK (Visualization Toolkit) git repository (ref v8.1.1)
-- Cannot download file https://gitlab.kitware.com/vtk/vtk/raw/v8.1.1/CMake/FindFFMPEG.cmake
  Network problem or not existing file.
  CMake Error at /home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/ycm_download_CMake_FindFFMPEG_cmake_real.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/downloads/CMake/FindFFMPEG.cmake]
      expected hash: [7a979800a51b0fd7af24be3ee88ea37309294695]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [7;"Couldn't connect to server"].
  Retrying.

-- Cannot download file https://gitlab.kitware.com/vtk/vtk/raw/v8.1.1/CMake/FindFFMPEG.cmake
  Network problem or not existing file.
  CMake Error at /home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/ycm_download_CMake_FindFFMPEG_cmake_real.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/downloads/CMake/FindFFMPEG.cmake]
      expected hash: [7a979800a51b0fd7af24be3ee88ea37309294695]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [7;"Couldn't connect to server"].
  Retrying.

CMake Error at /home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/ycm_download_CMake_FindFFMPEG_cmake.cmake:30 (message):
  Cannot download file
  https://gitlab.kitware.com/vtk/vtk/raw/v8.1.1/CMake/FindFFMPEG.cmake

    Network problem or not existing file.
    CMake Error at /home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/ycm_download_CMake_FindFFMPEG_cmake_real.cmake:9 (file):
    file DOWNLOAD HASH mismatch

      for file: [/home/user1/ycm/build/3rdparty/CMakeFiles/3rdparty-vtk.dir/downloads/CMake/FindFFMPEG.cmake]
        expected hash: [7a979800a51b0fd7af24be3ee88ea37309294695]
          actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
               status: [7;"Couldn't connect to server"]

make[2]: *** [3rdparty/CMakeFiles/3rdparty-vtk.dir/build.make:106: 3rdparty/vtk/CMake/FindFFMPEG.cmake] Error 1
make[1]: *** [CMakeFiles/Makefile2:1353: 3rdparty/CMakeFiles/3rdparty-vtk.dir/all] Error 2
make: *** [Makefile:129: all] Error 2
traversaro commented 4 years ago

I think that https://gitlab.kitware.com is temporary down, related issue: https://github.com/robotology/ycm/issues/105 .

pattacini commented 4 years ago

Yes, it's down: https://downforeveryoneorjustme.com/gitlab.kitware.com

Down For
gitlab.kitware.com down? Current problems and status. - DownFor
gitlab.kitware.com won't load? Or, having problems with gitlab.kitware.com? Check the status here and report any issues!
pattacini commented 4 years ago

@randaz81 try again as it should be ok now (see https://github.com/robotology/assistive-rehab/runs/740768520?check_suite_focus=true).

GitHub
robotology/assistive-rehab
Assistive and Rehabilitative Robotics. Contribute to robotology/assistive-rehab development by creating an account on GitHub.