Closed b1n-ch1kn closed 1 year ago
Can you try mamba install ros-galactic-rosidl-generator-c=2.2.1
?
Amazing, that worked. Thanks!
Ok. Seems like we need to rebuild the Galactic packages in this case.
@wolfv what do you think about removing the functionality that automatically builds the latest versions of packages? I think it works to our disadvantage as seen in this issue.
I deleted the version 2.2.2 of this package, and we don't generate new versions anymore automatically, so this shouldn't be an issue anymore.
After installing a new Robostack env for Galactic, building custom msgs that rely on ROS default msgs (like
std_msgs
andgeometry_msgs
) are unable to build correctly.Errors
It finishes building but then packages that require
driverless_msgs
will not run, with errorrosidl_generator_py.import_type_support_impl.UnsupportedTypeSupport: Could not import 'rosidl_typesupport_c' for package 'driverless_msgs'
Source file
I looked into the source files for the default msgs and the methods that are referenced in the build errors, like
std_msgs__msg__Header__copy
, are missing from the included files.include/std_msgs/std_msgs/msg/detail/header__functions.h
Old source code
On my second machine (a Galactic environment from about 6 months prior), I saw that it contained the missing functions in the default msgs.
I looked through commit logs and couldn't work out what would have broken it between that timespan. This has occured on all platforms since I began test installing new Galactic environments about a month ago. It does not occur with new Humble environments however, so for any new environments we've installed Humble running on Ubuntu 20.04 in the interum (no compatibility issues so far). Let me know if you need more info :)