Skip to content

Instantly share code, notes, and snippets.

@akutz
Created September 27, 2016 00:53
Show Gist options
  • Save akutz/2e454f49ffbf0aa9de9f1d6e5f4c25a1 to your computer and use it in GitHub Desktop.
Save akutz/2e454f49ffbf0aa9de9f1d6e5f4c25a1 to your computer and use it in GitHub Desktop.
[0]akutz@pax:rexray$ time make docker-build
docker exec -t build-rexray env make -C /go/src/github.com/emccode/rexray deps
make: Entering directory '/go/src/github.com/emccode/rexray'
go get -u github.com/Masterminds/glide
/go/bin/glide install && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/akutz/gofig.
[INFO] --> Fetching github.com/akutz/golf.
[INFO] --> Fetching github.com/akutz/goof.
[INFO] --> Fetching github.com/appropriate/go-virtualboxclient.
[INFO] --> Fetching github.com/cesanta/ucl.
[INFO] --> Fetching github.com/cesanta/validate-json.
[INFO] --> Fetching github.com/akutz/gotil.
[INFO] --> Fetching github.com/asaskevich/govalidator.
[INFO] --> Fetching github.com/aws/aws-sdk-go.
[INFO] --> Fetching github.com/BurntSushi/toml.
[INFO] --> Fetching github.com/cpuguy83/go-md2man.
[INFO] --> Fetching github.com/emccode/goisilon.
[INFO] --> Fetching github.com/emccode/goscaleio.
[INFO] --> Fetching github.com/emccode/gournal.
[INFO] --> Fetching github.com/emccode/libstorage.
[INFO] --> Fetching github.com/go-ini/ini.
[INFO] --> Fetching github.com/go-yaml/yaml.
[INFO] --> Fetching github.com/gorilla/context.
[INFO] --> Fetching github.com/gorilla/mux.
[INFO] --> Fetching github.com/inconshreveable/mousetrap.
[INFO] --> Fetching github.com/jmespath/go-jmespath.
[INFO] --> Fetching github.com/jteeuwen/go-bindata.
[INFO] --> Fetching github.com/kardianos/osext.
[INFO] --> Fetching github.com/kr/pretty.
[INFO] --> Fetching github.com/kr/text.
[INFO] --> Fetching github.com/magiconair/properties.
[INFO] --> Fetching github.com/mitchellh/mapstructure.
[INFO] --> Fetching github.com/russross/blackfriday.
[INFO] --> Fetching github.com/shurcooL/sanitized_anchor_name.
[INFO] --> Fetching github.com/Sirupsen/logrus.
[INFO] --> Fetching github.com/spf13/cast.
[INFO] --> Fetching github.com/spf13/cobra.
[INFO] --> Fetching github.com/spf13/jwalterweatherman.
[INFO] --> Fetching github.com/spf13/pflag.
[INFO] --> Fetching github.com/spf13/viper.
[INFO] --> Fetching golang.org/x/net.
[INFO] --> Fetching golang.org/x/sys.
[INFO] --> Fetching google.golang.org/api.
[INFO] --> Fetching gopkg.in/fsnotify.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] Setting references.
[INFO] --> Setting version for github.com/cesanta/ucl to 97c016fce90e6af1b14558563ac46852167e6a76.
[INFO] --> Setting version for github.com/emccode/goisilon to 653c13de5e1e0294ca0c7eead83e396fe308b497.
[INFO] --> Setting version for github.com/appropriate/go-virtualboxclient to e0978ab2ed407095400a69d5933958dd260058cd.
[INFO] --> Setting version for github.com/akutz/gotil to 6fa2e80bd3ac40f15788cfc3d12ebba49a0add92.
[INFO] --> Setting version for github.com/asaskevich/govalidator to 593d64559f7600f29581a3ee42177f5dbded27a9.
[INFO] --> Setting version for github.com/gorilla/context to 08b5f424b9271eedf6f9f0ce86cb9396ed337a42.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d.
[INFO] --> Setting version for github.com/jteeuwen/go-bindata to 1dd44b25b79c4d9060e582e90798e4d72537818c.
[INFO] --> Setting version for github.com/kardianos/osext to c2c54e542fb797ad986b31721e1baedf214ca413.
[INFO] --> Setting version for github.com/kr/pretty to cfb55aafdaf3ec08f0db22699ab822c50091b1c4.
[INFO] --> Setting version for github.com/cpuguy83/go-md2man to a65d4d2de4d5f7c74868dfa9b202a3c8be315aaa.
[INFO] --> Setting version for github.com/kr/text to 7cafcd837844e784b526369c9bce262804aebc60.
[INFO] --> Setting version for github.com/go-ini/ini to 6e4869b434bd001f6983749881c7ead3545887d8.
[INFO] --> Setting version for github.com/emccode/goscaleio to c44530c3896b770bb2a93f46f50e1b7ac7a01e57.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to caee6e866bf437a6bef0777a3bf141cdd3aa022d.
[INFO] --> Setting version for github.com/BurntSushi/toml to 99064174e013895bbd9b025c31100bd1d9b590ca.
[INFO] --> Setting version for github.com/magiconair/properties to 0723e352fa358f9322c938cc2dadda874e9151a9.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to ca63d7c062ee3c9f34db231e352b60012b4fd0c1.
[INFO] --> Setting version for github.com/emccode/libstorage to 2f7210c90252a4e1c9fb011ba29158cb0facb516.
[INFO] --> Setting version for github.com/akutz/goof to ea06624ca980bae80c1b615b8417723436d235ab.
[INFO] --> Setting version for github.com/gorilla/mux to 757bef944d0f21880861c2dd9c871ca543023cba.
[INFO] --> Setting version for github.com/go-yaml/yaml to b4a9f8c4b84c6c4256d669c649837f1441e4b050.
[INFO] --> Setting version for github.com/akutz/golf to e26bdd995cb746e431d42ea303ebe7622389d29f.
[INFO] --> Setting version for github.com/shurcooL/sanitized_anchor_name to 1dba4b3954bc059efc3991ec364f9f9a35f597d2.
[INFO] --> Setting version for github.com/akutz/gofig to 697c16916338166671910eeaccc50f21e3c10726.
[INFO] --> Setting version for github.com/cesanta/validate-json to 2f16017c76fc2403d143e93cea1e1b9526a01148.
[INFO] --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] --> Setting version for github.com/emccode/gournal to 3bd901de15097583a5b1f4b377421cfc647c3664.
[INFO] --> Setting version for github.com/russross/blackfriday to 35eb537633d9950afc8ae7bdf0edb6134584e9fc.
[INFO] --> Setting version for github.com/spf13/cobra to 363816bb13ce1710460c2345017fd35593cbf5ed.
[INFO] --> Setting version for github.com/Sirupsen/logrus to 5f376aa629ac60c3215cc368e674bd996093a01a.
[INFO] --> Setting version for github.com/spf13/pflag to b084184666e02084b8ccb9b704bf0d79c466eb1d.
[INFO] --> Setting version for github.com/spf13/jwalterweatherman to 33c24e77fb80341fe7130ee7c594256ff08ccc46.
[INFO] --> Setting version for github.com/spf13/cast to 2580bc98dc0e62908119e4737030cc2fdfc45e4c.
[INFO] --> Setting version for github.com/spf13/viper to 317ec73d0d7507658ee3be15866b445d6d921848.
[INFO] --> Setting version for golang.org/x/net to f09c4662a0bd6bd8943ac7b4931e185df9471da4.
[INFO] --> Setting version for gopkg.in/yaml.v1 to b4a9f8c4b84c6c4256d669c649837f1441e4b050.
[INFO] --> Setting version for google.golang.org/api to fd081149e482b10c55262756934088ffe3197ea3.
[INFO] --> Setting version for golang.org/x/sys to 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9.
[INFO] --> Setting version for gopkg.in/yaml.v2 to b4a9f8c4b84c6c4256d669c649837f1441e4b050.
[INFO] --> Setting version for gopkg.in/fsnotify.v1 to a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/akutz/gofig
[INFO] --> Exporting github.com/akutz/goof
[INFO] --> Exporting github.com/akutz/gotil
[INFO] --> Exporting github.com/appropriate/go-virtualboxclient
[INFO] --> Exporting github.com/emccode/goscaleio
[INFO] --> Exporting github.com/akutz/golf
[INFO] --> Exporting github.com/gorilla/context
[INFO] --> Exporting github.com/cesanta/validate-json
[INFO] --> Exporting github.com/emccode/goisilon
[INFO] --> Exporting github.com/go-yaml/yaml
[INFO] --> Exporting github.com/go-ini/ini
[INFO] --> Exporting github.com/cpuguy83/go-md2man
[INFO] --> Exporting github.com/inconshreveable/mousetrap
[INFO] --> Exporting github.com/emccode/gournal
[INFO] --> Exporting github.com/BurntSushi/toml
[INFO] --> Exporting github.com/asaskevich/govalidator
[INFO] --> Exporting github.com/cesanta/ucl
[INFO] --> Exporting github.com/gorilla/mux
[INFO] --> Exporting github.com/aws/aws-sdk-go
[INFO] --> Exporting github.com/jmespath/go-jmespath
[INFO] --> Exporting github.com/emccode/libstorage
[INFO] --> Exporting github.com/spf13/cobra
[INFO] --> Exporting github.com/jteeuwen/go-bindata
[INFO] --> Exporting github.com/kardianos/osext
[INFO] --> Exporting github.com/Sirupsen/logrus
[INFO] --> Exporting github.com/kr/pretty
[INFO] --> Exporting github.com/russross/blackfriday
[INFO] --> Exporting github.com/shurcooL/sanitized_anchor_name
[INFO] --> Exporting github.com/spf13/cast
[INFO] --> Exporting github.com/kr/text
[INFO] --> Exporting golang.org/x/net
[INFO] --> Exporting github.com/mitchellh/mapstructure
[INFO] --> Exporting github.com/spf13/jwalterweatherman
[INFO] --> Exporting github.com/spf13/pflag
[INFO] --> Exporting github.com/magiconair/properties
[INFO] --> Exporting github.com/spf13/viper
[INFO] --> Exporting gopkg.in/yaml.v1
[INFO] --> Exporting google.golang.org/api
[INFO] --> Exporting gopkg.in/yaml.v2
[INFO] --> Exporting golang.org/x/sys
[INFO] --> Exporting gopkg.in/fsnotify.v1
[INFO] Replacing existing vendor dependencies
GOOS=linux GOARCH=amd64 go install github.com/emccode/rexray/vendor/github.com/jteeuwen/go-bindata/go-bindata
go get -u github.com/alecthomas/gometalinter
/go/bin/gometalinter --install --update && touch .gometalinter.tools.d
WARNING: Linters are now vendored by default, --update ignored. The original
behaviour can be re-enabled with --no-vendored-linters.
To request an update for a vendored linter file an issue at:
https://github.com/alecthomas/gometalinter/issues/new
Installing:
varcheck
gocyclo
goimports
gosimple
unconvert
goconst
interfacer
misspell
staticcheck
deadcode
gotype
lll
gas
golint
ineffassign
structcheck
unused
aligncheck
dupl
errcheck
make: Leaving directory '/go/src/github.com/emccode/rexray'
docker exec -t build-rexray env GOOS=darwin GOARCH=amd64 DOCKER=1 make -C /go/src/github.com/emccode/rexray -j build
make: Entering directory '/go/src/github.com/emccode/rexray'
make build-libstorage
make[1]: Entering directory '/go/src/github.com/emccode/rexray'
cd vendor/github.com/emccode/libstorage && make api/api_generated.go && cd -
cd vendor/github.com/emccode/libstorage && make api/server/executors/executors_generated.go && cd -
make[2]: Entering directory '/go/src/github.com/emccode/rexray/vendor/github.com/emccode/libstorage'
make[2]: Entering directory '/go/src/github.com/emccode/rexray/vendor/github.com/emccode/libstorage'
echo generating api/api_generated.go
env GOOS=linux GOARCH=amd64 make /go/bin/lsx-linux
generating api/api_generated.go
make[3]: Entering directory '/go/src/github.com/emccode/rexray/vendor/github.com/emccode/libstorage'
make[2]: Leaving directory '/go/src/github.com/emccode/rexray/vendor/github.com/emccode/libstorage'
/go/src/github.com/emccode/rexray
GOOS=darwin GOARCH=amd64 go install ./api/types
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/efs
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/isilon
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/scaleio
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/vbox
GOOS=linux GOARCH=amd64 go install ./api/types
GOOS=linux GOARCH=amd64 go install ./drivers/storage/efs
GOOS=linux GOARCH=amd64 go install ./drivers/storage/isilon
GOOS=linux GOARCH=amd64 go install ./drivers/storage/scaleio
GOOS=linux GOARCH=amd64 go install ./drivers/storage/vbox
GOOS=linux GOARCH=amd64 go install ./api/context
GOOS=linux GOARCH=amd64 go install ./api/utils
GOOS=linux GOARCH=amd64 go install ./imports/config
GOOS=linux GOARCH=amd64 go install ./drivers/storage/vfs
GOOS=linux GOARCH=amd64 go install ./api/utils/config
GOOS=linux GOARCH=amd64 go install ./api/registry
GOOS=darwin GOARCH=amd64 go install ./api/context
GOOS=darwin GOARCH=amd64 go install ./api/utils
GOOS=darwin GOARCH=amd64 go install ./imports/config
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/vfs
GOOS=linux GOARCH=amd64 go install ./drivers/storage/efs/executor
GOOS=linux GOARCH=amd64 go install ./drivers/storage/isilon/executor
GOOS=linux GOARCH=amd64 go install ./drivers/storage/scaleio/executor
GOOS=linux GOARCH=amd64 go install ./drivers/storage/vbox/executor
GOOS=linux GOARCH=amd64 go install ./drivers/storage/vfs/executor
GOOS=darwin GOARCH=amd64 go install ./api/utils/config
GOOS=darwin GOARCH=amd64 go install ./api/registry
GOOS=linux GOARCH=amd64 go install ./imports/executors
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/efs/executor
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/isilon/executor
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/scaleio/executor
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/vbox/executor
GOOS=darwin GOARCH=amd64 go install ./drivers/storage/vfs/executor
GOOS=linux GOARCH=amd64 go install ./cli/lsx
GOOS=darwin GOARCH=amd64 go install ./imports/executors
GOOS=linux GOARCH=amd64 go install ./cli/lsx/lsx-linux
GOOS=darwin GOARCH=amd64 go install ./cli/lsx
GOOS=darwin GOARCH=amd64 go install ./cli/lsx/lsx-darwin
make[3]: Leaving directory '/go/src/github.com/emccode/rexray/vendor/github.com/emccode/libstorage'
/go/bin/go-bindata -md5checksum -pkg executors -prefix api/server/executors/bin -o api/server/executors/executors_generated.go api/server/executors/bin/...
make[2]: Leaving directory '/go/src/github.com/emccode/rexray/vendor/github.com/emccode/libstorage'
/go/src/github.com/emccode/rexray
make[1]: Leaving directory '/go/src/github.com/emccode/rexray'
make build-generated
make[1]: Entering directory '/go/src/github.com/emccode/rexray'
make ./core/core_generated.go
make[2]: Entering directory '/go/src/github.com/emccode/rexray'
echo generating core/core_generated.go
generating core/core_generated.go
make[2]: Leaving directory '/go/src/github.com/emccode/rexray'
make[1]: Leaving directory '/go/src/github.com/emccode/rexray'
make build-rexray
make[1]: Entering directory '/go/src/github.com/emccode/rexray'
GOOS=darwin GOARCH=amd64 go install ./core
GOOS=darwin GOARCH=amd64 go install ./cli/cli/term
GOOS=darwin GOARCH=amd64 go install ./util
GOOS=darwin GOARCH=amd64 go install .
GOOS=darwin GOARCH=amd64 go install ./daemon/module
GOOS=darwin GOARCH=amd64 go install ./daemon/module/docker/volumedriver
GOOS=darwin GOARCH=amd64 go install ./daemon
GOOS=darwin GOARCH=amd64 go install ./cli/cli
GOOS=darwin GOARCH=amd64 go install ./cli/rexray
make[1]: Leaving directory '/go/src/github.com/emccode/rexray'
make: Leaving directory '/go/src/github.com/emccode/rexray'
The rexray binary is 33MB and located at:
./rexray
real 1m39.097s
user 0m1.901s
sys 0m1.629s
[0]akutz@pax:rexray$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment