[ros-users] Package dependencies not detected from manifest

Tully Foote tfoote at willowgarage.com
Thu Jul 22 23:39:30 UTC 2010


Ian,
common_msgs is a stack not a package and as such it is not a valid package
dependency and rospack will not find it.  packages depend on packages and
stacks depend on stacks, but cannnot cross.

I expect you want something like geometry_msgs or sensor_msgs which are
stacks inside common_msgs.

Tully

On Thu, Jul 22, 2010 at 3:20 PM, ibwood <ianbenjiman at hotmail.com> wrote:

>
> Ok, this is weird..
>
> when I try to rosmake the package "omnibot", an error comes up, saying that
> the program can't locate package dependencies, even though I have specified
> in the manifest file. Here is the ouput:
>
> $ rosmake omnibot
> [ rosmake ] [ make ]
> [ rosmake ] Packages requested are: ['omnibot']
> [ rosmake ] Logging to directory
> [ rosmake ] /home/mars/.ros/rosmake/rosmake_output-20100722-170218
> [ rosmake ] Expanded args ['omnibot'] to:
> ['omnibot']
> [ rosmake ] Checking rosdeps compliance for packages omnibot.  This may
> take
> a few seconds.
> [ rosmake ] [ make ]
> [ rosmake ] rosdep check failed to find system dependencies: rosdep
> ABORTED:
> Cannot location installation of stack visualization_core.
> ROS_ROOT[/home/mars/ros]
>
> ROS_PACKAGE_PATH[/home/mars/ros/omnibot/visualization_core/visualization_msgs]
> [ rosmake ] [ make ]
> [ rosmake ] Starting >>> tools/rospack
> [ rosmake ] [ make ] [ tools/rospack: 0.17 sec ]                   1/3
> Bootstrap[ rosmake ] Finished <<< tools/rospack
> [ rosmake ] Starting >>> 3rdparty/gtest
> [ rosmake ] [ make ] [ 3rdparty/gtest: 0.01 sec ]                  2/3
> Bootstrap[ rosmake ] Finished <<< 3rdparty/gtest
> [ rosmake ] Starting >>> core/genmsg_cpp
> [ rosmake ] [ make ] [ core/genmsg_cpp: 0.92 sec ]                 3/3
> Bootstrap[ rosmake ] Finished <<< core/genmsg_cpp
> [ rosmake ] [ make ] [ core/genmsg_cpp: 0.95 sec ]                 3/3
> Bootstrap[rosmake-0] Starting >>> omnibot [ make ]
> [rosmake-1] Starting >>> roslang [ make ]
> [rosmake-1] Finished <<< roslang  No Makefile in package roslang
> [ rosmake ] [ make ] [ omnibot: 0.02 sec ]             [ 1 Active 3/9
> Complete ][rosmake-1] Starting >>> roslib [ make ]
> [ rosmake ] [ make ] [ omnibot: 0.28 sec ] [ roslib... [ 2 Active 3/9
> Complete ][ rosmake ] All 22 lines
>
> {-------------------------------------------------------------------------------
>  mkdir -p bin
>  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
> rosbuild`/rostoolchain.cmake  ..
>  [rosbuild] Building package omnibot
>  Failed to invoke /home/mars/ros/bin/rospack deps-manifests omnibot
>  [rospack] couldn't find dependency [common_msgs] of [omnibot]
>  [rospack] missing dependency
>
>
>  CMake Error at /home/mars/ros/core/rosbuild/public.cmake:113 (message):
>
>
>    Failed to invoke rospack to get compile flags for package 'omnibot'.
> Look
>    above for errors from rospack itself.  Aborting.  Please fix the broken
>    dependency!
>
>  Call Stack (most recent call first):
>    /home/mars/ros/core/rosbuild/public.cmake:178 (rosbuild_invoke_rospack)
>    CMakeLists.txt:3 (rosbuild_init)
>
>
>  -- Configuring incomplete, errors occurred!
>
> -------------------------------------------------------------------------------}
> [ rosmake ] Output from build of package omnibot written to:
> [ rosmake ]
>
> /home/mars/.ros/rosmake/rosmake_output-20100722-170218/omnibot/build_output.log
> [rosmake-0] Finished <<< omnibot [FAIL] [ 0.27 seconds ]
> [ rosmake ] Halting due to failure in package omnibot.
> [ rosmake ] Waiting for other threads to complete.
> [ rosmake ] [ make ] [ roslib: 1.63 sec ]              [ 1 Active 3/9
> Complete ][rosmake-1] Finished <<< roslib [PASS] [ 1.65 seconds ]
> [ rosmake ] Results:
> [ rosmake ] Built 5 packages with 1 failures.
> [ rosmake ] Summary output to directory
> [ rosmake ] /home/mars/.ros/rosmake/rosmake_output-20100722-170218
> [ rosmake ] WARNING: Rosdep did not detect the following system
> dependencies
> as installed: rosdep ABORTED: Cannot location installation of stack
> visualization_core. ROS_ROOT[/home/mars/ros]
>
> ROS_PACKAGE_PATH[/home/mars/ros/omnibot/visualization_core/visualization_msgs]
> Consider using --rosdep-install option or `rosdep install omnibot`
>
> What's the problem?
>
> -Ian
> --
> View this message in context:
> http://ros-users.122217.n3.nabble.com/Package-dependencies-not-detected-from-manifest-tp988373p988373.html
> Sent from the ROS-Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> ros-users mailing list
> ros-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100722/5f8e0c56/attachment-0003.html>


More information about the ros-users mailing list