cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

go get cockroachdb hangs indefinitely

Open nexthack opened this issue 10 years ago • 2 comments

  • What did you do?

I am trying to setup the development environment for cockroachdb.With go get I am able to get other go packages.Somehow its not responding for cockroachdb

When I run the below command ,it hangs indefinitely.I tried even waiting for 2 hours,but still it just hangs. Command : go get -d -x -v github.com/cockroachdb/cockroach Output : github.com/cockroachdb/cockroach (download) cd . git clone https://github.com/cockroachdb/cockroach /home/OSS/go/src/github.com/cockroachdb/cockroach

  • What did you expect to see? I expected to see the package downloaded

  • What did you see instead? It just hangs on.

Is there any other way to setup and build cockroachdb in my local system ?

Thanks

nexthack avatar Nov 05 '16 17:11 nexthack

You can do what go get would do by hand:

mkdir -p ~/go/src/github.com/cockroachdb
cd ~/go/src/github.com/cockroachdb
git clone https://github.com/cockroachdb/cockroach

I wouldn't expect this to fix the problem, but it will show you more detail about what's going on. Cloning the cockroach repo downloads about 200MiB, FYI.

bdarnell avatar Nov 06 '16 03:11 bdarnell

ok.Looks like there is some issue with go get as certain github packages are taking very long time to download.

nexthack avatar Nov 07 '16 11:11 nexthack