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

Meta build Failing (v1.3.6) on Mac OS(10.15.4) due to checksum and download error #217

Open
welcomemandeep opened this issue May 18, 2020 · 13 comments

Comments

@welcomemandeep
Copy link

I am getting a 404 Not Found on running make

[ 86%] Creating directories for 'ceeaus' [ 86%] Performing download step (download, verify and extract) for 'ceeaus' -- verifying file... file='/Users/mgandhi/code/meta-toolkit/meta/build/src/downloads/ceeaus.tar.gz' -- SHA256 hash of /Users/mgandhi/code/meta-toolkit/meta/build/src/downloads/ceeaus.tar.gz does not match expected value expected: '8ea40b32f34e9ae8aedffe562ad468fc465d1cc0ff6a5c3bdf0ee42bb85c231e' actual: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' -- File already exists but hash mismatch. Removing... -- Downloading... dst='/Users/mgandhi/code/meta-toolkit/meta/build/src/downloads/ceeaus.tar.gz' timeout='none' -- Using src='http://web.engr.illinois.edu/~massung1/files/ceeaus.tar.gz' -- Retrying... -- Using src='http://web.engr.illinois.edu/~massung1/files/ceeaus.tar.gz'

Env details -

OS - Mac OS(10.15.4)
Make Version - GNU Make 3.81

@Nathan846
Copy link

I have the same issue here with windows.

@welcomemandeep
Copy link
Author

Any update?

@subbuballa
Copy link

i'm having a similar error, running the following command

CXX=clang++ cmake ../ -DCMAKE_BUILD_TYPE=Release -DICU_ROOT=/usr/local/opt/icu4c
make

-- Searching for ICU 58.2
CMake Warning (dev) at deps/meta-cmake/FindOrBuildICU.cmake:31 (find_package):
Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

CMake variable ICU_ROOT is set to:

/usr/local/opt/icu4c

For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
CMakeLists.txt:55 (FindOrBuildICU)
This warning is for project developers. Use -Wno-dev to suppress it.

