Skip to content

ament_target_dependencies is deprecated or even unavailable #3741

Closed as duplicate

Description

@130s

Description

discourse.openrobotics.org#43938

Without a ticket, it took me a while to notice that there's already been effort to address this issue e.g. #3726 so opening one.

ROS Distro

Rolling at least.

OS and version

(Likely OS agnostic)

Source or binary build?

Source

Steps to Reproduce

# colcon build --mixin release

:

--- stderr: moveit_core       

CMake Deprecation Warning at /opt/ros/rolling/share/tl_expected/cmake/tl_expectedConfig.cmake:37 (message):

  Package 'tl_expected' is deprecated (This package will be removed in ROS 2
  Lyrical Luth.

        Use tl/expected.hpp from libexpected-dev,
        or rcpputils/tl_expected/expected.hpp if the system header is not available)

Call Stack (most recent call first):
  /opt/ros/rolling/share/parameter_traits/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /opt/ros/rolling/share/parameter_traits/cmake/parameter_traitsConfig.cmake:41 (include)
  /opt/ros/rolling/share/generate_parameter_library/cmake/generate_parameter_library-extras.cmake:30 (find_package)
  /opt/ros/rolling/share/generate_parameter_library/cmake/generate_parameter_libraryConfig.cmake:41 (include)
  CMakeLists.txt:16 (find_package)

CMake Error at collision_detection_bullet/CMakeLists.txt:21 (ament_target_dependencies):
  Unknown CMake command "ament_target_dependencies".
:
Failed   <<< moveit_core [0.73s, exited with code 1]
:

Expected behavior

colcon build to pass w/o issues.

Actual behavior

(See in the reproduction section)

Activity

  1. added
    bug
    on May 28, 2026
  2. GYKrauss commented on Jun 2, 2026

    @GYKrauss

    Will need this for Lyrical as well.

  3. riv-mjohnson commented on Jun 15, 2026

    @riv-mjohnson
    Contributor

    Is this a dupe of #3717

  4. 130s commented on Jun 15, 2026

    @130s
    ContributorAuthor

    Not sure from which ROS distros this became an issue (is it only Lyrical/Rolling issue?) though, agree this might be a dup. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions