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
Unable to build powergate CLI #882
Comments
The newest libp2p has a limitation (I guess is temporal) for people compiling with Go v1.18.x, which is a release from some weeks ago. You need to compile with v1.17.x or older. (i.e: I tried with v1.17.8 now and didn't have an issue compiling) |
Thanks, will try on a 1.17 version then. But, is it the lipp2p which is causing the issue? Because i don't see an open issue for the same under libp2p. |
Yes, it's libp2p since the error:
Comes from libp2p. Correct, this repo isn't using the latest version of libp2p. |
I ran into this error and initially logged the issue in the wrong repo. After installing Go 1.17.13 the error went away. |
@jsign I forked this repo and added a note to the repo's home page about the Go versions that are supported in https://github.com/jsolly/powergate/commit/bda20f6bbd0e55d23dcd41ac2e6ab9b14d5a6584 I noticed I on the PR page that it didn't have the option to choose my fork for a PR. What's the process for a contributor to open a PR? I checked the Contributor doc and it is empty. |
There isn't a special process to create a PR, you should be able to created by clicking the "open pull request" button in your fokred repo: BTW, thanks for the contribution. |
Thanks! I opened a new PR to update the home page with information about installing Go. |
Closed by #893 |
Followed the steps mentioned in https://docs.textile.io/powergate/ to clone and build Powergate CLI.
I am facing following errors and unable to proceed.
My environment is M1 macbook Pro with golang version
go version go1.18 darwin/amd64
On running
make install-pow
following error is displayed.Thought i found a workaround mentioned here ipfs/kubo#8819 .
Tried to proceed with it but I am running into the below error. Looks like go-ipfs version used is 0.8 which is very old and using some flags which have been removed in later dependency (quic-go).
The text was updated successfully, but these errors were encountered: