colcon / colcon-core

Command line tool to build sets of software packages

Home Page:http://colcon.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building custom messages work, but importing them does not.

peredwardsson opened this issue · comments

I am unable to find_package any custom made message as of this morning. A new error message appears that I have never seen before. I have tried to remove, rebuild, remove more, rebuild, make a new super simple message package, rebuild, but nothing works. If I have my dependency foo and try to find it using find_package(foo REQUIRED) in my package bar, the following occurs:

# colcon build --packages-select foo bar
Starting >>> foo
Finished <<< foo [2.79s]
Starting >>> bar
--- stderr: bar
CMake Error at /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_targets-extras.cmake:18 (message):
  Failed to find exported target names in
  '/colcon_ws/install/foo/share/foo/cmake/foo__rosidl_generator_cExport.cmake'
Call Stack (most recent call first):
  /colcon_ws/install/foo/share/foo/cmake/fooConfig.cmake:41 (include)
  CMakeLists.txt:20 (find_package)

(CMakeLists.txt:20 is find_package(foo REQUIRED))

To reproduce, follow this tutorial. When you have built the interface package, make a basic ament_cmake package and try to find_package(your_new_package).

My setup is a little weird. I am running this in a docker image based on ros:foxy running on an M2 Macbook Air. That means docker is running with QEMU to emulate the aarch64 stuff going on inside docker. I am using the VirtioFS volume mounting to get my workspace into the docker images.

# colcon version-check
colcon-argcomplete 0.3.3: up-to-date
colcon-bash 0.4.2: up-to-date
colcon-cd 0.1.1: up-to-date
colcon-cmake 0.2.26: up-to-date
colcon-core 0.10.0: up-to-date
colcon-defaults 0.2.6: up-to-date
colcon-devtools 0.2.3: up-to-date
colcon-installed-package-information 0.1.0: up-to-date
colcon-library-path 0.2.1: up-to-date
colcon-metadata 0.2.5: up-to-date
colcon-notification 0.2.13: up-to-date
colcon-output 0.2.12: up-to-date
colcon-override-check 0.0.1: up-to-date
colcon-package-information 0.3.3: up-to-date
colcon-package-selection 0.2.10: up-to-date
colcon-parallel-executor 0.2.4: up-to-date
colcon-pkg-config 0.1.0: up-to-date
colcon-powershell 0.3.7: up-to-date
colcon-python-setup-py 0.2.7: up-to-date
colcon-recursive-crawl 0.2.1: up-to-date
colcon-ros 0.3.23: up-to-date
colcon-test-result 0.3.8: up-to-date
colcon-zsh 0.4.0: up-to-date
# env | grep ROS
ROS_DOMAIN_ID=11
ROS_ROOT=/opt/ros/foxy
ROS_VERSION=2
ROS_LOCALHOST_ONLY=0
ROS_PYTHON_VERSION=3
ROS_DISTRO=foxy

Verbose run

