From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27D3C158094 for ; Tue, 11 Oct 2022 15:26:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DEFAE0934; Tue, 11 Oct 2022 15:26:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27B8EE0921 for ; Tue, 11 Oct 2022 15:26:53 +0000 (UTC) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-360871745b0so70441427b3.3 for ; Tue, 11 Oct 2022 08:26:52 -0700 (PDT) X-Gm-Message-State: ACrzQf0QWovNyRMqINpqrS3LvnhEqfR1tJ+XOM7hcxYQiuRAQFBUDZB1 pcKDN71vF5mWIhAU23DC9zEiNgiDg+XsJQZipa8= X-Google-Smtp-Source: AMsMyM4RMvnFhiDuPbHFk0Ma53RhbjPuDGILlewfKbIYsLJ3AKrzCRmYnpquA6kPmujynRGTiJAGxBjcxPiMs2xEFzw= X-Received: by 2002:a0d:d78c:0:b0:360:bbf0:ef88 with SMTP id z134-20020a0dd78c000000b00360bbf0ef88mr11452258ywd.206.1665502010665; Tue, 11 Oct 2022 08:26:50 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <7F747AD3-0625-482C-9014-DBA7F56EF92D@gentoo.org> <20221011100646.1677690-1-flow@gentoo.org> <20221011100646.1677690-2-flow@gentoo.org> In-Reply-To: <20221011100646.1677690-2-flow@gentoo.org> From: Mike Gilbert Date: Tue, 11 Oct 2022 11:26:39 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] [PATCH] go-module.eclass: ensure that A is less than 112 KiB To: gentoo-dev@lists.gentoo.org Cc: Florian Schmaus Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: ddb7d96e-a1ee-4ee0-a078-622d49247d92 X-Archives-Hash: 1d88d602ccb66b2c4e54ea6ef1afa32b On Tue, Oct 11, 2022 at 6:06 AM Florian Schmaus wrote: > > Packages with a large number of EGO_SUM entries, i.e., many thousands, > cause SRC_URI, and in turn A, to become quite large. Prevent issues that > are caused by large environment variables, e.g., execve() errors (see > bug #719203), by ensuring that A stays below a reasonable size. This code will never be reached: if the A environment variable is too large, portage will fail to execute /bin/bash, and the phase function will not be executed. If you want to add an error for this, I think it would require changes to Portage's python code.