Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

cannot build from source cause git.apache.org/thrift.git has gone away #129

Closed
kamilsk opened this issue Sep 5, 2019 · 5 comments
Closed

Comments

@kamilsk
Copy link
Contributor

kamilsk commented Sep 5, 2019

$ make deps
go: finding github.com/goreleaser/godownloader latest
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: finding git.apache.org/thrift.git v0.12.0
go: git.apache.org/thrift.git@v0.12.0: unknown revision v0.12.0
...
        fatal: «https://git.apache.org/thrift.git/» unavailable: Failed to connect to git.apache.org port 443: Operation timed out
go: error loading module requirements

related issues:

Can be solved by replace git.apache.org/thrift.git => github.com/apache/thrift v0.12.0.

@ankushchadha
Copy link
Contributor

ankushchadha commented Sep 6, 2019

In addition, would recommend setting GOPROXY to avoid such issues in the future like it's being done in goreleaser (https://github.com/goreleaser/goreleaser/blob/master/Makefile#L7)

GitHub
Deliver Go binaries as fast and easily as possible - goreleaser/goreleaser

@caarlos0
Copy link
Member

caarlos0 commented Sep 6, 2019

Hey! Can you open a PR? Thanks! 🙏

@ankushchadha
Copy link
Contributor

ankushchadha commented Sep 6, 2019

#130 fixes the following issue
go: git.apache.org/thrift.git@v0.12.0: unknown revision v0.12.0

but there is another error

@caarlos0
Copy link
Member

caarlos0 commented Sep 6, 2019

thanks!

@caarlos0
Copy link
Member

caarlos0 commented Sep 6, 2019

should be fixed.

thanks

@caarlos0 caarlos0 closed this as completed Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants