webots_ros2 icon indicating copy to clipboard operation
webots_ros2 copied to clipboard

Build Issues on ROS 2 Buildfarm for Rolling

Open Yadunund opened this issue 7 months ago • 0 comments

Rolling binary jobs have been failing: https://build.ros2.org/view/Rbin_uJ64/job/Rbin_uJ64__webots_ros2_control__ubuntu_jammy_amd64__binary/233/console

Specifically with the error

15:07:43 /tmp/binarydeb/ros-rolling-webots-ros2-control-2023.1.1/src/Ros2Control.cpp:86:59: error: ‘__gnu_cxx::__alloc_traits<std::allocator<hardware_interface::HardwareInfo>, hardware_interface::HardwareInfo>::value_type’ {aka ‘struct hardware_interface::HardwareInfo’} has no member named ‘hardware_class_type’
15:07:43    86 |       const std::string hardwareType = controlHardware[i].hardware_class_type;
15:07:43       |                                                           ^~~~~~~~~~~~~~~~~~~
15:07:43 /tmp/binarydeb/ros-rolling-webots-ros2-control-2023.1.1/src/Ros2Control.cpp:101:24: error: ‘class hardware_interface::ResourceManager’ has no member named ‘activate_all_components’
15:07:43   101 |       resourceManager->activate_all_components();
15:07:43       |                        ^~~~~~~~~~~~~~~~~~~~~~~
15:07:43 make[4]: *** [CMakeFiles/webots_ros2_control.dir/build.make:79: CMakeFiles/webots_ros2_control.dir/src/Ros2Control.cpp.o] Error 1

Likely because hardware_interface was bumped to major version 4 on Rolling and hence control flow here goes wrong.

As a result we are unable to perform a sync for Rolling.

Yadunund avatar Jan 16 '24 13:01 Yadunund