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

A superbuild configured with -DNON_INTERACTIVE_BUILD:BOOL=ON can't be re-configured after the first configure #474

Open
traversaro opened this issue Jan 17, 2025 · 1 comment

Comments

@traversaro
Copy link
Member

processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter Development Development.Module Development.Embed 
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
-- Found SWIG: /usr/bin/swig4.0 (found version "4.0.2") found components: python 
-- YCM found in /home/icub/projects/robotology-superbuild/build/install/share/YCM.
-- Package YARP not found. Will be downloaded and built.
-- Package yarp-ros not found. Will be downloaded and built.
-- Package yarp-devices-ros not found. Will be downloaded and built.
-- Package ICUB not found. Will be downloaded and built.
-- Package ICUBcontrib not found. Will be downloaded and built.
-- Package icub-models not found. Will be downloaded and built.
-- Package ergocub-software not found. Will be downloaded and built.
-- Package robots-configuration not found. Will be downloaded and built.
-- Package icub-firmware-build not found. Will be downloaded and built.
-- Package yarp-device-xsensmt not found. Will be downloaded and built.
-- ROBOTOLOGY_SUPERBUILD_PYTHON_INSTALL_DIR_SETUP_SH: lib/python3/dist-packages
-- The following RUNTIME packages have been found:

 * Git

-- The following OPTIONAL packages have been found:

 * OpenCV

-- The following RECOMMENDED packages have been found:

 * YCM (required version >= 0.14.0), A collection of CMake modules and utilities for YARP and friends, <https://github.com/robotology/ycm>
   Used by the build system

-- The following REQUIRED packages have been found:

 * Python3
 * SWIG

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ROBOTOLOGY_ENABLE_DYNAMICS_FULL


-- Build files have been written to: /home/icub/projects/robotology-superbuild/build
[  1%] Performing update step for 'YCM'
HEAD is up to date.
CMake Error at /home/icub/projects/robotology-superbuild/build/src/YCM/CMakeFiles/YCMTmp/YCM-gitupdate.cmake:157 (message):
  Failed to update submodules in:
  '/home/icub/projects/robotology-superbuild/src/YCM/YCM'


gmake[2]: *** [CMakeFiles/YCM.dir/build.make:135: src/YCM/CMakeFiles/YCMStamp/YCM-update] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:874: CMakeFiles/YCM.dir/all] Error 2
gmake: *** [Makefile:101: all] Error 2
The command '/bin/sh -c cd ${PROJECTS_DIR} &&    cd robotology-superbuild &&    sudo ./scripts/install_apt_python_dependencies.sh &&    cd build &&      cmake .         -DNON_INTERACTIVE_BUILD:BOOL=ON         -DFETCHCONTENT_QUIET:BOOL=ON         -DROBOTOLOGY_ENABLE_CORE:BOOL=ON         -DROBOTOLOGY_USES_PYTHON:BOOL=ON         -DROBOTOLOGY_ENABLE_DYNAMICS_FULL:BOOL=ON         -DROBOTOLOGY_ENABLE_ICUB_HEAD:BOOL=ON         -DROBOTOLOGY_USES_GAZEBO=OFF         -DYCM_USE_CMAKE_PROPOSED:BOOL=ON         -DFETCHCONTENT_QUIET:BOOL=ON        &&    cmake --build . -- ${CMAKE_EXTRA_OPTIONS}' returned a non-zero code: 2

@traversaro
Copy link
Member Author

The solution is to remove the checks for git name and mail being set in #472, and then eventually remove the problematic option #473 .

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

No branches or pull requests

1 participant