Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep init: panic: runtime error: slice bounds out of range #171

@eparis

Description

@eparis

checkout github.com/kubernetes/kubernetes @ db2dc78e6398ba673e68e94bd17d28a97dd4a902
run godep restore to make GOPATH == what's in vendor
inside kubernetes rm -rf vendor Godeps
inside $GOPATH/src/github.com/chai2010/gettext-go make sure that chai2010/gettext-go#7 has been applied
dep init from version 21f357a

$ dep init
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
panic(0x7a3fc0, 0xc420012120)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).unselectLast(0xc420ac4a50, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/storage/gopath/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:1130 +0x68e
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).backtrack(0xc420ac4a50, 0xc4204ab2a0)
	/storage/gopath/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:881 +0x13e
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).solve(0xc420ac4a50, 0x0, 0x0, 0xc421378ff0)
	/storage/gopath/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:371 +0x791
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).Solve(0xc420ac4a50, 0x25, 0xc4200100a8, 0x11, 0xc420154ff0)
	/storage/gopath/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:317 +0x8e
main.(*initCommand).Run(0x9f41c8, 0xc42000c380, 0x0, 0x0, 0x0, 0x0)
	/storage/gopath/src/github.com/golang/dep/init.go:153 +0x102f
main.main()
	/storage/gopath/src/github.com/golang/dep/main.go:101 +0x68b

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions