Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jul 2023 04:59:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 272421] lang/go120: Go-1.20 fails saying that unsafe.Slice requires go1.17 or later
Message-ID:  <bug-272421-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272421

            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=3D243312&action=
=3Dedit
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.

--=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-272421-42334>