ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Why can I not have circular exec_depend?

asked 2018-09-20 04:49:09 -0500

Felix Widmaier gravatar image

updated 2018-09-20 04:50:22 -0500

I ran into a problem because of a circular exec_depend. Using catkin-tools, I get the following error:

[build] Error: The workspace packages have a circular dependency, and cannot be built. Please run catkin list --deps to determine the problematic package(s).

I completely understand why I cannot have circular build dependencies but, according to my understanding, an exec dependency means that the package needs the dependency only at run-time, so it should be possible to build it independently. So there should be no need to even look at the exec_depends at build time.

Is there something wrong in my understanding of exec_depend or is this a bug?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-20 10:10:16 -0500

Link gravatar image

This sounds like a bug. Can you make a minimum working example of this to verify that this is indeed an issue?

If so I would submit the issue to catkin_tools

edit flag offensive delete link more


Thanks, I created an issue with minimal example:

While doing this, I noticed that circular exec_depend is okay for catkin_make (so only catkin build fails) but when one of the dependencies is build_depend both fail.

Felix Widmaier gravatar image Felix Widmaier  ( 2018-09-21 01:57:52 -0500 )edit

Question Tools



Asked: 2018-09-20 04:49:09 -0500

Seen: 450 times

Last updated: Sep 20 '18