Search before asking
jetson-containers Component
Build
Bug
Hello,
I am attempting to build wyoming-whisper on a Orin Nano system, and it is failing at step 11/14 with the following:
Used the following command line to build: jetson-containers build wyoming-whisper:3.1.0 --name whisper:260408 the build also fails with jetson-containers build wyoming-whisper --name whisper:260408
Build also fails for faster-whisperer, and wyoming-piper. I'll open tickets for them later.
I can provide all the build logs if it would help.
Any guidance would be appreciated! :)
Click to expand log
[ 74%] Linking CXX static library libonnxruntime_providers.a
[ 74%] Built target onnxruntime_providers
gmake: *** [Makefile:146: all] Error 2
Traceback (most recent call last):
File "/opt/onnxruntime/tools/ci_build/build.py", line 2667, in
sys.exit(main())
File "/opt/onnxruntime/tools/ci_build/build.py", line 2571, in main
build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.targets)
File "/opt/onnxruntime/tools/ci_build/build.py", line 1368, in build_targets
run_subprocess(cmd_args, env=env)
File "/opt/onnxruntime/tools/ci_build/build.py", line 148, in run_subprocess
return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
File "/opt/onnxruntime/tools/python/util/run.py", line 50, in run
completed_process = subprocess.run(
File "/root/.local/share/uv/python/cpython-3.10-linux-aarch64-gnu/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/opt/venv/bin/cmake', '--build', '/opt/onnxruntime/build/Linux/Release', '--config', 'Release', '--', '-j6']' returned non-zero exit status 2.
The command '/bin/bash -exo pipefail -c /tmp/onnxruntime/install.sh || /tmp/onnxruntime/build.sh' returned a non-zero code: 1
[23:53:49] =====================================================================================
[23:53:49] =====================================================================================
[23:53:49] 💣 `jetson-containers build` failed after 2281.2 seconds (38.0 minutes)
[23:53:49] Error: Command 'DOCKER_BUILDKIT=0 docker build --network=host --shm-size=8g --tag whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime --file /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime/Dockerfile --build-arg BASE_IMAGE=whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnx --build-arg NVIDIA_DRIVER_CAPABILITIES=all --build-arg ONNXRUNTIME_VERSION="1.25.0" --build-arg ONNXRUNTIME_BRANCH="rel-1.25.0" --build-arg ONNXRUNTIME_FLAGS="--allow_running_as_root" /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime 2>&1 | tee /home/mradmin/projects/jetson-containers/logs/20260410_231548/build/11o14_whisper_260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.
[23:53:49] =====================================================================================
[23:53:49] =====================================================================================
[23:53:49] Failed building: wyoming-whisper:3.1.0
Traceback (most recent call last):
File "/home/mradmin/projects/jetson-containers/jetson_containers/build.py", line 136, in
build_container(**vars(args))
File "/home/mradmin/projects/jetson-containers/jetson_containers/container.py", line 265, in build_container
status = subprocess.run(cmd.replace(NEWLINE, ' '), executable='/bin/bash', shell=True, check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=0 docker build --network=host --shm-size=8g --tag whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime --file /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime/Dockerfile --build-arg BASE_IMAGE=whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnx --build-arg NVIDIA_DRIVER_CAPABILITIES=all --build-arg ONNXRUNTIME_VERSION="1.25.0" --build-arg ONNXRUNTIME_BRANCH="rel-1.25.0" --build-arg ONNXRUNTIME_FLAGS="--allow_running_as_root" /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime 2>&1 | tee /home/mradmin/projects/jetson-containers/logs/20260410_231548/build/11o14_whisper_260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.
Environment
I followed the directions at docs/setup.md instructions. Pulled the latest commit, ran install.sh successfully, created a 24GB swap file, disabled desktop GUI.
l4t_version: 36.5.0
Docker Version: 29.3.1
Python 3.9.6
Additional
No response
Are you willing to submit a PR?
Search before asking
jetson-containers Component
Build
Bug
Hello,
I am attempting to build wyoming-whisper on a Orin Nano system, and it is failing at step 11/14 with the following:
Used the following command line to build:
jetson-containers build wyoming-whisper:3.1.0 --name whisper:260408the build also fails withjetson-containers build wyoming-whisper --name whisper:260408Build also fails for faster-whisperer, and wyoming-piper. I'll open tickets for them later.
I can provide all the build logs if it would help.
Any guidance would be appreciated! :)
Click to expand log
[ 74%] Linking CXX static library libonnxruntime_providers.a [ 74%] Built target onnxruntime_providers gmake: *** [Makefile:146: all] Error 2 Traceback (most recent call last): File "/opt/onnxruntime/tools/ci_build/build.py", line 2667, in sys.exit(main()) File "/opt/onnxruntime/tools/ci_build/build.py", line 2571, in main build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.targets) File "/opt/onnxruntime/tools/ci_build/build.py", line 1368, in build_targets run_subprocess(cmd_args, env=env) File "/opt/onnxruntime/tools/ci_build/build.py", line 148, in run_subprocess return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env) File "/opt/onnxruntime/tools/python/util/run.py", line 50, in run completed_process = subprocess.run( File "/root/.local/share/uv/python/cpython-3.10-linux-aarch64-gnu/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/opt/venv/bin/cmake', '--build', '/opt/onnxruntime/build/Linux/Release', '--config', 'Release', '--', '-j6']' returned non-zero exit status 2. The command '/bin/bash -exo pipefail -c /tmp/onnxruntime/install.sh || /tmp/onnxruntime/build.sh' returned a non-zero code: 1 [23:53:49] ===================================================================================== [23:53:49] ===================================================================================== [23:53:49] 💣 `jetson-containers build` failed after 2281.2 seconds (38.0 minutes) [23:53:49] Error: Command 'DOCKER_BUILDKIT=0 docker build --network=host --shm-size=8g --tag whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime --file /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime/Dockerfile --build-arg BASE_IMAGE=whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnx --build-arg NVIDIA_DRIVER_CAPABILITIES=all --build-arg ONNXRUNTIME_VERSION="1.25.0" --build-arg ONNXRUNTIME_BRANCH="rel-1.25.0" --build-arg ONNXRUNTIME_FLAGS="--allow_running_as_root" /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime 2>&1 | tee /home/mradmin/projects/jetson-containers/logs/20260410_231548/build/11o14_whisper_260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1. [23:53:49] ===================================================================================== [23:53:49] ===================================================================================== [23:53:49] Failed building: wyoming-whisper:3.1.0Traceback (most recent call last):
File "/home/mradmin/projects/jetson-containers/jetson_containers/build.py", line 136, in
build_container(**vars(args))
File "/home/mradmin/projects/jetson-containers/jetson_containers/container.py", line 265, in build_container
status = subprocess.run(cmd.replace(NEWLINE, ' '), executable='/bin/bash', shell=True, check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=0 docker build --network=host --shm-size=8g --tag whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime --file /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime/Dockerfile --build-arg BASE_IMAGE=whisper:260408-r36.5.tegra-aarch64-cu126-22.04-onnx --build-arg NVIDIA_DRIVER_CAPABILITIES=all --build-arg ONNXRUNTIME_VERSION="1.25.0" --build-arg ONNXRUNTIME_BRANCH="rel-1.25.0" --build-arg ONNXRUNTIME_FLAGS="--allow_running_as_root" /home/mradmin/projects/jetson-containers/packages/ml/onnxruntime 2>&1 | tee /home/mradmin/projects/jetson-containers/logs/20260410_231548/build/11o14_whisper_260408-r36.5.tegra-aarch64-cu126-22.04-onnxruntime.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.
Environment
I followed the directions at docs/setup.md instructions. Pulled the latest commit, ran install.sh successfully, created a 24GB swap file, disabled desktop GUI.
l4t_version: 36.5.0
Docker Version: 29.3.1
Python 3.9.6
Additional
No response
Are you willing to submit a PR?