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

Missing dependency "git.apache.org/thrift.git" #123

Closed
jfromaniello opened this issue Sep 2, 2019 · 3 comments
Closed

Missing dependency "git.apache.org/thrift.git" #123

jfromaniello opened this issue Sep 2, 2019 · 3 comments
Labels

Comments

@jfromaniello
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

0.12.7

Affected Resource(s)

Terraform Configuration Files

Debug Output

Panic Output

Expected Behavior

It should compile.

Actual Behavior

It can't download "apache thrift":

» make build
==> Checking that code complies with gofmt requirements...
go install
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: git.apache.org/[email protected]: git fetch -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/jose/.gocode/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
	fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Operation timed out
go: error loading module requirements
make: *** [build] Error 1

Steps to Reproduce

  1. clean your $GOPATH/pkg/mod/
  2. clone the repository
  3. run make build or go mod download

Important Factoids

I read in this issue that the project was moved to github. jenkins-x/jx#3320

I don't have much experience in GO and I can't determine what is the dependency using Apache Thrift.

References

@jfromaniello
Copy link
Author

jfromaniello commented Sep 2, 2019

There is a possible solution in this issue:

hashicorp/terraform#22664

you can get it to build adding this line to the go.mod:

replace git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity.
Stale issues will be closed after 5 days if no action is taken. If you
think this issue should not be closed, remove the stale label.

@github-actions github-actions bot added the stale label Dec 11, 2019
@alexkappa
Copy link
Owner

The mentioned issue threads seem to have addressed the issue outside of the scope of this repo. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants