Open mgilbir opened 7 years ago
Ah, yes, this is when your user can't modify the standard library installation.
Hellogopher runs tests with "-i -race", so that the race libraries are saved for later. If your distribution didn't ship a race-enabled standard library, it will try to save the artifacts.
But since you don't have permission, it fails.
This is annoying, because I don't want to disable "-i" as building race libraries is slow and many users benefit from the incremental builds.
I'll work on it. In the meantime, you can just remove the "go test -i" line.
Note for myself: this will happen also cross-compiling, which is not as easy to catch.
Just got bitten by the cross-compiling you mentioned:
$ GOOS=linux make app
go install runtime/internal/sys: mkdir /usr/local/go/pkg/linux_amd64: permission denied
make: *** [cylon] Error 1
Hi,
I've given
hellogopher
a try for an internal project at work to replace our own homegrown Makefile but I'm stumped on this error:I'm running:
Any tips on where to look to try to get this working?