-
Notifications
You must be signed in to change notification settings - Fork 7
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
Installation failing on Mac OS : [lotus-miner] Error 2 #11
Comments
New try without success after removing the "go" install from Homebrew: ~ 🖖 $ brew remove go
Uninstalling /usr/local/Cellar/go/1.18... (11,947 files, 592.6MB)
~ 🖖 $ brew cleanup
...
Removing: /Users/jbove/Library/Caches/Homebrew/go_mod_cache... (24,508 files, 633.5MB)
Removing: /Users/jbove/Library/Caches/Homebrew/go_cache... (5,030 files, 427.2MB)
==> This operation has freed approximately 1GB of disk space.
~ 🖖 $ brew install lotus
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.18
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:5dfda57937f94683cbe1b31e10b7ed4d0661722ece896dca9cb0c17bbbeaa52a
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5dfda57937f94683cbe1b31e10b7ed4d0661722ece896dca9cb0c17bbbeaa52a?se=2022
######################################################################## 100.0%
==> Downloading https://github.com/filecoin-project/lotus/archive/refs/tags/v1.14.1.tar.gz
Already downloaded: /Users/jbove/Library/Caches/Homebrew/downloads/444dee257c7ed2c618c92e56c4841e8533919e511ceaa299bf2c6527bc173769--lotus-1.14.1.tar.gz
==> Installing lotus from filecoin-project/lotus
==> Installing dependencies for filecoin-project/lotus/lotus: go
==> Installing filecoin-project/lotus/lotus dependency: go
==> Pouring go--1.18.big_sur.bottle.tar.gz
🍺 /usr/local/Cellar/go/1.18: 11,947 files, 592.6MB
==> Installing filecoin-project/lotus/lotus
==> git clone --recurse-submodules https://github.com/filecoin-project/filecoin-ffi.git extern/filecoin-ffi
==> git clone --recurse-submodules https://github.com/filecoin-project/serialization-vectors.git extern/serialization-vectors
==> git clone --recurse-submodules https://github.com/filecoin-project/test-vectors.git extern/test-vectors
==> touch build/.update-modules
==> make all
Last 15 lines from /Users/jbove/Library/Logs/Homebrew/lotus/05.make:
go: downloading github.com/jackpal/go-nat-pmp v1.0.2
go: downloading github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc
go: downloading github.com/marten-seemann/qtls-go1-17 v0.1.0-rc.1
go: downloading github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc
go: downloading github.com/marten-seemann/qtls-go1-17 v0.1.0-rc.1
go: downloading google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4
go: downloading google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4
go: downloading google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4
# github.com/lucas-clemente/quic-go/internal/qtls
/Users/jbove/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/lucas-clemente/quic-go@v0.21.2/internal/qtls/go118.go:5:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
# github.com/lucas-clemente/quic-go/internal/qtls
/Users/jbove/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/lucas-clemente/quic-go@v0.21.2/internal/qtls/go118.go:5:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
make: *** [lotus] Error 2
make: *** Waiting for unfinished jobs....
make: *** [lotus-miner] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/filecoin-project/homebrew-lotus/issues
These open issues may also help:
Installation failing on Mac OS : [lotus-miner] Error 2 https://github.com/filecoin-project/homebrew-lotus/issues/11 |
Having the same issue. I think mine has something to do with this path line:
|
@coryschwartz any thoughts on this one? getting blocked on some on-chain analysis work for Fil+. |
Same issue on MacBook Pro 15" 2017. |
Mac mini (2018)
|
adding a +1 to this... confirmed on a 2021 14" Pro. |
Looks like this is the same problem over at IPFS ipfs/kubo#8819, which has now been fixed. Actually, I think I'm seeing a different error- quic doesn't seem to be the culprit. Gonna open a new issue |
I got same error, but kinda different error logs (less than in #13... but with code 2 too - I realized it now and I can't remove the comment and move it there 😞) Last 15 lines from /Users/{user}/Library/Logs/Homebrew/lotus/10.make:
extern/sector-storage/ffiwrapper/verifier_cgo.go:164:30: cannot use info (variable of type "github.com/filecoin-project/specs-actors/actors/runtime/proof".WindowPoStVerifyInfo) as type "github.com/filecoin-project/go-state-types/proof".WindowPoStVerifyInfo in argument to ffi.VerifyWindowPoSt
# github.com/filecoin-project/lotus/extern/sector-storage/ffiwrapper
extern/sector-storage/ffiwrapper/prover_cgo.go:18:33: cannot use aggregateInfo (variable of type "github.com/filecoin-project/specs-actors/v5/actors/runtime/proof".AggregateSealVerifyProofAndInfos) as type "github.com/filecoin-project/go-state-types/proof".AggregateSealVerifyProofAndInfos in argument to ffi.AggregateSealProofs
extern/sector-storage/ffiwrapper/verifier_cgo.go:32:9: cannot use ffi.GenerateWinningPoSt(minerID, privsectors, randomness) (value of type []"github.com/filecoin-project/go-state-types/proof".PoStProof) as type []"github.com/filecoin-project/specs-actors/actors/runtime/proof".PoStProof in return statement
extern/sector-storage/ffiwrapper/verifier_cgo.go:57:9: cannot use proof (variable of type []"github.com/filecoin-project/go-state-types/proof".PoStProof) as type []"github.com/filecoin-project/specs-actors/actors/runtime/proof".PoStProof in return statement
extern/sector-storage/ffiwrapper/verifier_cgo.go:126:22: cannot use ffiInfo (variable of type "github.com/filecoin-project/specs-actors/actors/runtime/proof".SectorInfo) as type "github.com/filecoin-project/go-state-types/proof".SectorInfo in struct literal
extern/sector-storage/ffiwrapper/verifier_cgo.go:140:24: cannot use info (variable of type "github.com/filecoin-project/specs-actors/actors/runtime/proof".SealVerifyInfo) as type "github.com/filecoin-project/go-state-types/proof".SealVerifyInfo in argument to ffi.VerifySeal
extern/sector-storage/ffiwrapper/verifier_cgo.go:144:34: cannot use aggregate (variable of type "github.com/filecoin-project/specs-actors/v5/actors/runtime/proof".AggregateSealVerifyProofAndInfos) as type "github.com/filecoin-project/go-state-types/proof".AggregateSealVerifyProofAndInfos in argument to ffi.VerifyAggregateSeals
extern/sector-storage/ffiwrapper/verifier_cgo.go:148:44: cannot use update (variable of type "github.com/filecoin-project/specs-actors/v7/actors/runtime/proof".ReplicaUpdateInfo) as type "github.com/filecoin-project/go-state-types/proof".ReplicaUpdateInfo in argument to ffi.SectorUpdate.VerifyUpdateProof
extern/sector-storage/ffiwrapper/verifier_cgo.go:156:31: cannot use info (variable of type "github.com/filecoin-project/specs-actors/actors/runtime/proof".WinningPoStVerifyInfo) as type "github.com/filecoin-project/go-state-types/proof".WinningPoStVerifyInfo in argument to ffi.VerifyWinningPoSt
extern/sector-storage/ffiwrapper/verifier_cgo.go:164:30: cannot use info (variable of type "github.com/filecoin-project/specs-actors/actors/runtime/proof".WindowPoStVerifyInfo) as type "github.com/filecoin-project/go-state-types/proof".WindowPoStVerifyInfo in argument to ffi.VerifyWindowPoSt
make: *** [lotus] Error 2
make: *** Waiting for unfinished jobs....
make: *** [lotus-miner] Error 2
make: *** [lotus-worker] Error 2 Spec:
$ go version
go version go1.18.3 darwin/arm64 |
The new homebrew approach no longer builds from source, it downloads a prebuilt binary so this should no longer be an issue. |
Trying fresh install of Lotus through Homebrew, but ends with "Error 2".
System: MacBook Pro (15-inch, 2018)
OS: 11.6.5 (20G527)
CPU: 2,9 GHz 6-Core Intel Core i9
The text was updated successfully, but these errors were encountered: