Description
[root@5dd37d7a-5a06-4241-826d-a755490cefff vuls-master]# go build main.go /root/go/src/github.com/future-architect/vuls/cache/bolt.go:25:2: cannot find package "github.com/boltdb/bolt" in any of: /usr/local/go/src/github.com/boltdb/bolt (from $GOROOT) /root/go/src/github.com/boltdb/bolt (from $GOPATH) /root/go/src/github.com/future-architect/vuls/commands/cmdutil.go:6:2: cannot find package "github.com/howeyc/gopass" in any of: /usr/local/go/src/github.com/howeyc/gopass (from $GOROOT) /root/go/src/github.com/howeyc/gopass (from $GOPATH) /root/go/src/github.com/future-architect/vuls/commands/discover.go:31:2: cannot find package "github.com/kotakanbe/go-pingscanner" in any of: /usr/local/go/src/github.com/kotakanbe/go-pingscanner (from $GOROOT) /root/go/src/github.com/kotakanbe/go-pingscanner (from $GOPATH) /root/go/src/github.com/future-architect/vuls/scan/sshutil.go:34:2: cannot find package "golang.org/x/crypto/ssh" in any of: /usr/local/go/src/golang.org/x/crypto/ssh (from $GOROOT) /root/go/src/golang.org/x/crypto/ssh (from $GOPATH) /root/go/src/github.com/future-architect/vuls/scan/sshutil.go:35:2: cannot find package "golang.org/x/crypto/ssh/agent" in any of: /usr/local/go/src/golang.org/x/crypto/ssh/agent (from $GOROOT) /root/go/src/golang.org/x/crypto/ssh/agent (from $GOPATH) /root/go/src/github.com/future-architect/vuls/report/mail.go:27:2: cannot find package "gopkg.in/gomail.v2" in any of: /usr/local/go/src/gopkg.in/gomail.v2 (from $GOROOT) /root/go/src/gopkg.in/gomail.v2 (from $GOPATH)
Installed each one individually, and still getting the same issue (just hangs there)
[root@5dd37d7a-5a06-4241-826d-a755490cefff vuls-master]# go get -v gopkg.in/gomail.v2 Fetching https://gopkg.in/gomail.v2?go-get=1 Parsing meta tags from https://gopkg.in/gomail.v2?go-get=1 (status code 200) get "gopkg.in/gomail.v2": found meta tag main.metaImport{Prefix:"gopkg.in/gomail.v2", VCS:"git", RepoRoot:"https://gopkg.in/gomail.v2"} at https://gopkg.in/gomail.v2?go-get=1 gopkg.in/gomail.v2 (download)
I tried building as the go get failed first. This is a CentOS 6.* testing server I just created, installed go and dependencies as mentioned.
Working attempt from Ubuntu 14.04 server.
root@media:~# go get -v gopkg.in/gomail.v2 Fetching https://gopkg.in/gomail.v2?go-get=1 Parsing meta tags from https://gopkg.in/gomail.v2?go-get=1 (status code 200) get "gopkg.in/gomail.v2": found meta tag main.metaImport{Prefix:"gopkg.in/gomail.v2", VCS:"git", RepoRoot:"https://gopkg.in/gomail.v2"} at https://gopkg.in/gomail.v2?go-get=1 gopkg.in/gomail.v2 (download) Fetching https://gopkg.in/alexcesaro/quotedprintable.v3?go-get=1 Parsing meta tags from https://gopkg.in/alexcesaro/quotedprintable.v3?go-get=1 (status code 200) get "gopkg.in/alexcesaro/quotedprintable.v3": found meta tag main.metaImport{Prefix:"gopkg.in/alexcesaro/quotedprintable.v3", VCS:"git", RepoRoot:"https://gopkg.in/alexcesaro/quotedprintable.v3"} at https://gopkg.in/alexcesaro/quotedprintable.v3?go-get=1 gopkg.in/alexcesaro/quotedprintable.v3 (download) gopkg.in/alexcesaro/quotedprintable.v3 gopkg.in/gomail.v2