Skip to content

Conversation

@fischejo
Copy link

@fischejo fischejo commented Apr 1, 2025

Recipe diagnostic-updater missing depends on ament_cmake_ros.

bitbake diagnostic-updater
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| -- The C compiler identification is GNU 13.3.0
| -- The CXX compiler identification is GNU 13.3.0
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Check for working C compiler: /btrfs/home/current/fischejo/projects/yocto/build/tmp-glibc/work/cortexa72-oe-linux/diagnostic-updater/4.2.1-1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc - skipped
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Check for working CXX compiler: /btrfs/home/current/fischejo/projects/yocto/build/tmp-glibc/work/cortexa72-oe-linux/diagnostic-updater/4.2.1-1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/aarch64-oe-linux-g++ - skipped
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- Found ament_cmake: 2.5.3 (/btrfs/home/current/fischejo/projects/yocto/build/tmp-glibc/work/cortexa72-oe-linux/diagnostic-updater/4.2.1-1/recipe-sysroot-native/opt/ros/jazzy/share/ament_cmake/cmake)
| -- Found Python3: /btrfs/home/current/fischejo/projects/yocto/build/tmp-glibc/work/cortexa72-oe-linux/diagnostic-updater/4.2.1-1/recipe-sysroot-native/usr/bin/python3-native/python3 (found version "3.12.8") found components: Interpreter
| -- Configuring incomplete, errors occurred!
| CMake Error at CMakeLists.txt:14 (find_package):
|   By not providing "Findament_cmake_ros.cmake" in CMAKE_MODULE_PATH this
|   project has asked CMake to find a package configuration file provided by
|   "ament_cmake_ros", but CMake did not find one.
| 
|   Could not find a package configuration file provided by "ament_cmake_ros"
|   with any of the following names:
| 
|     ament_cmake_rosConfig.cmake
|     ament_cmake_ros-config.cmake
| 
|   Add the installation prefix of "ament_cmake_ros" to CMAKE_PREFIX_PATH or
|   set "ament_cmake_ros_DIR" to a directory containing one of the above files.
|   If "ament_cmake_ros" provides a separate development package or SDK, be
|   sure it has been installed.
| 
| 

Signed-off-by: Johannes Fischer <johannes.fischer@fischejo.de>
@fischejo fischejo changed the title fix diagnostic-update missing dependency on ament-cmake-ros-native {jazzy}: fix diagnostic-update missing dependency on ament-cmake-ros-native Apr 1, 2025
@robwoolley
Copy link
Collaborator

Thanks, this looks straightforward. I will try to merge it in.

@robwoolley robwoolley force-pushed the scarthgap-next branch 4 times, most recently from 91a9260 to 381c8b2 Compare May 12, 2025 12:52
@robwoolley robwoolley changed the title {jazzy}: fix diagnostic-update missing dependency on ament-cmake-ros-native [scarthgap] {jazzy}: fix diagnostic-update missing dependency on ament-cmake-ros-native Jul 12, 2025
@robwoolley
Copy link
Collaborator

Thanks, this appears to have been corrected in diagnostic-updater_4.2.6-1: https://github.com/ros/meta-ros/blob/scarthgap/meta-ros2-jazzy/generated-recipes/diagnostics/diagnostic-updater_4.2.6-1.bb#L29

@robwoolley robwoolley closed this Aug 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants