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

MacOSX install error when downloading boost_1_67_0.tar.bz2 #36

Open
bw2 opened this issue May 3, 2021 · 3 comments
Open

MacOSX install error when downloading boost_1_67_0.tar.bz2 #36

bw2 opened this issue May 3, 2021 · 3 comments

Comments

@bw2
Copy link

bw2 commented May 3, 2021

When I run cmake, I get this error:

/tmp/ExpansionHunterDenovo/ExpansionHunterDenovo-0.9.0/build $ cmake -DCMAKE_BUILD_TYPE=Release ../source
CMake Warning (dev) at thirdparty/boost-cmake-1.67.0/CMakeLists.txt:7 (set):
  implicitly converting 'DIRECTORY' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Downloading Boost from https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
CMake Error at thirdparty/boost-cmake-1.67.0/cmake/Modules/DownloadBoost.cmake:66 (file):
  file DOWNLOAD HASH mismatch

    for file: [/tmp/ExpansionHunterDenovo/ExpansionHunterDenovo-0.9.0/source/thirdparty/boost-cmake-1.67.0/boost_1_67_0.tar.bz2.tmp]
      expected hash: [2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba]
        actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
             status: [22;"HTTP response code said error"]

If I check https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2 in chrome, it shows "Forbidden!"

To fix it, I modified BOOST_URL in build/CMakeCache.txt to
BOOST_URL:STRING=https://newcontinuum.dl.sourceforge.net/project/boost/boost/1.67.0/boost_1_67_0.tar.bz2

and reran cmake -DCMAKE_BUILD_TYPE=Release ../source.

@egor-dolzhenko
Copy link
Contributor

Thanks for catching this! I will modify the build script to handle Boost directly instead of using a third-party library.

@signalbox2
Copy link

In fact the download location for Boost was changed on 1st May 2021:

https://www.boost.org/users/news/boost_has_moved_downloads_to_jfr.html

So a fairly simple update will fix this for now.

@BenjaminDEMAILLE
Copy link

Same error

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

4 participants