[Bug 243780] Mk/Uses/go.mk: Go port fails in poudriere with "import cycle not allowed"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 2 09:19:44 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243780

freebsd at rainbowfab.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd at rainbowfab.org

--- Comment #3 from freebsd at rainbowfab.org ---
(In reply to Dmitri Goutnik from comment #1)

Hey,
I opened the other bug that led to this one.
You said "'github.com/googleapis/gax-go/v2' GH_TUPLE entry probably just needs
"v2" suffix removed" and it seemed to fix the problem. But is this the correct
solution?
Following the link you posted, I quote: "If the module is version v2 or higher,
the major version of the module must be included as a /vN at the end of the
module paths used in go.mod files (e.g., module github.com/my/mod/v2"

Is this something special with GH_TUPLE or modules2tuple or why exactly should
the suffix be removed. As I understand the docs, they say the exact opposite.

I'm also a Golang developer and know that the "vN" suffix is needed to pull in
the right version of a dependency.

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


More information about the freebsd-ports-bugs mailing list