Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YCM boostrap is broken #312

Closed
traversaro opened this issue Dec 4, 2019 · 4 comments · Fixed by robotology/ycm-cmake-modules#300
Closed

YCM boostrap is broken #312

traversaro opened this issue Dec 4, 2019 · 4 comments · Fixed by robotology/ycm-cmake-modules#300

Comments

@traversaro
Copy link
Member

Even if we use a fixed YCM commit for the boostrap, for some reason the YCM boostrap is broken.

The problem is the following:

straversaro@iiticublap103:~/src/debug/robotology-superbuild/build$ cmake -DYCM_BOOTSTRAP_VERBOSE:BOOL=ON .
-- YCM not found. Bootstrapping it.
-- Downloading YCMEPHelper.cmake - Attempt 1 of 3
-- Downloading YCMEPHelper.cmake - SUCCESS
-- Downloading StyleGITHUB.cmake - Attempt 1 of 3
-- Downloading StyleGITHUB.cmake - SUCCESS
-- Performing download step (git clone) for 'YCM'
-- Avoiding repeated git clone, stamp file is up to date: '/home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/CMakeFiles/YCMStamp/YCM-gitclone-lastrun.txt'
-- Performing update step for 'YCM'
-- Performing configure step for 'YCM'
Not searching for unused variables given on the command line.
-- YCM Version: 0.10.4 (0.10.4)
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.

CMake Warning (dev) at cmake-next/CMakeLists.txt:312 (message):
  CMake version is 3.15.4.  You should update this.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM
-- Performing uninstall step for 'YCM'
Uninstall the project...
CMake Warning at cmake_uninstall.cmake:2 (message):
  Cannot find install manifest:
  "/home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/install_manifest.txt"


Built target uninstall
-- Performing build step for 'YCM'
[  2%] Files from modules installed in CMake build directory
[  2%] Built target modules
[  5%] Files from find-modules installed in CMake build directory
[  5%] Built target find-modules
[  8%] Files from cmake-proposed installed in CMake build directory
[  8%] Built target cmake-proposed
[ 13%] Built target 3rdparty-uselatex
[ 21%] Built target 3rdparty-cmrc
[ 24%] Files from 3rdparty-qgv installed in CMake build directory
[ 24%] Built target 3rdparty-qgv
[ 27%] Files from OVITO (The Open Visualization Tool) git repository (ref 8689fcb1fdd2e8dc748e76d54d3b77a3f87d384c) downloaded
[ 32%] Built target 3rdparty-ovito
[ 35%] Downloading file cmake/FindEigen3.cmake from Eigen mercurial repository (ref 844c47cfd8d309fe4db5cc21dd7368759d0a7a00)
-- Cannot download file https://bitbucket.org/eigen/eigen/raw/844c47cfd8d309fe4db5cc21dd7368759d0a7a00/cmake/FindEigen3.cmake
  Network problem or not existing file.
  CMake Error at /home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/ycm_download_cmake_FindEigen3_cmake_real.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/downloads/cmake/FindEigen3.cmake]
      expected hash: [5ad2b8e1ddbd9f0468b21e9d5343d05eda6b9dd1]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [22;"HTTP response code said error"].
  Retrying.

-- Cannot download file https://bitbucket.org/eigen/eigen/raw/844c47cfd8d309fe4db5cc21dd7368759d0a7a00/cmake/FindEigen3.cmake
  Network problem or not existing file.
  CMake Error at /home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/ycm_download_cmake_FindEigen3_cmake_real.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/downloads/cmake/FindEigen3.cmake]
      expected hash: [5ad2b8e1ddbd9f0468b21e9d5343d05eda6b9dd1]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [22;"HTTP response code said error"].
  Retrying.

CMake Error at /home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/ycm_download_cmake_FindEigen3_cmake.cmake:30 (message):
  Cannot download file
  https://bitbucket.org/eigen/eigen/raw/844c47cfd8d309fe4db5cc21dd7368759d0a7a00/cmake/FindEigen3.cmake


    Network problem or not existing file.
    CMake Error at /home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/ycm_download_cmake_FindEigen3_cmake_real.cmake:9 (file):
    file DOWNLOAD HASH mismatch

  

      for file: [/home/straversaro/src/debug/robotology-superbuild/build/robotology/YCM/3rdparty/CMakeFiles/3rdparty-eigen.dir/downloads/cmake/FindEigen3.cmake]
        expected hash: [5ad2b8e1ddbd9f0468b21e9d5343d05eda6b9dd1]
          actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
               status: [22;"HTTP response code said error"]


3rdparty/CMakeFiles/3rdparty-eigen.dir/build.make:90: recipe for target '3rdparty/eigen3/cmake/FindEigen3.cmake' failed
make[2]: *** [3rdparty/eigen3/cmake/FindEigen3.cmake] Error 1
CMakeFiles/Makefile2:1235: recipe for target '3rdparty/CMakeFiles/3rdparty-eigen.dir/all' failed
make[1]: *** [3rdparty/CMakeFiles/3rdparty-eigen.dir/all] Error 2
Makefile:128: recipe for target 'all' failed
make: *** [all] Error 2
CMake Error at build/CMakeFiles/YCMEPHelper.cmake:1408 (message):
  Cannot build YCM
Call Stack (most recent call first):
  cmake/YCMBootstrap.cmake:114 (ycm_bootstrap)
  CMakeLists.txt:113 (include)


-- Configuring incomplete, errors occurred!
See also "/home/straversaro/src/debug/robotology-superbuild/build/CMakeFiles/CMakeOutput.log".
@traversaro
Copy link
Member Author

traversaro commented Dec 4, 2019

@traversaro
Copy link
Member Author

The problem is that Eigen migrated today to Gitlab, see http://eigen.tuxfamily.org/index.php?title=News:Migration_to_GitLab.com_scheduled_on_the_December_4th .

@traversaro
Copy link
Member Author

The problem is that the new repo at https://gitlab.com/libeigen/eigen is still down, see https://gitlab.com/libeigen/eigen .

@traversaro
Copy link
Member Author

I include the commit containing the fix in #307 , so that the issue is fixed at least for the master branch of the superbuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant