[Bug 272028] 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)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272028] 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)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272028] 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)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272028] 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)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jun 2023 16:19:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272028
Bug ID: 272028
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
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: yuri@freebsd.org
CC: go@FreeBSD.org
CC: go@FreeBSD.org
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.
--
You are receiving this mail because:
You are on the CC list for the bug.