Skip to content
YuJun Robotics

ROS wants Gazebo dependencies imported automatically, without 18 duplicate builds

Published on December 4, 2026Technical Sharing

ROS wants Gazebo dependencies imported automatically, without 18 duplicate builds

The ROS community has published draft REP 159, and its core is one thing: letting one rosdistro extend another. The first use case points at Gazebo; ROS currently gets Gazebo through 18 vendor packages per distribution, and the draft wants automatic binary imports instead (ROS Discourse, 2026-12-03).

The current arrangement is heavy, and the draft spells it out. Every Gazebo library is built and shipped 2 times, once at packages.osrfoundation.org and once at packages.ros.org (ROS Discourse, 2026-12-03); each vendor package also keeps a branch, version and bloom track for every ROS distribution.

The result: every stable Gazebo release runs through a vendor PR, CI, a bloom release and a rosdistro review, and ROS users wait for the next sync (ROS Discourse, 2026-12-03). Until then the two repositories ship different versions of the same library.

The draft's answer is binary_import: Gazebo Rotary is formally modelled as a distro, ROS Rolling depends on it directly, pulling built binaries from the latest explicitly imported point; rollback is possible; package queries alias transparently inside ROS Rolling so users do not care which layer a package came from.

That removes the second build and a chain of manual imports, but not everything. The draft leaves a tail: CMake shims provided by vendor packages, such as an unversioned find_package(gz-math), still need a home. Such compatibility layers are legacy baggage that a new distribution model does not erase by itself.

The second use case is external maintainers. Some packages need to stay compatible with the public distribution while following a different release cadence, trust level or set of rules; the extension mechanism lets them live in a separate repository maintained by a third party while remaining visible to upstream tooling.

Together the two use cases change the boundary of a distribution, not just build scripts. ROS and Gazebo are two projects with two release rhythms, joined by vendor packages; if the extension model works, each can release on its own and merge at an explicit point.

The risk sits on that boundary too. When distributions extend each other, the trust chain lengthens: if an extension repository breaks, does the downstream distribution roll back, who reviews it, are the criteria the same. The draft gives no governance detail; the PR discussion will press on it.

For ordinary developers, little changes in the short term; for those packaging distributions and running CI, this is a structural adjustment that removes duplicated work. Two things to watch: whether objections in the PR centre on governance or technology, and whether Gazebo Rotary is actually modelled as a distro per the draft.

Back to list