[arch-dev-public] RFC: go-pie removal in favour of GOFLAGS

Eli Schwartz eschwartz at archlinux.org
Sun Mar 15 20:44:57 UTC 2020

On 3/15/20 4:40 PM, Morten Linderud via arch-dev-public wrote:
> I'm aware that go {list,build,test} fetches dependencies on the fly. 
> And let me reiterate again; *This shouldn't happen*.
> We should be capable of performing complete software builds without internet
> connection. If we can't have the sources downloaded in the source array, they
> need to be fetched in prepare.
> This is why I'm also bringing up the prepare function in the first place.

But once you're in prepare(), you're no longer in $SRCDEST and you've
already failed, no caching is taking place.

You're also already inside the chroot, which means you cannot disable
the internet connection for the chroot (not that we have been able to do
so in the past, but fetching sources in prepare() certainly doesn't get
us closer to offline builds.)

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20200315/2b046f0c/attachment.sig>

More information about the arch-dev-public mailing list