Bug #579

dependency resolution is incomplete

Added by Robert Haschke over 5 years ago. Updated over 5 years ago.

Status:FeedbackStart date:2018-08-07
Priority:NormalDue date:
Assignee:Robert Haschke% Done:

0%

Category:build-generatorSpent time:-
Target version:-

Description

The dependency of tactile-toolbox.project on urdf.project is not discovered. Running build-gen in debug mode, I get

- for tactile-toolbox/urdf_tactile:

  ((:NATURES (:ROS-PACKAGE) :PROVIDES
    ((:CMAKE "urdf_tactile" (0 1 0))
     (:MAVEN "org.ros.rosjava_messages/urdf_tactile" (0 1 0)))
    :REQUIRES ((:CMAKE "cmake_modules") (:CMAKE "urdf")) :DESCRIPTION
    "handle tactile sensor descriptions in URDF" :LICENSE "BSD" :AUTHORS
    (#<PERSON "Robert Haschke" 1 identity {100A767983}>) :MAINTAINERS
    (#<PERSON "Robert Haschke" 1 identity {100A760653}>)))

- for urdf:
  ((:NATURES (:ROS-PACKAGE) :PROVIDES
    ((:CMAKE "urdf" (1 12 12))
     (:MAVEN "org.ros.rosjava_messages/urdf" (1 12 12)))
    :REQUIRES
    ((:CMAKE "liburdfdom-dev") (:CMAKE "liburdfdom-headers-dev")
     (:CMAKE "rosconsole_bridge") (:CMAKE "roscpp")
     (:CMAKE "urdf_parser_plugin") (:CMAKE "pluginlib" (1 11 2))
     (:CMAKE "cmake_modules") (:CMAKE "tinyxml") (:CMAKE "rostest"))
    :DESCRIPTION
    "This package contains a C++ parser for the Unified Robot Description
    Format (URDF), which is an XML format for representing a robot model.
    The code API of the parser has been through our review process and will remain
    backwards compatible in future releases." 
    :URL "http://ros.org/wiki/urdf" :LICENSE "BSD" :AUTHORS
    (#<PERSON "Ioan Sucan" 1 identity {100A960143}>
     #<PERSON "Jackie Kay" 1 identity {100A966F63}>)
    :MAINTAINERS
    (#<PERSON "Chris Lalancette" 1 identity {100A96DEC3}>
     #<PERSON "Shane Loretz" 1 identity {100A974D03}>)))

Looks like the main reason is that :PROVIDES ((:CMAKE "urdf" (1 12 12))) is not matching :REQUIRES ((:CMAKE "urdf")). This is a long-standing issue.
Interestingly, the failed dependency resolution is not even reported as an INSTANTIATION-ERROR.

History

#1 Updated by Jan Moringen over 5 years ago

  • Status changed from New to Feedback

I tried to reproduce the problem with the following minimal distribution

versions:
  - urdfdom_headers@0.4
  - urdfdom@0.4
  - urdf@kinetic-sensor-parsing

  - tactile-filters@master
  - tactile-toolbox@kinetic-devel

and the build-generator invocation
build-generator report -k graph -o /tmp/graph-report …/test.distribution

but the dependency tactile-toolbox@kinectic-devel --cmake:urdf--> urdf@kinectic-sensor-parsing was correctly reflect.

Can you still reproduce the problem?

#2 Updated by Jan Moringen over 5 years ago

  • Assignee changed from Jan Moringen to Robert Haschke

Also available in: Atom PDF