Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to call git rev-parse and Failed to build base image: isaac_ros_dev-x86_64, aborting. #70

Closed
dev10110 opened this issue Jun 22, 2023 · 2 comments
Assignees
Labels
needs info Needs more information

Comments

@dev10110
Copy link

Hi,

Ive been trying to build the nvblox library, and Ive followed instructions here: https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox/blob/main/docs/tutorial-realsense.md but I get stuck at the following:

cd ~/workspaces/isaac_ros-dev/src/isaac_ros_common && \
>   ./scripts/run_dev.sh

has output

isaac_ros_dev not specified, assuming /home/dasc3/workspaces/isaac_ros-dev
Error: Failed to call git rev-parse --git-dir: exit status 128 
Building x86_64.ros2_humble.realsense.user base as image: isaac_ros_dev-x86_64 using key x86_64.ros2_humble.realsense.user
Using base image name not specified, using ''
Using docker context dir not specified, using Dockerfile directory
Failed to build base image: isaac_ros_dev-x86_64, aborting.
~/workspaces/isaac_ros-dev/src/isaac_ros_common

any suggestions will be helpful!

Thanks
Dev

@jaiveersinghNV
Copy link
Contributor

Could you try the following steps:

  1. In isaac_ros_common/scripts/build_base_image.sh, replace line 1 to read:
    #!/bin/bash -x
    This will ensure that each command is printed out, to help us understand exactly where the script is failing.
  2. On your host machine, run nvidia-smi. Sometimes, this can fail because of incorrect GPU driver versions on your host machine, which will then cause the container build process to fail.

@jaiveersinghNV jaiveersinghNV self-assigned this Jun 26, 2023
@jaiveersinghNV jaiveersinghNV added the needs info Needs more information label Jun 26, 2023
@dev10110
Copy link
Author

Hi, I think I was just using not using the run_dev.sh script correctly. Providing the workspace path seems have fixed the issue.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Needs more information
Projects
None yet
Development

No branches or pull requests

2 participants