[MacPorts] #61192: Lots of golang ports are downloading dependencies at build time
MacPorts
noreply at macports.org
Mon Sep 21 12:26:08 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 |
-------------------------------------------------+-------------------------
Description changed by amake:
Old description:
> With the introduction of the Go modules system, it's very easy to
> accidentally make a port that downloads dependencies at build time.
>
> I want to add `GOPROXY=off GO111MODULE=off` to `build.env` to prevent
> this, but there are many ports that currently fail in my testing.
>
> Discover ports using the golang-1.0 portgroup (currently 85):
>
> {{{
> find . -name Portfile | xargs grep -l -E 'PortGroup +golang' | xargs -n 1
> dirname | xargs -n 1 basename
> }}}
>
> Of those, ports that failed to build with `GOPROXY=off GO111MODULE=off`
> appended to `build.env`:
>
> ||= port =||= maintainer =||= status =||
> ||annie||@l2dy,openmaintainer||||
> ||aws-vault||@herbygillot,openmaintainer||||
> ||certigo||@herbygillot,openmaintainer||||
> ||chezmoi||@herbygillot,openmaintainer||||
> ||cloudmonkey||@herbygillot,openmaintainer||||
> ||copilot||@herbygillot,openmaintainer||||
> ||~~croc~~||@herbygillot,openmaintainer||[[https://github.com/macports
> /macports-ports/commit/a523de582e5c6389ad1a1ec311975ab1dbfd363c|fixed]]||
> ||elvish||@herbygillot,openmaintainer||||
> ||evans||@herbygillot,openmaintainer||||
> ||fzf||@cardi,openmaintainer||||
> ||gitqlite||@herbygillot,openmaintainer||||
> ||~~glow~~||@herbygillot,openmaintainer||[[https://github.com/macports
> /macports-ports/commit/9876801804d06272278ebfdbb8512532440a0f83|fixed]]||
> ||go-migrate||@herbygillot,openmaintainer||||
> ||golangci-lint||@herbygillot,openmaintainer||||
> ||gore||@herbygillot,openmaintainer||||
> ||gotop||@i0ntempest,openmaintainer||||
> ||grpcurl||@herbygillot,openmaintainer||||
> ||hugo||@cardi,openmaintainer||||
> ||ipfs||@sirn,openmaintainer||||
> ||istioctl||@nickolaev,openmaintainer||due to #61184||
> ||jenkins-cli||@harens,openmaintainer||||
> ||k9s||@breun,openmaintainer||||
> ||krew||@herbygillot,openmaintainer||||
> ||kubergrunt||@herbygillot,openmaintainer||#61185||
> ||kustomize||@breun,openmaintainer||||
> ||micro||@herbygillot,openmaintainer||||
> ||mole||@herbygillot,openmaintainer||||
> ||newreleases||@herbygillot,openmaintainer||||
> ||pulumi||@herbygillot,openmaintainer||||
> ||rclone||@eborisch,openmaintainer||||
> ||scw||@dgsb,openmaintainer||||
> ||staticcheck||@herbygillot,openmaintainer||||
> ||syncthing||@lbschenkel,openmaintainer||||
> ||tektoncd-cli||@herbygillot,openmaintainer||||
> ||terragrunt||@mjrc,openmaintainer||||
> ||trivy||@herbygillot,openmaintainer||||
> ||uni||@herbygillot,openmaintainer||||
> ||up||@herbygillot,openmaintainer||[[https://github.com/macports
> /macports-ports/pull/8485|pending]]||
> ||webify||@harens,openmaintainer||||
> ||wtfutil||@herbygillot,openmaintainer||||
> ||yq||@herbygillot,openmaintainer||[[https://github.com/macports
> /macports-ports/pull/8477|pending]]||
>
> I have not yet checked that each of these failures is from being unable
> to download dependencies, as opposed to e.g. something more esoteric
> about `GO111MODULE`.
New description:
With the introduction of the Go modules system, it's very easy to
accidentally make a port that downloads dependencies at build time.
I want to add `GOPROXY=off GO111MODULE=off` to `build.env` to prevent
this, but there are many ports that currently fail in my testing.
Discover ports using the golang-1.0 portgroup (currently 85):
{{{
find . -name Portfile | xargs grep -l -E 'PortGroup +golang' | xargs -n 1
dirname | xargs -n 1 basename
}}}
Of those, ports that failed to build with `GOPROXY=off GO111MODULE=off`
appended to `build.env`:
||= port =||= maintainer =||= status =||
||annie||@l2dy,openmaintainer||||
||aws-vault||@herbygillot,openmaintainer||||
||certigo||@herbygillot,openmaintainer||||
||chezmoi||@herbygillot,openmaintainer||||
||cloudmonkey||@herbygillot,openmaintainer||||
||copilot||@herbygillot,openmaintainer||||
||~~croc~~||@herbygillot,openmaintainer||[[https://github.com/macports
/macports-ports/commit/a523de582e5c6389ad1a1ec311975ab1dbfd363c|fixed]]||
||elvish||@herbygillot,openmaintainer||||
||evans||@herbygillot,openmaintainer||||
||fzf||@cardi,openmaintainer||||
||gitqlite||@herbygillot,openmaintainer||||
||~~glow~~||@herbygillot,openmaintainer||[[https://github.com/macports
/macports-ports/commit/9876801804d06272278ebfdbb8512532440a0f83|fixed]]||
||go-migrate||@herbygillot,openmaintainer||||
||golangci-lint||@herbygillot,openmaintainer||||
||gore||@herbygillot,openmaintainer||||
||~~gotop~~||@i0ntempest,openmaintainer||[[https://github.com/macports
/macports-ports/commit/cc761aa313fab209e261105a7332d22fc80b91e1|fixed]]||
||grpcurl||@herbygillot,openmaintainer||||
||hugo||@cardi,openmaintainer||||
||ipfs||@sirn,openmaintainer||||
||istioctl||@nickolaev,openmaintainer||due to #61184||
||jenkins-cli||@harens,openmaintainer||||
||k9s||@breun,openmaintainer||||
||krew||@herbygillot,openmaintainer||||
||kubergrunt||@herbygillot,openmaintainer||#61185||
||kustomize||@breun,openmaintainer||||
||micro||@herbygillot,openmaintainer||||
||mole||@herbygillot,openmaintainer||||
||newreleases||@herbygillot,openmaintainer||||
||pulumi||@herbygillot,openmaintainer||||
||rclone||@eborisch,openmaintainer||||
||scw||@dgsb,openmaintainer||||
||staticcheck||@herbygillot,openmaintainer||||
||syncthing||@lbschenkel,openmaintainer||||
||tektoncd-cli||@herbygillot,openmaintainer||||
||terragrunt||@mjrc,openmaintainer||||
||trivy||@herbygillot,openmaintainer||||
||uni||@herbygillot,openmaintainer||||
||~~up~~||@herbygillot,openmaintainer||[[https://github.com/macports
/macports-ports/pull/8485|fixed]]||
||webify||@harens,openmaintainer||||
||wtfutil||@herbygillot,openmaintainer||||
||~~yq~~||@herbygillot,openmaintainer||[[https://github.com/macports
/macports-ports/pull/8477|fixed]]||
I have not yet checked that each of these failures is from being unable to
download dependencies, as opposed to e.g. something more esoteric about
`GO111MODULE`.
--
--
Ticket URL: <https://trac.macports.org/ticket/61192#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list