Closed sloretz closed 1 year ago
CI (build: --packages-up-to demo_nodes_cpp_native
test: --packages-select demo_nodes_cpp_native
)
CI (CycloneDDS only build: --packages-ignore fastcdr foonathan_memory_vendor rosbag2_converter_default_plugins --packages-ignore-regex .*connext.* .*fastrtps.* --packages-up-to demo_nodes_cpp_native
test: --packages-ignore fastcdr foonathan_memory_vendor rosbag2_converter_default_plugins --packages-ignore-regex .*connext.* .*fastrtps.* --packages-select ament_cmake
)
@mergifyio backport humble
backport humble
This fixes a problem when using the tarball produced by this job: https://build.ros2.org/view/Hci/job/Hci__nightly-cyclonedds_ubuntu_jammy_amd64/
Rosdep sees
demo_nodes_cpp_native
requiresrmw_fastrtps_cpp
, but the tarball doesn't have that package. This causes rosdep to fail to find a system dependency with that name.The
ament_package()
call installs the package.xml and an ament_index entry for thedemo_nodes_cpp_native
package, but I don't think it should because the package didn't build anything. This usesreturn()
to preventament_package()
from being called whenrmw_fastrtps_cpp
isn't found.