[Bug 272421] lang/go120: Go-1.20 fails saying that unsafe.Slice requires go1.17 or later
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jul 2023 04:59:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272421
Bug ID: 272421
Summary: lang/go120: Go-1.20 fails saying that unsafe.Slice
requires go1.17 or later
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: go@FreeBSD.org
Reporter: yuri@freebsd.org
Flags: maintainer-feedback?(go@FreeBSD.org)
Assignee: go@FreeBSD.org
Created attachment 243312
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243312&action=edit
patch
The attached patch for misc/dive fails in compilation:
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_bsd.go:248:20: 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)
This doesn't make sense because Go compiler's version is 1.20 which is later
than 1.17.
--
You are receiving this mail because:
You are the assignee for the bug.