Skip to content

Hash mismatch with eigen when running ./babs.sh -b. #259

Description

@Petropavlovsk-vladi

Cmake spits out this error a couple hours into the building process.

CMake Error at /usr/share/cmake-3.28/Modules/FetchContent.cmake:1679 (message):
Build step for eigen failed: 2
Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/FetchContent.cmake:1819:EVAL:2 (__FetchContent_directPopulate)
/usr/share/cmake-3.28/Modules/FetchContent.cmake:1819 (cmake_language)
external/eigen.cmake:12 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:483 (include)
CMakeLists.txt:587 (include)

If I look at the previous activity, I see repeated hash mismatches that eventually make it timeout.

-- SHA1 hash of
/home/jakob/rocm_sdk_builder/src_projects/onnxruntime/build/Linux/Release/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip
does not match expected value
expected: 'be8be39fdbc6e60e94fa7870b280707069b5b81a'
actual: '32b145f525a8308d7ab1c09388b2e288312d8eba'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/e7248b26a1ed53fa030c5c459f7ea095dfd276ac/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip'
-- verifying file...
file='/home/jakob/rocm_sdk_builder/src_projects/onnxruntime/build/Linux/Release/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip'
-- SHA1 hash of
/home/jakob/rocm_sdk_builder/src_projects/onnxruntime/build/Linux/Release/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-e7248b26a1ed53fa030c5c459f7ea095dfd276ac.zip
does not match expected value
expected: 'be8be39fdbc6e60e94fa7870b280707069b5b81a'
actual: '32b145f525a8308d7ab1c09388b2e288312d8eba'
-- Hash mismatch, removing...
CMake Error at eigen-subbuild/eigen-populate-prefix/src/eigen-populate-stamp/download-eigen-populate.cmake:170 (message):
Each download failed!

The error occurs within this line of Python

File "/home/jakob/rocm_sdk_builder/src_projects/onnxruntime/tools/python/util/run.py", line 49, in run
completed_process = subprocess.run(

The end of the bash says that the build failed. How would I go about fixing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions