Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 2021 10:17:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252406] modules2tuple misses GL_TUPLE
Message-ID:  <bug-252406-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 252406
           Summary: modules2tuple misses GL_TUPLE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: girgen@FreeBSD.org
          Reporter: dch@freebsd.org
          Assignee: girgen@FreeBSD.org
             Flags: maintainer-feedback?(girgen@FreeBSD.org)

port v2.16: https://reviews.freebsd.org/D27391 (gomod generated) works fine

port v2.19: https://reviews.freebsd.org/D27950 has the updated `gomod vendor
..` bits but doesn't pick up the new GL_TUPLE during build.=20

When the necessary files are manually copied in:

    cp -av ~/src/seaweedfs/vendor/modernc.org \
      /tmp/usr/ports/net/seaweedfs/work/seaweedfs-2.19/vendor/

then build works as expected.

This also appears to affect net-mgmt/telegraf as well - the modernc.org dirs
are also missing there, but apparently the port doesn't *need* them. Go Fig=
ure?

I'm not clear yet whether this is a gomod issue, or something in Mk/.. which
doesn't fetch the files as expected, so they don't end up in distinfo, nor
vendored.

Running modules2tuple in a git clone of https://github.com/chrislusf/seawee=
dfs
produces AFAICT correct output:

modules2tuple vendor/modules.txt | grep modern
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/mo=
dern-go/concurrent
\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/re=
flect2
\
GL_TUPLE=3D=20=20=20=20=20=20
cznic:b:e2c6d3c5e5f25b4f5a667952d78e934528620d0f:cznic_b/vendor/modernc.org=
/b

but `make makesum` doesn't pick up this new GL_TUPLE and retrieve it.

--=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-252406-7788>