From 4616f76aba9b9b1b739f21a398004dc2ee7edcbc Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 30 Nov 2026 00:28:53 +0800 Subject: [PATCH] Bump zenoh to 1.10.2; declare libabseil/libprotobuf for gz_ros2_control libzenohc/libzenohcxx 1.10.1 -> 1.10.2 (shared pinning) for the zenoh StartConditions deadlock fix (eclipse-zenoh/zenoh#2779). Partial rebuild: only zenoh_cpp_vendor and rmw_zenoh_cpp link zenoh, plus rmw_implementation on lyrical/rolling, which build-depends on rmw_zenoh_cpp there. On lyrical/rolling, zenoh 1.10.2 lets the solver pick libgz-transport 15.2.0 and with it libgz-msgs 12.1.0 and libabseil 20260817. ros_gz_bridge and gz_ros2_control(_demos) link libabseil 20260526 without depending on it and then fail to load. ros_gz_bridge already has the dependency (#251) and is rebuilt; gz_ros2_control and gz_ros2_control_demos get libabseil and libprotobuf in host in every distribution (same cause, also latent on humble/jazzy) and are rebuilt. Signed-off-by: Maurice --- distros/humble/conda_build_config.yaml | 4 ++-- distros/humble/patch/dependencies.yaml | 8 ++++++++ distros/humble/pkg_additional_info.yaml | 11 +++++++++-- distros/jazzy/conda_build_config.yaml | 4 ++-- distros/jazzy/patch/dependencies.yaml | 8 ++++++-- distros/jazzy/pkg_additional_info.yaml | 11 +++++++++-- distros/lyrical/conda_build_config.yaml | 4 ++-- distros/lyrical/patch/dependencies.yaml | 8 ++++++-- distros/lyrical/pkg_additional_info.yaml | 15 +++++++++++++-- distros/rolling/conda_build_config.yaml | 4 ++-- distros/rolling/patch/dependencies.yaml | 8 ++++++-- distros/rolling/pkg_additional_info.yaml | 15 +++++++++++++-- shared/pinning/overrides.yaml | 4 ++-- 13 files changed, 80 insertions(+), 24 deletions(-) diff --git a/distros/humble/conda_build_config.yaml b/distros/humble/conda_build_config.yaml index 8dc1a8262..3565ddad0 100644 --- a/distros/humble/conda_build_config.yaml +++ b/distros/humble/conda_build_config.yaml @@ -1202,9 +1202,9 @@ zlib_ng: zstd: - '1.5' libzenohc: - - 1.10.1 + - 1.10.2 libzenohcxx: - - 1.10.1 + - 1.10.2 # pyqt-builder 1.20 defaults to sip ABI 12.20 / 13.13, which needs sip >=6.16 # (python_qt_binding / qt_gui_cpp keep sip <6.16); 1.18 targets 12.15 / 13.8. pyqt_builder: diff --git a/distros/humble/patch/dependencies.yaml b/distros/humble/patch/dependencies.yaml index edc2dc165..111c2ac18 100644 --- a/distros/humble/patch/dependencies.yaml +++ b/distros/humble/patch/dependencies.yaml @@ -37,6 +37,14 @@ generate_parameter_library: add_run: ["cpp-expected"] geometric_shapes: add_host: ["libboost-devel", "octomap"] +gz_ros2_control: + # Links libprotobuf and libabseil directly (through ignition-msgs' generated headers), + # but only gets them transitively, so neither the pins nor their run_exports + # apply (same as ros_gz_bridge in shared/patch/dependencies.yaml). + add_host: ["libabseil", "libprotobuf"] +gz_ros2_control_demos: + # Same as gz_ros2_control. + add_host: ["libabseil", "libprotobuf"] image_view: add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"] # Depends on opencv with gui support, see https://github.com/ros-perception/image_pipeline/blob/746268fcfd21b389bc39ae60bb6345a53c838558/image_view/src/stereo_view_node.cpp#L253 diff --git a/distros/humble/pkg_additional_info.yaml b/distros/humble/pkg_additional_info.yaml index 275776afe..d9c9487a3 100644 --- a/distros/humble/pkg_additional_info.yaml +++ b/distros/humble/pkg_additional_info.yaml @@ -120,15 +120,19 @@ urdfdom_headers: max_pin: 'x.x' override_version: '3.0.0' # Remove build_number fields below on new full rebuild -zenoh_cpp_vendor: - additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" cartographer_ros: additional_cmake_args: "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON" build_number: 26 # offline_node.cpp out of the shared library (duplicate gflags abort) +gz_ros2_control: # libabseil/libprotobuf in host: _25 links libabseil 20260817 without depending on it + build_number: 27 +gz_ros2_control_demos: # same as gz_ros2_control + build_number: 27 moveit_core: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 26 rclcpp: # avoid GCC 15 -Werror=uninitialized in MessageMemoryStrategy::create_default() build_number: 26 +rmw_zenoh_cpp: # libzenohc/libzenohcxx 1.10.2 + build_number: 27 rtabmap: additional_cmake_args: if: win @@ -137,3 +141,6 @@ rtabmap: build_number: 26 # built with Qt (its GUI library, for rtabmap_viz) tf2_bullet: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 26 +zenoh_cpp_vendor: + additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" + build_number: 27 # libzenohc/libzenohcxx 1.10.2 diff --git a/distros/jazzy/conda_build_config.yaml b/distros/jazzy/conda_build_config.yaml index 1798717b5..50cb7f451 100644 --- a/distros/jazzy/conda_build_config.yaml +++ b/distros/jazzy/conda_build_config.yaml @@ -1202,9 +1202,9 @@ zlib_ng: zstd: - '1.5' libzenohc: - - 1.10.1 + - 1.10.2 libzenohcxx: - - 1.10.1 + - 1.10.2 # pyqt-builder 1.20 defaults to sip ABI 12.20 / 13.13, which needs sip >=6.16 # (python_qt_binding / qt_gui_cpp keep sip <6.16); 1.18 targets 12.15 / 13.8. pyqt_builder: diff --git a/distros/jazzy/patch/dependencies.yaml b/distros/jazzy/patch/dependencies.yaml index 63a36c3fc..9687e0e7d 100644 --- a/distros/jazzy/patch/dependencies.yaml +++ b/distros/jazzy/patch/dependencies.yaml @@ -70,9 +70,13 @@ gz_rendering_vendor: remove_host: ["ogre"] remove_run: ["ogre"] gz_ros2_control: - add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"] + # Links libprotobuf and libabseil directly (through gz-msgs' generated headers), + # but only gets them transitively, so neither the pins nor their run_exports + # apply (same as ros_gz_bridge in shared/patch/dependencies.yaml). + add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "libabseil", "libprotobuf"] gz_ros2_control_demos: - add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"] + # Same as gz_ros2_control. + add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "libabseil", "libprotobuf"] gz_sensors_vendor: add_host: ["gz-sensors8"] add_run: ["gz-sensors8"] diff --git a/distros/jazzy/pkg_additional_info.yaml b/distros/jazzy/pkg_additional_info.yaml index 910dd6cf9..7663ea426 100644 --- a/distros/jazzy/pkg_additional_info.yaml +++ b/distros/jazzy/pkg_additional_info.yaml @@ -151,8 +151,6 @@ urdfdom_headers: max_pin: 'x.x' override_version: '3.0' # Remove build_number fields below on new full rebuild -zenoh_cpp_vendor: - additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" cartographer_ros: additional_cmake_args: "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON" build_number: 32 # offline_node.cpp out of the shared library (duplicate gflags abort) @@ -162,15 +160,24 @@ gz_dartsim_vendor: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 32 gz_physics_vendor: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 32 +gz_ros2_control: # libabseil/libprotobuf in host: _31 links libabseil 20260526 without depending on it + build_number: 33 +gz_ros2_control_demos: # same as gz_ros2_control + build_number: 33 moveit_core: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 32 rclcpp: # avoid GCC 15 -Werror=uninitialized in MessageMemoryStrategy::create_default() build_number: 32 rmf_utils: # its DLL moved from lib to bin (Windows) build_number: 32 +rmw_zenoh_cpp: # libzenohc/libzenohcxx 1.10.2 + build_number: 33 ros_gz_bridge: # libabseil/libprotobuf in host: _31 links libabseil 20260817 without depending on it build_number: 32 ros_gz_image: # same as ros_gz_bridge build_number: 32 tf2_bullet: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 32 +zenoh_cpp_vendor: + additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" + build_number: 33 # libzenohc/libzenohcxx 1.10.2 diff --git a/distros/lyrical/conda_build_config.yaml b/distros/lyrical/conda_build_config.yaml index f95422a34..0fdf208e3 100644 --- a/distros/lyrical/conda_build_config.yaml +++ b/distros/lyrical/conda_build_config.yaml @@ -1199,9 +1199,9 @@ zlib_ng: zstd: - '1.5' libzenohc: - - 1.10.1 + - 1.10.2 libzenohcxx: - - 1.10.1 + - 1.10.2 # pyqt-builder 1.20 defaults to sip ABI 12.20 / 13.13, which needs sip >=6.16 # (python_qt_binding / qt_gui_cpp keep sip <6.16); 1.18 targets 12.15 / 13.8. pyqt_builder: diff --git a/distros/lyrical/patch/dependencies.yaml b/distros/lyrical/patch/dependencies.yaml index 8814b459f..9f2fa5787 100644 --- a/distros/lyrical/patch/dependencies.yaml +++ b/distros/lyrical/patch/dependencies.yaml @@ -74,9 +74,13 @@ gz_rendering_vendor: add_host: ["gz-rendering 10.*", "swig"] add_run: ["gz-rendering 10.*", "swig"] gz_ros2_control: - add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "ros2-gz-sensors-vendor"] + # Links libprotobuf and libabseil directly (through gz-msgs' generated headers), + # but only gets them transitively, so neither the pins nor their run_exports + # apply (same as ros_gz_bridge in shared/patch/dependencies.yaml). + add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "ros2-gz-sensors-vendor", "libabseil", "libprotobuf"] gz_ros2_control_demos: - add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"] + # Same as gz_ros2_control. + add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "libabseil", "libprotobuf"] gz_sensors_vendor: add_host: ["gz-sensors 10.*"] add_run: ["gz-sensors 10.*"] diff --git a/distros/lyrical/pkg_additional_info.yaml b/distros/lyrical/pkg_additional_info.yaml index 82a13937b..75cb73a7e 100644 --- a/distros/lyrical/pkg_additional_info.yaml +++ b/distros/lyrical/pkg_additional_info.yaml @@ -108,8 +108,6 @@ urdfdom_headers: max_pin: 'x.x' # the version on ros is outdated w.r.t. to the conda-forge one override_version: '3.0.0' -zenoh_cpp_vendor: - additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" # Remove build_number fields below on new full rebuild aruco_ros: # its recipe test stops the node for sure (package tests hung on macOS) build_number: 31 @@ -128,6 +126,10 @@ gz_gui_vendor: build_number: 33 gz_physics_vendor: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 31 +gz_ros2_control: # libabseil/libprotobuf in host: _30 links libabseil 20260526 without depending on it + build_number: 35 +gz_ros2_control_demos: # same as gz_ros2_control + build_number: 35 gz_sensors_vendor: build_number: 33 gz_sim_vendor: @@ -158,6 +160,12 @@ rmf_utils: # its DLL moved to bin (Windows) build_number: 31 rmf_websocket: # its DLL moved to bin (Windows) build_number: 31 +rmw_implementation: # build-depends on rmw_zenoh_cpp (libzenohc/libzenohcxx 1.10.2) + build_number: 35 +rmw_zenoh_cpp: # libzenohc/libzenohcxx 1.10.2 + build_number: 35 +ros_gz_bridge: # libabseil/libprotobuf in host (#251): _30 links libabseil 20260526 without depending on it + build_number: 35 rqt_robot_monitor: # Qt6 patch (upstream PR #52) build_number: 31 rtabmap_rviz_plugins: @@ -183,3 +191,6 @@ spatio_temporal_voxel_layer: build_number: 31 tf2_bullet: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 31 +zenoh_cpp_vendor: + additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" + build_number: 35 # libzenohc/libzenohcxx 1.10.2 diff --git a/distros/rolling/conda_build_config.yaml b/distros/rolling/conda_build_config.yaml index 459bbb633..d45bb4283 100644 --- a/distros/rolling/conda_build_config.yaml +++ b/distros/rolling/conda_build_config.yaml @@ -1201,9 +1201,9 @@ zlib_ng: zstd: - '1.5' libzenohc: - - 1.10.1 + - 1.10.2 libzenohcxx: - - 1.10.1 + - 1.10.2 # pyqt-builder 1.20 defaults to sip ABI 12.20 / 13.13, which needs sip >=6.16 # (python_qt_binding / qt_gui_cpp keep sip <6.16); 1.18 targets 12.15 / 13.8. pyqt_builder: diff --git a/distros/rolling/patch/dependencies.yaml b/distros/rolling/patch/dependencies.yaml index 8110c4378..586eee8e1 100644 --- a/distros/rolling/patch/dependencies.yaml +++ b/distros/rolling/patch/dependencies.yaml @@ -73,9 +73,13 @@ gz_rendering_vendor: add_host: ["gz-rendering 10.*", "swig"] add_run: ["gz-rendering 10.*", "swig"] gz_ros2_control: - add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "ros2-gz-sensors-vendor"] + # Links libprotobuf and libabseil directly (through gz-msgs' generated headers), + # but only gets them transitively, so neither the pins nor their run_exports + # apply (same as ros_gz_bridge in shared/patch/dependencies.yaml). + add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "ros2-gz-sensors-vendor", "libabseil", "libprotobuf"] gz_ros2_control_demos: - add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}"] + # Same as gz_ros2_control. + add_host: ["${{ 'libgl-devel' if linux }}", "${{ 'libopengl-devel' if linux }}", "libabseil", "libprotobuf"] gz_sensors_vendor: add_host: ["gz-sensors 10.*"] add_run: ["gz-sensors 10.*"] diff --git a/distros/rolling/pkg_additional_info.yaml b/distros/rolling/pkg_additional_info.yaml index 75fbdbdcd..c15a438be 100644 --- a/distros/rolling/pkg_additional_info.yaml +++ b/distros/rolling/pkg_additional_info.yaml @@ -67,8 +67,6 @@ urdfdom_headers: max_pin: 'x.x' # the version on ros is outdated w.r.t. to the conda-forge one override_version: '3.0.0' -zenoh_cpp_vendor: - additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" aruco_ros: # its recipe test stops the node for sure (package tests hung on macOS) build_number: 33 cartographer_ros: @@ -82,6 +80,10 @@ gz_dartsim_vendor: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 33 gz_physics_vendor: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 33 +gz_ros2_control: # libabseil/libprotobuf in host: _32 links libabseil 20260526 without depending on it + build_number: 36 +gz_ros2_control_demos: # same as gz_ros2_control + build_number: 36 moveit_core: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 33 moveit_ros_visualization: @@ -104,6 +106,12 @@ rmf_utils: # its DLL moved to bin (Windows) build_number: 33 rmf_websocket: # its DLL moved to bin (Windows) build_number: 33 +rmw_implementation: # build-depends on rmw_zenoh_cpp (libzenohc/libzenohcxx 1.10.2) + build_number: 36 +rmw_zenoh_cpp: # libzenohc/libzenohcxx 1.10.2 + build_number: 36 +ros_gz_bridge: # libabseil/libprotobuf in host (#251): one of the _32 builds links libabseil 20260526 without depending on it + build_number: 36 rviz_2d_overlay_plugins: build_number: 33 rviz_common: @@ -121,3 +129,6 @@ rviz_satellite: build_number: 33 tf2_bullet: # bullet rosdep mapped to bullet-cpp (no pybullet) build_number: 33 +zenoh_cpp_vendor: + additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK -DUSE_SYSTEM_ZENOH=ON" + build_number: 36 # libzenohc/libzenohcxx 1.10.2 diff --git a/shared/pinning/overrides.yaml b/shared/pinning/overrides.yaml index d7f56db33..2cda12954 100644 --- a/shared/pinning/overrides.yaml +++ b/shared/pinning/overrides.yaml @@ -37,9 +37,9 @@ pinning_overrides: openexr: - '3.4' libzenohc: - - 1.10.1 + - 1.10.2 libzenohcxx: - - 1.10.1 + - 1.10.2 # pyqt-builder 1.20 defaults to sip ABI 12.20 / 13.13, which needs sip >=6.16 # (python_qt_binding / qt_gui_cpp keep sip <6.16); 1.18 targets 12.15 / 13.8. pyqt_builder: