From 2115efe82898ddd0fbe79a51a3f2d3e2b0751391 Mon Sep 17 00:00:00 2001 From: Aarav Gupta Date: Wed, 25 Feb 2026 17:53:58 +0530 Subject: [PATCH 1/4] Fix rolling builds A new package was added to `rcl_logging` called `rcl_logging_implementation`. It depends on `rcpputils`, which I wasn't able to get building. Therefore, we are skipping building that package using `COLCON_IGNORE`. https://github.com/ros2/rclc needs to be pinned to an older version until https://github.com/ros2/rcl/pull/1269 is added in https://github.com/micro-ROS/rcl. https://github.com/ros2/rosidl needs to be pinned to an older version due to breaking changes made with https://github.com/ros2/rosidl/pull/941 --- libmicroros.mk | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/libmicroros.mk b/libmicroros.mk index 651e49f2..12911178 100644 --- a/libmicroros.mk +++ b/libmicroros.mk @@ -60,11 +60,17 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b ros2 https://github.com/eProsima/micro-CDR src/micro-CDR; \ git clone -b rolling https://github.com/micro-ROS/rcl src/rcl; \ git clone -b rolling https://github.com/ros2/rclc src/rclc; \ + cd src/rclc; \ + git reset --hard 2283a6d76c3f41a964d03610a3305166d8c2caaa; \ + cd ../..; \ git clone -b rolling https://github.com/micro-ROS/rcutils src/rcutils; \ git clone -b rolling https://github.com/micro-ROS/micro_ros_msgs src/micro_ros_msgs; \ git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport src/rosidl_typesupport; \ git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds; \ git clone -b rolling https://github.com/ros2/rosidl src/rosidl; \ + cd src/rosidl; \ + git reset --hard 2e9ab2d70097cbfa5bb48ae4486a8a1c15a3936c; \ + cd ../..; \ git clone -b rolling https://github.com/ros2/rosidl_dynamic_typesupport src/rosidl_dynamic_typesupport; \ git clone -b rolling https://github.com/ros2/rmw src/rmw; \ git clone -b rolling https://github.com/ros2/rcl_interfaces src/rcl_interfaces; \ @@ -78,10 +84,10 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b rolling https://github.com/ros2/ros2_tracing src/ros2_tracing; \ git clone -b rolling https://github.com/micro-ROS/micro_ros_utilities src/micro_ros_utilities; \ git clone -b rolling https://github.com/ros2/rosidl_core src/rosidl_core; \ - touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \ - touch src/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE; \ - touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \ - touch src/rclc/rclc_examples/COLCON_IGNORE; \ + touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \ + touch src/rcl_logging/rcl_logging_implementation/COLCON_IGNORE; \ + touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \ + touch src/rclc/rclc_examples/COLCON_IGNORE; \ touch src/rcl/rcl_yaml_param_parser/COLCON_IGNORE; \ touch src/ros2_tracing/test_tracetools/COLCON_IGNORE; \ touch src/ros2_tracing/lttngpy/COLCON_IGNORE; \ From 8dbd63ecec3a4912bab7f5987ab8c6692f14fcb1 Mon Sep 17 00:00:00 2001 From: Aarav Gupta Date: Tue, 28 Apr 2026 16:56:19 +0530 Subject: [PATCH 2/4] Fix indentation --- libmicroros.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libmicroros.mk b/libmicroros.mk index 12911178..293c4163 100644 --- a/libmicroros.mk +++ b/libmicroros.mk @@ -84,10 +84,10 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b rolling https://github.com/ros2/ros2_tracing src/ros2_tracing; \ git clone -b rolling https://github.com/micro-ROS/micro_ros_utilities src/micro_ros_utilities; \ git clone -b rolling https://github.com/ros2/rosidl_core src/rosidl_core; \ - touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \ - touch src/rcl_logging/rcl_logging_implementation/COLCON_IGNORE; \ - touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \ - touch src/rclc/rclc_examples/COLCON_IGNORE; \ + touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \ + touch src/rcl_logging/rcl_logging_implementation/COLCON_IGNORE; \ + touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \ + touch src/rclc/rclc_examples/COLCON_IGNORE; \ touch src/rcl/rcl_yaml_param_parser/COLCON_IGNORE; \ touch src/ros2_tracing/test_tracetools/COLCON_IGNORE; \ touch src/ros2_tracing/lttngpy/COLCON_IGNORE; \ From 85eef9c08123e28f52bc3afc0b4eb10feff3bfe8 Mon Sep 17 00:00:00 2001 From: Narukara Date: Thu, 30 Apr 2026 10:58:32 +0800 Subject: [PATCH 3/4] add comments and fix tabs --- libmicroros.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libmicroros.mk b/libmicroros.mk index 293c4163..93fa883c 100644 --- a/libmicroros.mk +++ b/libmicroros.mk @@ -60,6 +60,8 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b ros2 https://github.com/eProsima/micro-CDR src/micro-CDR; \ git clone -b rolling https://github.com/micro-ROS/rcl src/rcl; \ git clone -b rolling https://github.com/ros2/rclc src/rclc; \ + # https://github.com/ros2/rclc needs to be pinned to an older version until + # ros2/rcl#1269 is added in https://github.com/micro-ROS/rcl. cd src/rclc; \ git reset --hard 2283a6d76c3f41a964d03610a3305166d8c2caaa; \ cd ../..; \ @@ -68,6 +70,7 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport src/rosidl_typesupport; \ git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds; \ git clone -b rolling https://github.com/ros2/rosidl src/rosidl; \ + # https://github.com/ros2/rosidl needs to be pinned to an older version due to breaking changes made with ros2/rosidl#941. cd src/rosidl; \ git reset --hard 2e9ab2d70097cbfa5bb48ae4486a8a1c15a3936c; \ cd ../..; \ @@ -84,10 +87,10 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b rolling https://github.com/ros2/ros2_tracing src/ros2_tracing; \ git clone -b rolling https://github.com/micro-ROS/micro_ros_utilities src/micro_ros_utilities; \ git clone -b rolling https://github.com/ros2/rosidl_core src/rosidl_core; \ - touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \ - touch src/rcl_logging/rcl_logging_implementation/COLCON_IGNORE; \ - touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \ - touch src/rclc/rclc_examples/COLCON_IGNORE; \ + touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \ + touch src/rcl_logging/rcl_logging_implementation/COLCON_IGNORE; \ + touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \ + touch src/rclc/rclc_examples/COLCON_IGNORE; \ touch src/rcl/rcl_yaml_param_parser/COLCON_IGNORE; \ touch src/ros2_tracing/test_tracetools/COLCON_IGNORE; \ touch src/ros2_tracing/lttngpy/COLCON_IGNORE; \ From 655837d6ec6ad8dc056b2aec3e2610fc5aead046 Mon Sep 17 00:00:00 2001 From: Narukara Date: Thu, 30 Apr 2026 14:39:36 +0800 Subject: [PATCH 4/4] fix comments --- libmicroros.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libmicroros.mk b/libmicroros.mk index 93fa883c..79540ed7 100644 --- a/libmicroros.mk +++ b/libmicroros.mk @@ -47,6 +47,10 @@ $(EXTENSIONS_DIR)/micro_ros_dev/install: touch src/ament_cmake_ros/rmw_test_fixture/COLCON_IGNORE; \ colcon build --cmake-args -DBUILD_TESTING=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=gcc; +# https://github.com/ros2/rclc needs to be pinned to an older version until +# ros2/rcl#1269 is added in https://github.com/micro-ROS/rcl. +# https://github.com/ros2/rosidl needs to be pinned to an older version due to +# breaking changes made with ros2/rosidl#941. $(EXTENSIONS_DIR)/micro_ros_src/src: rm -rf micro_ros_src; \ mkdir micro_ros_src; cd micro_ros_src; \ @@ -60,8 +64,6 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b ros2 https://github.com/eProsima/micro-CDR src/micro-CDR; \ git clone -b rolling https://github.com/micro-ROS/rcl src/rcl; \ git clone -b rolling https://github.com/ros2/rclc src/rclc; \ - # https://github.com/ros2/rclc needs to be pinned to an older version until - # ros2/rcl#1269 is added in https://github.com/micro-ROS/rcl. cd src/rclc; \ git reset --hard 2283a6d76c3f41a964d03610a3305166d8c2caaa; \ cd ../..; \ @@ -70,7 +72,6 @@ $(EXTENSIONS_DIR)/micro_ros_src/src: git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport src/rosidl_typesupport; \ git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds; \ git clone -b rolling https://github.com/ros2/rosidl src/rosidl; \ - # https://github.com/ros2/rosidl needs to be pinned to an older version due to breaking changes made with ros2/rosidl#941. cd src/rosidl; \ git reset --hard 2e9ab2d70097cbfa5bb48ae4486a8a1c15a3936c; \ cd ../..; \