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

Hash don't match error #88

Open
shugyosha89 opened this issue Jul 1, 2023 · 1 comment
Open

Hash don't match error #88

shugyosha89 opened this issue Jul 1, 2023 · 1 comment

Comments

@shugyosha89
Copy link

shugyosha89 commented Jul 1, 2023

When I run the install-mecab-ipadic-neologd script, it errors part way through due to "hash don't match" error.

Running on Alpine Linux Docker image.

Log output:

[install-mecab-ipadic-NEologd] : Start..
[install-mecab-ipadic-NEologd] : Check the existance of libraries
[install-mecab-ipadic-NEologd] :     find => ok
[install-mecab-ipadic-NEologd] :     sort => ok
[install-mecab-ipadic-NEologd] :     head => ok
[install-mecab-ipadic-NEologd] :     cut => ok
[install-mecab-ipadic-NEologd] :     egrep => ok
[install-mecab-ipadic-NEologd] :     mecab => ok
[install-mecab-ipadic-NEologd] :     mecab-config => ok
[install-mecab-ipadic-NEologd] :     make => ok
[install-mecab-ipadic-NEologd] :     curl => ok
[install-mecab-ipadic-NEologd] :     sed => ok
[install-mecab-ipadic-NEologd] :     cat => ok
[install-mecab-ipadic-NEologd] :     diff => ok
[install-mecab-ipadic-NEologd] :     tar => ok
[install-mecab-ipadic-NEologd] :     unxz => ok
[install-mecab-ipadic-NEologd] :     xargs => ok
[install-mecab-ipadic-NEologd] :     grep => ok
[install-mecab-ipadic-NEologd] :     iconv => ok
[install-mecab-ipadic-NEologd] :     patch => ok
[install-mecab-ipadic-NEologd] :     which => ok
[install-mecab-ipadic-NEologd] :     file => ok
[install-mecab-ipadic-NEologd] :     openssl => ok
[install-mecab-ipadic-NEologd] :     awk => ok

[install-mecab-ipadic-NEologd] : mecab-ipadic-NEologd is already up-to-date

[install-mecab-ipadic-NEologd] : mecab-ipadic-NEologd will be install to /usr/local/lib/mecab/dic/mecab-ipadic-neologd

[install-mecab-ipadic-NEologd] : Make mecab-ipadic-NEologd
[make-mecab-ipadic-NEologd] : Start..
[make-mecab-ipadic-NEologd] : Check local seed directory
[make-mecab-ipadic-NEologd] : Check local seed file
[make-mecab-ipadic-NEologd] : Check local build directory
[make-mecab-ipadic-NEologd] : create /root/mecab-ipadic-neologd/libexec/../build
[make-mecab-ipadic-NEologd] : Download original mecab-ipadic file
[make-mecab-ipadic-NEologd] : Try to access to https://ja.osdn.net
[make-mecab-ipadic-NEologd] : Try to download from https://ja.osdn.net/frs/g_redir.php?m=kent&f=mecab%2Fmecab-ipadic%2F2.7.0-20070801%2Fmecab-ipadic-2.7.0-20070801.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11.6M  100 11.6M    0     0  25942      0  0:07:50  0:07:50 --:--:-- 26185

Hash value of /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801.tar.gz don't match
[make-mecab-ipadic-NEologd] : Try to download from https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11.6M  100 11.6M    0     0  4612k      0  0:00:02  0:00:02 --:--:-- 8521k

Hash value of /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801.tar.gz don't match
[make-mecab-ipadic-NEologd] : Try to download from https://sourceforge.net/projects/mecab/files/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz/download?use_mirror=autoselect#
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1051    0  1051    0     0   4955      0 --:--:-- --:--:-- --:--:--  4957
100   419  100   419    0     0    578      0 --:--:-- --:--:-- --:--:--  3126
100 11.6M  100 11.6M    0     0   561k      0  0:00:21  0:00:21 --:--:--  493k

Hash value of /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801.tar.gz don't match
[make-mecab-ipadic-NEologd] : Fail to download /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801.tar.gz
[make-mecab-ipadic-NEologd] : You should remove /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801.tar.gz before retrying to install mecab-ipadic-NEologd
[make-mecab-ipadic-NEologd] :        rm -rf /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801
[make-mecab-ipadic-NEologd] :        rm /root/mecab-ipadic-neologd/libexec/../build/mecab-ipadic-2.7.0-20070801.tar.gz
The command '/bin/sh -c apk add --update --no-cache ${build_deps}   && apk add --update --no-cache ${dependencies}   && curl -SL -o mecab-${MECAB_VERSION}.tar.gz ${mecab_url}   && tar zxf mecab-${MECAB_VERSION}.tar.gz   && cd mecab-${MECAB_VERSION}   && ./configure --enable-utf8-only --with-charset=utf8   && make   && make install   && cd   && curl -SL -o mecab-ipadic-${IPADIC_VERSION}.tar.gz ${ipadic_url}   && tar zxf mecab-ipadic-${IPADIC_VERSION}.tar.gz   && cd mecab-ipadic-${IPADIC_VERSION}   && ./configure --with-charset=utf8   && make   && make install   && cd   && git clone --depth 1 https://github.com/neologd/mecab-ipadic-neologd.git   && mecab-ipadic-neologd/bin/install-mecab-ipadic-neologd -n -y   && apk del ${build_deps}   && rm -rf     mecab-${MECAB_VERSION}*     mecab-${IPADIC_VERSION}*     mecab-ipadic-neologd' returned a non-zero code: 1
ERROR: Service 'php' failed to build : Build failed
@AndreiSoroka
Copy link

@neologd

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

2 participants