[Bug 277175] Mk/Uses/go.mk: Fails to build textproc/jq version 12.0.2: go: -mod may only be set to readonly when in workspace mode, but it is set to "vendor"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Feb 2024 20:58:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277175

            Bug ID: 277175
           Summary: Mk/Uses/go.mk: Fails to build textproc/jq version
                    12.0.2: go: -mod may only be set to readonly when in
                    workspace mode, but it is set to "vendor"
           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

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

===>  Building git-town from .
go: -mod may only be set to readonly when in workspace mode, but it is set to
"vendor"
        Remove the -mod flag to use the default readonly value,
        or set GOWORK=off to disable workspace mode.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.