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

Go mod invalid version: unknown revision #40315

Closed
NilsJPWerner opened this issue Jul 20, 2020 · 2 comments
Closed

Go mod invalid version: unknown revision #40315

NilsJPWerner opened this issue Jul 20, 2020 · 2 comments
Labels
FrozenDueToAge modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@NilsJPWerner
Copy link

NilsJPWerner commented Jul 20, 2020

What version of Go are you using (go version)?

$ go version
go1.14.5 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/conferencemac/Library/Caches/go-build"
GOENV="/Users/conferencemac/Library/Application Support/go/env"
GOEXE=""
GOFLAGS="-mod=vendor"
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY="github.com/eoch-github*"
GONOSUMDB="github.com/eoch-github*"
GOOS="darwin"
GOPATH="/Users/conferencemac/go"
GOPRIVATE="github.com/eoch-github*"
GOPROXY="direct"
GOROOT="/usr/local/Cellar/go/1.14.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/conferencemac/Code/go/bet-loop/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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/05/77c57qt56jv_qnkmqh1z8zp40000gn/T/go-build130504489=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

go mod vendor go: github.com/xyz/x@v1.0.3 requires
github.com/xyz/y@v1.0.0 requires
github.com/xyz/x@v0.0.0-20200513160722-61d1c48def76 requires
github.com/xyz/y@v0.0.0-20200504191321-8daf8192493e requires
github.com/xyz/x@v0.0.0-20200319170918-0d96343df272: invalid version: unknown revision 0d96343df272

What did you expect to see?

The go mod succeeds

What did you see instead?

I have two programs that have dependencies on each other. One of them seems to have a commit that has gone missing from a few months ago. Because they depend on each other it seems to be impossible to get rid of this historical dependency. How can I get out of this circular dependency?

Each side depends on a client package in the other. That client code has no dependencies. One of them is on a non-master branch as well

@bcmills bcmills added modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Jul 21, 2020
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Mar 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants