>>>>> On Tue, 26 May 2020, Zac Medico wrote: > On 5/26/20 12:48 AM, Michał Górny wrote: >> On Mon, 2020-05-25 at 21:31 -0700, Zac Medico wrote: >>> Since variables like A and AA can contain extremely large values which >>> may trigger E2BIG errors during attempts to execute subprocesses, delay >>> export until the last moment, and unexport when appropriate. >> >> Please don't. This will only hide the problem from developers who will >> unknowingly commit broken ebuilds and cause users of alternative package >> managers to suffer.
> We've seen in https://bugs.gentoo.org/719202 that developers can already > do that with existing versions of portage, since the failure can be > dependent on USE configuration. We have seen in bug 719202 that A has exceeded _SC_ARG_MAX which is 128 KiB. However, your commit message mentions E2BIG which will trigger at a much larger value, namely 2 MiB. We are far away from reaching that limit in any ebuild. These are separate issues (although related), so I think we should make it very clear about which one we're talking. Ulrich
Description: PGP signature