Ask Your Question

Catkin and system dependencies: build- versus run-time?

asked 2016-02-19 08:07:40 -0600

kyrofa gravatar image

updated 2017-03-06 09:35:07 -0600

Catkin packages have both build- and run-time dependency lists (and v2 of the package.xml format seems to have more). However, rosdep doesn't seem capable of telling the difference between the types of dependencies-- it just gives them all. If I wanted to query a package for only its run-time dependencies or build-time dependencies, how would I go about it? Is there a tool that would help me?

Note that I'm only referring to source here: given the source of a ROS package, I want to determine both its run- and build-time dependencies separately. For example, how does bloom extract them such that the binary Debian package only depends upon the run-time dependencies?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-06 01:31:16 -0600

sam26 gravatar image

To the best of my knowledge,apt-cache depends is going to list out the run time dependencies, but you have to manually check the manifest file for the build dependencies.

edit flag offensive delete link more


Indeed, though I'm really looking to obtain this information given the source of a ROS package. How does bloom extract the run-time dependencies from the package such that the Debian package depends upon them and not the build-time dependencies?

kyrofa gravatar imagekyrofa ( 2017-03-06 09:32:59 -0600 )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



Asked: 2016-02-19 08:07:40 -0600

Seen: 336 times

Last updated: Mar 06 '17