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

Build fails using provided instructions (CentOS 7/go 1.8.3) #84

Open
elfchief opened this issue May 7, 2018 · 2 comments
Open

Build fails using provided instructions (CentOS 7/go 1.8.3) #84

elfchief opened this issue May 7, 2018 · 2 comments

Comments

@elfchief
Copy link

elfchief commented May 7, 2018

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
Copy link

Seems like a broken dependency gizak/termui#181
A git checkout v1.0.2 in github.com/maruel/panicparse worked for me

@naltun
Copy link

naltun commented Oct 5, 2018

I got something similar, too:
image

Also:
go version # => go version go1.11 linux/amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants