Skip to content

[Build] Fail at configure due to issue checking out Eigen dependency #24861

@BenLeadbetter

Description

@BenLeadbetter

Describe the issue

A clean checkout and running the build script produces fatal errors when trying to checkout the Eigen dependency.

Affects versions:

  • v1.22.0
  • v1.21.0

Urgency

No response

Target platform

macOS

Build script

> git clone https://github.com/microsoft/onnxruntime.git
> cd onnxruntime
> python3 -m venv .venv
> source .venv/bin/activate  
> pip install -r requirements.txt
> build.sh

Error / output

2025-05-26 11:26:02,150 build [DEBUG] - Command line arguments:
  --build_dir /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS
Namespace(build_dir='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS', config=['Debug'], update=True, build=True, clean=False, parallel=1, target=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=None, cmake_path='cmake', cmake_generator=None, use_vcpkg=False, use_vcpkg_ms_internal_asset_cache=False, skip_submodule_sync=False, test=True, skip_tests=False, ctest_path='ctest', enable_onnx_tests=False, path_to_protoc_exe=None, fuzz_testing=False, enable_symbolic_shape_infer_tests=False, skip_onnx_tests=False, skip_winml_tests=False, skip_nodejs_tests=False, test_all_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.4', enable_wasm_simd=False, enable_wasm_relaxed_simd=False, enable_wasm_threads=False, enable_wasm_memory64=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=None, 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, enable_pybind=False, build_wheel=False, wheel_name_suffix=None, skip_keras_test=False, build_csharp=False, build_nuget=False, msbuild_extra_options=None, 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, use_rocm=False, rocm_version=None, rocm_home=None, enable_rocm_profiling=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, 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=False, migraphx_home=None, use_webnn=False, use_jsep=False, use_webgpu=False, use_external_dawn=False, use_xnnpack=False, use_vsinpu=False, use_azure=False, enable_lazy_tensor=False, ms_experimental=False, enable_msinternal=False, use_triton_kernel=False, use_lock_free_queue=False, enable_generic_interface=False, ios=False, visionos=False, tvos=False, macos=None, apple_sysroot='', ios_toolchain_file='', visionos_toolchain_file='', tvos_toolchain_file='', xcode_code_signing_team_id='', xcode_code_signing_identity='', osx_arch='arm64', apple_deploy_target=None)
2025-05-26 11:26:02,152 build [INFO] - Build started
2025-05-26 11:26:02,152 build [INFO] - git submodule sync --recursive
2025-05-26 11:26:02,245 build [INFO] - git submodule update --init --recursive
Submodule 'cmake/external/emsdk' (https://github.com/emscripten-core/emsdk.git) registered for path 'cmake/external/emsdk'
Submodule 'cmake/external/libprotobuf-mutator' (https://github.com/google/libprotobuf-mutator.git) registered for path 'cmake/external/libprotobuf-mutator'
Submodule 'cmake/external/onnx' (https://github.com/onnx/onnx.git) registered for path 'cmake/external/onnx'
Cloning into '/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake/external/emsdk'...
Cloning into '/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake/external/libprotobuf-mutator'...
Cloning into '/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake/external/onnx'...
Submodule path 'cmake/external/emsdk': checked out '074211759c17c646164d3271ca1d155cc174f78e'
Submodule path 'cmake/external/libprotobuf-mutator': checked out '7a2ed51a6b682a83e345ff49fc4cfd7ca47550db'
Submodule path 'cmake/external/onnx': checked out 'b8baa8446686496da4cc8fda09f2b6fe65c2a02c'
Submodule 'third_party/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'cmake/external/onnx/third_party/pybind11'
Cloning into '/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake/external/onnx/third_party/pybind11'...
Submodule path 'cmake/external/onnx/third_party/pybind11': checked out '3e9dfa2866941655c56877882565e7577de6fc7b'
2025-05-26 11:26:10,110 build [INFO] - Generating CMake build tree
2025-05-26 11:26:10,110 build [INFO] - /usr/local/bin/cmake /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake -Donnxruntime_RUN_ONNX_TESTS=OFF -Donnxruntime_GENERATE_TEST_REPORTS=ON -DPython_EXECUTABLE=/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/.venv/bin/python3 -Donnxruntime_USE_VCPKG=OFF -Donnxruntime_USE_MIMALLOC=OFF -Donnxruntime_ENABLE_PYTHON=OFF -Donnxruntime_BUILD_CSHARP=OFF -Donnxruntime_BUILD_JAVA=OFF -Donnxruntime_BUILD_NODEJS=OFF -Donnxruntime_BUILD_OBJC=OFF -Donnxruntime_BUILD_SHARED_LIB=OFF -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=OFF -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_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_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_USE_ROCM=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_THREADS=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_MEMORY64=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF -Donnxruntime_ENABLE_LAZY_TENSOR=OFF -Donnxruntime_ENABLE_CUDA_PROFILING=OFF -Donnxruntime_ENABLE_ROCM_PROFILING=OFF -Donnxruntime_USE_XNNPACK=OFF -Donnxruntime_USE_WEBNN=OFF -Donnxruntime_USE_CANN=OFF -Donnxruntime_USE_TRITON_KERNEL=OFF -Donnxruntime_DISABLE_FLOAT8_TYPES=OFF -Donnxruntime_DISABLE_SPARSE_TENSORS=OFF -Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF -Donnxruntime_CUDA_MINIMAL=OFF -Donnxruntime_USE_KLEIDIAI=ON -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_BUILD_TYPE=Debug
CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy):
  The OLD behavior for policy CMP0104 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- The ASM compiler identification is AppleClang
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Success
-- Performing Test COMPILER_SUPPORT_FMA
-- Performing Test COMPILER_SUPPORT_FMA - Success
-- Performing Test COMPILER_SUPPORT_AVX
-- Performing Test COMPILER_SUPPORT_AVX - Success
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Failed
-- Found Iconv: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/lib/libiconv.tbd
-- Found Patch: /usr/bin/patch
Patch found: /usr/bin/patch
-- Loading Dependencies URLs ...
-- Loading Dependencies ...
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Success
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Success
-- Abseil source dir:/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/abseil_cpp-src
CMake Warning (dev) at /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
  Calling FetchContent_Populate(protoc_binary) is deprecated, call
  FetchContent_MakeAvailable(protoc_binary) instead.  Policy CMP0169 can be
  set to OLD to allow FetchContent_Populate(protoc_binary) to be called
  directly for now, but the ability to call it with declared details will be
  removed completely in a future version.
Call Stack (most recent call first):
  external/onnxruntime_external_deps.cmake:120 (FetchContent_Populate)
  CMakeLists.txt:698 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Use prebuilt protoc
CMake Deprecation Warning at /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/protobuf-src/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- 
-- 3.21.12.0
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Failed
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
CMake Deprecation Warning at /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/date-src/CMakeLists.txt:18 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


# date: USE_SYSTEM_TZ_DB ON
# date: MANUAL_TZ_DB OFF
# date: USE_TZ_DB_IN_DOT OFF
# date: BUILD_SHARED_LIBS OFF
# date: ENABLE_DATE_TESTING OFF
# date: DISABLE_STRING_VIEW OFF
CMake Warning (dev) at /opt/homebrew/lib/cmake/Boost-1.88.0/BoostConfig.cmake:141 (find_package):
  Ignoring EXACT since no version is requested.
Call Stack (most recent call first):
  /opt/homebrew/lib/cmake/Boost-1.88.0/BoostConfig.cmake:215 (boost_find_component)
  /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:2472 (find_package)
  /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:2362 (__FetchContent_MakeAvailable_find_package)
  external/helper_functions.cmake:22 (FetchContent_MakeAvailable)
  external/onnxruntime_external_deps.cmake:290 (onnxruntime_fetchcontent_makeavailable)
  CMakeLists.txt:698 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using the multi-header code from /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/nlohmann_json-src/include/
CMake Deprecation Warning at /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/pytorch_cpuinfo-src/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning (dev) at /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
  Calling FetchContent_Populate(safeint) is deprecated, call
  FetchContent_MakeAvailable(safeint) instead.  Policy CMP0169 can be set to
  OLD to allow FetchContent_Populate(safeint) to be called directly for now,
  but the ability to call it with declared details will be removed completely
  in a future version.
Call Stack (most recent call first):
  external/onnxruntime_external_deps.cmake:421 (FetchContent_Populate)
  CMakeLists.txt:698 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Proceeding with version: 23.5.26.0
-- Looking for strtof_l
-- Looking for strtof_l - not found
-- Looking for strtoull_l
-- Looking for strtoull_l - not found
-- Looking for realpath
-- Looking for realpath - found
-- CMAKE_CXX_FLAGS:  -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -DCPUINFO_SUPPORTED
CMake Warning (dev) at /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/onnx-src/CMakeLists.txt:106 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/.venv/bin/python (found version "3.13.3")
-- Using custom protoc executable
Generated: /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/onnx-build/onnx/onnx-ml.proto
Generated: /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/onnx-build/onnx/onnx-operators-ml.proto
Generated: /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/onnx-build/onnx/onnx-data.proto
-- 
-- ******** Summary ********
--   CMake version                     : 3.31.7
--   CMake command                     : /usr/local/bin/cmake
--   System                            : Darwin
--   C++ compiler                      : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
--   C++ compiler version              : 16.0.0.16000026
--   CXX flags                         :  -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -DCPUINFO_SUPPORTED -Wnon-virtual-dtor
--   Build type                        : Debug
--   Compile definitions               : EIGEN_MPL2_ONLY;__STDC_FORMAT_MACROS
--   CMAKE_PREFIX_PATH                 : 
--   CMAKE_INSTALL_PREFIX              : /usr/local
--   CMAKE_MODULE_PATH                 : /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake/external
-- 
--   ONNX version                      : 1.17.0
--   ONNX NAMESPACE                    : onnx
--   ONNX_USE_LITE_PROTO               : ON
--   USE_PROTOBUF_SHARED_LIBS          : OFF
--   Protobuf_USE_STATIC_LIBS          : ON
--   ONNX_DISABLE_EXCEPTIONS           : OFF
--   ONNX_DISABLE_STATIC_REGISTRATION  : OFF
--   ONNX_WERROR                       : OFF
--   ONNX_BUILD_TESTS                  : OFF
--   ONNX_BUILD_SHARED_LIBS            : 
--   BUILD_SHARED_LIBS                 : OFF
-- 
--   Protobuf compiler                 : 
--   Protobuf includes                 : 
--   Protobuf libraries                : 
--   BUILD_ONNX_PYTHON                 : OFF
[1/9] Creating directories for 'eigen3-populate'
[1/9] Performing download step (download, verify and extract) for 'eigen3-populate'
-- Downloading...
   dst='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- verifying file...
       file='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- SHA1 hash of
    /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip
  does not match expected value
    expected: '5ea4d05e62d7f954a46b3213f9b2535bdd866803'
      actual: '51982be81bbe52572b54180454df11a3ece9a934'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- verifying file...
       file='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- SHA1 hash of
    /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip
  does not match expected value
    expected: '5ea4d05e62d7f954a46b3213f9b2535bdd866803'
      actual: '51982be81bbe52572b54180454df11a3ece9a934'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- verifying file...
       file='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- SHA1 hash of
    /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip
  does not match expected value
    expected: '5ea4d05e62d7f954a46b3213f9b2535bdd866803'
      actual: '51982be81bbe52572b54180454df11a3ece9a934'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- verifying file...
       file='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- SHA1 hash of
    /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip
  does not match expected value
    expected: '5ea4d05e62d7f954a46b3213f9b2535bdd866803'
      actual: '51982be81bbe52572b54180454df11a3ece9a934'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- verifying file...
       file='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- SHA1 hash of
    /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip
  does not match expected value
    expected: '5ea4d05e62d7f954a46b3213f9b2535bdd866803'
      actual: '51982be81bbe52572b54180454df11a3ece9a934'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/1d8b82b0740839c0de7f1242a3585e3390ff5f33/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- verifying file...
       file='/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip'
-- SHA1 hash of
    /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen-1d8b82b0740839c0de7f1242a3585e3390ff5f33.zip
  does not match expected value
    expected: '5ea4d05e62d7f954a46b3213f9b2535bdd866803'
      actual: '51982be81bbe52572b54180454df11a3ece9a934'
-- Hash mismatch, removing...
CMake Error at eigen3-subbuild/eigen3-populate-prefix/src/eigen3-populate-stamp/download-eigen3-populate.cmake:163 (message):
  Each download failed!

    
    


FAILED: eigen3-populate-prefix/src/eigen3-populate-stamp/eigen3-populate-download /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen3-populate-stamp/eigen3-populate-download 
cd /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps && /usr/local/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen3-populate-stamp/download-eigen3-populate.cmake && /usr/local/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen3-populate-stamp/verify-eigen3-populate.cmake && /usr/local/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen3-populate-stamp/extract-eigen3-populate.cmake && /usr/local/bin/cmake -E touch /Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/build/MacOS/Debug/_deps/eigen3-subbuild/eigen3-populate-prefix/src/eigen3-populate-stamp/eigen3-populate-download
ninja: build stopped: subcommand failed.

CMake Error at /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:1918 (message):
  Build step for eigen3 failed: 1
Call Stack (most recent call first):
  /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild)
  /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation)
  /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:2145 (cmake_language)
  /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:2384 (__FetchContent_Populate)
  external/helper_functions.cmake:22 (FetchContent_MakeAvailable)
  external/eigen.cmake:13 (onnxruntime_fetchcontent_makeavailable)
  external/onnxruntime_external_deps.cmake:536 (include)
  CMakeLists.txt:698 (include)


CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified


-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/tools/ci_build/build.py", line 2551, in <module>
    sys.exit(main())
             ~~~~^^
  File "/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/tools/ci_build/build.py", line 2418, in main
    generate_build_tree(
    ~~~~~~~~~~~~~~~~~~~^
        cmake_path,
        ^^^^^^^^^^^
    ...<19 lines>...
        cmake_extra_args,
        ^^^^^^^^^^^^^^^^^
    )
    ^
  File "/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/tools/ci_build/build.py", line 1223, in generate_build_tree
    run_subprocess(
    ~~~~~~~~~~~~~~^
        [*temp_cmake_args, f"-DCMAKE_BUILD_TYPE={config}"],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        env=env,
        ^^^^^^^^
    )
    ^
  File "/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/tools/ci_build/build.py", line 147, in run_subprocess
    return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
  File "/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/tools/python/util/run.py", line 50, in run
    completed_process = subprocess.run(
        cmd,
    ...<6 lines>...
        shell=shell,
    )
  File "/opt/homebrew/Cellar/[email protected]/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/cmake', '-Donnxruntime_RUN_ONNX_TESTS=OFF', '-Donnxruntime_GENERATE_TEST_REPORTS=ON', '-DPython_EXECUTABLE=/Users/ben.leadbetter/code/NIBuild/onnxruntime-build/sources/.venv/bin/python3', '-Donnxruntime_USE_VCPKG=OFF', '-Donnxruntime_USE_MIMALLOC=OFF', '-Donnxruntime_ENABLE_PYTHON=OFF', '-Donnxruntime_BUILD_CSHARP=OFF', '-Donnxruntime_BUILD_JAVA=OFF', '-Donnxruntime_BUILD_NODEJS=OFF', '-Donnxruntime_BUILD_OBJC=OFF', '-Donnxruntime_BUILD_SHARED_LIB=OFF', '-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=OFF', '-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_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_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_USE_ROCM=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_THREADS=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_MEMORY64=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF', '-Donnxruntime_ENABLE_LAZY_TENSOR=OFF', '-Donnxruntime_ENABLE_CUDA_PROFILING=OFF', '-Donnxruntime_ENABLE_ROCM_PROFILING=OFF', '-Donnxruntime_USE_XNNPACK=OFF', '-Donnxruntime_USE_WEBNN=OFF', '-Donnxruntime_USE_CANN=OFF', '-Donnxruntime_USE_TRITON_KERNEL=OFF', '-Donnxruntime_DISABLE_FLOAT8_TYPES=OFF', '-Donnxruntime_DISABLE_SPARSE_TENSORS=OFF', '-Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF', '-Donnxruntime_CUDA_MINIMAL=OFF', '-Donnxruntime_USE_KLEIDIAI=ON', '-DCMAKE_OSX_ARCHITECTURES=arm64', '-DCMAKE_BUILD_TYPE=Debug']' returned non-zero exit status 1.
[WARN] - (starship::utils): Executing command "/usr/bin/git" timed out.                                                                           
[WARN] - (starship::utils): You can set command_timeout in your config to a higher value to allow longer-running commands to keep executing.

Visual Studio Version

No response

GCC / Compiler Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateplatform:mobileissues related to ONNX Runtime mobile; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions