Create Debian package fails with local dependencies

asked 2023-02-14 18:26:38 -0500

Barty gravatar image

updated 2023-02-15 11:57:30 -0500

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?

edit retag flag offensive close merge delete