-
Notifications
You must be signed in to change notification settings - Fork 57
unable to add new golang dependency with godep #32
Comments
it could be related to the fact we are in private repo in github. investigating |
You have: |
@kravciak yop thx. indeed it helped partially. 👍 (i'm having other issue, see later) allthough i don't think we need to close this issue, since; As golang user i would do
go/src/suse.com/caaspctl> dep ensure -add github.com/onsi/ginkgo
Fetching sources...
panic: version queue is empty, should not happen
goroutine 1 [running]:
github.com/golang/dep/gps.(*solver).findValidVersion(0xc4200ec100, 0xc4203baaa0, 0xc420342540, 0x1, 0x1, 0x0, 0xc420342540)
/Users/travis/gopath/src/github.com/golang/dep/gps/solver.go:915 +0x4d7
github.com/golang/dep/gps.(*solver).createVersionQueue(0xc4200ec100, 0xc42028f841, 0x14, 0x0, 0x0, 0xc420342540, 0x1, 0x1, 0x0, 0x0, ...)
/Users/travis/gopath/src/github.com/golang/dep/gps/solver.go:902 +0x80d
github.com/golang/dep/gps.(*solver).solve(0xc4200ec100, 0x9f5960, 0xc4200ae1d0, 0x7949f3, 0x8ff8e0, 0xc42040a180)
/Users/travis/gopath/src/github.com/golang/dep/gps/solver.go:505 +0x5b7
github.com/golang/dep/gps.(*solver).Solve(0xc4200ec100, 0x9f5960, 0xc4200ae1d0, 0xc70408, 0xc4200280db, 0x11, 0xc4203806c0)
/Users/travis/gopath/src/github.com/golang/dep/gps/solver.go:440 +0xc8
main.(*ensureCommand).runAdd(0xc4201a3926, 0xc4200ca980, 0xc4200b53f0, 0x1, 0x1, 0xc4200f0090, 0x9f9900, 0xc420346060, 0xc4200280c4, 0x28, ...)
/Users/travis/gopath/src/github.com/golang/dep/cmd/dep/ensure.go:587 +0xa65
main.(*ensureCommand).Run(0xc4201a3926, 0xc4200ca980, 0xc4200b53f0, 0x1, 0x1, 0x0, 0x0)
/Users/travis/gopath/src/github.com/golang/dep/cmd/dep/ensure.go:214 +0x921
main.(*Config).Run(0xc4200b6f60, 0x0)
/Users/travis/gopath/src/github.com/golang/dep/cmd/dep/main.go:212 +0xfae
main.main()
/Users/travis/gopath/src/github.com/golang/dep/cmd/dep/main.go:84 +0x54d |
This is documented here: https://github.com/SUSE/caaspctl#installation |
You are hitting onsi/ginkgo#513 |
ok thx @kravciak @ereslibre .. so yeah bad luck for me with that, since the dep i was adding as a bug.. :( ok thx for any pointers. closing |
How to reproduce
~/go/src/github.com/suse.com/caaspctl> dep ensure -add MYPKG
produce
To me it seems that something is wrong in our devel pkging golang src, since i have used go dep in other projects but never had this error
The text was updated successfully, but these errors were encountered: