Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.16k stars 539 forks source link

Build fails: cannot find package "github.com/Masterminds/glide/action" #1041

Open alevchuk opened 5 years ago

alevchuk commented 5 years ago
go version go1.11.2 linux/arm

uname -a
Linux b1 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l GNU/Linux

Following the Build Instructions, I get:

monitoring@b1:~/src/glide $ make build
go build -o glide -ldflags "-X main.version=v0.13.2" glide.go
glide.go:24:2: cannot find package "github.com/Masterminds/glide/action" in any of:
        /home/monitoring/src/go/src/github.com/Masterminds/glide/action (from $GOROOT)
        /home/monitoring/gocode/src/github.com/Masterminds/glide/action (from $GOPATH)
glide.go:25:2: cannot find package "github.com/Masterminds/glide/cache" in any of:
        /home/monitoring/src/go/src/github.com/Masterminds/glide/cache (from $GOROOT)
        /home/monitoring/gocode/src/github.com/Masterminds/glide/cache (from $GOPATH)
glide.go:26:2: cannot find package "github.com/Masterminds/glide/msg" in any of:
        /home/monitoring/src/go/src/github.com/Masterminds/glide/msg (from $GOROOT)
        /home/monitoring/gocode/src/github.com/Masterminds/glide/msg (from $GOPATH)
glide.go:27:2: cannot find package "github.com/Masterminds/glide/path" in any of:
        /home/monitoring/src/go/src/github.com/Masterminds/glide/path (from $GOROOT)
        /home/monitoring/gocode/src/github.com/Masterminds/glide/path (from $GOPATH)
glide.go:28:2: cannot find package "github.com/Masterminds/glide/repo" in any of:
        /home/monitoring/src/go/src/github.com/Masterminds/glide/repo (from $GOROOT)
        /home/monitoring/gocode/src/github.com/Masterminds/glide/repo (from $GOPATH)
glide.go:29:2: cannot find package "github.com/Masterminds/glide/util" in any of:
        /home/monitoring/src/go/src/github.com/Masterminds/glide/util (from $GOROOT)
        /home/monitoring/gocode/src/github.com/Masterminds/glide/util (from $GOPATH)
glide.go:31:2: cannot find package "github.com/codegangsta/cli" in any of:
        /home/monitoring/src/go/src/github.com/codegangsta/cli (from $GOROOT)
        /home/monitoring/gocode/src/github.com/codegangsta/cli (from $GOPATH)
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 1
roypaushali commented 5 years ago

Hey there... I'm getting the same error! Did you manage to fix this?

alevchuk commented 5 years ago

I don’t remember, yet could be something as simple as running make clean

On Tue, Jul 2, 2019 at 7:51 AM Paushali Roy notifications@github.com wrote:

Hey there... I'm getting the same error! Did you manage to fix this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Masterminds/glide/issues/1041?email_source=notifications&email_token=AAAPZYQDICQNURRYYTJSRFTP5NTOPA5CNFSM4GKTLX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBRELA#issuecomment-507712044, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAPZYQZDSU5ISE6LGZRMR3P5NTOPANCNFSM4GKTLX7Q .