Skip to content

Rosdep only shows the last resolution error for each package #747

@rotu

Description

@rotu

I'm building ros2_ouster from source on Ubuntu Focal against ROS2 Master, which depends on pcl_conversions and libpcl-all

While rosdep shows a warning for libpcl-all, it does not show a warning for pcl_conversions:

rosdep install --from src/ros2_ouster_drivers -ir
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ros2_ouster: No definition of [libpcl-all] for OS version [focal]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

It's also missing from rosdep check:

rosdep check --from src/ros2_ouster_drivers -ir                   
All system dependencies have been satisfied
ERROR[ros2_ouster]: No definition of [libpcl-all] for OS version [focal]
	rosdep key : libpcl-all
	OS name    : ubuntu
	OS version : focal
	Data: arch:
- pcl
debian:
  buster:
  - libpcl-apps1.8
...
  bionic:
  - libpcl-apps1.8

Spoofing my os version to bionic causes the missing key to show up:

rosdep check --from src/ros2_ouster_drivers --os=ubuntu:bionic -ir
System dependencies have not been satisfied:
apt	libpcl-apps1.8
apt	libpcl-common1.8
apt	libpcl-features1.8
apt	libpcl-filters1.8
apt	libpcl-io1.8
apt	libpcl-kdtree1.8
apt	libpcl-keypoints1.8
apt	libpcl-ml1.8
apt	libpcl-octree1.8
apt	libpcl-outofcore1.8
apt	libpcl-people1.8
apt	libpcl-recognition1.8
apt	libpcl-registration1.8
apt	libpcl-sample-consensus1.8
apt	libpcl-search1.8
apt	libpcl-segmentation1.8
apt	libpcl-stereo1.8
apt	libpcl-surface1.8
apt	libpcl-tracking1.8
apt	libpcl-visualization1.8
ERROR[ros2_ouster]: Cannot locate rosdep definition for [pcl_conversions]
	rosdep key : pcl_conversions
	OS name    : ubuntu
	OS version : bionic
	Data: <no data>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions