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

Why can I not have circular exec_depend?

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

Felix Widmaier gravatar image

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

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
0

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

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

Comments

Thanks, I created an issue with minimal example: https://github.com/catkin/catkin_tool...

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 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 515 times

Last updated: Sep 20 '18