Joel Sing wrote: > On Thursday 02 June 2016 21:02:58 Ted Unangst wrote: > > Trying to build anything with go 1.6 results in an error. > > > > Seven flavors of stackoverflow questions provide seven different answers, > > but none of them seem particularly relevant. > > Works fine for me: > > The libtls/gotls regress also runs/passes (which uses cgo) and make regress > passed on both i386 and amd64 when I did the update to 1.6.2. > > I suspect a local environment issue - what does `go env` say? > > Have you got a GOROOT or GOARCH/GOHOSTARCH exported? > > The list of C files is also curious - those look like parts of the old Go > runtime (Go 1.4 and earlier), which it should not be trying to build (or even > know anything about). Actually, this looks like you're invoking the go 1.6.2 > binary with a GOROOT pointing at the go-bootstrap environment...
ok, the internet was pointing in that direction, but I didn't believe it. Deleted /usr/local/go entirely (there were some files there not in the package) and now it works.
