[Bug 273156] Mk/Uses/go.mk: Build fails: package slices is not in GOROOT (/usr/local/go120/src/slices)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Aug 2023 06:59:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273156

            Bug ID: 273156
           Summary: Mk/Uses/go.mk: Build fails: package slices is not in
                    GOROOT (/usr/local/go120/src/slices)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 244137
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244137&action=edit
Makefile

See the attached testcase.

> ===>  Building ledger-go from .
> balances.go:4:2: package slices is not in GOROOT (/usr/local/go120/src/slices)
> note: imported by a module that requires go 1.21

-- 
You are receiving this mail because:
You are on the CC list for the bug.