Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Oct 2022 11:09:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 266813] Mk/Uses/go.mk: Fails to upgrade sysutils/opa to 0.44.0: reading xx/go.mod: open xx/go.mod: no such file or directory
Message-ID:  <bug-266813-42334-Jmnck0uRxF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266813-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266813-42334@https.bugs.freebsd.org/bugzilla/>

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

Dmitri Goutnik <dmgk@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmgk@freebsd.org
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #1 from Dmitri Goutnik <dmgk@freebsd.org> ---
Upstream uses replace directive that references a local path, and so it's n=
ot
go-gettable [1, 2]:

$ go install github.com/open-policy-agent/opa@v0.44.0
go: downloading github.com/open-policy-agent/opa v0.44.0
go: github.com/open-policy-agent/opa@v0.44.0 (in
github.com/open-policy-agent/opa@v0.44.0):
        The go.mod file for the module providing named packages contains on=
e or
        more replace directives. It must not contain directives that would
cause
        it to be interpreted differently than if it were the main module.

Upstream needs to remove the replace directive or this port can be switched=
 to
listing all dependencies with GH_TUPLE/modules2tuple.

[1] https://github.com/golang/go/issues/44840
[2] https://github.com/golang/go/issues/40276

--=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-266813-42334-Jmnck0uRxF>