-- ICU version found is 67.1.0, expected 58.2; attempting to build ICU from scratch...
-- ICU include dirs: /Users/subbu/Documents/libraries/meta/build/deps/icu-58.2/include
-- ICU libraries: icui18n;icuuc;icudata
-- Locating libc++...
-- Located libc++: /usr/lib/libc++.dylib
-- Located libc++ include path: /Library/Developer/CommandLineTools/usr/include/c++/v1/
-- Locating libc++'s abi...
-- Found libc++abi: /usr/lib/libc++abi.dylib
-- Using jemalloc: /usr/local/lib/libjemalloc.dylib
-- Locating libc++experimental library
-- Locating libc++experimental library - not found
-- No suitable experimental filesystem library found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/subbu/Documents/libraries/meta/build
[ 1%] Performing download step (download, verify and extract) for 'ExternalICU'
-- Downloading...
dst='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
timeout='none'
-- Using src='http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
-- [download 100% complete]

  • Closing connection 2
  • Closing connection 0
  • Closing connection 1
    -- verifying file...
    file='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
    -- MD5 hash of
    /Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz
    does not match expected value
    expected: 'fac212b32b7ec7ab007a12dff1f3aea1'
    actual: 'b9565809ea3d4742cca6278d72f16cf7'
    -- Hash mismatch, removing...
    -- Retrying...
    -- Using src='http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
    -- [download 100% complete]
  • Closing connection 2
  • Closing connection 0
  • Closing connection 1
    -- verifying file...
    file='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
    -- MD5 hash of
    /Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz
    does not match expected value
    expected: 'fac212b32b7ec7ab007a12dff1f3aea1'
    actual: 'c3b475e1d6f362d525863151f4d98e19'
    -- Hash mismatch, removing...
    -- Retry after 5 seconds (attempt Documentation for meta::classify #2) ...
    -- Using src='http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
    -- [download 100% complete]
  • Closing connection 2
  • Closing connection 0
  • Closing connection 1
    -- verifying file...
    file='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
    -- MD5 hash of
    /Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz
    does not match expected value
    expected: 'fac212b32b7ec7ab007a12dff1f3aea1'
    actual: '445d817e6b20bf8e42043cf5a7dfc278'
    -- Hash mismatch, removing...
    -- Retry after 5 seconds (attempt Simple sentence segmenter #3) ...
    -- Using src='http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
    -- [download 100% complete]
  • Closing connection 2
  • Closing connection 0
  • Closing connection 1
    -- verifying file...
    file='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
    -- MD5 hash of
    /Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz
    does not match expected value
    expected: 'fac212b32b7ec7ab007a12dff1f3aea1'
    actual: '91bc1a21b0925eb30a3b89a74d600dc8'
    -- Hash mismatch, removing...
    -- Retry after 15 seconds (attempt Relevance judgements using meta::index #4) ...
    -- Using src='http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
    -- [download 100% complete]
  • Closing connection 2
  • Closing connection 0
  • Closing connection 1
    -- verifying file...
    file='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
    -- MD5 hash of
    /Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz
    does not match expected value
    expected: 'fac212b32b7ec7ab007a12dff1f3aea1'
    actual: 'aae678ebfeb0340d6b89dd6c78cd2987'
    -- Hash mismatch, removing...
    -- Retry after 60 seconds (attempt Codify our style guide for clang-format #5) ...
    -- Using src='http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
    -- [download 100% complete]
  • Closing connection 2
  • Closing connection 0
  • Closing connection 1
    -- verifying file...
    file='/Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz'
    -- MD5 hash of
    /Users/subbu/Documents/libraries/meta/deps/icu-58.2/icu4c-58_2-src.tgz
    does not match expected value
    expected: 'fac212b32b7ec7ab007a12dff1f3aea1'
    actual: '7e99be83ed4c8d35b0713eeaea03c39e'
    -- Hash mismatch, removing...
    CMake Error at ExternalICU-stamp/download-ExternalICU.cmake:159 (message):
    Each download failed!

make[2]: *** [deps/icu-58.2/src/ExternalICU-stamp/ExternalICU-download] Error 1
make[1]: *** [CMakeFiles/ExternalICU.dir/all] Error 2
make: *** [all] Error 2

@Skyblueballykid
Copy link

I'm having the same error as @subbuballa on
OS - Mac OS(10.15.5)
Make Version - GNU Make 3.81

@partha117
Copy link

Having the same issue in Ubuntu 18.04.4

@connork18
Copy link

Having the same issue on Windows 10.0.18362.

@Ghost-8D
Copy link

I had the same issue and I spent several days trying to find a solution but after fixing one issue, a new one appeared. I think that we should find an alternative tool for text mining and text analysis as this tool is not supported anymore. Does anybody know any alternatives to META, preferably used with Python?

@Metadope
Copy link

I made progress on a workaround for this issue by tracking down the proper icu4c archive, available here (ICU's new home):

https://github.com/unicode-org/icu/releases/download/release-58-2/icu4c-58_2-src.tgz

That file produces the MD5 sum specified in MeTa's CMake config.

It's the right file, but MeTa's dependency needs to be updated (with a newer download URL at the very least).

@fplatz
Copy link

fplatz commented Dec 10, 2020

I made progress on a workaround for this issue by tracking down the proper icu4c archive, available here (ICU's new home):

https://github.com/unicode-org/icu/releases/download/release-58-2/icu4c-58_2-src.tgz

That file produces the MD5 sum specified in MeTa's CMake config.

It's the right file, but MeTa's dependency needs to be updated (with a newer download URL at the very least).

Hello! I'm new here and do not know, how to install the 58-2 version. Could someone leave a code here for the installation and configuration of icu4u for macOs (10.15.07) ?

Thanks in advanced!

@ccasey645
Copy link

Should be fixed by #220

@mhnaufal
Copy link

Having the same issue on Manjaro 21.1.0

@MikeGodin
Copy link

For those who are not familiar with patching and PRs etc, the fix is easy: just edit CMakeLists.txt and change the line:
URL http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz
to:
URL https://github.com/unicode-org/icu/releases/download/release-58-2/icu4c-58_2-src.tgz

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