Error ./b2 install in Dockerfile.aarch64 Isaac ROS

Hi,

Usually, I use the official Isaac ROS dev container (here) in order to use Nav2 stack.

Today I cannot build anymore the run_dev.sh script.

I run into the following issue:

458.4 …failed updating 2 targets…
458.4 …skipped 10 targets…
458.4 …updated 17020 targets…

1 warning found (use docker --debug to expand):

  • UndefinedVar: Usage of undefined variable ‘$CMAKE_PREFIX_PATH’ (line 277)
    Dockerfile.aarch64:383

382 | # Current libboost-dev apt packages are < 1.78, so install from tar.gz
383 | >>> RUN --mount=type=cache,target=/var/cache/apt
384 | >>> #curl -L https://archives.boost.io/release/1.80.0/source/boost_1_80_0.tar.gz -o /tmp/boost.tar.gz
385 | >>> wget -O /tmp/boost.tar.gz Download boost_1_80_0.tar.gz (Boost C++ Libraries)
386 | >>> && (cd /tmp && tar xzf boost.tar.gz)
387 | >>> && cd /tmp/boost_1_80_0
388 | >>> && ./bootstrap.sh --prefix=/usr
389 | >>> && ./b2 install
390 | >>> && rm -rf /tmp/boost*

391
ERROR: failed to build: failed to solve: process “/bin/bash -c wget -O /tmp/boost.tar.gz Download boost_1_80_0.tar.gz (Boost C++ Libraries) && (cd /tmp && tar xzf boost.tar.gz) && cd /tmp/boost_1_80_0 && ./bootstrap.sh --prefix=/usr && ./b2 install && rm -rf /tmp/boost*” did not complete successfully: exit code: 1
/orin_ssd/isaac_ros_dev/src

I think that there’s an issue with ./b2 install command.
Do you have any suggestion?

Thanks.

Had the same issue. Changed the libboost version to the latest 1.87, and the build went through for aarch64

1 Like

Hi,

thanks for the answer.

I solved using

./b2 install --with-filesystem --with-system --with-thread

with libboost 1.80.0, but I think your solution is better.

Which Jetson do you use?
I use a Jetson Orin AGX with JP 6.2.1

1 Like