meta icon indicating copy to clipboard operation
meta copied to clipboard

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

Open welcomemandeep opened this issue 4 years ago • 13 comments

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

welcomemandeep avatar May 18 '20 14:05 welcomemandeep

I have the same issue here with windows.

Nathan846 avatar May 22 '20 07:05 Nathan846

Any update?

welcomemandeep avatar May 29 '20 16:05 welcomemandeep

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 <PackageName>_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 #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 #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 #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 #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

subbuballa avatar Jun 26 '20 10:06 subbuballa

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

Skyblueballykid avatar Jul 10 '20 02:07 Skyblueballykid

Having the same issue in Ubuntu 18.04.4

partha117 avatar Jul 23 '20 04:07 partha117

Having the same issue on Windows 10.0.18362.

connork18 avatar Jul 27 '20 01:07 connork18

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?

Ghost-8D avatar Aug 13 '20 10:08 Ghost-8D

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).

Metadope avatar Aug 23 '20 21:08 Metadope

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!

fplatz avatar Dec 10 '20 09:12 fplatz

Should be fixed by https://github.com/meta-toolkit/meta/pull/220

ccasey645 avatar Dec 13 '20 01:12 ccasey645

Having the same issue on Manjaro 21.1.0

mhnaufal avatar Jul 19 '21 02:07 mhnaufal

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

MikeGodin avatar Dec 20 '21 00:12 MikeGodin

https://rationalcity.wordpress.com/2022/10/01/how-to-build-meta-in-docker-container/

dvmorozov avatar Oct 01 '22 16:10 dvmorozov