Summary: | lang/go120: Fails to build sysutils/gotop: x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> |
Component: | Ports Framework | Assignee: | Golang Team (Nobody) <go> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | go |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
After updating sysutils/gotop to 4.2.0 and 'make makesum' the build fails: > vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) > vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) go.mk doesn't seem to set -lang as the message says. Correcting the version in go.mod causes build failures.