Missing stdbool.h import is breaking downstream C clients
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
Research direction
Start with rmw/time.h and the C reproducer shown in the issue; inspect the declarations and included headers involved in rmw_time_equal and bool. Build the minimal Jazzy colcon workspace to reproduce the downstream failure, then confirm that the C translation unit including rmw/time.h builds successfully.
Written by the indexing model from the issue text.
Description
Generated by Generative AI
Diagnosed by Claude Opus 4.6
Operating System:
ubuntu 22.04
ROS version or commit hash:
jazzy
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
No response
'ros2 doctor --report' output
No response
Steps to reproduce issue
/* C translation unit that includes rmw/time.h */
#include "rmw/time.h"
void test_func(void) {
rmw_time_t a = {0, 0};
rmw_time_t b = {0, 0};
bool result = rmw_time_equal(a, b);
(void)result;
}
- Create a minimal colcon workspace with rcutils:jazzy and rmw:jazzy (unfixed) and the above C file in a test C package
- colcon build in the workspace reproduced the above error
- Changing the rmw package to include the fix in this MR allowed the build to succeed.
Expected behavior
Able to build rmw.
Actual behavior
Unable to build rmw
Additional information
I put up a PR with #423 but I'm guessing it's not getting visibility because of a missing bug report? Hoping that this is the missing link. I'm hoping the patch makes it in before a new apt package is released to downstream consumers.
- Dominant language
- C
- Stars
- 121
- Forks
- 89
- Avg merge
- 17h 40m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/rmw
-
Delete ament_export_include_directories() and ament_export_libraries() callsMay be free again @EkenoSamson claimed this 62 days ago, and no pull request is open. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Use ament_cmake_ros_core::ament_ros_defaults instead of setting CMAKE_C_STANDARD or CMAKE_CXX_STANDARDPossibly taken @EkenoSamson claimed this 62 days ago. Opengood first issue
Difficulty 3/5 1-2 days Newbie friendliness 74/100
-
Service request timeouts missing in RCL → RMW interactionMay be free again @JEnoch claimed this 420 days ago, and no pull request is open. Openenhancement
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yugabyte/yugabyte-db#39462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libreswan/libreswan#3185 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days