Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup-dev.sh raintank-apps weird output #62

Open
Dieterbe opened this issue Apr 23, 2016 · 1 comment
Open

setup-dev.sh raintank-apps weird output #62

Dieterbe opened this issue Apr 23, 2016 · 1 comment

Comments

@Dieterbe
Copy link
Contributor

is this normal?

(...)
> building raintank-apps binaries
go install: no install location for directory /opt/raintank/raintank-apps/pkg/auth outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/pkg/message outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/pkg/session outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-collector-ns1 outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-collector-ns1/ns1 outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-collector-rt-gitstats outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-collector-rt-gitstats/gitstats outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-collector-worldping-ping outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-collector-worldping-ping/ping outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-publisher-rt-hostedtsdb outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/snap/plugin/snap-publisher-rt-hostedtsdb/hostedtsdb outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-agent outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-agent/snap outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/agent_session outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/api outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/api/rbody outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/client outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/event outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/manager outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/model outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/sqlstore outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/task-server/sqlstore/migrations outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb/api outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb/elasticsearch outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb/event_publish outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb/graphite outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb/metric_publish outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/tsdb/util outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api/api outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api/endpoint_discovery outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api/model outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api/sqlstore outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api/sqlstore/migrations outside GOPATH
    For more details see: go help gopath
go install: no install location for directory /opt/raintank/raintank-apps/worldping-api/task_client outside GOPATH
    For more details see: go help gopath
+ PKG='task-server task-agent tsdb'
++ dirname ./scripts/build.sh
+ BASE=./scripts
++ readlink -e ./scripts/../
+ CODE_DIR=/opt/raintank/raintank-apps
++ pwd
+ CURRENT_PWD=/opt/raintank/raintank-apps
+ cd /opt/raintank/raintank-apps
++ git rev-parse HEAD
+ GIT_HASH=da47b7d420af7316210129e04657654dd3c6b506
+ mkdir -p /opt/raintank/raintank-apps/build/bin/
+ for VAR in '$PKG'
+ cd /opt/raintank/raintank-apps/task-server
+ go build -ldflags '-X main.GitHash=da47b7d420af7316210129e04657654dd3c6b506' -o /opt/raintank/raintank-apps/build/bin/task-server
+ for VAR in '$PKG'
+ cd /opt/raintank/raintank-apps/task-agent
+ go build -ldflags '-X main.GitHash=da47b7d420af7316210129e04657654dd3c6b506' -o /opt/raintank/raintank-apps/build/bin/task-agent
+ for VAR in '$PKG'
+ cd /opt/raintank/raintank-apps/tsdb
+ go build -ldflags '-X main.GitHash=da47b7d420af7316210129e04657654dd3c6b506' -o /opt/raintank/raintank-apps/build/bin/tsdb
+ cd /opt/raintank/raintank-apps
+ dirname ./scripts/../snap/scripts/build.sh
+ BASE=./scripts/../snap/scripts
+ readlink -e ./scripts/../snap/scripts/../../
+ CODE_DIR=/opt/raintank/raintank-apps
+ SNAPDIR=/go/src/github.com/intelsdi-x/snap
+ BINDIR=/opt/raintank/raintank-apps/build/plugins
+ mkdir -p /opt/raintank/raintank-apps/build/plugins
+ /go/src/github.com/intelsdi-x/snap/scripts/build-plugin.sh /opt/raintank/raintank-apps/build/plugins github.com/raintank/raintank-apps/snap/plugin/snap-publisher-rt-hostedtsdb
    snap-publisher-rt-hostedtsdb => /opt/raintank/raintank-apps/build/plugins
+ /go/src/github.com/intelsdi-x/snap/scripts/build-plugin.sh /opt/raintank/raintank-apps/build/plugins github.com/raintank/raintank-apps/snap/plugin/snap-collector-rt-gitstats
    snap-collector-rt-gitstats => /opt/raintank/raintank-apps/build/plugins
+ /go/src/github.com/intelsdi-x/snap/scripts/build-plugin.sh /opt/raintank/raintank-apps/build/plugins github.com/raintank/raintank-apps/snap/plugin/snap-collector-worldping-ping
    snap-collector-worldping-ping => /opt/raintank/raintank-apps/build/plugins
> collector > assuring config
> collector > build
@woodsaj
Copy link
Contributor

woodsaj commented Apr 23, 2016

This is just because the checked out code is not in the GOPATH.
need to symlink /opt/raintank/raintank-apps to /go/src/github.com/raintank/raintank-apps before trying to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants