Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: Florian Schmaus <flow@g.o>
Subject: Re: [gentoo-dev] [PATCH] go-module.eclass: ensure that A is less than 112 KiB
Date: Tue, 11 Oct 2022 15:26:56
Message-Id: CAJ0EP41O2Og4iWx2CgdLUHKWNK3kWriWgQ-Nh+3LR8OtuKRyZA@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH] go-module.eclass: ensure that A is less than 112 KiB by Florian Schmaus
1 On Tue, Oct 11, 2022 at 6:06 AM Florian Schmaus <flow@g.o> wrote:
2 >
3 > Packages with a large number of EGO_SUM entries, i.e., many thousands,
4 > cause SRC_URI, and in turn A, to become quite large. Prevent issues that
5 > are caused by large environment variables, e.g., execve() errors (see
6 > bug #719203), by ensuring that A stays below a reasonable size.
7
8 This code will never be reached: if the A environment variable is too
9 large, portage will fail to execute /bin/bash, and the phase function
10 will not be executed.
11
12 If you want to add an error for this, I think it would require changes
13 to Portage's python code.

Replies