ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

cyclic run depends

asked 2014-01-16 07:51:35 -0500

czalidis gravatar image

updated 2014-01-16 07:53:31 -0500


in a package.xml file it is possible to declare a package only as run_depend without declaring it as a build_depend. So you can have two packages depending on each other without having problems building them.

When you try to auto generate documentation for these packages, using the buildfarm, the script first scans the dependencies and constructs a directed graph in order to know which package should be build first. Building fails because you can not have a circular dependency when you are building packages.

The question is whether, a run_depend on a packet implies that you are also build_depend on that packet? This would seem logical. Otherwise, I can not see a reason why you can not have cyclic run depends between packages.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-16 15:16:49 -0500

joq gravatar image

<run_depend> does not imply <build_depend>

But your dependency graph may not have cycles, i.e. a package may not directly or indirectly depend on itself.

edit flag offensive delete link more


Literally "may not" means that it can have cycles. Is that what you mean or do you mean "must not"?

bluenote gravatar image bluenote  ( 2018-11-22 07:21:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-16 07:51:35 -0500

Seen: 214 times

Last updated: Jan 16 '14