Illumina / ExpansionHunterDenovo

A suite of tools for detecting expansions of short tandem repeats
Other
79 stars 25 forks source link

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

Open bw2 opened 3 years ago

bw2 commented 3 years ago

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 commented 3 years ago

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

signalbox2 commented 1 year ago

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.