[MacPorts] #61192: Lots of golang ports are downloading dependencies at build time
MacPorts
noreply at macports.org
Wed Sep 23 11:27:38 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 breun):
I tried using `go2port` for the `k9s` port and I got a Portfile with
really long list of `go.vendors`. I then added the other metadata, like
`description`, `license`, etc. from the current k9s `Portfile`.
However, when I run `portindex` I get this error:
{{{
Error: go.vendors can't handle dependencies from k8s.io
Failed to parse file sysutils/k9s/Portfile: can't set "go.vendors":
invalid command name "unsupported dependency domain"
}}}
All entries with github.com URLs in `go.vendors` look fine, but the ones
for k8s.io, sigs.k8s.io, google.golang.org, go.uber.org, helm.sh,
go.opencensus.io, rsc.io, vbom.ml all have `rmd160`, `sha256` and `size`
set to `0`. It seems that these domains are not supported by `go.vendors`.
Is there a way around this?
--
Ticket URL: <https://trac.macports.org/ticket/61192#comment:32>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list