Skip to content

Commit e3bd533

Browse files
committed
fix(linux_introspection): declare pkg-config as buildtool_depend
CMakeLists.txt uses find_package(PkgConfig REQUIRED) to locate libsystemd via pkg_check_modules, but package.xml did not declare pkg-config as a buildtool dependency. On clean buildfarm agents rosdep only installs declared dependencies, so the pkg-config binary was missing and CMake configure failed. Local dev environments typically have pkg-config installed system-wide, which masked the issue. Closes #352
1 parent bcc8df5 commit e3bd533

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/ros2_medkit_discovery_plugins/ros2_medkit_linux_introspection

src/ros2_medkit_discovery_plugins/ros2_medkit_linux_introspection/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
<buildtool_depend>ament_cmake</buildtool_depend>
1111
<buildtool_depend>ros2_medkit_cmake</buildtool_depend>
12+
<buildtool_depend>pkg-config</buildtool_depend>
1213

1314
<depend>ros2_medkit_gateway</depend>
1415
<depend>nlohmann-json-dev</depend>

0 commit comments

Comments
 (0)