Skip to content

jfrog.io closed the download URIs for Boost libraries #770

@twdragon

Description

@twdragon

As jfrog.io extended URIs are now producing 409 Conflict error or redirected to the landing page, Hunter is not available anymore to download Boost sources from these URIs. Tests were performed from GARR eduroam network, so the issue will affect at least most of the European universities' networks.

Activating the link https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz
leads to a landing page:
img

It seem we need to implement a fallback to Sourceforge. To prove this possibility, I used this URI: https://altushost-swe.dl.sourceforge.net/project/boost/boost/1.86.0/boost_1_86_0.tar.gz

Test buildlog

-- [hunter] BOOST_ROOT: /home/twdragon/src/libp2p-cpp/build/hunter/_Base/3fb5849/abe67bf/251b1a7/Install (ver.: 1.86.0)
-- [hunter] Building Boost
loading initial cache file /home/twdragon/src/libp2p-cpp/build/hunter/_Base/3fb5849/abe67bf/251b1a7/cache.cmake
loading initial cache file /home/twdragon/src/libp2p-cpp/build/hunter/_Base/3fb5849/abe67bf/251b1a7/Build/Boost/args.cmake
-- The C compiler identification is Clang 15.0.0
-- The CXX compiler identification is Clang 15.0.0
-- Check for working C compiler: /util/llvm/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /util/llvm/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/twdragon/src/libp2p-cpp/build/hunter/_Base/3fb5849/abe67bf/251b1a7/Build/Boost/Build
[ 12%] Creating directories for 'Boost'
[ 25%] Performing download step (download, verify and extract) for 'Boost'
-- Downloading...
   dst='/home/twdragon/src/libp2p-cpp/build/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]
-- [download 9% complete]
-- [download 22% complete]
-- [download 34% complete]
-- [download 46% complete]
-- [download 58% complete]
-- [download 70% complete]
-- [download 82% complete]
-- [download 94% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/twdragon/src/libp2p-cpp/build/hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/twdragon/src/libp2p-cpp/build/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]
-- [download 9% complete]
-- [download 22% complete]
-- [download 34% complete]
-- [download 46% complete]
-- [download 58% complete]
-- [download 70% complete]
-- [download 82% complete]
-- [download 94% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/twdragon/src/libp2p-cpp/build/hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/twdragon/src/libp2p-cpp/build/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]
-- [download 9% complete]
-- [download 22% complete]
-- [download 34% complete]
-- [download 46% complete]
-- [download 58% complete]
-- [download 70% complete]
-- [download 82% complete]
-- [download 94% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/twdragon/src/libp2p-cpp/build/hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/twdragon/src/libp2p-cpp/build/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]
-- [download 9% complete]
-- [download 22% complete]
-- [download 34% complete]
-- [download 46% complete]
-- [download 58% complete]
-- [download 70% complete]
-- [download 82% complete]
-- [download 94% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/twdragon/src/libp2p-cpp/build/hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/twdragon/src/libp2p-cpp/build/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]
-- [download 9% complete]
-- [download 22% complete]
-- [download 34% complete]
-- [download 46% complete]
-- [download 58% complete]
-- [download 70% complete]
-- [download 82% complete]
-- [download 94% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/twdragon/src/libp2p-cpp/build/hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/twdragon/src/libp2p-cpp/build/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]
-- [download 9% complete]
-- [download 22% complete]
-- [download 34% complete]
-- [download 46% complete]
-- [download 58% complete]
-- [download 70% complete]
-- [download 82% complete]
-- [download 94% complete]
-- [download 100% complete]
-- verifying file...
       file='/home/twdragon/src/libp2p-cpp/build/hunter/_Base/Download/Boost/1.86.0/c248c60/boost_1_86_0.tar.gz'
-- SHA1 hash of
    /home/twdragon/src/libp2p-cpp/build/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:170 (message):
  Each download failed!

    
    


gmake[2]: *** [CMakeFiles/Boost.dir/build.make:103: Boost-prefix/src/Boost-stamp/Boost-download] Ошибка 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/Boost.dir/all] Ошибка 2
gmake: *** [Makefile:91: all] Ошибка 2

[hunter ** FATAL ERROR **] Build step failed (dir: /home/twdragon/src/libp2p-cpp/build/hunter/_Base/3fb5849/abe67bf/251b1a7/Build/Boost
[hunter ** FATAL ERROR **] [Directory:/home/twdragon/src/libp2p-cpp/build/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 build/hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
  build/hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
  build/hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/modules/hunter_download.cmake:623 (hunter_fatal_error)
  build/hunter/_Base/Download/Hunter/0.25.3-qdrvm23/3fb5849/Unpacked/cmake/projects/Boost/hunter.cmake:497 (hunter_download)
  build/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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions