Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Failed to make binary #202

Open
sunhmy opened this issue Jul 15, 2021 · 3 comments
Open

Failed to make binary #202

sunhmy opened this issue Jul 15, 2021 · 3 comments

Comments

@sunhmy
Copy link

sunhmy commented Jul 15, 2021

Hi,

I do have go and dcgm install on CentOS7. But when trying to build inside of gpu-monitoring-tools directory, I got the following logs and error:

cd pkg; go build
go: finding github.com/gorilla/mux v1.8.0
go: finding github.com/stretchr/testify v1.6.1
go: finding github.com/Masterminds/semver v1.5.0
go: finding github.com/urfave/cli/v2 v2.3.0
go: finding github.com/sirupsen/logrus v1.7.0
go: github.com/sirupsen/[email protected]: unknown revision v1.7.0
go: github.com/stretchr/[email protected]: unknown revision v1.6.1
go: finding k8s.io/kubelet v0.20.2
go: finding k8s.io/kubernetes v1.18.2
go: k8s.io/[email protected]: unknown revision v0.20.2
go: google.golang.org/[email protected]: unrecognized import path "google.golang.org/grpc" (https fetch: Get https://google.golang.org/grpc?go-get=1: dial tcp 216.239.37.1:443: connect: connection timed out)
go: k8s.io/[email protected]: unknown revision v1.18.2
go: github.com/urfave/cli/[email protected]: unknown revision v2.3.0
go: error loading module requirements
make: *** [binary] Error 1

How should I get over this and have it build successfully? Thanks!

@elezar
Copy link
Member

elezar commented Jul 15, 2021

Hi @sunhmy. It seems as if the connection to google.golang.org is timing out. Do you have any specific firewall setup?

What output do you get when you run go get google.golang.org/[email protected]?

@sunhmy
Copy link
Author

sunhmy commented Jul 15, 2021

Hi @elezar

@sunhmy
Copy link
Author

sunhmy commented Jul 15, 2021

Thank you for the quick reply. I got the following output:

go get google.golang.org/[email protected]

go: finding github.com/gorilla/mux v1.7.4
go: github.com/gorilla/[email protected]: unknown revision v1.7.4
go: error loading module requirements

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

2 participants