# colcon build --packages-up-to bar --event-handlers=console_cohesion+  --cmake-args -DCMAKE_VERBOSE_MAKEFILE=ON
Starting >>> foo
--- output: foo
/usr/bin/cmake -S/colcon_ws/src/tutorials/foo -B/colcon_ws/build/foo --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /colcon_ws/build/foo/CMakeFiles /colcon_ws/build/foo//CMakeFiles/progress.marks
/usr/bin/make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__cpp.dir/build.make CMakeFiles/foo__cpp.dir/depend
/usr/bin/make  -f CMakeFiles/foo__rosidl_generator_c.dir/build.make CMakeFiles/foo__rosidl_generator_c.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__cpp.dir/DependInfo.cmake --color=
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_generator_c.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__cpp.dir/build.make CMakeFiles/foo__cpp.dir/build
Dependencies file "CMakeFiles/foo__rosidl_generator_c.dir/rosidl_generator_c/foo/msg/detail/num__functions.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_generator_c.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_generator_c.dir/rosidl_generator_c/foo/srv/detail/add_three_ints__functions.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_generator_c.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_generator_c
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__cpp.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[  2%] Built target foo__cpp
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_cpp.dir/build.make CMakeFiles/foo__rosidl_typesupport_cpp.dir/depend
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/build.make CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/depend
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/build.make CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/DependInfo.cmake --color=
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/DependInfo.cmake --color=
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_cpp.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_generator_c.dir/build.make CMakeFiles/foo__rosidl_generator_c.dir/build
Dependencies file "CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/rosidl_typesupport_fastrtps_cpp/foo/msg/detail/dds_fastrtps/num__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/rosidl_typesupport_fastrtps_cpp/foo/srv/detail/dds_fastrtps/add_three_ints__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_fastrtps_cpp
Dependencies file "CMakeFiles/foo__rosidl_typesupport_cpp.dir/rosidl_typesupport_cpp/foo/msg/num__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_cpp.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_cpp.dir/rosidl_typesupport_cpp/foo/srv/add_three_ints__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_cpp.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_cpp
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_generator_c.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
Dependencies file "CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/rosidl_typesupport_introspection_cpp/foo/msg/detail/num__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/rosidl_typesupport_introspection_cpp/foo/srv/detail/add_three_ints__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_introspection_cpp
[ 12%] Built target foo__rosidl_generator_c
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/build.make CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/rosidl_typesupport_introspection_c/foo/msg/detail/num__type_support.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/rosidl_typesupport_introspection_c/foo/srv/detail/add_three_ints__type_support.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_introspection_c
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/build.make CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_introspection_c.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 23%] Built target foo__rosidl_typesupport_introspection_c
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_c.dir/build.make CMakeFiles/foo__rosidl_typesupport_c.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_c.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/foo__rosidl_typesupport_c.dir/rosidl_typesupport_c/foo/msg/num__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_c.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_c.dir/rosidl_typesupport_c/foo/srv/add_three_ints__type_support.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_c.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_c
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_cpp.dir/build.make CMakeFiles/foo__rosidl_typesupport_cpp.dir/build
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/build.make CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_cpp.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_c.dir/build.make CMakeFiles/foo__rosidl_typesupport_c.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_introspection_cpp.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_c.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 33%] Built target foo__rosidl_typesupport_cpp
[ 46%] Built target foo__rosidl_typesupport_introspection_cpp
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/build.make CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/build
[ 53%] Built target foo__rosidl_typesupport_c
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_fastrtps_cpp.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 64%] Built target foo__rosidl_typesupport_fastrtps_cpp
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/build.make CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/rosidl_typesupport_fastrtps_c/foo/msg/detail/num__type_support_c.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/rosidl_typesupport_fastrtps_c/foo/srv/detail/add_three_ints__type_support_c.cpp.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_fastrtps_c
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/build.make CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_fastrtps_c.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 74%] Built target foo__rosidl_typesupport_fastrtps_c
/usr/bin/make  -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 74%] Built target foo
/usr/bin/make  -f /colcon_ws/build/foo/foo__py/CMakeFiles/foo__py.dir/build.make /colcon_ws/build/foo/foo__py/CMakeFiles/foo__py.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/build/foo/foo__py /colcon_ws/build/foo /colcon_ws/build/foo/foo__py /colcon_ws/build/foo/foo__py/CMakeFiles/foo__py.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f /colcon_ws/build/foo/foo__py/CMakeFiles/foo__py.dir/build.make /colcon_ws/build/foo/foo__py/CMakeFiles/foo__py.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for '/colcon_ws/build/foo/foo__py/CMakeFiles/foo__py.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 76%] Built target foo__py
/usr/bin/make  -f CMakeFiles/foo__python.dir/build.make CMakeFiles/foo__python.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__python.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/foo__python.dir/rosidl_generator_py/foo/msg/_num_s.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__python.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__python.dir/rosidl_generator_py/foo/srv/_add_three_ints_s.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__python.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__python
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__python.dir/build.make CMakeFiles/foo__python.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__python.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 84%] Built target foo__python
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/build.make CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/depend
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/build.make CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/depend
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/build.make CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/depend
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/DependInfo.cmake --color=
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/DependInfo.cmake --color=
make[2]: Entering directory '/colcon_ws/build/foo'
cd /colcon_ws/build/foo && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /colcon_ws/src/tutorials/foo /colcon_ws/src/tutorials/foo /colcon_ws/build/foo /colcon_ws/build/foo /colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/DependInfo.cmake --color=
Dependencies file "CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_introspection_c.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_introspection_c__pyext
Dependencies file "CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_c.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/rosidl_generator_py/foo/_foo_s.ep.rosidl_typesupport_fastrtps_c.c.o.d" is newer than depends file "/colcon_ws/build/foo/CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_c__pyext
Consolidate compiler generated dependencies of target foo__rosidl_typesupport_fastrtps_c__pyext
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/build.make CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_introspection_c__pyext.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/build.make CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/build
make[2]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/make  -f CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/build.make CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/build
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_c__pyext.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
make[2]: Entering directory '/colcon_ws/build/foo'
make[2]: Nothing to be done for 'CMakeFiles/foo__rosidl_typesupport_fastrtps_c__pyext.dir/build'.
make[2]: Leaving directory '/colcon_ws/build/foo'
[ 89%] Built target foo__rosidl_typesupport_introspection_c__pyext
[100%] Built target foo__rosidl_typesupport_fastrtps_c__pyext
[100%] Built target foo__rosidl_typesupport_c__pyext
make[1]: Leaving directory '/colcon_ws/build/foo'
/usr/bin/cmake -E cmake_progress_start /colcon_ws/build/foo/CMakeFiles 0
-- Install configuration: ""
-- Up-to-date: /colcon_ws/install/foo/share/ament_index/resource_index/rosidl_interfaces/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/rosidl_generator_c__visibility_control.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/num.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__functions.c
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__struct.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__functions.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__type_support.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/add_three_ints.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__type_support.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__struct.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__functions.c
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__functions.h
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/library_path.sh
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/library_path.dsv
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_generator_c.so
-- Up-to-date: /colcon_ws/install/foo/include/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__rosidl_typesupport_fastrtps_c.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/rosidl_typesupport_fastrtps_c__visibility_control.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__rosidl_typesupport_fastrtps_c.h
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_typesupport_fastrtps_c.so
-- Up-to-date: /colcon_ws/install/foo/include/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__rosidl_typesupport_fastrtps_cpp.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/dds_fastrtps
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__rosidl_typesupport_fastrtps_cpp.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/dds_fastrtps
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_typesupport_fastrtps_cpp.so
-- Up-to-date: /colcon_ws/install/foo/include/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__type_support.c
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__rosidl_typesupport_introspection_c.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/rosidl_typesupport_introspection_c__visibility_control.h
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__type_support.c
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__rosidl_typesupport_introspection_c.h
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_typesupport_introspection_c.so
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_typesupport_c.so
-- Up-to-date: /colcon_ws/install/foo/include/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__traits.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__builder.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__struct.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/num.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/add_three_ints.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__struct.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__builder.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__traits.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__rosidl_typesupport_introspection_cpp.hpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/msg/detail/num__type_support.cpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__type_support.cpp
-- Up-to-date: /colcon_ws/install/foo/include/foo/srv/detail/add_three_ints__rosidl_typesupport_introspection_cpp.hpp
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_typesupport_introspection_cpp.so
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__rosidl_typesupport_cpp.so
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/pythonpath.sh
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/pythonpath.dsv
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/__init__.py
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/msg
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/msg/_num_s.c
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/msg/__init__.py
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/msg/_num.py
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/srv
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/srv/_add_three_ints_s.c
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/srv/__init__.py
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/srv/_add_three_ints.py
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/foo_s__rosidl_typesupport_fastrtps_c.cpython-36m-aarch64-linux-gnu.so
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/foo_s__rosidl_typesupport_introspection_c.cpython-36m-aarch64-linux-gnu.so
-- Up-to-date: /colcon_ws/install/foo/lib/python3.6/site-packages/foo/foo_s__rosidl_typesupport_c.cpython-36m-aarch64-linux-gnu.so
-- Up-to-date: /colcon_ws/install/foo/lib/libfoo__python.so
-- Up-to-date: /colcon_ws/install/foo/share/foo/msg/Num.idl
-- Up-to-date: /colcon_ws/install/foo/share/foo/srv/AddThreeInts.idl
-- Up-to-date: /colcon_ws/install/foo/share/foo/msg/Num.msg
-- Up-to-date: /colcon_ws/install/foo/share/foo/srv/AddThreeInts.srv
-- Up-to-date: /colcon_ws/install/foo/share/foo/srv/AddThreeInts_Request.msg
-- Up-to-date: /colcon_ws/install/foo/share/foo/srv/AddThreeInts_Response.msg
-- Up-to-date: /colcon_ws/install/foo/share/ament_index/resource_index/package_run_dependencies/foo
-- Up-to-date: /colcon_ws/install/foo/share/ament_index/resource_index/parent_prefix_path/foo
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/ament_prefix_path.sh
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/ament_prefix_path.dsv
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/path.sh
-- Up-to-date: /colcon_ws/install/foo/share/foo/environment/path.dsv
-- Up-to-date: /colcon_ws/install/foo/share/foo/local_setup.bash
-- Up-to-date: /colcon_ws/install/foo/share/foo/local_setup.sh
-- Up-to-date: /colcon_ws/install/foo/share/foo/local_setup.zsh
-- Up-to-date: /colcon_ws/install/foo/share/foo/local_setup.dsv
-- Installing: /colcon_ws/install/foo/share/foo/package.dsv
-- Up-to-date: /colcon_ws/install/foo/share/ament_index/resource_index/packages/foo
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_generator_cExport.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_generator_cExport-noconfig.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_introspection_cExport.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_introspection_cExport-noconfig.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_cExport.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_cExport-noconfig.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_generator_cppExport.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_introspection_cppExport.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_introspection_cppExport-noconfig.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_cppExport.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/foo__rosidl_typesupport_cppExport-noconfig.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/rosidl_cmake-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_dependencies-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_libraries-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_targets-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_include_directories-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/fooConfig.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/cmake/fooConfig-version.cmake
-- Up-to-date: /colcon_ws/install/foo/share/foo/package.xml
---
Finished <<< foo [0.86s]
Starting >>> bar
--- output: bar
-- Found ament_cmake: 0.9.9 (/opt/ros/foxy/install/share/ament_cmake/cmake)
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Found foo: 0.0.0 (/colcon_ws/install/foo/share/foo/cmake)
CMake Error at /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_targets-extras.cmake:18 (message):
  Failed to find exported target names in
  '/colcon_ws/install/foo/share/foo/cmake/foo__rosidl_generator_cExport.cmake'
Call Stack (most recent call first):
  /colcon_ws/install/foo/share/foo/cmake/fooConfig.cmake:41 (include)
  CMakeLists.txt:20 (find_package)


-- Configuring incomplete, errors occurred!
See also "/colcon_ws/build/bar/CMakeFiles/CMakeOutput.log".
---
--- stderr: bar
CMake Error at /colcon_ws/install/foo/share/foo/cmake/ament_cmake_export_targets-extras.cmake:18 (message):
  Failed to find exported target names in
  '/colcon_ws/install/foo/share/foo/cmake/foo__rosidl_generator_cExport.cmake'
Call Stack (most recent call first):
  /colcon_ws/install/foo/share/foo/cmake/fooConfig.cmake:41 (include)
  CMakeLists.txt:20 (find_package)


---
Failed   <<< bar [0.23s, exited with code 1]

Summary: 1 package finished [1.39s]
  1 package failed: bar
  1 package had stderr output: bar
#

Any ideas?

Seems to work after restarting docker. Must have been a weird hickup. Apologies.