Skip to content

Instantly share code, notes, and snippets.

@calmh
Created March 6, 2016 07:58
Show Gist options
  • Save calmh/41ceb6bbf11987ac935a to your computer and use it in GitHub Desktop.
Save calmh/41ceb6bbf11987ac935a to your computer and use it in GitHub Desktop.
jb@zlogin5:~/s/g/i/telegraf $ make
go get github.com/sparrc/gdm
gdm restore
======= Go Dependency Manager =======
= working dir: /home/jb/src/github.com/influxdata/telegraf
= GOPATH: /home/jb
=====================================
> Restoring /home/jb/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git to 617c801af238c3af2d9e72c5d4a0f02edad03ce5
> Restoring /home/jb/src/github.com/Shopify/sarama to 8aadb476e66ca998f2f6bb3c993e9a2daa3666b9
> Restoring /home/jb/src/github.com/Sirupsen/logrus to 219c8cb75c258c552e999735be6df753ffc7afdc
> Restoring /home/jb/src/github.com/amir/raidman to 53c1b967405155bfc8758557863bf2e14f814687
> Restoring /home/jb/src/github.com/aws/aws-sdk-go to 13a12060f716145019378a10e2806c174356b857
> Restoring /home/jb/src/github.com/beorn7/perks to 3ac7bf7a47d159a033b107610db8a1b6575507a4
> Restoring /home/jb/src/github.com/cenkalti/backoff to 4dc77674aceaabba2c7e3da25d4c823edfb73f99
> Restoring /home/jb/src/github.com/dancannon/gorethink to e7cac92ea2bc52638791a021f212145acfedb1fc
> Restoring /home/jb/src/github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
> Restoring /home/jb/src/github.com/eapache/go-resiliency to b86b1ec0dd4209a588dc1285cdd471e73525c0b3
> Restoring /home/jb/src/github.com/eapache/queue to ded5959c0d4e360646dc9e9908cff48666781367
> Restoring /home/jb/src/github.com/fsouza/go-dockerclient to a49c8269a6899cae30da1f8a4b82e0ce945f9967
> Restoring /home/jb/src/github.com/go-ini/ini to 776aa739ce9373377cd16f526cdf06cb4c89b40f
> Restoring /home/jb/src/github.com/go-sql-driver/mysql to 1fca743146605a172a266e1654e01e5cd5669bee
> Restoring /home/jb/src/github.com/golang/protobuf to 552c7b9542c194800fd493123b3798ef0a832032
> Restoring /home/jb/src/github.com/golang/snappy to 427fb6fc07997f43afa32f35e850833760e489a7
> Restoring /home/jb/src/github.com/gonuts/go-shellquote to e842a11b24c6abfb3dd27af69a17f482e4b483c2
> Restoring /home/jb/src/github.com/gorilla/context to 1ea25387ff6f684839d82767c1733ff4d4d15d0a
> Restoring /home/jb/src/github.com/gorilla/mux to c9e326e2bdec29039a3761c07bece13133863e1e
> Restoring /home/jb/src/github.com/hailocab/go-hostpool to e80d13ce29ede4452c43dea11e79b9bc8a15b478
> Restoring /home/jb/src/github.com/influxdata/config to b79f6829346b8d6e78ba73544b1e1038f1f1c9da
> Restoring /home/jb/src/github.com/influxdata/influxdb to e3fef5593c21644f2b43af55d6e17e70910b0e48
> Restoring /home/jb/src/github.com/influxdata/toml to af4df43894b16e3fd2b788d01bd27ad0776ef2d0
> Restoring /home/jb/src/github.com/jmespath/go-jmespath to 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74
> Restoring /home/jb/src/github.com/klauspost/crc32 to 19b0b332c9e4516a6370a0456e6182c3b5036720
> Restoring /home/jb/src/github.com/lib/pq to e182dc4027e2ded4b19396d638610f2653295f36
> Restoring /home/jb/src/github.com/matttproud/golang_protobuf_extensions to d0c3fe89de86839aecf2e0579c40ba3bb336a453
> Restoring /home/jb/src/github.com/miekg/dns to cce6c130cdb92c752850880fd285bea1d64439dd
> Restoring /home/jb/src/github.com/mreiferson/go-snappystream to 028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504
> Restoring /home/jb/src/github.com/naoina/go-stringutil to 6b638e95a32d0c1131db0e7fe83775cbea4a0d0b
> Restoring /home/jb/src/github.com/nats-io/nats to b13fc9d12b0b123ebc374e6b808c6228ae4234a3
> Restoring /home/jb/src/github.com/nats-io/nuid to 4f84f5f3b2786224e336af2e13dba0a0a80b76fa
> Restoring /home/jb/src/github.com/nsqio/go-nsq to 0b80d6f05e15ca1930e0c5e1d540ed627e299980
> Restoring /home/jb/src/github.com/pmezard/go-difflib to 792786c7400a136282c1664665ae0a8db921c6c2
> Restoring /home/jb/src/github.com/prometheus/client_golang to 18acf9993a863f4c4b40612e19cdd243e7c86831
> Restoring /home/jb/src/github.com/prometheus/client_model to fa8ad6fec33561be4280a8f0514318c79d7f6cb6
> Restoring /home/jb/src/github.com/prometheus/common to e8eabff8812b05acf522b45fdcd725a785188e37
> Restoring /home/jb/src/github.com/prometheus/procfs to 406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8
> Restoring /home/jb/src/github.com/samuel/go-zookeeper to 218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f
> Restoring /home/jb/src/github.com/shirou/gopsutil to 1de1357e7737a536c7f4ff6be7bd27977db4d2cb
> Restoring /home/jb/src/github.com/soniah/gosnmp to b1b4f885b12c5dcbd021c5cee1c904110de6db7d
> Restoring /home/jb/src/github.com/streadway/amqp to b4f3ceab0337f013208d31348b578d83c0064744
> Restoring /home/jb/src/github.com/stretchr/objx to 1a9d0bb9f541897e62256577b352fdbc1fb4fd94
> Restoring /home/jb/src/github.com/stretchr/testify to 1f4a1643a57e798696635ea4c126e9127adb7d3c
> Restoring /home/jb/src/github.com/wvanbergen/kafka to 1a8639a45164fcc245d5c7b4bd3ccfbd1a0ffbf3
> Restoring /home/jb/src/github.com/wvanbergen/kazoo-go to 0f768712ae6f76454f987c3356177e138df258f8
> Restoring /home/jb/src/github.com/zensqlmonitor/go-mssqldb to ffe5510c6fa5e15e6d983210ab501c815b56b363
> Restoring /home/jb/src/golang.org/x/crypto to 5dc8cb4b8a8eb076cbb5a06bc3b8682c15bdbbd3
> Restoring /home/jb/src/golang.org/x/net to 6acef71eb69611914f7a30939ea9f6e194c78172
> Restoring /home/jb/src/golang.org/x/text to a71fd10341b064c10f4a81ceac72bcf70f26ea34
> Restoring /home/jb/src/gopkg.in/dancannon/gorethink.v1 to 7d1af5be49cb5ecc7b177bf387d232050299d6ef
> Restoring /home/jb/src/gopkg.in/fatih/pool.v2 to cba550ebf9bce999a02e963296d4bc7a486cb715
> Restoring /home/jb/src/gopkg.in/mgo.v2 to d90005c5262a3463800497ea5a89aed5fe22c886
> Restoring /home/jb/src/gopkg.in/yaml.v2 to a83829b6f1293c91addabc89d0571c246397bbf4
go install -ldflags "-X main.Version=0.10.4.1-40-g35f1e28" ./...
../../Sirupsen/logrus/terminal_solaris.go:8:2: cannot find package "golang.org/x/sys/unix" in any of:
/opt/local/go/src/golang.org/x/sys/unix (from $GOROOT)
/home/jb/src/golang.org/x/sys/unix (from $GOPATH)
Makefile:17: recipe for target 'build' failed
make: *** [build] Error 1
[2]
jb@zlogin5:~/s/g/i/telegraf $ go get golang.org/x/sys/unix
jb@zlogin5:~/s/g/i/telegraf $ make
go get github.com/sparrc/gdm
gdm restore
======= Go Dependency Manager =======
= working dir: /home/jb/src/github.com/influxdata/telegraf
= GOPATH: /home/jb
=====================================
> Restoring /home/jb/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git to 617c801af238c3af2d9e72c5d4a0f02edad03ce5
> Restoring /home/jb/src/github.com/Shopify/sarama to 8aadb476e66ca998f2f6bb3c993e9a2daa3666b9
> Restoring /home/jb/src/github.com/Sirupsen/logrus to 219c8cb75c258c552e999735be6df753ffc7afdc
> Restoring /home/jb/src/github.com/amir/raidman to 53c1b967405155bfc8758557863bf2e14f814687
> Restoring /home/jb/src/github.com/aws/aws-sdk-go to 13a12060f716145019378a10e2806c174356b857
> Restoring /home/jb/src/github.com/beorn7/perks to 3ac7bf7a47d159a033b107610db8a1b6575507a4
> Restoring /home/jb/src/github.com/cenkalti/backoff to 4dc77674aceaabba2c7e3da25d4c823edfb73f99
> Restoring /home/jb/src/github.com/dancannon/gorethink to e7cac92ea2bc52638791a021f212145acfedb1fc
> Restoring /home/jb/src/github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d
> Restoring /home/jb/src/github.com/eapache/go-resiliency to b86b1ec0dd4209a588dc1285cdd471e73525c0b3
> Restoring /home/jb/src/github.com/eapache/queue to ded5959c0d4e360646dc9e9908cff48666781367
> Restoring /home/jb/src/github.com/fsouza/go-dockerclient to a49c8269a6899cae30da1f8a4b82e0ce945f9967
> Restoring /home/jb/src/github.com/go-ini/ini to 776aa739ce9373377cd16f526cdf06cb4c89b40f
> Restoring /home/jb/src/github.com/go-sql-driver/mysql to 1fca743146605a172a266e1654e01e5cd5669bee
> Restoring /home/jb/src/github.com/golang/protobuf to 552c7b9542c194800fd493123b3798ef0a832032
> Restoring /home/jb/src/github.com/golang/snappy to 427fb6fc07997f43afa32f35e850833760e489a7
> Restoring /home/jb/src/github.com/gonuts/go-shellquote to e842a11b24c6abfb3dd27af69a17f482e4b483c2
> Restoring /home/jb/src/github.com/gorilla/context to 1ea25387ff6f684839d82767c1733ff4d4d15d0a
> Restoring /home/jb/src/github.com/gorilla/mux to c9e326e2bdec29039a3761c07bece13133863e1e
> Restoring /home/jb/src/github.com/hailocab/go-hostpool to e80d13ce29ede4452c43dea11e79b9bc8a15b478
> Restoring /home/jb/src/github.com/influxdata/config to b79f6829346b8d6e78ba73544b1e1038f1f1c9da
> Restoring /home/jb/src/github.com/influxdata/influxdb to e3fef5593c21644f2b43af55d6e17e70910b0e48
> Restoring /home/jb/src/github.com/influxdata/toml to af4df43894b16e3fd2b788d01bd27ad0776ef2d0
> Restoring /home/jb/src/github.com/jmespath/go-jmespath to 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74
> Restoring /home/jb/src/github.com/klauspost/crc32 to 19b0b332c9e4516a6370a0456e6182c3b5036720
> Restoring /home/jb/src/github.com/lib/pq to e182dc4027e2ded4b19396d638610f2653295f36
> Restoring /home/jb/src/github.com/matttproud/golang_protobuf_extensions to d0c3fe89de86839aecf2e0579c40ba3bb336a453
> Restoring /home/jb/src/github.com/miekg/dns to cce6c130cdb92c752850880fd285bea1d64439dd
> Restoring /home/jb/src/github.com/mreiferson/go-snappystream to 028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504
> Restoring /home/jb/src/github.com/naoina/go-stringutil to 6b638e95a32d0c1131db0e7fe83775cbea4a0d0b
> Restoring /home/jb/src/github.com/nats-io/nats to b13fc9d12b0b123ebc374e6b808c6228ae4234a3
> Restoring /home/jb/src/github.com/nats-io/nuid to 4f84f5f3b2786224e336af2e13dba0a0a80b76fa
> Restoring /home/jb/src/github.com/nsqio/go-nsq to 0b80d6f05e15ca1930e0c5e1d540ed627e299980
> Restoring /home/jb/src/github.com/pmezard/go-difflib to 792786c7400a136282c1664665ae0a8db921c6c2
> Restoring /home/jb/src/github.com/prometheus/client_golang to 18acf9993a863f4c4b40612e19cdd243e7c86831
> Restoring /home/jb/src/github.com/prometheus/client_model to fa8ad6fec33561be4280a8f0514318c79d7f6cb6
> Restoring /home/jb/src/github.com/prometheus/common to e8eabff8812b05acf522b45fdcd725a785188e37
> Restoring /home/jb/src/github.com/prometheus/procfs to 406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8
> Restoring /home/jb/src/github.com/samuel/go-zookeeper to 218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f
> Restoring /home/jb/src/github.com/shirou/gopsutil to 1de1357e7737a536c7f4ff6be7bd27977db4d2cb
> Restoring /home/jb/src/github.com/soniah/gosnmp to b1b4f885b12c5dcbd021c5cee1c904110de6db7d
> Restoring /home/jb/src/github.com/streadway/amqp to b4f3ceab0337f013208d31348b578d83c0064744
> Restoring /home/jb/src/github.com/stretchr/objx to 1a9d0bb9f541897e62256577b352fdbc1fb4fd94
> Restoring /home/jb/src/github.com/stretchr/testify to 1f4a1643a57e798696635ea4c126e9127adb7d3c
> Restoring /home/jb/src/github.com/wvanbergen/kafka to 1a8639a45164fcc245d5c7b4bd3ccfbd1a0ffbf3
> Restoring /home/jb/src/github.com/zensqlmonitor/go-mssqldb to ffe5510c6fa5e15e6d983210ab501c815b56b363
> Restoring /home/jb/src/golang.org/x/crypto to 5dc8cb4b8a8eb076cbb5a06bc3b8682c15bdbbd3
> Restoring /home/jb/src/github.com/wvanbergen/kazoo-go to 0f768712ae6f76454f987c3356177e138df258f8
> Restoring /home/jb/src/golang.org/x/net to 6acef71eb69611914f7a30939ea9f6e194c78172
> Restoring /home/jb/src/golang.org/x/text to a71fd10341b064c10f4a81ceac72bcf70f26ea34
> Restoring /home/jb/src/gopkg.in/dancannon/gorethink.v1 to 7d1af5be49cb5ecc7b177bf387d232050299d6ef
> Restoring /home/jb/src/gopkg.in/fatih/pool.v2 to cba550ebf9bce999a02e963296d4bc7a486cb715
> Restoring /home/jb/src/gopkg.in/mgo.v2 to d90005c5262a3463800497ea5a89aed5fe22c886
> Restoring /home/jb/src/gopkg.in/yaml.v2 to a83829b6f1293c91addabc89d0571c246397bbf4
go install -ldflags "-X main.Version=0.10.4.1-40-g35f1e28" ./...
# github.com/shirou/gopsutil/process
../../shirou/gopsutil/process/process.go:93: undefined: Pids
../../shirou/gopsutil/process/process.go:110: p.CPUTimes undefined (type *Process has no field or method CPUTimes)
../../shirou/gopsutil/process/process.go:120: p.CPUTimes undefined (type *Process has no field or method CPUTimes)
../../shirou/gopsutil/process/process.go:152: undefined: mem.VirtualMemory
../../shirou/gopsutil/process/process.go:158: p.MemoryInfo undefined (type *Process has no field or method MemoryInfo)
# github.com/influxdata/telegraf/plugins/inputs/system
plugins/inputs/system/ps.go:38: undefined: cpu.CPUTimes
plugins/inputs/system/ps.go:45: undefined: cpu.CPUTimes
plugins/inputs/system/ps.go:58: undefined: disk.DiskPartitions
plugins/inputs/system/ps.go:85: undefined: disk.DiskUsage
plugins/inputs/system/ps.go:104: undefined: "github.com/shirou/gopsutil/net".NetProtoCounters
plugins/inputs/system/ps.go:108: undefined: "github.com/shirou/gopsutil/net".NetIOCounters
plugins/inputs/system/ps.go:112: undefined: "github.com/shirou/gopsutil/net".NetConnections
plugins/inputs/system/ps.go:116: undefined: disk.DiskIOCounters
plugins/inputs/system/ps.go:125: undefined: mem.VirtualMemory
plugins/inputs/system/ps.go:129: undefined: mem.SwapMemory
plugins/inputs/system/ps.go:129: too many errors
Makefile:17: recipe for target 'build' failed
make: *** [build] Error 2
[2]
jb@zlogin5:~/s/g/i/telegraf $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment