-
Notifications
You must be signed in to change notification settings - Fork 214
Docker Build Error: L4T - Jetson Orin. Failed at libdraco-dev and ./ZED_SDK_Linux_JP.run: No such file or directory #314
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
Comments
Hi, I am having the same issue using the ZED-Box based on the Jetson Zavier NX. On the host, when I search for this package, it cannot find it. $ apt search libdraco-dev
Sorting... Done
Full Text Search... Done I also use Is there any news on how to resolve this? Is there a timeline for the bug fix? With kind regards, |
You could consider installing it from the source: |
Indeed, I can install it from source. So I did. When reaching the stage where it builds the ROS 2 packages, it fails. Here is the summary:
I do not know if it is related to the draco library, but since |
What's the build error? Can you share the full build report? |
Here is the terminal output when I try to compile the
If you need specific .log files from the |
Also, is it possible that the humble version of the base image |
There are a few available images for ROS 2 Humble on L4T 35.4.1: |
Hi, I had the same issue and I found some ways to solve it. I created PR #337 so even if it is not merged by Stereolabs I hope it can help you @byu-awesome-rover @Dave-van-der-Meer. |
Preliminary Checks
Description
I am trying to build a docker image for my jetson orin running jetpack 5.1.2 (l4t 35.4.1) I am just using the script to build the image:
./jetson_build_dockerfile_from_sdk_and_l4T_version.sh l4t-r35.4.1 zedsdk-4.2.3
Is there a min version of l4t?
Steps to Reproduce
...
Expected Result
The image should have built properly
Actual Result
./jetson_build_dockerfile_from_sdk_and_l4T_version.sh l4t-r35.4.1 zedsdk-4.2.3
rm: cannot remove './tmp_sources': No such file or directory
35 4
Building dockerfile for l4t-r35.4.1 and ZED SDK zedsdk-4.2.3
[+] Building 52.5s (10/20) docker:default
=> [internal] load build definition from Dockerfile.l4t-humble 0.0s
=> => transferring dockerfile: 5.31kB 0.0s
=> [internal] load metadata for docker.io/dustynv/ros:humble-ros-base-l4t-r35.4.1 0.6s
=> [auth] dustynv/ros:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [ 1/15] FROM docker.io/dustynv/ros:humble-ros-base-l4t-r35.4.1@sha256:e9761a81548fb7b9f4b9c71ada4ea940839bb2c02ef2cfe1a2b41c903a2f14a0 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 1.59MB 0.1s
=> [ 2/15] RUN if [ "$(curl -I "https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/4.2/ZED_SDK_Tegra_L4T35.4_v4.2.3.zstd.run" -o /dev/null -s -w '%{http_code}\n' | head -n 1)" = "200" ]; t 0.5s
=> [ 3/15] RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 42D5A192B819C5DA || true && apt-get update || true && apt-get install -y --no-install-recommends apt-utils dialog && r 16.8s
=> [ 4/15] RUN ln -snf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone && apt-get update && apt-get install --yes lsb-release wget less udev sudo build-e 22.8s
=> ERROR [ 5/15] RUN echo "# R35 (release), REVISION: 4" > /etc/nv_tegra_release && apt-get update -y || true && apt-get install -y --no-install-recommends zstd wget less cmake curl gnupg2 11.6s
Dockerfile.l4t-humble:53
52 |
53 | >>> RUN echo "# R${L4T_MAJOR} (release), REVISION: ${L4T_MINOR}" > /etc/nv_tegra_release &&
54 | >>> apt-get update -y || true &&
55 | >>> apt-get install -y --no-install-recommends zstd wget less cmake curl gnupg2
56 | >>> build-essential python3 python3-pip python3-dev python3-setuptools libusb-1.0-0-dev \
57 | >>> libgeographic-dev libdraco-dev zlib1g-dev -y &&
58 | >>> pip install protobuf &&
59 | >>> wget -q --no-check-certificate -O ZED_SDK_Linux_JP.run
60 | >>> ${ZED_SDK_URL} &&
61 | >>> chmod +x ZED_SDK_Linux_JP.run ; ./ZED_SDK_Linux_JP.run silent skip_tools &&
62 | >>> rm -rf /usr/local/zed/resources/* &&
63 | >>> rm -rf ZED_SDK_Linux_JP.run &&
64 | >>> rm -rf /var/lib/apt/lists/*
65 |
ERROR: failed to solve: process "/bin/bash -c echo "# R${L4T_MAJOR} (release), REVISION: ${L4T_MINOR}" > /etc/nv_tegra_release && apt-get update -y || true && apt-get install -y --no-install-recommends zstd wget less cmake curl gnupg2 build-essential python3 python3-pip python3-dev python3-setuptools libusb-1.0-0-dev libgeographic-dev libdraco-dev zlib1g-dev -y && pip install protobuf && wget -q --no-check-certificate -O ZED_SDK_Linux_JP.run ${ZED_SDK_URL} && chmod +x ZED_SDK_Linux_JP.run ; ./ZED_SDK_Linux_JP.run silent skip_tools && rm -rf /usr/local/zed/resources/* && rm -rf ZED_SDK_Linux_JP.run && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 127
ZED Camera model
ZED2
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: