Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

[Solved] Fresh Checkout & Empty ~/go Fails `make test`

$
0
0

An attempt to build from a fresh checkout (and empty ~/go) gives the following error:

10:57:48 Sin:~/git/mattermost ranger$ make test
Starting docker containers
/Users/ranger/opt/go/bin/godep go test  -run=. -test.v -test.timeout=180s ./api || exit 1
../../opt/go/src/github.com/mattermost/platform/model/utils.go:8:2: cannot find package "code.google.com/p/go-uuid/uuid" in any of:
    /usr/local/Cellar/go/1.6/libexec/src/code.google.com/p/go-uuid/uuid (from $GOROOT)
    /Users/ranger/git/mattermost/Godeps/_workspace/src/code.google.com/p/go-uuid/uuid (from $GOPATH)
    /Users/ranger/opt/go/src/code.google.com/p/go-uuid/uuid
../../opt/go/src/github.com/mattermost/platform/model/user.go:7:2: cannot find package "code.google.com/p/go.crypto/bcrypt" in any of:
    /usr/local/Cellar/go/1.6/libexec/src/code.google.com/p/go.crypto/bcrypt (from $GOROOT)
    /Users/ranger/git/mattermost/Godeps/_workspace/src/code.google.com/p/go.crypto/bcrypt (from $GOPATH)
    /Users/ranger/opt/go/src/code.google.com/p/go.crypto/bcrypt
../../opt/go/src/github.com/mattermost/platform/model/client.go:8:2: cannot find package "code.google.com/p/log4go" in any of:
    /usr/local/Cellar/go/1.6/libexec/src/code.google.com/p/log4go (from $GOROOT)
    /Users/ranger/git/mattermost/Godeps/_workspace/src/code.google.com/p/log4go (from $GOPATH)
    /Users/ranger/opt/go/src/code.google.com/p/log4go
api/user.go:15:2: cannot find package "github.com/mattermost/platform/einterfaces" in any of:
    /usr/local/Cellar/go/1.6/libexec/src/github.com/mattermost/platform/einterfaces (from $GOROOT)
    /Users/ranger/git/mattermost/Godeps/_workspace/src/github.com/mattermost/platform/einterfaces (from $GOPATH)
    /Users/ranger/opt/go/src/github.com/mattermost/platform/einterfaces
godep: go exit status 1

Any ideas on how to fix?


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>