ros / homebrew-deps

Homebrew Formula for common system ROS dependencies
8 stars 54 forks source link

Default repository URL incorrect for indigo #5

Open LorenzMeier opened 10 years ago

LorenzMeier commented 10 years ago

The default repository URL for indigo is homebrew-indigo, which doesn't exist - is the repository missing or the URL formation not correct?

user$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y
Error: No available formula for mavlink 
Please tap it and then try again: brew tap ros/indigo
Error: No available formula for octomap_msgs 
Please tap it and then try again: brew tap ros/indigo
executing command [brew install ros/indigo/mavlink]
Cloning into '/usr/local/Library/Taps/ros/homebrew-indigo'...

Would the mavlink package setup not allow wstool to fetch it correctly? I'm happy to contribute a home-brew formula, but I first need to understand the workflow correctly.

http://wiki.ros.org/mavlink

wjwwood commented 10 years ago

The reason for this is that mavlink and octomap_msgs are not released into Indigo. To understand why this is happening you have to understand the process by which rosdep comes to this action. This like might give you some insight:

http://answers.ros.org/question/84616/help-understanding-system-and-package-dependencies-with-rosbuild-and-catkin/

But I will briefly go over what is happening here:

So because it can't find mavlink from none of the RPP, the src, or the rosdep rules it is trying to blindly install the package from the package manager, in this case Homebrew. Now if we were doing continuous deployment of all ROS packages for Homebrew then the mavlink formula would be in the ros/indigo tap.

If you wish to provide a formula for mavlink which rosdep can find, then create and host the formula and then put an entry in the rosdep rules: https://github.com/ros/rosdistro/blob/master/rosdep/osx-homebrew.yaml

For octomap_msgs, you'll need to poke the maintainer to release it into Indigo.

LorenzMeier commented 9 years ago

@tumbili The octomap_msgs seem to be a common challenge.

@ahornung Could you release the octomap_msgs into Indigo? That would be highly appreciated, thanks!

ahornung commented 9 years ago

@LorenzMeier @wjwwood it should already be released: https://github.com/ros/rosdistro/blob/master/indigo/distribution.yaml#L3408 http://www.ros.org/debbuild/indigo?q=octomap

wjwwood commented 9 years ago

Sorry I suppose I mispoke before, the reason for this is that mavlink and octomap_msgs are neither on the ROS_PACKAGE_PATH, nor in the workspace, nor installable (naively) from Homebrew.

@ahornung you're right, it is released in Indigo, I guess he is just missing it from his workspace then.

@LorenzMeier octomap_msgs either needs to be installed elsewhere (e.g. /opt/ros/indigo), and therefore on your ROS_PACKAGE_PATH, or it needs to be in the source space of your current workspace. rosdep is naively trying to install it and failing. On Ubuntu it would naively try to do sudo apt-get install ros-indigo-octomap-msgs and that would work as long as you are on Trusty.