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

Build Issues on ROS 2 Buildfarm for Rolling #881

Open
Yadunund opened this issue Jan 16, 2024 · 0 comments · Fixed by #882
Open

Build Issues on ROS 2 Buildfarm for Rolling #881

Yadunund opened this issue Jan 16, 2024 · 0 comments · Fixed by #882
Assignees
Labels
bug Something isn't working

Comments

@Yadunund
Copy link
Member

Yadunund commented Jan 16, 2024

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.

@omichel omichel added the bug Something isn't working label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants