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

rclc_examples 3.0.5 failing to build on ROS 2 build farm #235

Closed
nuclearsandwich opened this issue Jan 17, 2022 · 5 comments
Closed

rclc_examples 3.0.5 failing to build on ROS 2 build farm #235

nuclearsandwich opened this issue Jan 17, 2022 · 5 comments
Assignees

Comments

@nuclearsandwich
Copy link
Member

Since the rebuild on 2022-01-15 the rclc_examples package is no longer building.

Since previous builds of rclc_examples version 3.0.5-1 succeeded it is probable that this build failure is the result of changes in dependencies.

Here is an excerpt from the build log for the most recent AMD64 failure:

[100%] Linking C executable example_action_server
/usr/bin/cmake -E cmake_link_script CMakeFiles/example_action_server.dir/link.txt --verbose=1
/usr/lib/ccache/cc -g -O2 -fdebug-prefix-map=/tmp/binarydeb/ros-rolling-rclc-examples-3.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   CMakeFiles/example_action_server.dir/src/example_action_server.c.o  -o example_action_server  -Wl,-rpath,/opt/ros/rolling/lib: /opt/ros/rolling/lib/librclc.so /opt/ros/rolling/lib/libexample_interfaces__rosidl_typesupport_introspection_c.so /opt/ros/rolling/lib/libexample_interfaces__rosidl_typesupport_introspection_cpp.so /opt/ros/rolling/lib/libexample_interfaces__rosidl_typesupport_cpp.so /opt/ros/rolling/lib/libexample_interfaces__rosidl_generator_py.so /opt/ros/rolling/lib/librcl_action.so /opt/ros/rolling/lib/librcl.so /opt/ros/rolling/lib/librcl_interfaces__rosidl_typesupport_introspection_c.so /opt/ros/rolling/lib/librcl_interfaces__rosidl_typesupport_introspection_cpp.so /opt/ros/rolling/lib/librcl_interfaces__rosidl_typesupport_cpp.so /opt/ros/rolling/lib/librcl_interfaces__rosidl_generator_py.so /opt/ros/rolling/lib/librcl_interfaces__rosidl_generator_c.so /opt/ros/rolling/lib/librcl_interfaces__rosidl_typesupport_c.so /opt/ros/rolling/lib/librcl_yaml_param_parser.so /opt/ros/rolling/lib/libyaml.so /opt/ros/rolling/lib/librmw_implementation.so /opt/ros/rolling/lib/librcl_logging_spdlog.so /opt/ros/rolling/lib/librcl_logging_interface.so /opt/ros/rolling/lib/libtracetools.so /opt/ros/rolling/lib/librmw.so /opt/ros/rolling/lib/librosidl_runtime_c.so /opt/ros/rolling/lib/libexample_interfaces__rosidl_generator_c.so /opt/ros/rolling/lib/libexample_interfaces__rosidl_typesupport_c.so /opt/ros/rolling/lib/libaction_msgs__rosidl_typesupport_introspection_c.so /opt/ros/rolling/lib/libaction_msgs__rosidl_typesupport_introspection_cpp.so /opt/ros/rolling/lib/libaction_msgs__rosidl_typesupport_cpp.so /opt/ros/rolling/lib/libaction_msgs__rosidl_generator_py.so /opt/ros/rolling/lib/libaction_msgs__rosidl_generator_c.so /opt/ros/rolling/lib/libaction_msgs__rosidl_typesupport_c.so /opt/ros/rolling/lib/libbuiltin_interfaces__rosidl_typesupport_introspection_c.so /opt/ros/rolling/lib/libbuiltin_interfaces__rosidl_typesupport_introspection_cpp.so /opt/ros/rolling/lib/libbuiltin_interfaces__rosidl_typesupport_cpp.so /opt/ros/rolling/lib/libunique_identifier_msgs__rosidl_typesupport_introspection_c.so /opt/ros/rolling/lib/libunique_identifier_msgs__rosidl_typesupport_introspection_cpp.so /opt/ros/rolling/lib/librosidl_typesupport_introspection_cpp.so /opt/ros/rolling/lib/librosidl_typesupport_introspection_c.so /opt/ros/rolling/lib/libunique_identifier_msgs__rosidl_typesupport_cpp.so /opt/ros/rolling/lib/librosidl_typesupport_cpp.so /opt/ros/rolling/lib/libbuiltin_interfaces__rosidl_generator_py.so /opt/ros/rolling/lib/libbuiltin_interfaces__rosidl_generator_c.so /opt/ros/rolling/lib/libbuiltin_interfaces__rosidl_typesupport_c.so /opt/ros/rolling/lib/libunique_identifier_msgs__rosidl_generator_py.so /opt/ros/rolling/lib/libunique_identifier_msgs__rosidl_generator_c.so /opt/ros/rolling/lib/libunique_identifier_msgs__rosidl_typesupport_c.so /opt/ros/rolling/lib/librosidl_typesupport_c.so /opt/ros/rolling/lib/librosidl_runtime_c.so /opt/ros/rolling/lib/librcpputils.so /opt/ros/rolling/lib/librcutils.so -ldl /usr/lib/x86_64-linux-gnu/libpython3.8.so -Wl,-rpath-link,/opt/ros/rolling/lib 
/usr/bin/ld: CMakeFiles/example_action_server.dir/src/example_action_server.c.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[4]: *** [CMakeFiles/example_action_server.dir/build.make:136: example_action_server] Error 1
make[4]: Leaving directory '/tmp/binarydeb/ros-rolling-rclc-examples-3.0.5/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/tmp/binarydeb/ros-rolling-rclc-examples-3.0.5/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:425: CMakeFiles/example_action_server.dir/all] Error 2
make[2]: *** [Makefile:144: all] Error 2
@Acuadros95
Copy link
Collaborator

I could not replicate this on our CI: #237
What are we missing @JanStaschulat ?

@JanStaschulat
Copy link
Contributor

JanStaschulat commented Jan 19, 2022

@nuclearsandwich @Acuadros95 I am not aware, that we made any changes to this package. The last commit or PR was in December 2021.

The error message

15:14:09 /usr/bin/ld: CMakeFiles/example_action_server.dir/src/example_action_server.c.o: undefined reference to symbol 'pthread_create@@GLIBC_2.17'

maybe is due to changes in some upstream dependencies?

See https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuild.ros2.org%2Fjob%2FRbin_ufv8_uFv8__rclc_examples__ubuntu_focal_arm64__binary%2F154%2Fdisplay%2Fredirect&data=04%7C01%7Cjan.staschulat%40de.bosch.com%7C014725c5150f4e65296e08d9d87cbdce%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637778852583973796%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vNyWUwRW9EbrlsIuk5AcKg5uOcr5h%2BTbNdVIxB2q5zc%3D&reserved=0

@JanStaschulat JanStaschulat self-assigned this Jan 25, 2022
@JanStaschulat JanStaschulat added the in progress Actively being worked on (Kanban column) label Jan 25, 2022
@JanStaschulat
Copy link
Contributor

created a new bloom release with a fix
ros/rosdistro#31917

@ros-discourse
Copy link

This issue has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/preparing-for-final-rolling-sync-on-ubuntu-focal-2022-01-25/23920/3

@JanStaschulat JanStaschulat removed the in progress Actively being worked on (Kanban column) label Jan 26, 2022
@JanStaschulat
Copy link
Contributor

PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants