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

Ubuntu 20.04 GitHub Actions CI with apt dependencies on GHA images (not vanilla docker) fails #1671

Closed
traversaro opened this issue Jul 11, 2024 · 1 comment · Fixed by #1672 or #1674

Comments

@traversaro
Copy link
Member

Error:

CMake Error at build/_deps/ycm-src/cmake-next/proposed/ExternalProject.cmake:3223 (_ep_parse_arguments):
  _ep_parse_arguments Function invoked with incorrect arguments for function
  named: _ep_parse_arguments
Call Stack (most recent call first):
  build/_deps/ycm-src/modules/YCMEPHelper.cmake:1051 (ExternalProject_Add)
  cmake/Buildbipedal-locomotion-framework.cmake:75 (ycm_ep_helper)
  build/_deps/ycm-src/modules/FindOrBuildPackage.cmake:205 (include)
  cmake/RobotologySuperbuildLogic.cmake:124 (find_or_build_package)
  CMakeLists.txt:67 (include)

This is probably due to a CMake update of the CMake binary used by the GHA images. This is not particularly problematic as almost no users use that, but it probably indicate that we will soon have a regression somewhere else.

@traversaro
Copy link
Member Author

Actually both conda and gha 20.04 apt images use 3.30, but the failure is just on gha 20.04 apt images. Probably some kind of strange interaction between:

  • CMake 3.30 installed in /usr/local
  • CMake 3.16 installed by apt in /usr
  • Local YCM fork of ExternalProject in cmake-next/proposed/ExternalProject

I wonder if perhaps it could be the time to finally tackle robotology/ycm-cmake-modules#50 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment