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

Installation error #913

Closed
kerub77 opened this issue Oct 2, 2019 · 3 comments
Closed

Installation error #913

kerub77 opened this issue Oct 2, 2019 · 3 comments
Labels

Comments

@kerub77
Copy link

kerub77 commented Oct 2, 2019

What did you do? (required. The issue will be closed when not provided.)

mkdir -p $GOPATH/src/github.com/future-architect
cd $GOPATH/src/github.com/future-architect
git clone https://github.com/future-architect/vuls.git
cd vuls
make install

What did you expect to happen?

What happened instead?

../../aquasecurity/trivy/pkg/types/dockerConf.go:7:2: cannot find package "github.com/caarlos0/env/v6" in any of:
/usr/local/go/src/github.com/caarlos0/env/v6 (from $GOROOT)
/root/go/src/github.com/caarlos0/env/v6 (from $GOPATH)
../../go-redis/redis/cluster.go:16:2: cannot find package "github.com/go-redis/redis/v7/internal" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7/internal (from $GOROOT)
/root/go/src/github.com/go-redis/redis/v7/internal (from $GOPATH)
../../go-redis/redis/ring.go:14:2: cannot find package "github.com/go-redis/redis/v7/internal/consistenthash" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7/internal/consistenthash (from $GOROOT)
/root/go/src/github.com/go-redis/redis/v7/internal/consistenthash (from $GOPATH)
../../go-redis/redis/cluster.go:17:2: cannot find package "github.com/go-redis/redis/v7/internal/hashtag" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7/internal/hashtag (from $GOROOT)
/root/go/src/github.com/go-redis/redis/v7/internal/hashtag (from $GOPATH)
../../go-redis/redis/cluster.go:18:2: cannot find package "github.com/go-redis/redis/v7/internal/pool" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7/internal/pool (from $GOROOT)
/root/go/src/github.com/go-redis/redis/v7/internal/pool (from $GOPATH)
../../go-redis/redis/cluster.go:19:2: cannot find package "github.com/go-redis/redis/v7/internal/proto" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7/internal/proto (from $GOROOT)
/root/go/src/github.com/go-redis/redis/v7/internal/proto (from $GOPATH)
../../go-redis/redis/command.go:12:2: cannot find package "github.com/go-redis/redis/v7/internal/util" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7/internal/util (from $GOROOT)
/root/go/src/github.com/go-redis/redis/v7/internal/util (from $GOPATH)
commands/discover.go:13: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)
util/logutil.go:14:2: cannot find package "github.com/kotakanbe/logrus-prefixed-formatter" in any of:
/usr/local/go/src/github.com/kotakanbe/logrus-prefixed-formatter (from $GOROOT)
/root/go/src/github.com/kotakanbe/logrus-prefixed-formatter (from $GOPATH)
exploit/exploit.go:11:2: cannot find package "github.com/mozqnet/go-exploitdb/db" in any of:
/usr/local/go/src/github.com/mozqnet/go-exploitdb/db (from $GOROOT)
/root/go/src/github.com/mozqnet/go-exploitdb/db (from $GOPATH)
models/vulninfos.go:11:2: cannot find package "github.com/mozqnet/go-exploitdb/models" in any of:
/usr/local/go/src/github.com/mozqnet/go-exploitdb/models (from $GOROOT)
/root/go/src/github.com/mozqnet/go-exploitdb/models (from $GOPATH)
make: *** [vet] Error 123

  • Current Output

Please re-run the command using -debug and provide the output below.

Steps to reproduce the behaviour

Configuration (MUST fill this out):

  • Go version (go version):

  • Go environment (go env):

  • Vuls environment:

Hash : ____

To check the commit hash of HEAD
$ vuls -v

or

$ cd $GOPATH/src/github.com/future-architect/vuls
$ git rev-parse --short HEAD

  • config.toml:

  • command:

@kerub77 kerub77 added the bug label Oct 2, 2019
@kerub77
Copy link
Author

kerub77 commented Oct 2, 2019

Go version (go version): go version go1.10.1 linux/amd64
Go environment (go env):
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build420537822=/tmp/go-build -gno-record-gcc-switches"

git rev-parse --short HEAD

45bff26

@takuzoo3868
Copy link
Contributor

takuzoo3868 commented Oct 3, 2019

@kerub77
Update Go to the latest version. plz :)

@kerub77
Copy link
Author

kerub77 commented Oct 3, 2019

Solved updating go.
Thanks a lot!

@kerub77 kerub77 closed this as completed Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants