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/go: implicit go install of std in $GOROOT/src has weird error #31446

Open
bradfitz opened this issue Apr 12, 2019 · 1 comment
Open

cmd/go: implicit go install of std in $GOROOT/src has weird error #31446

bradfitz opened this issue Apr 12, 2019 · 1 comment
Labels
modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bradfitz
Copy link
Contributor

I did this by mistake (hit enter too early) and then noted the kinda weird error message:

bradfitz@go:~/go/src$ go install
can't load package: package std: unknown import path "std": cannot find module providing package std
bradfitz@go:~/go/src$ go install std
bradfitz@go:~/go/src$ echo $?
0

I guess it's correct, as "std" is some alias rather than a package, but maybe it can be made to just work, or have a more helpful error.

Low priority.

/cc @bcmills

@bradfitz bradfitz changed the title cmd/go: implicit go instal of std in $GOROOT/src has weird error cmd/go: implicit go install of std in $GOROOT/src has weird error Apr 12, 2019
@bcmills
Copy link
Contributor

bcmills commented Apr 12, 2019

CC @jayconrod

@bcmills bcmills added this to the Go1.14 milestone Apr 12, 2019
@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 12, 2019
@rsc rsc modified the milestones: Go1.14, Backlog Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants