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: clean --modcache fails if disk is full #38395

Closed
bradfitz opened this issue Apr 12, 2020 · 3 comments
Closed

cmd/go: clean --modcache fails if disk is full #38395

bradfitz opened this issue Apr 12, 2020 · 3 comments
Labels
FrozenDueToAge GoCommand cmd/go help wanted NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@bradfitz
Copy link
Contributor

If your disk is full and you reach for go clean --modcache to get some of your disk back, this isn't ideal:

$ go clean --modcache
go: creating work dir: mkdir /tmp/go-build419219692: no space left on device

/cc @bcmills

@bradfitz
Copy link
Contributor Author

Previously, related: #28680

@andybons andybons added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 13, 2020
@andybons andybons added this to the Unplanned milestone Apr 13, 2020
@andybons andybons added the GoCommand cmd/go label Apr 13, 2020
@bcmills
Copy link
Contributor

bcmills commented Apr 13, 2020

CC @jayconrod @matloob

This seems like another one of those places where we're calling base.Fatalf or equivalent but should instead be returning an error for the specific command to report.

@bcmills bcmills added help wanted NeedsFix The path to resolution is known, but the work has not been done. labels Apr 13, 2020
@gopherbot gopherbot removed the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 13, 2020
@gopherbot
Copy link

Change https://golang.org/cl/236563 mentions this issue: cmd/go: don't initialize Builder in envcmd.MkEnv

@golang golang locked and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go help wanted NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants