Robotics StackExchange | Archived questions

Create Debian package fails with local dependencies

I recognize that this question has been answered several times here, but the answers appear to be out of date.

I am attempting to build Debian packages from my ROS2 Humble workspace and having dependency issues.

My workspace looks like:

ros2_workspace/src
  /my_msgs
  /A_reqs_my_msgs
  /B_no_local_reqs

Normal colcon builds work fine.

Following the standard bloom-generate and fakeroot debian/rules binary from here works fine in my_msgs and B_no_local_reqs.

However, bloom-generate fails in A_reqs_my_msgs which requires my_msgs with an error of Could not resolve rosdep key 'my_msgs' Try to resolve the problem with rosdep and then continue.

How do I fix this?

Asked by Barty on 2023-02-14 19:26:38 UTC

Comments

Answers