Skip to content

Policy CMP0167 is not set #2906

Description

@christophfroehlich

🐞 Bug

I get this warning when I build a ROS package with pinocchio dependency on Ubuntu Resolute

It seems that something is missing with #2347

Reproduction steps

mkdir src
git clone https://github.com/ros-controls/kinematics_interface.git src
rosdep install -riy --from-path src
colcon build --packages-up-to kinematics_interface_pinocchio

Relevant log output / Error message

CMake Warning (dev) at /opt/ros/rolling/lib/x86_64-linux-gnu/cmake/eigenpy/boost.cmake:148 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  /opt/ros/rolling/lib/x86_64-linux-gnu/cmake/eigenpy/eigenpyConfig.cmake:149 (SEARCH_FOR_BOOST_PYTHON)
  /usr/share/cmake-4.2/Modules/CMakeFindDependencyMacro.cmake:93 (find_package)
  /usr/share/cmake-4.2/Modules/CMakeFindDependencyMacro.cmake:125 (__find_dependency_common)
  /opt/ros/rolling/lib/x86_64-linux-gnu/cmake/pinocchio/pinocchioConfig.cmake:184 (find_dependency)
  CMakeLists.txt:18 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

System Info

cmake version 4.2.3
ros-rolling-eigenpy/resolute 3.12.0
ros-rolling-coal/resolute 3.0.3-2
ros-rolling-pinocchio/resolute 4.0.0

Checklist

  • I have checked that all my packages are installed from the same package manager (conda-forge, Nix, PyPI, robotpkg, ROS, ...)
  • I have checked that there is no similar issue/discussion in the repo
  • I have provided a minimal and working example to reproduce the bug
  • I have used Markdown code blocks for both code and stack traces/compiler errors.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions