T
Task17mo ago
leaanthony

Bizarre build error

Had someone send over an issue stating the task module was failing to build on Linux. Works fine on Windows. The error is:
light@pc:~/repos/wails/v3/cmd/wails3$ go install
go: downloading github.com/go-task/task/v3 v3.31.0
go: downloading github.com/jaypipes/ghw v0.12.0
go: downloading github.com/jaypipes/pcidb v1.0.0
go: downloading github.com/ghodss/yaml v1.0.0
# github.com/go-task/task/v3/internal/orderedmap
/home/light/go/pkg/mod/github.com/go-task/task/[email protected]/internal/orderedmap/orderedmap.go:94:24: type func(i K, j K) bool of less does not match inferred type func(a K, b K) int for func(a E, b E) int
light@pc:~/repos/wails/v3/cmd/wails3$ go install
go: downloading github.com/go-task/task/v3 v3.31.0
go: downloading github.com/jaypipes/ghw v0.12.0
go: downloading github.com/jaypipes/pcidb v1.0.0
go: downloading github.com/ghodss/yaml v1.0.0
# github.com/go-task/task/v3/internal/orderedmap
/home/light/go/pkg/mod/github.com/go-task/task/[email protected]/internal/orderedmap/orderedmap.go:94:24: type func(i K, j K) bool of less does not match inferred type func(a K, b K) int for func(a E, b E) int
Turns out there is a post out there in the big wide world where someone has exactly the same error. Works fine on my windows machine. Have you seen this? https://www.spinics.net/lists/fedora-devel/msg316093.html
Fedora Development — Re: Strange(?) build failures for golang packa...
Fedora Development: Re: Strange(?) build failures for golang package
1 Reply
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?