[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
While following the recipe on blog site https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile for cross building aarch64 with Qemu... via
sudo apt-get install qemu binfmt-support qemu-user-static and registering the arch64 execution...
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
and having validated that a cross build environment operates as expected by running
docker run --rm -t arm64v8/ubuntu uname -m
resulting to aarch64, I tried building the docker image as described in https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile by executing:
5 6.696 At least one invalid signature was encountered.
5 6.749 Fetched 339 kB in 5s (65.2 kB/s)
5 6.749 Reading package lists...
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal-security InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.download.nvidia.com/jetson/common r35.2 InRelease: At least one invalid signature was encountered.
Preliminary Checks
Description
While following the recipe on blog site https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile for cross building aarch64 with Qemu... via
sudo apt-get install qemu binfmt-support qemu-user-static
and registering the arch64 execution...docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
and having validated that a cross build environment operates as expected by runningdocker run --rm -t arm64v8/ubuntu uname -m
resulting to aarch64, I tried building the docker image as described in https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile by executing:docker build --build-arg L4T_MAJOR_VERSION=35 \ --build-arg L4T_MINOR_VERSION=2 \ --build-arg L4T_PATCH_VERSION=1 \ --build-arg ZED_SDK_MAJOR=4 \ --build-arg ZED_SDK_MINOR=0 \ --build-arg JETPACK_MAJOR=5 \ --build-arg JETPACK_MINOR=1.0 \ --build-arg L4T_BASE_IMAGE="l4t-jetpack" \ -t zed:4.0-devel-l4t-r35.2 .
This produced:
5 1.912 Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
5 1.914 Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
5 2.105 Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]
5 2.193 Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
5 2.625 Get:5 https://repo.download.nvidia.com/jetson/common r35.2 InRelease [2555 B]
5 2.953 Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
5 2.953 At least one invalid signature was encountered.
5 3.885 Err:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
5 3.885 At least one invalid signature was encountered.
5 4.820 Err:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
5 4.820 At least one invalid signature was encountered.
5 5.765 Err:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
5 5.765 At least one invalid signature was encountered.
5 6.696 Err:5 https://repo.download.nvidia.com/jetson/common r35.2 InRelease
5 6.696 At least one invalid signature was encountered.
5 6.749 Fetched 339 kB in 5s (65.2 kB/s)
5 6.749 Reading package lists...
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal-security InRelease: At least one invalid signature was encountered.
5 9.945 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.download.nvidia.com/jetson/common r35.2 InRelease: At least one invalid signature was encountered.
5 9.945 W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease At least one invalid signature was encountered.
5 9.945 W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-updates/InRelease At least one invalid signature was encountered.
5 9.945 W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-backports/InRelease At least one invalid signature was encountered.
5 9.945 W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-security/InRelease At least one invalid signature was encountered.
5 9.945 W: Failed to fetch https://repo.download.nvidia.com/jetson/common/dists/r35.2/InRelease At least one invalid signature was encountered.
5 9.945 W: Some index files failed to download. They have been ignored, or old ones used instead.
5 10.24 Reading package lists...
5 13.38 Building dependency tree...
5 13.79 Reading state information...
5 14.03 build-essential is already the newest version (12.8ubuntu1.1).
5 14.03 build-essential set to manually installed.
5 14.03 sudo is already the newest version (1.8.31-1ubuntu1.4).
5 14.03 udev is already the newest version (245.4-4ubuntu3.19).
5 14.03 wget is already the newest version (1.20.3-1ubuntu2).
5 14.03 The following additional packages will be installed:
5 14.03 cmake-data distro-info-data libarchive13 libcurl4 libjsoncpp1 librhash0
5 14.03 libuv1
5 14.03 Suggested packages:
5 14.03 cmake-doc ninja-build lrzip
5 14.15 The following NEW packages will be installed:
5 14.15 apt-transport-https cmake cmake-data distro-info-data less libarchive13
5 14.15 libcurl4 libjsoncpp1 librhash0 libuv1 lsb-release zstd
5 14.46 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
5 14.46 Need to get 5946 kB of archives.
5 14.46 After this operation, 29.3 MB of additional disk space will be used.
5 14.46 Err:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 distro-info-data all 0.43ubuntu1.11
5 14.46 404 Not Found [IP: 185.125.190.39 80]
5 14.57 Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 less arm64 551-1ubuntu0.1 [119 kB]
5 14.70 Get:3 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 lsb-release all 11.1.0ubuntu2 [10.6 kB]
5 14.70 Get:4 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libuv1 arm64 1.34.2-1ubuntu1.3 [75.1 kB]
5 14.74 Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 apt-transport-https all 2.0.9 [1704 B]
5 14.74 Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB]
5 14.90 Get:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libarchive13 arm64 3.4.0-2ubuntu1.2 [304 kB]
5 14.91 Ign:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libcurl4 arm64 7.68.0-1ubuntu2.15
5 14.91 Get:9 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libjsoncpp1 arm64 1.7.4-3.1ubuntu2 [69.8 kB]
5 14.92 Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 librhash0 arm64 1.3.9-1 [111 kB]
5 14.92 Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 cmake arm64 3.16.3-1ubuntu1.20.04.1 [3112 kB]
5 15.15 Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 zstd arm64 1.4.4+dfsg-3ubuntu0.1 [310 kB]
5 15.43 Err:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libcurl4 arm64 7.68.0-1ubuntu2.15
5 15.43 404 Not Found [IP: 185.125.190.39 80]
5 15.45 EFetched 5727 kB in 1s (4555 kB/s)
5 15.45 : Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/d/distro-info-data/distro-info-data_0.43ubuntu1.11_all.deb 404 Not Found [IP: 185.125.190.39 80]
5 15.45 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/c/curl/libcurl4_7.68.0-1ubuntu2.15_arm64.deb 404 Not Found [IP: 185.125.190.39 80]
5 15.45 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
5 19.87 Verifying archive integrity... 100% MD5 checksums are OK. All good.
5 21.83 Uncompressing 'ZED camera SDK by Stereolabs (Use 'sudo apt install zstd' if zstd is not found)'./ZED_SDK_Linux.run: 1: eval: zstd: not found
5 21.87 ... Decompression failed.
5 21.89 ... Extraction failed.
5 21.94 100% Signal caught, cleaning up
Steps to Reproduce
sudo apt-get install qemu binfmt-support qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
Expected Result
build without errors
Actual Result
stopped building Docker image due to errors
ZED Camera model
ZED
Environment
Anything else?
.