Generate/release ros2 eloquent package using bloom with private dependencies on Ubuntu

asked 2021-02-24 03:36:21 -0500

codecover gravatar image

updated 2021-02-25 04:47:35 -0500

gvdhoorn gravatar image

Hi, I'm trying to release ros2 eloquent package locally using bloom on ubuntu 18.04 LTS.

The problem is my ros2 package depends on pure cmake package and some other ros2 packages. After reading this question , I started to generate debian packages for my cmake packages as I got error that "Could not resolve rosdep key 'xxx'".

So far clear, I understood that i needed to generate debian packages for dependencies. But if my cmake package depends on some other package (eg:mongocxx) should I also need to generate debian package for that too ??

one more problem is that bloom did not find dep keys for some ros2 packages like builtin_interfaces, ament_lint_auto and ament_lint_common even after running the below command

$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Hit file:///path/to/rosdep.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Add distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"
Skip end-of-life distro "groovy"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Add distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/anusha/.ros/rosdep/sources.cache

I did not understand why it couldn't resolve keys for default ros2 packages.

Below bloom commands are used to generate packages for ros2 package:

bloom-generate rosdebian --os-name ubuntu --os-version bionic --ros-distro eloquent

for cmake package

bloom-generate debian --os-name ubuntu --os-version bionic

Any help would be appreciated.

edit retag flag offensive close merge delete