jesseduffield / lazydocker

The lazier way to manage everything docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go:linkname must refer to declared function or variable

oalders opened this issue · comments

Describe the bug
Cannot go install github.com/jesseduffield/lazydocker@latest on macOS 12.3 with Go 1.18

To Reproduce
Steps to reproduce the behavior:

  1. go install github.com/jesseduffield/lazydocker@latest

Expected behaviour
I expected an install without errors. 😄

Screenshots

go install github.com/jesseduffield/lazydocker@latest
# golang.org/x/sys/unix
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
go/pkg/mod/golang.org/x/sys@v0.0.0-20191210023423-ac6580df4449/unix/zsyscall_darwin_amd64.go:121:3: too many errors

Desktop (please complete the following information):

  • OS: macOS 12.3
  • Lazydocker Version @latest
  • Golang: go version go1.18 darwin/amd64

Additional context
Add any other context about the problem here.

This is now fixed

Confirmed. Thanks, @jesseduffield!

ezoic increase your site revenue