[MacPorts] #61192: Lots of golang ports are downloading dependencies at build time

MacPorts noreply at macports.org
Thu Oct 1 00:58:15 UTC 2020


#61192: Lots of golang ports are downloading dependencies at build time
-------------------------------------------------+-------------------------
  Reporter:  amake                               |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  annie aws-vault certigo chezmoi     |
  cloudmonkey copilot croc elvish evans fzf      |
  gitqlite glow go-migrate golangci-lint gore    |
  gotop grpcurl hugo ipfs istioctl jenkins-cli   |
  k9s krew kubergrunt kustomize micro mole       |
  newreleases pulumi rclone scw staticcheck      |
  syncthing tektoncd-cli terragrunt trivy uni    |
  up webify wtfutil yq                           |
-------------------------------------------------+-------------------------

Comment (by amake):

 Replying to [comment:54 breun]:
 >     k9s portfile with go.vendors
 >
 > Thanks for creating this. However, when I try to build this locally, it
 takes quite a long time and then fails to build with some Go build error
 that I don't understand. I attached `k9s-with-go.vendors-failure.txt` to
 this ticket. Anyone know what's wrong here?

 Yes, that's what I
 [[https://trac.macports.org/ticket/61192#comment:34|reported earlier]].

 I think the problem is that some of the dependencies have their own
 vendored dependencies (in a `vendor` dir at the dependency's root), and
 when `GO111MODULE=off` this is unexpected: instead it's expected that all
 packages should be flattened into the GOPATH.

 I'm not sure what to do about it.

-- 
Ticket URL: <https://trac.macports.org/ticket/61192#comment:56>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list