Skip to content

Commit d0d9d30

Browse files
lucascolleyclaude
andauthored
ros_gz_bridge, ros_gz_image: add libabseil and libprotobuf to host (#251)
* ros_gz_bridge, ros_gz_image: add libabseil and libprotobuf to host Both link libprotobuf and libabseil directly (via gz-msgs' generated headers) but only get them transitively through gz_msgs_vendor, so neither the pins nor their run_exports apply. jazzy's _31 builds link libabseil 20260817 without depending on it; installed next to libgz-sim8 (only available for 20260526), parameter_bridge and image_bridge fail with libabsl_hash.so.2608.0.0 not found. Rebuild both in jazzy (build_number 32). humble, lyrical and rolling miss the dependency too but are not broken today, so they pick it up on their next rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * add host exports note * sort --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 97fe773 commit d0d9d30

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎distros/jazzy/pkg_additional_info.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,9 @@ moveit_core: # bullet rosdep mapped to bullet-cpp (no pybullet)
166166
build_number: 32
167167
rmf_utils: # its DLL moved from lib to bin (Windows)
168168
build_number: 32
169+
ros_gz_bridge: # libabseil/libprotobuf in host: _31 links libabseil 20260817 without depending on it
170+
build_number: 32
171+
ros_gz_image: # same as ros_gz_bridge
172+
build_number: 32
169173
tf2_bullet: # bullet rosdep mapped to bullet-cpp (no pybullet)
170174
build_number: 32

‎shared/patch/dependencies.yaml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,17 @@ pybind11_vendor:
148148
add_run: ["pybind11"]
149149
rmw_zenoh_cpp:
150150
add_host: ["libzenohc", "libzenohcxx"]
151+
ros_gz_bridge:
152+
# Links libprotobuf and libabseil directly (through gz-msgs' generated headers),
153+
# but only gets them transitively via gz_msgs_vendor, so neither the pins nor
154+
# their run_exports apply: a build could link a newer libabseil than the one
155+
# installed next to it (missing libabsl_*.so.<version> at runtime).
156+
# NOTE: ideally this would be resolved by adding host exports to gz_msgs_vendor
157+
# instead, but that would require https://github.com/conda/ceps/issues/77.
158+
add_host: ["libabseil", "libprotobuf"]
159+
ros_gz_image:
160+
# Same as ros_gz_bridge.
161+
add_host: ["libabseil", "libprotobuf"]
151162
ros_ign_gazebo_demos:
152163
add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"]
153164
rosx_introspection:

0 commit comments

Comments
 (0)