Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost_1_86_0.tar.gz does not match expected value #289

Open
raphael10-collab opened this issue Jan 22, 2025 · 0 comments
Open

boost_1_86_0.tar.gz does not match expected value #289

raphael10-collab opened this issue Jan 22, 2025 · 0 comments

Comments

@raphael10-collab
Copy link

Summary

-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'

Expected behavior

building phase without errors

Actual behavior

raphy@raohy:~$ git clone --recurse-submodules https://github.com/libp2p/cpp-libp2p.git
Cloning into 'cpp-libp2p'...
remote: Enumerating objects: 9579, done.
remote: Counting objects: 100% (3526/3526), done.
remote: Compressing objects: 100% (1867/1867), done.
remote: Total 9579 (delta 2309), reused 1718 (delta 1646), pack-reused 6053 (from 4)
Receiving objects: 100% (9579/9579), 2.87 MiB | 14.08 MiB/s, done.
Resolving deltas: 100% (5720/5720), done.



raphy@raohy:~/cpp-libp2p$ cmake -B builddir -DCLANG_TIDY=ON
Binary cache uploading is DISABLED.
CMake Deprecation Warning at 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.





-- [hunter] GTEST_ROOT: /home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/Install (ver.: 1.15.2)
-- [hunter] Building GTest
loading initial cache file /home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/cache.cmake
loading initial cache file /home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/Build/GTest/args.cmake
CMake Deprecation Warning at CMakeLists.txt:4 (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.


-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 14.2.0
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/Build/GTest/Build
[  6%] Creating directories for 'GTest-Release'
[ 12%] Performing download step (download, verify and extract) for 'GTest-Release'
-- Downloading...
   dst='/home/raphy/.hunter/_Base/Download/GTest/1.15.2/568d58e/v1.15.2.tar.gz'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://github.com/google/googletest/archive/v1.15.2.tar.gz'
-- [download 1% complete]
-- [download 3% complete]
-- [download 5% complete]
-- [download 7% complete]
-- [download 9% complete]
-- [download 11% complete]
-- [download 13% complete]
-- [download 15% complete]
-- [download 17% complete]
-- [download 19% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 24% complete]
-- [download 26% complete]
-- [download 28% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 33% complete]
-- [download 35% complete]
-- [download 37% complete]
-- [download 39% complete]
-- [download 42% complete]
-- [download 44% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 49% complete]
-- [download 51% complete]
-- [download 53% complete]
-- [download 55% complete]
-- [download 57% complete]
-- [download 59% complete]
-- [download 61% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 66% complete]
-- [download 68% complete]
-- [download 70% complete]
-- [download 72% complete]
-- [download 74% complete]
-- [download 76% complete]
-- [download 78% complete]
-- [download 80% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 85% complete]
-- [download 87% complete]
-- [download 89% complete]
-- [download 91% complete]
-- [download 93% complete]
-- [download 95% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/GTest/1.15.2/568d58e/v1.15.2.tar.gz'
-- Downloading... done
-- extracting...
     src='/home/raphy/.hunter/_Base/Download/GTest/1.15.2/568d58e/v1.15.2.tar.gz'
     dst='/home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/Build/GTest/Source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 18%] No update step for 'GTest-Release'
[ 25%] No patch step for 'GTest-Release'
[ 31%] Performing configure step for 'GTest-Release'



-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 14.2.0
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/Build/Boost/Build
[ 12%] Creating directories for 'Boost'
[ 25%] Performing download step (download, verify and extract) for 'Boost'
-- Downloading...
   dst='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz'
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'
-- Hash mismatch, removing...
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz'
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'
-- Hash mismatch, removing...
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz'
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'
-- Hash mismatch, removing...
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz'
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'
-- Hash mismatch, removing...
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz'
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'
-- Hash mismatch, removing...
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz'
-- [download 100% complete]
-- verifying file...
       file='/home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/raphy/.hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz
  does not match expected value
    expected: 'c248c60e2ce74c77cae3f678ede2f65491c4d815'
      actual: '7694f0b22c5217c4a12cd0fc1b4f74758b9d3fa3'
-- Hash mismatch, removing...
CMake Error at Build/Boost-prefix/src/Boost-stamp/download-Boost.cmake:163 (message):
  Each download failed!

    
    


gmake[2]: *** [CMakeFiles/Boost.dir/build.make:103: Boost-prefix/src/Boost-stamp/Boost-download] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/Boost.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

[hunter ** FATAL ERROR **] Build step failed (dir: /home/raphy/.hunter/_Base/3fb5849/82e7ed9/251b1a7/Build/Boost
[hunter ** FATAL ERROR **] [Directory:/home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/projects/Boost]

------------------------------ ERROR -----------------------------
    https://hunter.readthedocs.io/en/latest/reference/errors/error.external.build.failed.html
------------------------------------------------------------------

CMake Error at /home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
  /home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
  /home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_download.cmake:623 (hunter_fatal_error)
  /home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/projects/Boost/hunter.cmake:497 (hunter_download)
  /home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
  cmake/dependencies.cmake:14 (hunter_add_package)
  CMakeLists.txt:54 (include)


-- Configuring incomplete, errors occurred!

Relevant log output

raphy@raohy:~$ cat /home/raphy/.hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_error_page.cmake
# Copyright (c) 2014-2015, Ruslan Baratov
# All rights reserved.

# Do not move to master - build schemes use this module but they not use master
set(HUNTER_ERROR_PAGE "https://hunter.readthedocs.io/en/latest/reference/errors")

function(hunter_error_page error_page)
  message("------------------------------ ERROR -----------------------------")
  message("    ${HUNTER_ERROR_PAGE}/${error_page}.html")
  message("------------------------------------------------------------------")
  message("")
  message(FATAL_ERROR "")
endfunction()

Possible Solution

No response

Version

master branch
latest on January 22 2025

Would you like to work on fixing this bug ?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant