DDS-Router icon indicating copy to clipboard operation
DDS-Router copied to clipboard

colcon build failed

Open mockbot opened this issue 3 years ago • 1 comments

during installation at a fresh environment, I've noticed, that 'colcon build' failed with some errors... assert verb_extensions, 'No verb extensions'

after some search I found this solution:

pip3 install pytest-rerunfailures

cd ~/DDS-Router rm -rf src

mkdir src vcs import src < ddsrouter.repos colcon build

Bug or feature ? ;-)

mockbot avatar Aug 16 '22 14:08 mockbot

Thank you for reporting this issue. It is true it seems like a common known error when using colcon: https://github.com/aws-robotics/aws-iot-bridge-example/issues/2

This is most likely a bug (colcon bug). We will add for future versions a requirements.txt so it can be executed in a virtual environment, or add this dependency to the installation guide.

However, python is only used in ddsrouter_yaml_validator and in some tests. So, if you are not using such tool, you can use command colcon build --packages-skip ddsrouter_yaml_validator to build it without problem.

jparisu avatar Aug 17 '22 05:08 jparisu