Giter Site home page Giter Site logo

make `go install` work about osdctl HOT 12 CLOSED

openshift avatar openshift commented on September 15, 2024
make `go install` work

from osdctl.

Comments (12)

iamkirkbater avatar iamkirkbater commented on September 15, 2024 1

/remove-lifecycle rotten

from osdctl.

fahlmant avatar fahlmant commented on September 15, 2024

The first errors look like you're using GOPATH, which I would not expect to be used for Go 1.14. Could you double check the go version you're using to install and that you're using modules, not GOPATH?

As for the make build issue, try running export GOPROXY=https://goproxy.io before running.

from osdctl.

yeya24 avatar yeya24 commented on September 15, 2024

In my setup this go get doesn't work as well.

export GO111MODULE=on
go get -v -u github.com/openshift/osd-utils-cli

go: github.com/openshift/osd-utils-cli upgrade => v0.1.0
get "sigs.k8s.io/cluster-api-provider-openstack": found meta tag get.metaImport{Prefix:"sigs.k8s.io/cluster-api-provider-openstack", VCS:"git", RepoRoot:"https://github.com/kubernetes-sigs/cluster-api-provider-openstack"} at //sigs.k8s.io/cluster-api-provider-openstack?go-get=1
get "sigs.k8s.io/cluster-api-provider-aws": found meta tag get.metaImport{Prefix:"sigs.k8s.io/cluster-api-provider-aws", VCS:"git", RepoRoot:"https://github.com/kubernetes-sigs/cluster-api-provider-aws"} at //sigs.k8s.io/cluster-api-provider-aws?go-get=1
get "sigs.k8s.io/cluster-api-provider-azure": found meta tag get.metaImport{Prefix:"sigs.k8s.io/cluster-api-provider-azure", VCS:"git", RepoRoot:"https://github.com/kubernetes-sigs/cluster-api-provider-azure"} at //sigs.k8s.io/cluster-api-provider-azure?go-get=1
go get: github.com/openshift/[email protected] requires
	github.com/openshift/[email protected] requires
	sigs.k8s.io/[email protected]: reading sigs.k8s.io/cluster-api-provider-aws/go.mod at revision v0.0.0: unknown revision v0.0.0

The error is weird because these packages are pinned to openshift fork in the go mod file https://github.com/openshift/osd-utils-cli/blob/master/go.mod#L30-L41, not sure why this happens. Need some time to investigate.

from osdctl.

openshift-bot avatar openshift-bot commented on September 15, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from osdctl.

georgettica avatar georgettica commented on September 15, 2024

solved in a hacky way here https://github.com/openshift/ocm-container/blob/master/container-setup/install/install-osdctl.sh

if a better solution can be provided that would be lovely

from osdctl.

openshift-bot avatar openshift-bot commented on September 15, 2024

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

from osdctl.

openshift-bot avatar openshift-bot commented on September 15, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from osdctl.

georgettica avatar georgettica commented on September 15, 2024

Seems still go-get doesn't work (we just make install inside the folder)
This means the issue is still not solved
/remove-lifecycle stale

from osdctl.

fahlmant avatar fahlmant commented on September 15, 2024

Are the errors the same as what was originally posted?

from osdctl.

georgettica avatar georgettica commented on September 15, 2024

Not that I can remember..I'll repost the new error format

from osdctl.

openshift-bot avatar openshift-bot commented on September 15, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from osdctl.

georgettica avatar georgettica commented on September 15, 2024

Never mind for now, let's close as I lost my context

from osdctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.