Closed Cyanglacier closed 4 years ago
我也是这样的错误,郁闷!
I am the same ! Has it Installing from binary release ?
Try using https://github.com/goproxy/goproxy.cn/blob/master/README.md, or an alternative.
li@lotusrina:~/lotus$ make clean && make all rm -rf build/.filecoin-install build/.update-modules lotus lotus-miner lotus-worker lotus-shed lotus-gateway lotus-seed lotus-pond lotus-townhall lotus-fountain lotus-chainwatch lotus-bench lotus-stats lotus-pcr lotus-health testground make -C extern/filecoin-ffi/ clean make[1]: Entering directory '/home/li/lotus/extern/filecoin-ffi' make[1]: *** No rule to make target 'clean'. Stop. make[1]: Leaving directory '/home/li/lotus/extern/filecoin-ffi' make: [Makefile:271: clean] Error 2 (ignored) git submodule update --init --recursive Submodule 'extern/fil-blst' (https://github.com/filecoin-project/fil-blst.git) registered for path 'extern/fil-blst' Submodule 'extern/filecoin-ffi' (https://github.com/filecoin-project/filecoin-ffi.git) registered for path 'extern/filecoin-ffi' Submodule 'extern/oni' (https://github.com/filecoin-project/oni) registered for path 'extern/oni' Submodule 'extern/serialization-vectors' (https://github.com/filecoin-project/serialization-vectors) registered for path 'extern/serialization-vectors' Submodule 'extern/test-vectors' (https://github.com/filecoin-project/test-vectors.git) registered for path 'extern/test-vectors' Cloning into '/home/li/lotus/extern/fil-blst'... Cloning into '/home/li/lotus/extern/filecoin-ffi'... Cloning into '/home/li/lotus/extern/oni'... Cloning into '/home/li/lotus/extern/serialization-vectors'... Cloning into '/home/li/lotus/extern/test-vectors'... Submodule path 'extern/fil-blst': checked out '5f93488fc0dbfb450f2355269f18fc67010d59bb' Submodule path 'extern/filecoin-ffi': checked out 'f640612a1a1f7a2dd8b3a49e1531db0aa0f63447' Submodule path 'extern/oni': checked out '8b7e7d438c4cc38a0d2d671876d4590ad20655b3' Submodule 'extra/fil-blst' (https://github.com/filecoin-project/fil-blst.git) registered for path 'extern/oni/extra/fil-blst' Submodule 'extra/filecoin-ffi' (https://github.com/filecoin-project/filecoin-ffi.git) registered for path 'extern/oni/extra/filecoin-ffi' Cloning into '/home/li/lotus/extern/oni/extra/fil-blst'... Cloning into '/home/li/lotus/extern/oni/extra/filecoin-ffi'... Submodule path 'extern/oni/extra/fil-blst': checked out '5f93488fc0dbfb450f2355269f18fc67010d59bb' Submodule path 'extern/oni/extra/filecoin-ffi': checked out 'f640612a1a1f7a2dd8b3a49e1531db0aa0f63447' Submodule path 'extern/serialization-vectors': checked out '5bfb928910b01ac8b940a693af2884f7f8276211' Submodule path 'extern/test-vectors': checked out '7d3becbeb5b932baed419c43390595b5e5cece12' Submodule 'gen/extern/filecoin-ffi' (https://github.com/filecoin-project/filecoin-ffi.git) registered for path 'extern/test-vectors/gen/extern/filecoin-ffi' Cloning into '/home/li/lotus/extern/test-vectors/gen/extern/filecoin-ffi'... Submodule path 'extern/test-vectors/gen/extern/filecoin-ffi': checked out '40569104603407c999d6c9e4c3f1228cbd4d0e5c' touch build/.update-modules make -C extern/filecoin-ffi/ .install-filcrypto make[1]: Entering directory '/home/li/lotus/extern/filecoin-ffi' ./install-filcrypto
OS: Ubuntu 18.04LTS Path:root@root:~/ipfs/lotus#
When I using
make clean && make all
the terminal report errors:build github.com/GeertJohan/go.rice/rice: cannot load github.com/GeertJohan/go.incremental: github.com/GeertJohan/go.incremental@v1.0.0: Get https://proxy.golang.org/github.com/%21geert%21johan/go.incremental/@v/v1.0.0.zip: dial tcp 216.58.200.241:443: i/o timeout Makefile:55: recipe for target 'lotus' failed
Here are the all:
root@root:~/ipfs/lotus# sudo make install install -C ./lotus /usr/local/bin/lotus install -C ./lotus-storage-miner /usr/local/bin/lotus-storage-miner install: 无法获取'./lotus-storage-miner' 的文件状态(stat): 没有那个文件或目录 Makefile:89: recipe for target 'install' failed make: *** [install] Error 1 root@root:~/ipfs/lotus# make clean && make all rm -rf build/.filecoin-install build/.update-modules lotus lotus-storage-miner lotus-seal-worker lotus-seal-worker lotus-seed pond townhall fountain chainwatch bench stats make -C extern/filecoin-ffi/ clean make[1]: 进入目录“/root/ipfs/lotus/extern/filecoin-ffi” rm -rf filecoin.h filecoin.pc libfilecoin.a .install-filecoin make[1]: 离开目录“/root/ipfs/lotus/extern/filecoin-ffi” git submodule update --init --recursive touch build/.update-modules make -C extern/filecoin-ffi/ libfilecoin.a filecoin.pc filecoin.h make[1]: 进入目录“/root/ipfs/lotus/extern/filecoin-ffi” ./install-filecoin ++ dirname ./install-filecoin + cd . + source install-shared.bash + rust_sources_dir=rust + '[' '' '!=' 1 ']' + download_release_tarball tarball_path rust filecoin-ffi + __resultvar=tarball_path + __rust_sources_path=rust + __repo_name=filecoin-ffi ++ uname + __release_name=filecoin-ffi-Linux ++ git rev-parse HEAD + __release_sha1=e32f5efc808b92560f9d7f92a5d312b5ac403b7d + __release_tag=e32f5efc808b9256 + __release_tag_url=https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/tags/e32f5efc808b9256 + echo 'acquiring release @ e32f5efc808b9256' acquiring release @ e32f5efc808b9256 ++ curl --retry 3 --location https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/tags/e32f5efc808b9256 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5699 100 5699 0 0 7372 0 --:--:-- --:--:-- --:--:-- 7363 + __release_response='{ "url": "https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/22138155", "assets_url": "https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/22138155/assets", "upload_url": "https://uploads.github.com/repos/filecoin-project/filecoin-ffi/releases/22138155/assets{?name,label}", "html_url": "https://github.com/filecoin-project/filecoin-ffi/releases/tag/e32f5efc808b9256", "id": 22138155, "node_id": "MDc6UmVsZWFzZTIyMTM4MTU1", "tag_name": "e32f5efc808b9256", "target_commitish": "e32f5efc808b92560f9d7f92a5d312b5ac403b7d", "name": "e32f5efc808b9256", "draft": false, "author": { "login": "filecoin-helper", "id": 37553297, "node_id": "MDQ6VXNlcjM3NTUzMjk3", "avatar_url": "https://avatars2.githubusercontent.com/u/37553297?v=4", "gravatar_id": "", "url": "https://api.github.com/users/filecoin-helper", "html_url": "https://github.com/filecoin-helper", "followers_url": "https://api.github.com/users/filecoin-helper/followers", "following_url": "https://api.github.com/users/filecoin-helper/following{/other_user}", "gists_url": "https://api.github.com/users/filecoin-helper/gists{/gist_id}", "starred_url": "https://api.github.com/users/filecoin-helper/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/filecoin-helper/subscriptions", "organizations_url": "https://api.github.com/users/filecoin-helper/orgs", "repos_url": "https://api.github.com/users/filecoin-helper/repos", "events_url": "https://api.github.com/users/filecoin-helper/events{/privacy}", "received_events_url": "https://api.github.com/users/filecoin-helper/received_events", "type": "User", "site_admin": false }, "prerelease": false, "created_at": "2019-12-11T09:53:01Z", "published_at": "2019-12-11T09:57:00Z", "assets": [ { "url": "https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728800", "id": 16728800, "node_id": "MDEyOlJlbGVhc2VBc3NldDE2NzI4ODAw", "name": "filecoin-ffi-Darwin.tar.gz", "label": "", "uploader": { "login": "filecoin-helper", "id": 37553297, "node_id": "MDQ6VXNlcjM3NTUzMjk3", "avatar_url": "https://avatars2.githubusercontent.com/u/37553297?v=4", "gravatar_id": "", "url": "https://api.github.com/users/filecoin-helper", "html_url": "https://github.com/filecoin-helper", "followers_url": "https://api.github.com/users/filecoin-helper/followers", "following_url": "https://api.github.com/users/filecoin-helper/following{/other_user}", "gists_url": "https://api.github.com/users/filecoin-helper/gists{/gist_id}", "starred_url": "https://api.github.com/users/filecoin-helper/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/filecoin-helper/subscriptions", "organizations_url": "https://api.github.com/users/filecoin-helper/orgs", "repos_url": "https://api.github.com/users/filecoin-helper/repos", "events_url": "https://api.github.com/users/filecoin-helper/events{/privacy}", "received_events_url": "https://api.github.com/users/filecoin-helper/received_events", "type": "User", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 8887938, "download_count": 177, "created_at": "2019-12-11T10:01:17Z", "updated_at": "2019-12-11T10:01:18Z", "browser_download_url": "https://github.com/filecoin-project/filecoin-ffi/releases/download/e32f5efc808b9256/filecoin-ffi-Darwin.tar.gz" }, { "url": "https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728694", "id": 16728694, "node_id": "MDEyOlJlbGVhc2VBc3NldDE2NzI4Njk0", "name": "filecoin-ffi-Linux.tar.gz", "label": "", "uploader": { "login": "filecoin-helper", "id": 37553297, "node_id": "MDQ6VXNlcjM3NTUzMjk3", "avatar_url": "https://avatars2.githubusercontent.com/u/37553297?v=4", "gravatar_id": "", "url": "https://api.github.com/users/filecoin-helper", "html_url": "https://github.com/filecoin-helper", "followers_url": "https://api.github.com/users/filecoin-helper/followers", "following_url": "https://api.github.com/users/filecoin-helper/following{/other_user}", "gists_url": "https://api.github.com/users/filecoin-helper/gists{/gist_id}", "starred_url": "https://api.github.com/users/filecoin-helper/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/filecoin-helper/subscriptions", "organizations_url": "https://api.github.com/users/filecoin-helper/orgs", "repos_url": "https://api.github.com/users/filecoin-helper/repos", "events_url": "https://api.github.com/users/filecoin-helper/events{/privacy}", "received_events_url": "https://api.github.com/users/filecoin-helper/received_events", "type": "User", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 9692796, "download_count": 2100, "created_at": "2019-12-11T09:57:00Z", "updated_at": "2019-12-11T09:57:01Z", "browser_download_url": "https://github.com/filecoin-project/filecoin-ffi/releases/download/e32f5efc808b9256/filecoin-ffi-Linux.tar.gz" } ], "tarball_url": "https://api.github.com/repos/filecoin-project/filecoin-ffi/tarball/e32f5efc808b9256", "zipball_url": "https://api.github.com/repos/filecoin-project/filecoin-ffi/zipball/e32f5efc808b9256", "body": "" }' ++ jq -r '.assets[] | select(.name | contains("filecoin-ffi-Linux")) | .url' ++ echo '{' '"url":' '"https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/22138155",' '"assets_url":' '"https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/22138155/assets",' '"upload_url":' '"https://uploads.github.com/repos/filecoin-project/filecoin-ffi/releases/22138155/assets{?name,label}",' '"html_url":' '"https://github.com/filecoin-project/filecoin-ffi/releases/tag/e32f5efc808b9256",' '"id":' 22138155, '"node_id":' '"MDc6UmVsZWFzZTIyMTM4MTU1",' '"tag_name":' '"e32f5efc808b9256",' '"target_commitish":' '"e32f5efc808b92560f9d7f92a5d312b5ac403b7d",' '"name":' '"e32f5efc808b9256",' '"draft":' false, '"author":' '{' '"login":' '"filecoin-helper",' '"id":' 37553297, '"node_id":' '"MDQ6VXNlcjM3NTUzMjk3",' '"avatar_url":' '"https://avatars2.githubusercontent.com/u/37553297?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/filecoin-helper",' '"html_url":' '"https://github.com/filecoin-helper",' '"followers_url":' '"https://api.github.com/users/filecoin-helper/followers",' '"following_url":' '"https://api.github.com/users/filecoin-helper/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/filecoin-helper/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/filecoin-helper/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/filecoin-helper/subscriptions",' '"organizations_url":' '"https://api.github.com/users/filecoin-helper/orgs",' '"repos_url":' '"https://api.github.com/users/filecoin-helper/repos",' '"events_url":' '"https://api.github.com/users/filecoin-helper/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/filecoin-helper/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"prerelease":' false, '"created_at":' '"2019-12-11T09:53:01Z",' '"published_at":' '"2019-12-11T09:57:00Z",' '"assets":' '[' '{' '"url":' '"https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728800",' '"id":' 16728800, '"node_id":' '"MDEyOlJlbGVhc2VBc3NldDE2NzI4ODAw",' '"name":' '"filecoin-ffi-Darwin.tar.gz",' '"label":' '"",' '"uploader":' '{' '"login":' '"filecoin-helper",' '"id":' 37553297, '"node_id":' '"MDQ6VXNlcjM3NTUzMjk3",' '"avatar_url":' '"https://avatars2.githubusercontent.com/u/37553297?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/filecoin-helper",' '"html_url":' '"https://github.com/filecoin-helper",' '"followers_url":' '"https://api.github.com/users/filecoin-helper/followers",' '"following_url":' '"https://api.github.com/users/filecoin-helper/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/filecoin-helper/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/filecoin-helper/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/filecoin-helper/subscriptions",' '"organizations_url":' '"https://api.github.com/users/filecoin-helper/orgs",' '"repos_url":' '"https://api.github.com/users/filecoin-helper/repos",' '"events_url":' '"https://api.github.com/users/filecoin-helper/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/filecoin-helper/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"content_type":' '"application/octet-stream",' '"state":' '"uploaded",' '"size":' 8887938, '"download_count":' 177, '"created_at":' '"2019-12-11T10:01:17Z",' '"updated_at":' '"2019-12-11T10:01:18Z",' '"browser_download_url":' '"https://github.com/filecoin-project/filecoin-ffi/releases/download/e32f5efc808b9256/filecoin-ffi-Darwin.tar.gz"' '},' '{' '"url":' '"https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728694",' '"id":' 16728694, '"node_id":' '"MDEyOlJlbGVhc2VBc3NldDE2NzI4Njk0",' '"name":' '"filecoin-ffi-Linux.tar.gz",' '"label":' '"",' '"uploader":' '{' '"login":' '"filecoin-helper",' '"id":' 37553297, '"node_id":' '"MDQ6VXNlcjM3NTUzMjk3",' '"avatar_url":' '"https://avatars2.githubusercontent.com/u/37553297?v=4",' '"gravatar_id":' '"",' '"url":' '"https://api.github.com/users/filecoin-helper",' '"html_url":' '"https://github.com/filecoin-helper",' '"followers_url":' '"https://api.github.com/users/filecoin-helper/followers",' '"following_url":' '"https://api.github.com/users/filecoin-helper/following{/other_user}",' '"gists_url":' '"https://api.github.com/users/filecoin-helper/gists{/gist_id}",' '"starred_url":' '"https://api.github.com/users/filecoin-helper/starred{/owner}{/repo}",' '"subscriptions_url":' '"https://api.github.com/users/filecoin-helper/subscriptions",' '"organizations_url":' '"https://api.github.com/users/filecoin-helper/orgs",' '"repos_url":' '"https://api.github.com/users/filecoin-helper/repos",' '"events_url":' '"https://api.github.com/users/filecoin-helper/events{/privacy}",' '"received_events_url":' '"https://api.github.com/users/filecoin-helper/received_events",' '"type":' '"User",' '"site_admin":' false '},' '"content_type":' '"application/octet-stream",' '"state":' '"uploaded",' '"size":' 9692796, '"download_count":' 2100, '"created_at":' '"2019-12-11T09:57:00Z",' '"updated_at":' '"2019-12-11T09:57:01Z",' '"browser_download_url":' '"https://github.com/filecoin-project/filecoin-ffi/releases/download/e32f5efc808b9256/filecoin-ffi-Linux.tar.gz"' '}' '],' '"tarball_url":' '"https://api.github.com/repos/filecoin-project/filecoin-ffi/tarball/e32f5efc808b9256",' '"zipball_url":' '"https://api.github.com/repos/filecoin-project/filecoin-ffi/zipball/e32f5efc808b9256",' '"body":' '""' '}' + __release_url=https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728694 + [[ -z https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728694 ]] ++ basename https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728694 + __tar_path=/tmp/filecoin-ffi-Linux_16728694.tar.gz ++ curl --head --retry 3 --header Accept:application/octet-stream --location --output /dev/null -w '%{url_effective}' https://api.github.com/repos/filecoin-project/filecoin-ffi/releases/assets/16728694 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:17 --:--:-- 0 + __asset_url='https://github-production-release-asset-2e65be.s3.amazonaws.com/223221398/84d9fe00-1bb9-11ea-860b-a56c3d189d2e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191213T222827Z&X-Amz-Expires=300&X-Amz-Signature=429eb13e16da73c750e4b5ddac237b3194c148f94526adcd9f20af5fc3f966c8&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfilecoin-ffi-Linux.tar.gz&response-content-type=application%2Foctet-stream' + curl --retry 3 --output /tmp/filecoin-ffi-Linux_16728694.tar.gz 'https://github-production-release-asset-2e65be.s3.amazonaws.com/223221398/84d9fe00-1bb9-11ea-860b-a56c3d189d2e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191213T222827Z&X-Amz-Expires=300&X-Amz-Signature=429eb13e16da73c750e4b5ddac237b3194c148f94526adcd9f20af5fc3f966c8&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfilecoin-ffi-Linux.tar.gz&response-content-type=application%2Foctet-stream' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9465k 100 9465k 0 0 2340k 0 0:00:04 0:00:04 --:--:-- 2340k + [[ 0 -ne 0 ]] + eval 'tarball_path='\''/tmp/filecoin-ffi-Linux_16728694.tar.gz'\''' ++ tarball_path=/tmp/filecoin-ffi-Linux_16728694.tar.gz ++ mktemp -d + tmp_dir=/tmp/tmp.7gcAkqPBlq + tar -C /tmp/tmp.7gcAkqPBlq -xzf /tmp/filecoin-ffi-Linux_16728694.tar.gz + find -L /tmp/tmp.7gcAkqPBlq -type f -name filecoin.h -exec cp -- '{}' . ';' + find -L /tmp/tmp.7gcAkqPBlq -type f -name libfilecoin.a -exec cp -- '{}' . ';' + find -L /tmp/tmp.7gcAkqPBlq -type f -name filecoin.pc -exec cp -- '{}' . ';' + echo 'successfully installed prebuilt libfilecoin' successfully installed prebuilt libfilecoin make[1]: “filecoin.pc”已是最新。 make[1]: “filecoin.h”已是最新。 make[1]: 离开目录“/root/ipfs/lotus/extern/filecoin-ffi” rm -f lotus go build -ldflags="-X "github.com/filecoin-project/lotus/build".CurrentCommit=+git71011d03" -o lotus ./cmd/lotus go run github.com/GeertJohan/go.rice/rice append --exec lotus -i ./build go: downloading github.com/nkovacs/streamquote v0.0.0-20170412213628-49af9bddb229 go: downloading github.com/valyala/fasttemplate v1.0.1 go: downloading github.com/akavel/rsrc v0.8.0 go: downloading github.com/jessevdk/go-flags v1.4.0 go: downloading github.com/GeertJohan/go.incremental v1.0.0 build github.com/GeertJohan/go.rice/rice: cannot load github.com/GeertJohan/go.incremental: github.com/GeertJohan/go.incremental@v1.0.0: Get https://proxy.golang.org/github.com/%21geert%21johan/go.incremental/@v/v1.0.0.zip: dial tcp 216.58.200.241:443: i/o timeout Makefile:55: recipe for target 'lotus' failed make: *** [lotus] Error 1 ![1](https://user-images.githubusercontent.com/47769205/70837966-02636f80-1e41-11ea-8887-c7582ca5e05e.JPG)
这个是网络的问题,要机场
OS: Ubuntu 18.04LTS Path:root@root:~/ipfs/lotus#
When I using
make clean && make all
the terminal report errors:Here are the all: