-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Breaks go get -u #904
Comments
@eccles I need two things:
Can you get me that please? |
Also, what go version. I suspect you need to move to go 1.13, given the module support has teething issues in 1.12 |
Apparently go-ethereum pulls gopkg.in/urfave/cli.v1 in. $ go mod why gopkg.in/urfave/cli.v1 AND $ go mod why github.com/urfave/cli |
Moving to 1.13 is not possible at the moment although it is planned |
Are you using go 1.12? It usually should work with it, but if not can you try |
With GOPROXY set the error changes: 2019-10-08T09:20:34.6515969Z go get: upgrading gopkg.in/urfave/[email protected]: unexpected status (https://proxy.golang.org/gopkg.in/urfave/cli.v1/@v/v1.22.1.info): 410 Gone |
Intersetingly with GOPROXY set I also get the 410 Gone for github.com/go-interpreter/[email protected] |
Change |
Unfortunately I cant do that as it is not a direct dependency. |
Adding:
to go.mod fixed the problem. This is a bit of a hack but might useful for others. Does anyone think that this is a bug in go-ethereum? Should I report it there as well? |
@eccles it looks like |
@eccles I truly apologize for forcing the hack upon you 🙏 but it sounds like you've got stuff working now yeah? |
Closing pending more feedback about us needing to do work here! |
I am trying to execute go get -u ./... on my repo and get the following error:
go: gopkg.in/urfave/[email protected]: go.mod has non-....v1 module path "github.com/urfave/cli" at revision v1.22.1
The urfave/cli package is an indirect dependency so I cannot fix this myself.
go env:
GOARCH="amd64"
GOBIN="/home/xxxx/go/bin"
GOCACHE="/homexxxxl/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/xxxx/go"
GOPROXY=""
GORACE=""
GOROOT="/home/paul/go"
GOTMPDIR=""
GOTOOLDIR="/home/xxx/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/xxxx/git/yyy/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build955206262=/tmp/go-build -gno-record-gcc-switches"
The text was updated successfully, but these errors were encountered: