Skip to content

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

@pamoedom

Description

@pamoedom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions