Repository navigation
ros_gz_bridge, ros_gz_image: add libabseil and libprotobuf to host - #251
Conversation
|
osx-arm64 failures are conda-forge/yaml-feedstock#30 I think |
ABI check (linux-64)humble linux-64: 4 can be bumped on their own4 packages can be bumped on their own (compatible: 2, no libraries: 2)
Compared with the newest builds on https://conda.anaconda.org/robostack-humble/linux-64. jazzy linux-64: 6 can be bumped on their own6 packages can be bumped on their own (compatible: 2, no libraries: 4)
Compared with the newest builds on https://conda.anaconda.org/robostack-jazzy/linux-64. lyrical linux-64: 6 can be bumped on their own6 packages can be bumped on their own (compatible: 2, no libraries: 4)
Compared with the newest builds on https://repo.prefix.dev/robostack-lyrical/linux-64. rolling linux-64: 6 can be bumped on their own6 packages can be bumped on their own (compatible: 2, no libraries: 4)
Compared with the newest builds on https://repo.prefix.dev/robostack-rolling/linux-64. About this checkEach package this pull request built, compared with its newest released build (
Exported symbols are compared (the released packages are stripped, so struct layouts aren't); unchanged installed headers rule out layout and inline changes, changed ones are listed for review. Dependents to rebuild are the released ones linking to a changed library. A changed pin is part of the comparison. |
|
Can you please rebase @lucascolley |
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>
cc23804 to
6014b0a
Compare
|
done @Tobias-Fischer ! |
This is a fix for https://github.com/tartanroboticscollective/ros2-workshop-turtlebot3/blob/9821ab75ee336e136938a8e854327a1736c73bed/pixi.toml#L56-L58.
See the comments in the diff for the gist of the situation.
Not sure if there is an alternative fix that would automatically address this for all pacakges which depend on
ros2-gz-msgs-vendor?LLM text
ros_gz_bridgeandros_gz_imagelink libprotobuf and libabseil directly (through gz-msgs' generated headers), but only get them transitively viagz_msgs_vendor. Neither theconda_build_config.yamlpins nor therun_exportsof these libraries apply, so the built packages declare no dependency on them.jazzy is broken today
ros2-ros-gz-bridge/ros2-ros-gz-image1.0.25_31were built againstlibgz-msgs10 _6→libprotobuf 7.35.1 _4→ libabseil 20260817, instead of the pinned 20260526. At install timelibgz-sim8only exists for libabseil 20260526, so the solver pickslibprotobuf 7.35.1 _3(same version, older abseil), and:Reproduced with a linux-64 env of
ros2-ros-gz-bridge,ros2-ros-gz-image,ros2-ros-gz-simandros2-turtlebot3-gazebofrom robostack-jazzy.Fix
shared/patch/dependencies.yaml:add_host: ["libabseil", "libprotobuf"]for both packages, likeortools_vendor.libprotobufalone isn't enough: its run_export only pins the version, which is the same for both abseil builds.distros/jazzy/pkg_additional_info.yaml:build_number: 32for both.Tested locally (linux-64):
build-onefor both packages. The_32builds resolve libabseil 20260526 in host and declarelibabseil >=20260526.0,<20260527.0a0andlibprotobuf >=7.35.1,<7.35.2.0a0. Installed into the env above, none of the binaries miss a library, andparameter_bridgestarts.pixi run rs checkpasses.pixi run rs jazzy check-depsreports only the existing gstreamer128 / opencv / pcl conflicts, nothing about abseil, protobuf or ros_gz.Other distributions
humble, lyrical and rolling miss the dependency too, but their published builds work today, because the linked abseil matches what the rest of the stack installs (humble: 2608 throughout; lyrical and rolling: 2605, held by the Jetty pins). So I only bumped jazzy; the others pick up the fix on their next rebuild.