-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
buildbuild issues; typically submitted using templatebuild issues; typically submitted using templateep:MIGraphXissues related to AMD MI GraphX execution providerissues related to AMD MI GraphX execution providerep:ROCmquestions/issues related to ROCm execution providerquestions/issues related to ROCm execution providerplatform:mobileissues related to ONNX Runtime mobile; typically submitted using templateissues related to ONNX Runtime mobile; typically submitted using template
Description
Describe the issue
Using Docker 28.5.2 on Fedora 42, the docker builds fail. This is true for Dockerfile.migraphx, Dockerfile.rocm, and possibly others.
Problematic snippets:
#7 88.44 ./build.sh: 6: Bad substitution
#7 88.44 ./build.sh: 15: [[: not found
#7 88.44 ./build.sh: 17: [[: not found
#7 89.55 CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
#7 89.55 CMake 3.28 or higher is required. You are running version 3.26.4
#7 89.55
#7 89.55
#7 89.55 -- Configuring incomplete, errors occurred!
Urgency
No response
Target platform
Linux
Build script
sudo docker build -t onnxruntime-migraphx -f Dockerfile.migraphx .
Error / output
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile.migraphx
#1 transferring dockerfile: 1.37kB done
#1 DONE 0.1s
#2 [internal] load metadata for docker.io/rocm/pytorch:rocm6.2.3_ubuntu22.04_py3.10_pytorch_release_2.3.0
#2 DONE 0.6s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.1s
#4 [1/4] FROM docker.io/rocm/pytorch:rocm6.2.3_ubuntu22.04_py3.10_pytorch_release_2.3.0@sha256:54422bee895f9e44bc5257ab03011aae532c5b7cfa39dda00a3000c46db81239
#4 DONE 0.0s
#5 [2/4] RUN apt-get update && apt-get install -y migraphx
#5 CACHED
#6 [3/4] WORKDIR /code
#6 CACHED
#7 [4/4] RUN git clone --single-branch --branch main --recursive https://github.com/Microsoft/onnxruntime onnxruntime && /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh && cd onnxruntime && pip install --upgrade pip && /bin/sh ./build.sh --allow_running_as_root --cmake_extra_defines ONNXRUNTIME_VERSION=`cat ./VERSION_NUMBER` --config Release --parallel --skip_tests --build_wheel --use_rocm --rocm_version=${ROCM_VERSION} --rocm_home /opt/rocm --use_migraphx && pip install /code/onnxruntime/build/Linux/Release/dist/*.whl
#7 0.299 Cloning into 'onnxruntime'...
#7 55.07 Updating files: 75% (7220/9557)
Updating files: 76% (7264/9557)
Updating files: 77% (7359/9557)
Updating files: 78% (7455/9557)
Updating files: 79% (7551/9557)
Updating files: 80% (7646/9557)
Updating files: 81% (7742/9557)
Updating files: 82% (7837/9557)
Updating files: 83% (7933/9557)
Updating files: 84% (8028/9557)
Updating files: 85% (8124/9557)
Updating files: 86% (8220/9557)
Updating files: 87% (8315/9557)
Updating files: 88% (8411/9557)
Updating files: 89% (8506/9557)
Updating files: 90% (8602/9557)
Updating files: 91% (8697/9557)
Updating files: 92% (8793/9557)
Updating files: 93% (8889/9557)
Updating files: 94% (8984/9557)
Updating files: 95% (9080/9557)
Updating files: 96% (9175/9557)
Updating files: 97% (9271/9557)
Updating files: 98% (9366/9557)
Updating files: 99% (9462/9557)
Updating files: 100% (9557/9557)
Updating files: 100% (9557/9557), done.
#7 55.79 Submodule 'cmake/external/emsdk' (https://github.com/emscripten-core/emsdk.git) registered for path 'cmake/external/emsdk'
#7 55.79 Submodule 'cmake/external/libprotobuf-mutator' (https://github.com/google/libprotobuf-mutator.git) registered for path 'cmake/external/libprotobuf-mutator'
#7 55.79 Submodule 'cmake/external/onnx' (https://github.com/onnx/onnx.git) registered for path 'cmake/external/onnx'
#7 55.79 Cloning into '/code/onnxruntime/cmake/external/emsdk'...
#7 56.72 Cloning into '/code/onnxruntime/cmake/external/libprotobuf-mutator'...
#7 57.35 Cloning into '/code/onnxruntime/cmake/external/onnx'...
#7 62.12 Submodule path 'cmake/external/emsdk': checked out 'd49219d03a41cd12f95a33ba84273c20d41fd350'
#7 62.14 Submodule path 'cmake/external/libprotobuf-mutator': checked out '7a2ed51a6b682a83e345ff49fc4cfd7ca47550db'
#7 62.98 From https://github.com/onnx/onnx
#7 62.98 * branch 54b72a5edd399eb096ee09fecdef03201e9bde89 -> FETCH_HEAD
#7 63.21 Submodule path 'cmake/external/onnx': checked out '54b72a5edd399eb096ee09fecdef03201e9bde89'
#7 63.44 Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
#7 63.47 Hit:2 http://repo.radeon.com/rocm/apt/6.2.3 jammy InRelease
#7 63.49 Hit:3 https://repo.radeon.com/amdgpu/6.2.3/ubuntu jammy InRelease
#7 63.58 Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease
#7 63.68 Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
#7 63.78 Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3535 kB]
#7 64.19 Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
#7 64.25 Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1286 kB]
#7 64.44 Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1592 kB]
#7 64.98 Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3870 kB]
#7 65.42 Fetched 10.7 MB in 2s (5081 kB/s)
#7 65.42 Reading package lists...
#7 65.93 W: http://repo.radeon.com/rocm/apt/6.2.3/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
#7 65.93 W: https://repo.radeon.com/amdgpu/6.2.3/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
#7 65.96 Reading package lists...
#7 66.45 Building dependency tree...
#7 66.55 Reading state information...
#7 66.66 build-essential is already the newest version (12.9ubuntu3).
#7 66.66 ca-certificates is already the newest version (20240203~22.04.1).
#7 66.66 python3-dev is already the newest version (3.10.6-1~22.04.1).
#7 66.66 wget is already the newest version (1.21.2-2ubuntu1.1).
#7 66.66 The following packages were automatically installed and are no longer required:
#7 66.66 adwaita-icon-theme dbus-user-session dconf-gsettings-backend dconf-service
#7 66.66 gdal-data gtk-update-icon-cache hicolor-icon-theme humanity-icon-theme
#7 66.66 libaec0 libarmadillo10 libarpack2 libatk-bridge2.0-0 libatk1.0-0
#7 66.66 libatk1.0-data libatspi2.0-0 libavahi-client3 libavahi-common-data
#7 66.66 libavahi-common3 libavformat-dev libavformat58 libblosc1 libbluray2
#7 66.66 libcfitsio9 libcharls2 libchromaprint1 libcolord2 libcups2 libdc1394-25
#7 66.66 libdc1394-dev libdconf1 libde265-0 libdeflate-dev libdouble-conversion3
#7 66.66 libepoxy0 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexif-dev libexif12
#7 66.66 libfreexl1 libfyba0 libgdal30 libgdcm-dev libgdcm3.0 libgeos-c1v5
#7 66.66 libgeos3.10.2 libgeotiff5 libgif7 libgl2ps1.4 libglew2.2 libgme0
#7 66.66 libgphoto2-6 libgphoto2-dev libgphoto2-port12 libgstreamer-plugins-base1.0-0
#7 66.66 libgtk-3-0 libgtk-3-common libhdf4-0-alt libhdf5-103-1 libhdf5-hl-100
#7 66.66 libheif1 libhwloc-plugins libhwloc15 libilmbase-dev libilmbase25 libjbig-dev
#7 66.66 libkmlbase1 libkmldom1 libkmlengine1 liblcms2-2 liblept5 liblzma-dev
#7 66.66 libminizip1 libmpg123-0 libmysqlclient21 libnetcdf19 libnorm1 libnspr4
#7 66.66 libnss3 libodbc2 libodbcinst2 libogdi4.1 libopencv-calib3d-dev
#7 66.66 libopencv-calib3d4.5d libopencv-contrib4.5d libopencv-core-dev
#7 66.66 libopencv-core4.5d libopencv-dnn-dev libopencv-dnn4.5d
#7 66.66 libopencv-features2d-dev libopencv-features2d4.5d libopencv-flann-dev
#7 66.66 libopencv-flann4.5d libopencv-highgui-dev libopencv-highgui4.5d
#7 66.66 libopencv-imgcodecs-dev libopencv-imgcodecs4.5d libopencv-imgproc-dev
#7 66.66 libopencv-imgproc4.5d libopencv-ml-dev libopencv-ml4.5d
#7 66.66 libopencv-objdetect-dev libopencv-objdetect4.5d libopencv-photo-dev
#7 66.66 libopencv-photo4.5d libopencv-shape-dev libopencv-shape4.5d
#7 66.66 libopencv-stitching-dev libopencv-stitching4.5d libopencv-superres-dev
#7 66.66 libopencv-superres4.5d libopencv-video-dev libopencv-video4.5d
#7 66.66 libopencv-videoio-dev libopencv-videoio4.5d libopencv-videostab-dev
#7 66.66 libopencv-videostab4.5d libopenexr-dev libopenexr25 libopengl0 libopenmpt0
#7 66.66 liborc-0.4-0 libpgm-5.3-0 libpmix2 libpoppler118 libpq5 libproj22
#7 66.66 libprotobuf23 libpsm-infinipath1 libpsm2-2 libqhull-r8.0 librabbitmq4
#7 66.66 libraw1394-11 libraw1394-dev librttopo1 libsocket++1 libspatialite7
#7 66.66 libsrt1.4-gnutls libssh-gcrypt-4 libsuperlu5 libswscale-dev libswscale5
#7 66.66 libsz2 libtbb-dev libtbb12 libtbb2 libtbbmalloc2 libtesseract4 libtiff-dev
#7 66.66 libtiffxx5 libudfread0 liburiparser1 libusb-1.0-0 libwayland-client0
#7 66.66 libwayland-cursor0 libwayland-egl1 libxcomposite1 libxcursor1 libxdamage1
#7 66.66 libxerces-c3.2 libxi6 libxinerama1 libxkbcommon0 libxnvctrl0 libxrandr2
#7 66.66 libzmq5 mysql-common proj-data ubuntu-mono unixodbc-common xkb-data
#7 66.66 Use 'apt autoremove' to remove them.
#7 66.66 The following additional packages will be installed:
#7 66.66 libcurl4 libssl3
#7 66.66 Suggested packages:
#7 66.66 libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
#7 66.66 libssl-doc
#7 66.70 The following NEW packages will be installed:
#7 66.70 libcurl4-openssl-dev libssl-dev zip
#7 66.70 The following packages will be upgraded:
#7 66.70 curl libcurl4 libssl3
#7 66.82 3 upgraded, 3 newly installed, 0 to remove and 190 not upgraded.
#7 66.82 Need to get 5327 kB of archives.
#7 66.82 After this operation, 14.6 MB of additional disk space will be used.
#7 66.82 Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl3 amd64 3.0.2-0ubuntu1.20 [1905 kB]
#7 67.28 Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.21 [194 kB]
#7 67.30 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.21 [290 kB]
#7 67.31 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4-openssl-dev amd64 7.81.0-1ubuntu1.21 [386 kB]
#7 67.34 Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.20 [2376 kB]
#7 67.51 Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 zip amd64 3.0-12build2 [176 kB]
#7 68.11 Preconfiguring packages ...
#7 68.17 Fetched 5327 kB in 1s (6557 kB/s)
#7 68.26 (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 71909 files and directories currently installed.)
#7 68.31 Preparing to unpack .../libssl3_3.0.2-0ubuntu1.20_amd64.deb ...
#7 68.37 Unpacking libssl3:amd64 (3.0.2-0ubuntu1.20) over (3.0.2-0ubuntu1.18) ...
#7 68.59 Setting up libssl3:amd64 (3.0.2-0ubuntu1.20) ...
#7 68.71 (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 71909 files and directories currently installed.)
#7 68.73 Preparing to unpack .../curl_7.81.0-1ubuntu1.21_amd64.deb ...
#7 68.76 Unpacking curl (7.81.0-1ubuntu1.21) over (7.81.0-1ubuntu1.18) ...
#7 68.92 Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.21_amd64.deb ...
#7 68.96 Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.21) over (7.81.0-1ubuntu1.18) ...
#7 69.07 Selecting previously unselected package libcurl4-openssl-dev:amd64.
#7 69.08 Preparing to unpack .../libcurl4-openssl-dev_7.81.0-1ubuntu1.21_amd64.deb ...
#7 69.09 Unpacking libcurl4-openssl-dev:amd64 (7.81.0-1ubuntu1.21) ...
#7 69.18 Selecting previously unselected package libssl-dev:amd64.
#7 69.19 Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.20_amd64.deb ...
#7 69.20 Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.20) ...
#7 69.30 Selecting previously unselected package zip.
#7 69.30 Preparing to unpack .../zip_3.0-12build2_amd64.deb ...
#7 69.32 Unpacking zip (3.0-12build2) ...
#7 69.39 Setting up zip (3.0-12build2) ...
#7 69.43 Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.20) ...
#7 69.47 Setting up libcurl4:amd64 (7.81.0-1ubuntu1.21) ...
#7 69.50 Setting up curl (7.81.0-1ubuntu1.21) ...
#7 69.54 Setting up libcurl4-openssl-dev:amd64 (7.81.0-1ubuntu1.21) ...
#7 69.58 Processing triggers for man-db (2.10.2-1) ...
#7 70.03 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
#7 75.33 PREFIX=/opt/miniconda
#7 75.56 installing: python-3.7.0-hc3d631a_0 ...
#7 77.10 Python 3.7.0
#7 77.10 installing: ca-certificates-2018.03.07-0 ...
#7 77.12 installing: conda-env-2.6.0-1 ...
#7 77.14 installing: libgcc-ng-8.2.0-hdf63c60_1 ...
#7 77.57 installing: libstdcxx-ng-8.2.0-hdf63c60_1 ...
#7 77.75 installing: libffi-3.2.1-hd88cf55_4 ...
#7 77.77 installing: ncurses-6.1-hf484d3e_0 ...
#7 77.96 installing: openssl-1.0.2p-h14c3975_0 ...
#7 78.25 installing: xz-5.2.4-h14c3975_4 ...
#7 78.29 installing: yaml-0.1.7-had09818_2 ...
#7 78.31 installing: zlib-1.2.11-ha838bed_2 ...
#7 78.34 installing: libedit-3.1.20170329-h6b74fdf_2 ...
#7 78.37 installing: readline-7.0-h7b6447c_5 ...
#7 78.41 installing: tk-8.6.8-hbc83047_0 ...
#7 78.62 installing: sqlite-3.24.0-h84994c4_0 ...
#7 78.74 installing: asn1crypto-0.24.0-py37_0 ...
#7 78.77 installing: certifi-2018.8.24-py37_1 ...
#7 78.80 installing: chardet-3.0.4-py37_1 ...
#7 78.83 installing: idna-2.7-py37_0 ...
#7 78.85 installing: pycosat-0.6.3-py37h14c3975_0 ...
#7 78.88 installing: pycparser-2.18-py37_1 ...
#7 78.91 installing: pysocks-1.6.8-py37_0 ...
#7 78.93 installing: ruamel_yaml-0.15.46-py37h14c3975_0 ...
#7 78.97 installing: six-1.11.0-py37_1 ...
#7 78.99 installing: cffi-1.11.5-py37he75722e_1 ...
#7 79.03 installing: setuptools-40.2.0-py37_0 ...
#7 79.09 installing: cryptography-2.3.1-py37hc365091_0 ...
#7 79.16 installing: wheel-0.31.1-py37_0 ...
#7 79.18 installing: pip-10.0.1-py37_0 ...
#7 79.32 installing: pyopenssl-18.0.0-py37_0 ...
#7 79.35 installing: urllib3-1.23-py37_0 ...
#7 79.38 installing: requests-2.19.1-py37_0 ...
#7 79.41 installing: conda-4.5.11-py37_0 ...
#7 79.54 installation finished.
#7 79.66 Cache location: /opt/miniconda/pkgs
#7 79.66 Will remove the following tarballs:
#7 79.66
#7 79.66 /opt/miniconda/pkgs
#7 79.66 -------------------
#7 79.66 python-3.7.0-hc3d631a_0.tar.bz2 31.7 MB
#7 79.66 ca-certificates-2018.03.07-0.tar.bz2 124 KB
#7 79.66 conda-env-2.6.0-1.tar.bz2 3 KB
#7 79.66 libgcc-ng-8.2.0-hdf63c60_1.tar.bz2 7.6 MB
#7 79.66 libstdcxx-ng-8.2.0-hdf63c60_1.tar.bz2 2.9 MB
#7 79.66 libffi-3.2.1-hd88cf55_4.tar.bz2 43 KB
#7 79.66 ncurses-6.1-hf484d3e_0.tar.bz2 943 KB
#7 79.66 openssl-1.0.2p-h14c3975_0.tar.bz2 3.5 MB
#7 79.66 xz-5.2.4-h14c3975_4.tar.bz2 366 KB
#7 79.66 yaml-0.1.7-had09818_2.tar.bz2 85 KB
#7 79.66 zlib-1.2.11-ha838bed_2.tar.bz2 101 KB
#7 79.66 libedit-3.1.20170329-h6b74fdf_2.tar.bz2 172 KB
#7 79.66 readline-7.0-h7b6447c_5.tar.bz2 392 KB
#7 79.66 tk-8.6.8-hbc83047_0.tar.bz2 3.1 MB
#7 79.66 sqlite-3.24.0-h84994c4_0.tar.bz2 1.8 MB
#7 79.66 asn1crypto-0.24.0-py37_0.tar.bz2 154 KB
#7 79.66 certifi-2018.8.24-py37_1.tar.bz2 139 KB
#7 79.66 chardet-3.0.4-py37_1.tar.bz2 164 KB
#7 79.66 idna-2.7-py37_0.tar.bz2 99 KB
#7 79.66 pycosat-0.6.3-py37h14c3975_0.tar.bz2 105 KB
#7 79.66 pycparser-2.18-py37_1.tar.bz2 167 KB
#7 79.66 pysocks-1.6.8-py37_0.tar.bz2 22 KB
#7 79.66 ruamel_yaml-0.15.46-py37h14c3975_0.tar.bz2 245 KB
#7 79.66 six-1.11.0-py37_1.tar.bz2 21 KB
#7 79.66 cffi-1.11.5-py37he75722e_1.tar.bz2 212 KB
#7 79.66 setuptools-40.2.0-py37_0.tar.bz2 554 KB
#7 79.66 cryptography-2.3.1-py37hc365091_0.tar.bz2 585 KB
#7 79.66 wheel-0.31.1-py37_0.tar.bz2 62 KB
#7 79.66 pip-10.0.1-py37_0.tar.bz2 1.7 MB
#7 79.66 pyopenssl-18.0.0-py37_0.tar.bz2 82 KB
#7 79.66 urllib3-1.23-py37_0.tar.bz2 152 KB
#7 79.66 requests-2.19.1-py37_0.tar.bz2 96 KB
#7 79.66 conda-4.5.11-py37_0.tar.bz2 1.0 MB
#7 79.66
#7 79.66 ---------------------------------------------------
#7 79.66 Total: 58.3 MB
#7 79.66
#7 79.66 Removed python-3.7.0-hc3d631a_0.tar.bz2
#7 79.66 Removed ca-certificates-2018.03.07-0.tar.bz2
#7 79.66 Removed conda-env-2.6.0-1.tar.bz2
#7 79.66 Removed libgcc-ng-8.2.0-hdf63c60_1.tar.bz2
#7 79.66 Removed libstdcxx-ng-8.2.0-hdf63c60_1.tar.bz2
#7 79.66 Removed libffi-3.2.1-hd88cf55_4.tar.bz2
#7 79.66 Removed ncurses-6.1-hf484d3e_0.tar.bz2
#7 79.66 Removed openssl-1.0.2p-h14c3975_0.tar.bz2
#7 79.66 Removed xz-5.2.4-h14c3975_4.tar.bz2
#7 79.66 Removed yaml-0.1.7-had09818_2.tar.bz2
#7 79.66 Removed zlib-1.2.11-ha838bed_2.tar.bz2
#7 79.66 Removed libedit-3.1.20170329-h6b74fdf_2.tar.bz2
#7 79.66 Removed readline-7.0-h7b6447c_5.tar.bz2
#7 79.66 Removed tk-8.6.8-hbc83047_0.tar.bz2
#7 79.66 Removed sqlite-3.24.0-h84994c4_0.tar.bz2
#7 79.66 Removed asn1crypto-0.24.0-py37_0.tar.bz2
#7 79.66 Removed certifi-2018.8.24-py37_1.tar.bz2
#7 79.66 Removed chardet-3.0.4-py37_1.tar.bz2
#7 79.66 Removed idna-2.7-py37_0.tar.bz2
#7 79.66 Removed pycosat-0.6.3-py37h14c3975_0.tar.bz2
#7 79.66 Removed pycparser-2.18-py37_1.tar.bz2
#7 79.66 Removed pysocks-1.6.8-py37_0.tar.bz2
#7 79.66 Removed ruamel_yaml-0.15.46-py37h14c3975_0.tar.bz2
#7 79.66 Removed six-1.11.0-py37_1.tar.bz2
#7 79.66 Removed cffi-1.11.5-py37he75722e_1.tar.bz2
#7 79.66 Removed setuptools-40.2.0-py37_0.tar.bz2
#7 79.66 Removed cryptography-2.3.1-py37hc365091_0.tar.bz2
#7 79.66 Removed wheel-0.31.1-py37_0.tar.bz2
#7 79.66 Removed pip-10.0.1-py37_0.tar.bz2
#7 79.66 Removed pyopenssl-18.0.0-py37_0.tar.bz2
#7 79.66 Removed urllib3-1.23-py37_0.tar.bz2
#7 79.66 Removed requests-2.19.1-py37_0.tar.bz2
#7 79.66 Removed conda-4.5.11-py37_0.tar.bz2
#7 79.66 Cache location: /opt/miniconda/pkgs
#7 79.66 Will remove the following packages:
#7 79.66 /opt/miniconda/pkgs
#7 79.66 -------------------
#7 79.66
#7 79.66 conda-env-2.6.0-1 6 KB
#7 79.66
#7 79.66 ---------------------------------------------------
#7 79.66 Total: 6 KB
#7 79.66
#7 79.66 removing conda-env-2.6.0-1
#7 79.66 source cache (/opt/miniconda/conda-bld/src_cache)
#7 79.66 Size: 0 B
#7 79.66
#7 79.66 git cache (/opt/miniconda/conda-bld/git_cache)
#7 79.66 Size: 0 B
#7 79.66
#7 79.66 hg cache (/opt/miniconda/conda-bld/hg_cache)
#7 79.66 Size: 0 B
#7 79.66
#7 79.66 svn cache (/opt/miniconda/conda-bld/svn_cache)
#7 79.66 Size: 0 B
#7 79.66
#7 79.66 Total: 0 B
#7 79.66 Removing /opt/miniconda/conda-bld/src_cache
#7 79.66 Removing /opt/miniconda/conda-bld/git_cache
#7 79.66 Removing /opt/miniconda/conda-bld/hg_cache
#7 79.66 Removing /opt/miniconda/conda-bld/svn_cache
#7 79.93 Requirement already satisfied: numpy in /opt/conda/envs/py_3.10/lib/python3.10/site-packages (1.21.2)
#7 80.07 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#7 80.51 Requirement already satisfied: packaging in /opt/conda/envs/py_3.10/lib/python3.10/site-packages (24.1)
#7 80.63 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#7 80.83 Requirement already satisfied: wheel>=0.35.1 in /opt/conda/envs/py_3.10/lib/python3.10/site-packages (0.44.0)
#7 80.96 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#7 86.38 Requirement already satisfied: pip in /opt/conda/envs/py_3.10/lib/python3.10/site-packages (24.2)
#7 86.55 Collecting pip
#7 86.67 Downloading pip-25.3-py3-none-any.whl.metadata (4.7 kB)
#7 86.74 Downloading pip-25.3-py3-none-any.whl (1.8 MB)
#7 87.02 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 8.4 MB/s eta 0:00:00
#7 87.15 Installing collected packages: pip
#7 87.15 Attempting uninstall: pip
#7 87.15 Found existing installation: pip 24.2
#7 87.18 Uninstalling pip-24.2:
#7 87.94 Successfully uninstalled pip-24.2
#7 88.41 Successfully installed pip-25.3
#7 88.41 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#7 88.44 ./build.sh: 6: Bad substitution
#7 88.44 ./build.sh: 15: [[: not found
#7 88.44 ./build.sh: 17: [[: not found
#7 89.46 2025-12-01 19:06:08,973 build [DEBUG] - Command line arguments:
#7 89.46 --build_dir /code/onnxruntime/build/Linux --allow_running_as_root --cmake_extra_defines ONNXRUNTIME_VERSION=1.24.0 --config Release --parallel --skip_tests --build_wheel --use_rocm --rocm_version= --rocm_home /opt/rocm --use_migraphx
#7 89.46 2025-12-01 19:06:08,975 build [INFO] - Build started
#7 89.46 2025-12-01 19:06:08,975 build [INFO] - git submodule sync --recursive
#7 89.48 Synchronizing submodule url for 'cmake/external/emsdk'
#7 89.48 Synchronizing submodule url for 'cmake/external/libprotobuf-mutator'
#7 89.48 Synchronizing submodule url for 'cmake/external/onnx'
#7 89.48 2025-12-01 19:06:08,999 build [INFO] - git submodule update --init --recursive
#7 89.53 2025-12-01 19:06:09,046 build [INFO] - Generating CMake build tree
#7 89.53 2025-12-01 19:06:09,046 build [INFO] - /opt/conda/envs/py_3.10/bin/cmake /code/onnxruntime/cmake -Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF -Donnxruntime_RUN_ONNX_TESTS=OFF -Donnxruntime_GENERATE_TEST_REPORTS=ON -DPython_EXECUTABLE=/opt/conda/envs/py_3.10/bin/python3 -Donnxruntime_USE_VCPKG=OFF -Donnxruntime_USE_MIMALLOC=OFF -Donnxruntime_ENABLE_PYTHON=ON -Donnxruntime_BUILD_CSHARP=OFF -Donnxruntime_BUILD_JAVA=OFF -Donnxruntime_BUILD_NODEJS=OFF -Donnxruntime_BUILD_OBJC=OFF -Donnxruntime_BUILD_SHARED_LIB=ON -Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF -Donnxruntime_USE_DNNL=OFF -Donnxruntime_USE_NNAPI_BUILTIN=OFF -Donnxruntime_USE_VSINPU=OFF -Donnxruntime_USE_RKNPU=OFF -Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF -Donnxruntime_USE_VITISAI=OFF -Donnxruntime_USE_TENSORRT=OFF -Donnxruntime_USE_NV=OFF -Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON -Donnxruntime_USE_TENSORRT_INTERFACE=OFF -Donnxruntime_USE_CUDA_INTERFACE=OFF -Donnxruntime_USE_NV_INTERFACE=OFF -Donnxruntime_USE_OPENVINO_INTERFACE=OFF -Donnxruntime_USE_VITISAI_INTERFACE=OFF -Donnxruntime_USE_QNN_INTERFACE=OFF -Donnxruntime_USE_MIGRAPHX_INTERFACE=OFF -Donnxruntime_USE_MIGRAPHX=ON -Donnxruntime_DISABLE_CONTRIB_OPS=OFF -Donnxruntime_DISABLE_ML_OPS=OFF -Donnxruntime_DISABLE_RTTI=OFF -Donnxruntime_DISABLE_EXCEPTIONS=OFF -Donnxruntime_MINIMAL_BUILD=OFF -Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF -Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF -Donnxruntime_REDUCED_OPS_BUILD=OFF -Donnxruntime_CLIENT_PACKAGE_BUILD=OFF -Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF -Donnxruntime_ENABLE_LTO=OFF -Donnxruntime_USE_ACL=OFF -Donnxruntime_USE_ARMNN=OFF -Donnxruntime_ARMNN_RELU_USE_CPU=ON -Donnxruntime_ARMNN_BN_USE_CPU=ON -Donnxruntime_USE_JSEP=OFF -Donnxruntime_USE_WEBGPU=OFF -Donnxruntime_USE_EXTERNAL_DAWN=OFF -Donnxruntime_WGSL_TEMPLATE=static -Donnxruntime_ENABLE_NVTX_PROFILE=OFF -Donnxruntime_ENABLE_TRAINING=OFF -Donnxruntime_ENABLE_TRAINING_OPS=OFF -Donnxruntime_ENABLE_TRAINING_APIS=OFF -Donnxruntime_ENABLE_CPU_FP16_OPS=OFF -Donnxruntime_USE_NCCL=OFF -Donnxruntime_BUILD_BENCHMARKS=OFF -Donnxruntime_GCOV_COVERAGE=OFF -Donnxruntime_ENABLE_MEMORY_PROFILE=OFF -Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF -Donnxruntime_USE_CUDA_NHWC_OPS=OFF -Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON -Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON -Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_JSPI=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF -Donnxruntime_ENABLE_LAZY_TENSOR=OFF -Donnxruntime_ENABLE_CUDA_PROFILING=OFF -Donnxruntime_USE_XNNPACK=OFF -Donnxruntime_USE_WEBNN=OFF -Donnxruntime_USE_CANN=OFF -Donnxruntime_DISABLE_FLOAT8_TYPES=OFF -Donnxruntime_DISABLE_FLOAT4_TYPES=ON -Donnxruntime_DISABLE_SPARSE_TENSORS=OFF -Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF -Donnxruntime_CUDA_MINIMAL=OFF -Donnxruntime_MIGRAPHX_HOME= -Donnxruntime_USE_KLEIDIAI=ON -Donnxruntime_USE_SVE=ON -DONNXRUNTIME_VERSION=1.24.0 -DCMAKE_BUILD_TYPE=Release
#7 89.55 CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
#7 89.55 CMake 3.28 or higher is required. You are running version 3.26.4
#7 89.55
#7 89.55
#7 89.55 -- Configuring incomplete, errors occurred!
#7 89.55 Namespace(build_dir='/code/onnxruntime/build/Linux', config=['Release'], update=True, build=True, clean=False, parallel=0, targets=None, compile_no_warning_as_error=False, build_shared_lib=False, build_apple_framework=False, enable_lto=False, use_cache=False, use_binskim_compliant_compile_flags=False, cmake_extra_defines=['ONNXRUNTIME_VERSION=1.24.0'], cmake_path='cmake', cmake_generator=None, use_vcpkg=False, use_vcpkg_ms_internal_asset_cache=False, skip_submodule_sync=False, skip_pip_install=False, test=False, skip_tests=True, ctest_path='ctest', enable_onnx_tests=False, path_to_protoc_exe=None, cmake_deps_mirror_dir=None, fuzz_testing=False, enable_symbolic_shape_infer_tests=False, skip_onnx_tests=False, skip_winml_tests=False, skip_nodejs_tests=False, ctest_timeout='10800', enable_transformers_tool_test=False, build_micro_benchmarks=False, code_coverage=False, enable_training=False, enable_training_apis=False, enable_training_ops=False, enable_nccl=False, nccl_home=None, enable_memory_profile=False, enable_address_sanitizer=False, gen_doc=None, rv64=False, riscv_toolchain_root='', riscv_qemu_path='', android=False, android_abi='arm64-v8a', android_api=27, android_sdk_path='', android_ndk_path='', android_cpp_shared=False, android_run_emulator=False, build_wasm=False, build_wasm_static_lib=False, emsdk_version='4.0.11', enable_wasm_jspi=False, enable_wasm_simd=False, enable_wasm_relaxed_simd=False, enable_wasm_threads=False, disable_wasm_exception_catching=False, enable_wasm_api_exception_catching=False, enable_wasm_exception_throwing_override=True, wasm_run_tests_in_browser=False, enable_wasm_profiling=False, enable_wasm_debug_info=False, wasm_malloc=None, emscripten_settings=[], use_full_protobuf=False, use_mimalloc=False, external_graph_transformer_path=None, use_extensions=False, extensions_overridden_path=None, minimal_build=None, include_ops_by_config=None, enable_reduced_operator_type_support=False, disable_contrib_ops=False, disable_ml_ops=False, disable_rtti=False, disable_types=[], disable_exceptions=False, client_package_build=False, enable_pybind=False, build_wheel=True, wheel_name_suffix=None, skip_keras_test=False, build_csharp=False, build_nuget=False, msbuild_extra_options=[], build_java=False, build_nodejs=False, build_objc=False, use_cuda=False, cuda_version=None, cuda_home=None, cudnn_home=None, enable_cuda_line_info=False, enable_cuda_nhwc_ops=False, disable_cuda_nhwc_ops=False, enable_cuda_minimal_build=False, nvcc_threads=-1, enable_nvtx_profile=False, enable_cuda_profiling=False, no_sve=False, enable_arm_neon_nchwc=False, use_dnnl=False, dnnl_gpu_runtime='', dnnl_opencl_root='', dnnl_aarch64_runtime='', dnnl_acl_root='', use_openvino=None, use_tensorrt=False, use_tensorrt_builtin_parser=True, use_tensorrt_oss_parser=False, tensorrt_home=None, tensorrt_rtx_home=None, use_nv_tensorrt_rtx=False, use_dml=False, dml_path='', dml_external_project=False, use_nnapi=False, nnapi_min_api=None, use_coreml=False, use_qnn=None, qnn_home=None, use_snpe=False, snpe_root=None, use_vitisai=False, use_armnn=False, armnn_relu=False, armnn_bn=False, armnn_home=None, armnn_libs=None, use_acl=False, acl_home=None, acl_libs=None, no_kleidiai=False, use_rknpu=False, use_cann=False, cann_home=None, use_migraphx=True, migraphx_home=None, use_rocm=True, rocm_version='', rocm_home='/opt/rocm', use_webnn=False, use_jsep=False, use_webgpu=False, use_external_dawn=False, wgsl_template='static', use_xnnpack=False, use_vsinpu=False, use_azure=False, enable_lazy_tensor=False, ms_experimental=False, enable_msinternal=False, use_lock_free_queue=False, enable_generic_interface=False, allow_running_as_root=True, enable_external_custom_op_schemas=False)
#7 89.55 migraphx_home = None
#7 89.55 rocm_home = /opt/rocm
#7 89.55 Traceback (most recent call last):
#7 89.55 File "/code/onnxruntime/tools/ci_build/build.py", line 2714, in <module>
#7 89.55 sys.exit(main())
#7 89.55 File "/code/onnxruntime/tools/ci_build/build.py", line 2578, in main
#7 89.55 generate_build_tree(
#7 89.55 File "/code/onnxruntime/tools/ci_build/build.py", line 1317, in generate_build_tree
#7 89.55 run_subprocess(
#7 89.55 File "/code/onnxruntime/tools/ci_build/build.py", line 148, in run_subprocess
#7 89.55 return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
#7 89.55 File "/code/onnxruntime/tools/python/util/run.py", line 50, in run
#7 89.55 completed_process = subprocess.run(
#7 89.55 File "/opt/conda/envs/py_3.10/lib/python3.10/subprocess.py", line 526, in run
#7 89.55 raise CalledProcessError(retcode, process.args,
#7 89.55 subprocess.CalledProcessError: Command '['/opt/conda/envs/py_3.10/bin/cmake', '/code/onnxruntime/cmake', '-Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF', '-Donnxruntime_RUN_ONNX_TESTS=OFF', '-Donnxruntime_GENERATE_TEST_REPORTS=ON', '-DPython_EXECUTABLE=/opt/conda/envs/py_3.10/bin/python3', '-Donnxruntime_USE_VCPKG=OFF', '-Donnxruntime_USE_MIMALLOC=OFF', '-Donnxruntime_ENABLE_PYTHON=ON', '-Donnxruntime_BUILD_CSHARP=OFF', '-Donnxruntime_BUILD_JAVA=OFF', '-Donnxruntime_BUILD_NODEJS=OFF', '-Donnxruntime_BUILD_OBJC=OFF', '-Donnxruntime_BUILD_SHARED_LIB=ON', '-Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF', '-Donnxruntime_USE_DNNL=OFF', '-Donnxruntime_USE_NNAPI_BUILTIN=OFF', '-Donnxruntime_USE_VSINPU=OFF', '-Donnxruntime_USE_RKNPU=OFF', '-Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF', '-Donnxruntime_USE_VITISAI=OFF', '-Donnxruntime_USE_TENSORRT=OFF', '-Donnxruntime_USE_NV=OFF', '-Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON', '-Donnxruntime_USE_TENSORRT_INTERFACE=OFF', '-Donnxruntime_USE_CUDA_INTERFACE=OFF', '-Donnxruntime_USE_NV_INTERFACE=OFF', '-Donnxruntime_USE_OPENVINO_INTERFACE=OFF', '-Donnxruntime_USE_VITISAI_INTERFACE=OFF', '-Donnxruntime_USE_QNN_INTERFACE=OFF', '-Donnxruntime_USE_MIGRAPHX_INTERFACE=OFF', '-Donnxruntime_USE_MIGRAPHX=ON', '-Donnxruntime_DISABLE_CONTRIB_OPS=OFF', '-Donnxruntime_DISABLE_ML_OPS=OFF', '-Donnxruntime_DISABLE_RTTI=OFF', '-Donnxruntime_DISABLE_EXCEPTIONS=OFF', '-Donnxruntime_MINIMAL_BUILD=OFF', '-Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF', '-Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF', '-Donnxruntime_REDUCED_OPS_BUILD=OFF', '-Donnxruntime_CLIENT_PACKAGE_BUILD=OFF', '-Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF', '-Donnxruntime_ENABLE_LTO=OFF', '-Donnxruntime_USE_ACL=OFF', '-Donnxruntime_USE_ARMNN=OFF', '-Donnxruntime_ARMNN_RELU_USE_CPU=ON', '-Donnxruntime_ARMNN_BN_USE_CPU=ON', '-Donnxruntime_USE_JSEP=OFF', '-Donnxruntime_USE_WEBGPU=OFF', '-Donnxruntime_USE_EXTERNAL_DAWN=OFF', '-Donnxruntime_WGSL_TEMPLATE=static', '-Donnxruntime_ENABLE_NVTX_PROFILE=OFF', '-Donnxruntime_ENABLE_TRAINING=OFF', '-Donnxruntime_ENABLE_TRAINING_OPS=OFF', '-Donnxruntime_ENABLE_TRAINING_APIS=OFF', '-Donnxruntime_ENABLE_CPU_FP16_OPS=OFF', '-Donnxruntime_USE_NCCL=OFF', '-Donnxruntime_BUILD_BENCHMARKS=OFF', '-Donnxruntime_GCOV_COVERAGE=OFF', '-Donnxruntime_ENABLE_MEMORY_PROFILE=OFF', '-Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF', '-Donnxruntime_USE_CUDA_NHWC_OPS=OFF', '-Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON', '-Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON', '-Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_JSPI=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF', '-Donnxruntime_ENABLE_LAZY_TENSOR=OFF', '-Donnxruntime_ENABLE_CUDA_PROFILING=OFF', '-Donnxruntime_USE_XNNPACK=OFF', '-Donnxruntime_USE_WEBNN=OFF', '-Donnxruntime_USE_CANN=OFF', '-Donnxruntime_DISABLE_FLOAT8_TYPES=OFF', '-Donnxruntime_DISABLE_FLOAT4_TYPES=ON', '-Donnxruntime_DISABLE_SPARSE_TENSORS=OFF', '-Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF', '-Donnxruntime_CUDA_MINIMAL=OFF', '-Donnxruntime_MIGRAPHX_HOME=', '-Donnxruntime_USE_KLEIDIAI=ON', '-Donnxruntime_USE_SVE=ON', '-DONNXRUNTIME_VERSION=1.24.0', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
#7 ERROR: process "/bin/sh -c git clone --single-branch --branch ${ONNXRUNTIME_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime && /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh && cd onnxruntime && pip install --upgrade pip && /bin/sh ./build.sh --allow_running_as_root --cmake_extra_defines ONNXRUNTIME_VERSION=`cat ./VERSION_NUMBER` --config Release --parallel --skip_tests --build_wheel --use_rocm --rocm_version=${ROCM_VERSION} --rocm_home /opt/rocm --use_migraphx && pip install /code/onnxruntime/build/Linux/Release/dist/*.whl" did not complete successfully: exit code: 1
------
> [4/4] RUN git clone --single-branch --branch main --recursive https://github.com/Microsoft/onnxruntime onnxruntime && /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh && cd onnxruntime && pip install --upgrade pip && /bin/sh ./build.sh --allow_running_as_root --cmake_extra_defines ONNXRUNTIME_VERSION=`cat ./VERSION_NUMBER` --config Release --parallel --skip_tests --build_wheel --use_rocm --rocm_version=${ROCM_VERSION} --rocm_home /opt/rocm --use_migraphx && pip install /code/onnxruntime/build/Linux/Release/dist/*.whl:
89.55 generate_build_tree(
89.55 File "/code/onnxruntime/tools/ci_build/build.py", line 1317, in generate_build_tree
89.55 run_subprocess(
89.55 File "/code/onnxruntime/tools/ci_build/build.py", line 148, in run_subprocess
89.55 return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
89.55 File "/code/onnxruntime/tools/python/util/run.py", line 50, in run
89.55 completed_process = subprocess.run(
89.55 File "/opt/conda/envs/py_3.10/lib/python3.10/subprocess.py", line 526, in run
89.55 raise CalledProcessError(retcode, process.args,
89.55 subprocess.CalledProcessError: Command '['/opt/conda/envs/py_3.10/bin/cmake', '/code/onnxruntime/cmake', '-Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF', '-Donnxruntime_RUN_ONNX_TESTS=OFF', '-Donnxruntime_GENERATE_TEST_REPORTS=ON', '-DPython_EXECUTABLE=/opt/conda/envs/py_3.10/bin/python3', '-Donnxruntime_USE_VCPKG=OFF', '-Donnxruntime_USE_MIMALLOC=OFF', '-Donnxruntime_ENABLE_PYTHON=ON', '-Donnxruntime_BUILD_CSHARP=OFF', '-Donnxruntime_BUILD_JAVA=OFF', '-Donnxruntime_BUILD_NODEJS=OFF', '-Donnxruntime_BUILD_OBJC=OFF', '-Donnxruntime_BUILD_SHARED_LIB=ON', '-Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF', '-Donnxruntime_USE_DNNL=OFF', '-Donnxruntime_USE_NNAPI_BUILTIN=OFF', '-Donnxruntime_USE_VSINPU=OFF', '-Donnxruntime_USE_RKNPU=OFF', '-Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF', '-Donnxruntime_USE_VITISAI=OFF', '-Donnxruntime_USE_TENSORRT=OFF', '-Donnxruntime_USE_NV=OFF', '-Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON', '-Donnxruntime_USE_TENSORRT_INTERFACE=OFF', '-Donnxruntime_USE_CUDA_INTERFACE=OFF', '-Donnxruntime_USE_NV_INTERFACE=OFF', '-Donnxruntime_USE_OPENVINO_INTERFACE=OFF', '-Donnxruntime_USE_VITISAI_INTERFACE=OFF', '-Donnxruntime_USE_QNN_INTERFACE=OFF', '-Donnxruntime_USE_MIGRAPHX_INTERFACE=OFF', '-Donnxruntime_USE_MIGRAPHX=ON', '-Donnxruntime_DISABLE_CONTRIB_OPS=OFF', '-Donnxruntime_DISABLE_ML_OPS=OFF', '-Donnxruntime_DISABLE_RTTI=OFF', '-Donnxruntime_DISABLE_EXCEPTIONS=OFF', '-Donnxruntime_MINIMAL_BUILD=OFF', '-Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF', '-Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF', '-Donnxruntime_REDUCED_OPS_BUILD=OFF', '-Donnxruntime_CLIENT_PACKAGE_BUILD=OFF', '-Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF', '-Donnxruntime_ENABLE_LTO=OFF', '-Donnxruntime_USE_ACL=OFF', '-Donnxruntime_USE_ARMNN=OFF', '-Donnxruntime_ARMNN_RELU_USE_CPU=ON', '-Donnxruntime_ARMNN_BN_USE_CPU=ON', '-Donnxruntime_USE_JSEP=OFF', '-Donnxruntime_USE_WEBGPU=OFF', '-Donnxruntime_USE_EXTERNAL_DAWN=OFF', '-Donnxruntime_WGSL_TEMPLATE=static', '-Donnxruntime_ENABLE_NVTX_PROFILE=OFF', '-Donnxruntime_ENABLE_TRAINING=OFF', '-Donnxruntime_ENABLE_TRAINING_OPS=OFF', '-Donnxruntime_ENABLE_TRAINING_APIS=OFF', '-Donnxruntime_ENABLE_CPU_FP16_OPS=OFF', '-Donnxruntime_USE_NCCL=OFF', '-Donnxruntime_BUILD_BENCHMARKS=OFF', '-Donnxruntime_GCOV_COVERAGE=OFF', '-Donnxruntime_ENABLE_MEMORY_PROFILE=OFF', '-Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF', '-Donnxruntime_USE_CUDA_NHWC_OPS=OFF', '-Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON', '-Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON', '-Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_JSPI=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF', '-Donnxruntime_ENABLE_LAZY_TENSOR=OFF', '-Donnxruntime_ENABLE_CUDA_PROFILING=OFF', '-Donnxruntime_USE_XNNPACK=OFF', '-Donnxruntime_USE_WEBNN=OFF', '-Donnxruntime_USE_CANN=OFF', '-Donnxruntime_DISABLE_FLOAT8_TYPES=OFF', '-Donnxruntime_DISABLE_FLOAT4_TYPES=ON', '-Donnxruntime_DISABLE_SPARSE_TENSORS=OFF', '-Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF', '-Donnxruntime_CUDA_MINIMAL=OFF', '-Donnxruntime_MIGRAPHX_HOME=', '-Donnxruntime_USE_KLEIDIAI=ON', '-Donnxruntime_USE_SVE=ON', '-DONNXRUNTIME_VERSION=1.24.0', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
------
Dockerfile.migraphx:21
--------------------
20 | # Prepare onnxruntime repository & build onnxruntime
21 | >>> RUN git clone --single-branch --branch ${ONNXRUNTIME_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime &&\
22 | >>> /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh &&\
23 | >>> cd onnxruntime && pip install --upgrade pip &&\
24 | >>> /bin/sh ./build.sh --allow_running_as_root --cmake_extra_defines ONNXRUNTIME_VERSION=`cat ./VERSION_NUMBER` --config Release --parallel \
25 | >>> --skip_tests --build_wheel --use_rocm --rocm_version=${ROCM_VERSION} --rocm_home /opt/rocm --use_migraphx &&\
26 | >>> pip install /code/onnxruntime/build/Linux/Release/dist/*.whl
27 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c git clone --single-branch --branch ${ONNXRUNTIME_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime && /bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh && cd onnxruntime && pip install --upgrade pip && /bin/sh ./build.sh --allow_running_as_root --cmake_extra_defines ONNXRUNTIME_VERSION=`cat ./VERSION_NUMBER` --config Release --parallel --skip_tests --build_wheel --use_rocm --rocm_version=${ROCM_VERSION} --rocm_home /opt/rocm --use_migraphx && pip install /code/onnxruntime/build/Linux/Release/dist/*.whl" did not complete successfully: exit code: 1
Visual Studio Version
No response
GCC / Compiler Version
No response
Metadata
Metadata
Assignees
Labels
buildbuild issues; typically submitted using templatebuild issues; typically submitted using templateep:MIGraphXissues related to AMD MI GraphX execution providerissues related to AMD MI GraphX execution providerep:ROCmquestions/issues related to ROCm execution providerquestions/issues related to ROCm execution providerplatform:mobileissues related to ONNX Runtime mobile; typically submitted using templateissues related to ONNX Runtime mobile; typically submitted using template