-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
x/vgo: panic: unbuildable #24103
Comments
I was also hit by an unbuildable panic for the following
Note, the command I executed was
There are no Go files in the root directory, so technically the panic is correct. However, the error reported by
|
Similar error with |
I have a very small repro for @rogpeppe's stack trace using mutually-dependent modules (see #25758). I don't know whether @mewmew's is related.
|
I'm seeing this happen on
When I first posted this in #25604 I wasn't clear what was happening, but now I can see that |
Change https://golang.org/cl/119575 mentions this issue: |
CL 119575 fixes It removes the panic in the
I try not to touch anything AGPL at work, so I'll leave it to @rogpeppe to verify whether it fixes |
It also fixes the panic for
|
@bcmills It's because vgo defaults to choosing v1.0.0. If I manually change it to v2.0.0 in this case, it builds. This is what it's generating anacrolix/dht@920ba28 now. |
Change https://golang.org/cl/120996 mentions this issue: |
go version devel +104445e Wed Feb 7 19:22:09 2018 +0000 linux/amd64 vgo:2018-02-20.1
Somehow this go.mod file causes vgo to hit a TODO panic in
golang.org/x/vgo/vendor/cmd/go/internal/mvs/mvs.go
:The panic traceback is:
The text was updated successfully, but these errors were encountered: