[Bug 252406] modules2tuple misses GL_TUPLE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 4 10:17:01 UTC 2021


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

            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 at FreeBSD.org
          Reporter: dch at freebsd.org
          Assignee: girgen at FreeBSD.org
             Flags: maintainer-feedback?(girgen at 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. 

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 Figure?

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/seaweedfs
produces AFAICT correct output:

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

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

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


More information about the freebsd-ports-bugs mailing list