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

CI fails because icub-contrib-common is looking for an exact match of the YARP version #4

Closed
xEnVrE opened this issue Mar 26, 2023 · 2 comments · Fixed by #5
Closed
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@xEnVrE
Copy link
Owner

xEnVrE commented Mar 26, 2023

The CI keeps failing with this error:

Cloning into 'icub-contrib-common'...
Note: switching to 'v1.19.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at cd63526 added official maintainer
CMake Error at CMakeLists.txt:8 (find_package):
  Could not find a configuration file for package "YARP" that is compatible
  with requested version "3.3.2".

  The following configuration files were considered but not accepted:

    /home/runner/work/robots-io/robots-io/lib/cmake/YARP/YARPConfig.cmake, version: 3.7.2 (64bit)



-- Configuring incomplete, errors occurred!

That is strange as icub-contrib-common is not searching for an exact match:

https://github.com/robotology/icub-contrib-common/blob/cd6352688c64aadc0a044925532d08fbcb688886/CMakeLists.txt#L8

@xEnVrE xEnVrE added bug Something isn't working help wanted Extra attention is needed labels Mar 26, 2023
@traversaro
Copy link
Contributor

It is a CMake 3.26.0 regression, fixed in CMake 3.26.1, see robotology/robotology-superbuild#1366 for more details.

@xEnVrE
Copy link
Owner Author

xEnVrE commented Mar 26, 2023

Thanks @traversaro

xEnVrE added a commit that referenced this issue Mar 26, 2023
xEnVrE added a commit that referenced this issue Mar 26, 2023
@xEnVrE xEnVrE closed this as completed in #5 Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants