Isaac-sdk build error with ros bridge

(base) root@8044ab703d43:/home/isaac/sdk# bazel build packages/ros_bridge/apps/camera_to_ros
INFO: Analyzed target //packages/ros_bridge/apps:camera_to_ros (2 packages loaded, 13 targets configured).
INFO: Found 1 target…
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:138:1: Couldn’t build file packages/ros_bridge/components/_objs/ros_to_differential_base_command/RosToDifferentialBaseCommand.o: C++ compilation of rule ‘//packages/ros_bridge/components:ros_to_differential_base_command’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF … (remaining 234 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/serialization.h:34:0,
from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/geometry_msgs/Twist.h:14,
from packages/ros_bridge/components/RosToDifferentialBaseCommand.hpp:13,
from packages/ros_bridge/components/RosToDifferentialBaseCommand.cpp:10:
bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/time.h:58:10: fatal error: boost/math/special_functions/round.hpp: No such file or directory
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:58:1: Couldn’t build file packages/ros_bridge/components/_objs/goal_to_ros/GoalToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:goal_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/goal_to_ros/GoalToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/serialization.h:34:0,
from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/move_base_msgs/MoveBaseAction.h:14,
from packages/ros_bridge/components/GoalToRos.hpp:15,
from packages/ros_bridge/components/GoalToRos.cpp:10:
bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/time.h:58:10: fatal error: boost/math/special_functions/round.hpp: No such file or directory
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:47:1: Couldn’t build file packages/ros_bridge/components/_objs/odometry_to_ros/OdometryToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:odometry_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/odometry_to_ros/OdometryToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/serialization.h:34:0,
from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/nav_msgs/Odometry.h:14,
from packages/ros_bridge/components/OdometryToRos.hpp:15,
from packages/ros_bridge/components/OdometryToRos.cpp:10:
bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/time.h:58:10: fatal error: boost/math/special_functions/round.hpp: No such file or directory
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:79:1: Couldn’t build file packages/ros_bridge/components/_objs/pose_message_to_ros/PoseMessageToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:pose_message_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/pose_message_to_ros/PoseMessageToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/serialization.h:34:0,
from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/geometry_msgs/PoseWithCovarianceStamped.h:14,
from packages/ros_bridge/components/PoseMessageToRos.hpp:14,
from packages/ros_bridge/components/PoseMessageToRos.cpp:10:
bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/time.h:58:10: fatal error: boost/math/special_functions/round.hpp: No such file or directory
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:151:1: Couldn’t build file packages/ros_bridge/components/_objs/differential_base_command_to_ros/DifferentialBaseCommandToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:differential_base_command_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF … (remaining 234 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/serialization.h:34:0,
from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/geometry_msgs/Twist.h:14,
from packages/ros_bridge/components/DifferentialBaseCommandToRos.hpp:4,
from packages/ros_bridge/components/DifferentialBaseCommandToRos.cpp:1:
bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/time.h:58:10: fatal error: boost/math/special_functions/round.hpp: No such file or directory
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:176:1: Couldn’t build file packages/ros_bridge/components/_objs/ros_to_pose2_mean_and_covariance/RosToPose2MeanAndCovariance.o: C++ compilation of rule ‘//packages/ros_bridge/components:ros_to_pose2_mean_and_covariance’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF … (remaining 234 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/serialization.h:34:0,
from bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/geometry_msgs/PoseWithCovarianceStamped.h:14,
from packages/ros_bridge/components/RosToPose2MeanAndCovariance.hpp:14,
from packages/ros_bridge/components/RosToPose2MeanAndCovariance.cpp:10:
bazel-out/k8-opt/bin/external/isaac_ros_bridge_x86_64/_virtual_includes/isaac_ros_bridge_x86_64/ros/time.h:58:10: fatal error: boost/math/special_functions/round.hpp: No such file or directory
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:14:1: Couldn’t build file packages/ros_bridge/components/_objs/image_to_ros/ImageToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:image_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/image_to_ros/ImageToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from ./packages/ros_bridge/components/ProtoToRosConverter.hpp:16,
from packages/ros_bridge/components/ImageToRos.hpp:15,
from packages/ros_bridge/components/ImageToRos.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:126:1: Couldn’t build file packages/ros_bridge/components/_objs/ros_to_camera_intrinsics/RosToCameraIntrinsics.o: C++ compilation of rule ‘//packages/ros_bridge/components:ros_to_camera_intrinsics’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/ros_to_camera_intrinsics/RosToCameraIntrinsics.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from ./packages/ros_bridge/components/RosToProtoConverter.hpp:16,
from packages/ros_bridge/components/RosToCameraIntrinsics.hpp:13,
from packages/ros_bridge/components/RosToCameraIntrinsics.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:25:1: Couldn’t build file packages/ros_bridge/components/_objs/camera_intrinsics_to_ros/CameraIntrinsicsToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:camera_intrinsics_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/camera_intrinsics_to_ros/CameraIntrinsicsToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from ./packages/ros_bridge/components/ProtoToRosConverter.hpp:16,
from packages/ros_bridge/components/CameraIntrinsicsToRos.hpp:15,
from packages/ros_bridge/components/CameraIntrinsicsToRos.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:116:1: Couldn’t build file packages/ros_bridge/components/_objs/ros_node/RosNode.o: C++ compilation of rule ‘//packages/ros_bridge/components:ros_node’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/ros_node/RosNode.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from packages/ros_bridge/components/RosNode.hpp:16,
from packages/ros_bridge/components/RosNode.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:36:1: Couldn’t build file packages/ros_bridge/components/_objs/flatscan_to_ros/FlatscanToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:flatscan_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/flatscan_to_ros/FlatscanToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from ./packages/ros_bridge/components/ProtoToRosConverter.hpp:16,
from packages/ros_bridge/components/FlatscanToRos.hpp:15,
from packages/ros_bridge/components/FlatscanToRos.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:187:1: Couldn’t build file packages/ros_bridge/components/_objs/ros_to_poses/RosToPoses.o: C++ compilation of rule ‘//packages/ros_bridge/components:ros_to_poses’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/ros_to_poses/RosToPoses.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from packages/ros_bridge/components/RosToPoses.hpp:17,
from packages/ros_bridge/components/RosToPoses.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:90:1: Couldn’t build file packages/ros_bridge/components/_objs/poses_to_ros/PosesToRos.o: C++ compilation of rule ‘//packages/ros_bridge/components:poses_to_ros’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/poses_to_ros/PosesToRos.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from packages/ros_bridge/components/PosesToRos.hpp:17,
from packages/ros_bridge/components/PosesToRos.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:69:1: Couldn’t build file packages/ros_bridge/components/_objs/goal_to_ros_action/GoalToRosAction.o: C++ compilation of rule ‘//packages/ros_bridge/components:goal_to_ros_action’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/goal_to_ros_action/GoalToRosAction.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from packages/ros_bridge/components/GoalToRosAction.hpp:17,
from packages/ros_bridge/components/GoalToRosAction.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /home/isaac/sdk/packages/ros_bridge/components/BUILD:164:1: Couldn’t build file packages/ros_bridge/components/_objs/ros_to_image/RosToImage.o: C++ compilation of rule ‘//packages/ros_bridge/components:ros_to_image’ failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/packages/ros_bridge/components/_objs/ros_to_image/RosToImage.d … (remaining 233 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./packages/ros_bridge/gems/include_before_ros.hpp:20:0,
from ./packages/ros_bridge/components/RosNode.hpp:16,
from ./packages/ros_bridge/components/RosToProtoConverter.hpp:16,
from packages/ros_bridge/components/RosToImage.hpp:13,
from packages/ros_bridge/components/RosToImage.cpp:10:
external/boost/boost/next_prior.hpp:25:10: fatal error: boost/iterator/advance.hpp: No such file or directory
#include <boost/iterator/advance.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Target //packages/ros_bridge/apps:camera_to_ros failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.985s, Critical Path: 0.80s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

Any idea about what might cause this? Thanks very much!

Best regards