Skip to content
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

Build failure: unrecognized import path "vbom.ml/util" #1224

Closed
vashirov opened this issue Sep 15, 2020 · 2 comments
Closed

Build failure: unrecognized import path "vbom.ml/util" #1224

vashirov opened this issue Sep 15, 2020 · 2 comments

Comments

@vashirov
Copy link
Member

$ make build 
hack/build-go.sh  
go: downloading vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787
../../../go/pkg/mod/github.com/!google!cloud!platform/testgrid@v0.0.13/util/gcs/read.go:32:2: unrecognized import path "vbom.ml/util": https fetch: Get "https://vbom.ml/util?go-get=1": dial tcp: lookup vbom.ml on 127.0.0.1:53: no such host
[ERROR] PID 2449932: hack/build-go.sh:13: `go build ./cmd/...` exited with status 1.
[INFO]          Stack Trace: 
[INFO]            1: hack/build-go.sh:13: `go build ./cmd/...`
[INFO]   Exiting with code 1.
[ERROR] hack/build-go.sh exited with code 1 after 00h 00m 01s
make: *** [Makefile:33: build] Error 1

See fvbommel/util#7

@alvaroaleman
Copy link
Contributor

Thats why the repo has a vendor directory, run export GOFLAGS=-mod=vendor before the make build and it will work.
/close

@openshift-ci-robot
Copy link
Contributor

@alvaroaleman: Closing this issue.

In response to this:

Thats why the repo has a vendor directory, run export GOFLAGS=-mod=vendor before the make build and it will work.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

No branches or pull requests

3 participants