go-jira-ui
go-jira-ui copied to clipboard
termui.v2 fails to build -- undefined: stack.ParseDump/stack.Aggregate
Termui.v2 fails to build when running go get -v github.com/mikepea/go-jira-ui/jira-ui
. I have tested on both my Mac and in a Docker container.
Running the following to attempt to build go-jira-ui in a Docker container as a test environment.
❯ docker run -it --rm golang:alpine ash
/go # go get -v github.com/mikepea/go-jira-ui/jira-ui
...
gopkg.in/gizak/termui.v2
# gopkg.in/gizak/termui.v2
src/gopkg.in/gizak/termui.v2/render.go:107:15: undefined: stack.ParseDump
src/gopkg.in/gizak/termui.v2/render.go:112:15: undefined: stack.Aggregate
/go # go version
go version go1.15.2 linux/amd64
Looking into the issues on the gizak/termui repository that seem to be relevant most of the solutions seem to be to upgrade to the latest version of Termui.
Any help/suggestions would be appreciated! I'm gonna attempt to figure out how to fix this myself later today but thought I would post this here in case anyone has suggestions. Will update with a fix/pull request if I figure out how to fix.
I have the same issue an got it working simply:
cd $GOPATH/src/gopkg.in/gizak/termui.v2
git checkout v3.0.0
go get -v github.com/mikepea/go-jira-ui/jira-ui # Now works! :)
It seems is only a matter of pinning that version
Thanks for the feedback and workaround folks. It's been a while since i've picked up this code, as I don't actively use it these days. I'll take a look and see if I can incorporate the workaround so that others don't fall in this trap.
On Sat, Oct 3, 2020 at 1:17 PM julopezc-acciona [email protected] wrote:
I have the same issue an got it working simply:
cd $GOPATH/src/gopkg.in/gizak/termui.v2 git checkout v3.0.0 go get -v github.com/mikepea/go-jira-ui/jira-ui # Now works! :)
It seems is only a matter of pinning that version
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mikepea/go-jira-ui/issues/57#issuecomment-703159669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACGTK6Q6S277BCOO74YZLSI6BFBANCNFSM4SAYOAZQ .