moveit / moveit2

:robot: MoveIt for ROS 2
https://moveit.ai/
BSD 3-Clause "New" or "Revised" License
982 stars 492 forks source link

liboctomap-dev used by FCL is ABI-incompatible with ros-*-octomap package #2862

Open henningkayser opened 3 weeks ago

henningkayser commented 3 weeks ago

There is an ABI conflict between the octomap versions provided by Ubuntu and by the rosdistro package. liboctomap-dev is currently at 1.9.7 on Ubuntu jammy and noble and the ros-[jazzy/rolling]-octomap version is at 1.10, ros-humble-octomap is at 1.9.8. Linking both version obviously results in undefined behavior and segfaults.

Until this conflict is resolved, we are enforcing the system version liboctomap-dev by depending on libfcl-dev (only rosdep target that depends on liboctomap-dev, currently), and by specifying the version in the CMakeLists.txt of all packages in the build chain. A proper fix would require one of the following options:

henningkayser commented 2 weeks ago

liboctomap-dev is being added as rosdep key: https://github.com/ros/rosdistro/pull/41623