Date: Fri, 16 Jun 2023 16:19:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [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) Message-ID: <bug-272028-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272028 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272028-7788>