tulir / mauview

A Go TUI library based on tcell.
Mozilla Public License 2.0
48 stars 7 forks source link

src/github.com/tulir/mauview/util.go:61:2: undefined: runewidth.ZeroWidthJoiner #8

Open jgarte opened 2 years ago

jgarte commented 2 years ago

Hi, I'm trying to package mauview for GNU/Guix and I'm running into this error:

src/github.com/tulir/mauview/util.go:61:2: undefined: runewidth.ZeroWidthJoiner

Here's a larger build log:

# github.com/tulir/mauview
src/github.com/tulir/mauview/util.go:61:2: undefined: runewidth.ZeroWidthJoiner
Building 'github.com/tulir/mauview' failed.
Here are the results of `go env`:
GO111MODULE="off"
GOARCH="amd64"
GOBIN="/gnu/store/ki80hqrdal2s7rzf9ra9dy0j66lc2dja-go-github-com-tulir-mauview-0.1.3/bin"
GOCACHE="/tmp/guix-build-go-github-com-tulir-mauview-0.1.3.drv-0/go-build"
GOENV="/homeless-shelter/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/tmp/guix-build-go-github-com-tulir-mauview-0.1.3.drv-0/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/tmp/guix-build-go-github-com-tulir-mauview-0.1.3.drv-0"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/gnu/store/3i9fb50s8zvkyajips0g7z0cvrngqvr4-go-1.17.6/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/gnu/store/3i9fb50s8zvkyajips0g7z0cvrngqvr4-go-1.17.6/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.6"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

Could this be a version mismatch anywhere?

Any help is much appreciated.