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

unrecognized import path "vbom.ml/util" #424

Open
pamoedom opened this issue Apr 1, 2024 · 1 comment
Open

unrecognized import path "vbom.ml/util" #424

pamoedom opened this issue Apr 1, 2024 · 1 comment

Comments

@pamoedom
Copy link

pamoedom commented Apr 1, 2024

Environment:

$ cat /etc/redhat-release 
Fedora release 38 (Thirty Eight)

$ rpm -qa | grep golang
golang-src-1.21.8-1.fc38.noarch
golang-1.21.8-1.fc38.x86_64
golang-bin-1.21.8-1.fc38.x86_64

Issue:

$ make cli-build 
go: creating new go.mod: module tmp
Downloading sigs.k8s.io/controller-tools/cmd/controller-gen@v0.13.0
go: warning: "all" matched no packages
go: creating new go.mod: module tmp
Downloading sigs.k8s.io/kustomize/kustomize/v5@v5.1.1
go: warning: "all" matched no packages
go mod tidy
go: downloading golang.org/x/crypto v0.21.0
go: downloading golang.org/x/sys v0.18.0
go: downloading golang.org/x/net v0.21.0
go: downloading golang.org/x/term v0.18.0
go: github.com/openshift/machine-config-operator@v0.0.1-0.20201023110058-6c8bd9b2915c requires
	github.com/openshift/library-go@v0.0.0-20200831114015-2ab0c61c15de requires
	vbom.ml/util@v0.0.0-20180919145318-efcd4e0f9787: 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.53:53: no such host
make: *** [Makefile:107: common-deps-update] Error 1

Workaround:

$ echo "replace vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787" >> go.mod
$ go mod vendor
$ make cli-build

Regards.

@leo8a
Copy link
Collaborator

leo8a commented Apr 2, 2024

below is the current workaround I use in my env, FWIW

GOPROXY=https://proxy.golang.org/,direct make cli-build

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

2 participants