Error building dockerfile.ros2_humble

Hello,

I encounter an error when trying to run the command

cd ${ISAAC_ROS_WS}/src/isaac_ros_common &&
./scripts/run_dev.sh

from the object detection package.

55.27 dh_auto_configure: error: cd .obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON “-GUnix Makefiles” -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_INSTALL_PREFIX=/opt/ros/humble -DAMENT_PREFIX_PATH=/opt/ros/humble -DCMAKE_PREFIX_PATH=/opt/ros/humble -DBUILD_TESTING=OFF … returned exit code 1
55.27 make[1]: *** [debian/rules:33: override_dh_auto_configure] Error 2
55.27 make[1]: Leaving directory ‘/opt/ros/humble/src/moveit_task_constructor/core’
55.27 make: *** [debian/rules:27: binary] Error 2

240 | # installed from source above.
241 | >>> RUN --mount=type=cache,target=/var/cache/apt
242 | >>> mkdir -p ${ROS_ROOT}/src && cd ${ROS_ROOT}/src
243 | >>> && git clone GitHub - moveit/moveit_task_constructor: A hierarchical multi-stage manipulation planner -b humble
244 | >>> && cd moveit_task_constructor && source ${ROS_ROOT}/setup.bash
245 | >>> && cd msgs && bloom-generate rosdebian && fakeroot debian/rules binary
246 | >>> && cd …/ && apt-get install -y ./.deb && rm ./.deb
247 | >>> && cd rviz_marker_tools && bloom-generate rosdebian && fakeroot debian/rules binary
248 | >>> && cd …/ && apt-get install -y ./.deb && rm ./.deb
249 | >>> && cd core && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck
250 | >>> && cd …/ && apt-get install -y ./.deb && rm ./.deb
251 | >>> && cd capabilities && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck
252 | >>> && cd …/ && apt-get install -y ./.deb && rm ./.deb
253 | >>> && cd visualization && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck
254 | >>> && cd …/ && apt-get install -y ./.deb && rm ./.deb
255 | >>> && cd demo && bloom-generate rosdebian && fakeroot debian/rules binary DEB_BUILD_OPTIONS=nocheck
256 | >>> && cd …/ && apt-get install -y ./.deb && rm ./.deb

257

I tried to find the problem and encountered that it breaks on line 249.

Check this:

1 Like

Thank you @piotr.jasielski_ext
Please follow the other topic.

Raffaello