gazebo-release / gz_transport_vendor

Apache License 2.0
0 stars 1 forks source link

Missing dependency on `cppzmq-dev` when packaging? #5

Closed ruffsl closed 3 months ago

ruffsl commented 3 months ago

I've been using rosdep to install a minimal set of required dependencies, including this package. However, it would seem that the released debian's of this package for ROS2 Jazzy are missing an transitive dependency for cppzmq-dev:

$ apt show ros-jazzy-gz-transport-vendor
Package: ros-jazzy-gz-transport-vendor
Version: 0.0.4-1noble.20240702.041717
Status: install ok installed
Priority: optional
Section: misc
Maintainer: Addisu Z. Taddese <addisuzt@intrinsic.ai>
Installed-Size: 2267 kB
Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libprotobuf32t64 (>= 3.21.12), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 13.1), libuuid1 (>= 2.16), libzmq5 (>= 4.0.1+dfsg), ros-jazzy-gz-msgs-vendor, libprotobuf-dev, libprotoc-dev, libsqlite3-dev, libzmq3-dev, pkg-config, protobuf-compiler, pybind11-dev, python3-dev, python3-psutil, python3-pytest, ros-jazzy-gz-cmake-vendor, ros-jazzy-gz-math-vendor, ros-jazzy-gz-tools-vendor, ros-jazzy-gz-utils-vendor, uuid-dev, ros-jazzy-ros-workspace
Homepage: https://github.com/gazebosim/gz-transport
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Vendor package for: gz-transport13 13.2.0 Gazebo Transport: Provides fast and efficient asynchronous message passing, services, and data logging.

Resulting in downstream build errors when attempting to use the provided headers:

In file included from /opt/ros/jazzy/opt/gz_transport_vendor/include/gz/transport13/gz/transport/Discovery.hh:75,
                 from /opt/ros/jazzy/opt/gz_transport_vendor/include/gz/transport13/gz/transport.hh:26,
                 from /opt/auto_ws/src/auto-sandbox/src/gazebo/auto-gazebo-sim/dexory_gazebo/src/populate_world_node.cpp:10:
/opt/ros/jazzy/opt/gz_transport_vendor/include/gz/transport13/gz/transport/Helpers.hh:21:10: fatal error: zmq.hpp: No such file or directory
   21 | #include <zmq.hpp>
      |          ^~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/populate_world_node.dir/build.make:76: CMakeFiles/populate_world_node.dir/src/populate_world_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:741: CMakeFiles/populate_world_node.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

Related:

cc @azeey @nuclearsandwich

azeey commented 3 months ago

Thanks for the issue @ruffsl. I'll make another release of gz-transport.

azeey commented 3 months ago

https://github.com/ros/rosdistro/pull/42099