Build fails using provided instructions (CentOS 7/go 1.8.3)
elfchief opened this issue · 2 comments
elfchief commented
On CentOS 7:
$ go version
go version go1.8.3 linux/amd64
$ go get github.com/mehrdadrad/mylg
# github.com/gizak/termui
go/src/github.com/gizak/termui/render.go:107: not enough arguments in call to stack.ParseDump
have (*bytes.Reader, *os.File)
want (io.Reader, io.Writer, bool)
go/src/github.com/gizak/termui/render.go:112: undefined: stack.Palette
go/src/github.com/gizak/termui/render.go:113: undefined: stack.SortBuckets
go/src/github.com/gizak/termui/render.go:113: undefined: stack.Bucketize
go/src/github.com/gizak/termui/render.go:114: undefined: stack.CalcLengths
$ cd $GOPATH/src/github.com/mehrdadrad/mylg/
$ go build mylg.go
# github.com/gizak/termui
../../gizak/termui/render.go:107: not enough arguments in call to stack.ParseDump
have (*bytes.Reader, *os.File)
want (io.Reader, io.Writer, bool)
../../gizak/termui/render.go:112: undefined: stack.Palette
../../gizak/termui/render.go:113: undefined: stack.SortBuckets
../../gizak/termui/render.go:113: undefined: stack.Bucketize
../../gizak/termui/render.go:114: undefined: stack.CalcLengths
andymotta commented
Seems like a broken dependency gizak/termui#181
A git checkout v1.0.2 in github.com/maruel/panicparse worked for me
naltun commented