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/[email protected]
go: warning: "all" matched no packages
go: creating new go.mod: module tmp
Downloading sigs.k8s.io/kustomize/kustomize/[email protected]
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/[email protected] requires
	github.com/openshift/[email protected] requires
	vbom.ml/[email protected]: 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