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

cmd/go2go: run command fails #45502

Closed
justas68 opened this issue Apr 11, 2021 · 3 comments
Closed

cmd/go2go: run command fails #45502

justas68 opened this issue Apr 11, 2021 · 3 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.

Comments

@justas68
Copy link

Hi, I have a simple main package, which works if I do
go tool go2go translate main.go2
go run main.go
But it fails if I try to run immediately with command
go tool go2go run main.go2
Getting error:
cannot find package "run" in any of: C:\Users\justast\Desktop\Go\go\src\run (from $GOROOT) C:\Users\justast\AppData\Local\Temp\go2go1730022865\src\run (from $GOPATH) C:\Users\justast\Desktop\Go\go2\src\run C:\Users\justast\Desktop\Go\go\bin\go [run run main.go] failed: exit status 1

@seankhliao seankhliao changed the title go2go run command fails cmd/go2go: run command fails Apr 11, 2021
@seankhliao seankhliao added the NeedsFix The path to resolution is known, but the work has not been done. label Apr 11, 2021
@seankhliao
Copy link
Member

cc @ianlancetaylor

broken in CL 303275

@gopherbot
Copy link

Change https://golang.org/cl/309570 mentions this issue: [dev.go2go] cmd/go2go: don't pass "run run" to cmd/go

gopherbot pushed a commit that referenced this issue Apr 13, 2021
Fixes #45502

Change-Id: I510c47e7780a42ffd0c855da5ce1674d487c1633
Reviewed-on: https://go-review.googlesource.com/c/go/+/309570
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
@seankhliao
Copy link
Member

Closing as no longer relevant

@golang golang locked and limited conversation to collaborators Jun 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants