Skip to content

Error when using --symlink-install - error: option --install-layout not recognized #506

Closed
@ijnek

Description

@ijnek

As reported in ament/ament_cmake#382 (comment) and ament/ament_lint#369, running

colcon build --merge-install for a workspace containing a python package results in the error:

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --install-layout not recognized

This error happens when using colcon-core 0.8.2, although I have not confirmed that downgrading fixes the issue.

Can be reproduced with any python package, using a package from the tutorials for example,

mkdir -p test_ws/src
cd test_ws/src
git clone [email protected]:ros2/examples.git
cd ../
colcon build --symlink-install --packages-select examples_rclpy_minimal_publisher

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions