You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
12.4 install fails: 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
#13
Closed
smagdali opened this issue
Jun 15, 2022
· 1 comment
stefan@StefMacBookPro ~ % brew install filecoin-project/lotus/lotus
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Downloading https://github.com/filecoin-project/lotus/archive/refs/tags/v1.15.1.tar.gz
Already downloaded: /Users/stefan/Library/Caches/Homebrew/downloads/0c804feff7dcd718eab170486e8e0002d1921b2124b8d46abee48ad11654b2b5--lotus-1.15.1.tar.gz
==> Installing lotus from filecoin-project/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
==> mkdir -p extern/cargo_home
==> rustup-init -y
PATH = /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/pkg-config/bin:/opt/homebrew/opt/go/bin:/opt/homebrew/opt/jq/bin:/opt/homebrew/opt/bazaar/bin:/opt/homebrew/opt/rustup-init/bin:/opt/homebrew/opt/hwloc/bin:/usr/bin:/bin:/usr/sbin:/sbin:/private/tmp/lotus-20220615-96492-3k08ms/lotus-1.15.1/extern/cargo_home/bin
==> cd extern/filecoin-ffi && make
==> go mod download github.com/filecoin-project/go-state-types
==> go get github.com/filecoin-project/filecoin-ffi@v0.30.4-0.20200910194244-f640612a1a1f
==> make all
Last 15 lines from /Users/stefan/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
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
The text was updated successfully, but these errors were encountered:
stefan@StefMacBookPro ~ % brew install filecoin-project/lotus/lotus
==> Downloading https://github.com/filecoin-project/lotus/releases/download/v1.17.0/lotus_1.17.0_darwin_all.tar.gz
Already downloaded: /Users/stefan/Library/Caches/Homebrew/downloads/b7aa22edc30ca4b27c04d0d3d723cd4ae3b33e4ea902a6068296554af02208cf--lotus_1.17.0_darwin_all.tar.gz
==> Installing lotus from filecoin-project/lotus
🍺 /opt/homebrew/Cellar/lotus/1.17.0: 5 files, 946MB, built in 4 seconds
==> Running brew cleanup lotus...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
stefan@StefMacBookPro ~ % which lotus
/opt/homebrew/bin/lotus
2021 14" Macbook Pro M1 MacOs 12.4
See below:
The text was updated successfully, but these errors were encountered: