kisielk/vendorize

built in libraries coming from undefined GOROOT

jchenry opened this issue · 3 comments

Got this error

2013/10/25 11:09:16 github.com/XXXXXXX/YYYYYYY: couldn't import encoding/base64: cannot find package "encoding/base64" in any of:
/usr/local/go/src/pkg/encoding/base64 (from $GOROOT)
/Users/jchenry/Developer/projects/usermind/src/encoding/base64 (from $GOPATH)

Thing is my GOROOT is not set to /usr/local/go, its set to something else. where is this coming from?

hm interesting, I'm just using build.Default as the build context which uses GOROOT from the environment or compiled code. What does go env tell you?

GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jchenry/Developer/projects/usermind"
GORACE=""
GOROOT="/opt/boxen/goenv/versions/1.1"
GOTOOLDIR="/opt/boxen/goenv/versions/1.1/pkg/tool/darwin_amd64"
CC="gcc"
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread -fno-common"
CGO_ENABLED="1"

On Oct 25, 2013, at 11:16 AM, Kamil Kisiel notifications@github.com wrote:

hm interesting, I'm just using build.Default as the build context which uses GOROOT from the environment or compiled code. What does go env tell you?


Reply to this email directly or view it on GitHub.

GOROOT was unset. closing