You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various tests invoked by run.bash fail if $GOROOT resides under $GOPATH. run.bash previously handled this via unset GOPATH prior to running the tests, but this is no longer sufficient as Go now defines a default $GOPATH (#17262), i.e $GOROOT may conflict with the default $GOPATH. This can be resolved by setting GOPATH to a semantically valid, non-empty string that is guaranteed not to conflict with $GOROOT, e.g. GOPATH=$GOROOT/nil.
Various tests invoked by run.bash fail if
$GOROOT
resides under$GOPATH
. run.bash previously handled this viaunset GOPATH
prior to running the tests, but this is no longer sufficient as Go now defines a default$GOPATH
(#17262), i.e$GOROOT
may conflict with the default$GOPATH
. This can be resolved by settingGOPATH
to a semantically valid, non-empty string that is guaranteed not to conflict with $GOROOT, e.g.GOPATH=$GOROOT/nil
.What version of Go are you using (
go version
)?1.8, or any build since dc4a815.
What operating system and processor architecture are you using (
go env
)?go env
What did you do?
Clone go repository to /home/sean/go/src/github.com/golang/go, run all.bash.
What did you expect to see?
Successful build.
What did you see instead?
cgo tests that import local packages fail, e.g.
gcc68255.go:10:2: local import "./gcc68255" in non-local package
.The text was updated successfully, but these errors were encountered: