root@86942dd009e3:/tmp/cyberdog_ws# colcon build
[4.717s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'mqttc' is in: /opt/ros2/galactic
'cpp_httplib' is in: /opt/ros2/galactic
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding cpp_httplib mqttc
root@86942dd009e3:/tmp/cyberdog_ws# colcon build [4.717s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces: 'mqttc' is in: /opt/ros2/galactic 'cpp_httplib' is in: /opt/ros2/galactic If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time. If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line: --allow-overriding cpp_httplib mqttc
This may be promoted to an error in a future release of colcon-override-check. Starting >>> protocol Starting >>> rapidjson
Starting >>> toml
Starting >>> xpack
Finished <<< toml [1.40s]
Finished <<< rapidjson [1.74s]
Starting >>> nav2_common Starting >>> nav_2d_msgs
Finished <<< xpack [1.93s]
Starting >>> params Finished <<< params [1.04s]
Starting >>> filesystem Finished <<< filesystem [0.94s]
Starting >>> nvinference
Finished <<< nav2_common [3.50s]
Starting >>> nav2_msgs Finished <<< nvinference [1.39s]
Starting >>> nav2_voxel_grid --- stderr: nav_2d_msgs
CMake Error at /opt/ros2/galactic/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:213 (message): execute_process(/usr/bin/python3 -c 'import numpy;print(numpy.get_include())') returned error code Illegal instruction Call Stack (most recent call first): /opt/ros2/galactic/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include) /opt/ros2/galactic/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions) CMakeLists.txt:8 (rosidl_generate_interfaces)
Failed <<< nav_2d_msgs [7.48s, exited with code 1] Aborted <<< nav2_msgs [10.7s]
Aborted <<< protocol [19.2s]
Aborted <<< nav2_voxel_grid [43.4s]
Summary: 7 packages finished [53.7s] 1 package failed: nav_2d_msgs 3 packages aborted: nav2_msgs nav2_voxel_grid protocol 3 packages had stderr output: nav2_msgs nav_2d_msgs protocol 91 packages not processed