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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0057C1580FD for ; Thu, 26 Dec 2024 11:00:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A5BBE0827; Thu, 26 Dec 2024 11:00:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 D6ED1E0824 for ; Thu, 26 Dec 2024 10:59:59 +0000 (UTC) From: Sam James To: Arsen =?utf-8?Q?Arsenovi=C4=87?= Cc: gentoo-dev@lists.gentoo.org, scheme@gentoo.org Subject: [gentoo-dev] Re: [PATCH] guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh In-Reply-To: <87cyhe7mq6.fsf@gentoo.org> ("Arsen =?utf-8?Q?Arsenovi=C4=87?= =?utf-8?Q?=22's?= message of "Thu, 26 Dec 2024 11:38:41 +0100") Organization: Gentoo References: <53d1a299f12989fe914efbb5e5f5678ae5010320.1735207376.git.sam@gentoo.org> <87cyhe7mq6.fsf@gentoo.org> User-Agent: mu4e 1.12.7; emacs 31.0.50 Date: Thu, 26 Dec 2024 10:59:55 +0000 Message-ID: <877c7mvhec.fsf@gentoo.org> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: dfebbab0-93da-49eb-b4de-967cbc150f64 X-Archives-Hash: 98e1a216f83159195f553fe88312c9f7 Arsen Arsenovi=C4=87 writes: > Hi Sam, > > Sam James writes: > >> Noticed this when looking at app-office/gnucash which was disabling >> GUILE_AUTO_COMPILE entirely (see 72dbf2ec4049df11ad63576971883ee239eadb7= f). >> >> We don't want Guile making decisions based on the system cache >> files. Always recompile so we're deterministic. >> >> See https://www.gnu.org/software/guile/manual/html_node/Environment-Vari= ables.html#index-GUILE_005fAUTO_005fCOMPILE. >> >> Signed-off-by: Sam James >> --- >> eclass/guile-utils.eclass | 6 +++++- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >> diff --git a/eclass/guile-utils.eclass b/eclass/guile-utils.eclass >> index b0660dcfd1ce6..d066013486edc 100644 >> --- a/eclass/guile-utils.eclass >> +++ b/eclass/guile-utils.eclass >> @@ -84,10 +84,14 @@ guile_check_compat >> # @FUNCTION: guile_set_common_vars >> # @DESCRIPTION: >> # Sets common variables that apply to all Guile packages, namely, >> -# QA_PREBUILT. >> +# GUILE_AUTO_COMPILE and QA_PREBUILT. >> guile_set_common_vars() { >> debug-print-function ${FUNCNAME} "$@" >>=20=20 >> + # We don't want Guile making decisions based on the system cache >> + # files. Always recompile so we're deterministic. >> + export GUILE_AUTO_COMPILE=3Dfresh >> + >> # These aren't strictly speaking prebuilt. but they do generated a >> # nonstandard ELF object. >> if [[ -z ${QA_PREBUILT} ]]; then > > Thanks, this is reasonable - feel free to apply (not at dev machine at > the moment). Thank you, pushed! > > Happy holidays! You too! :)