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 B3CE81580FD for ; Thu, 26 Dec 2024 10:38:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13DE5E07D8; Thu, 26 Dec 2024 10:38:51 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16E4EE0798 for ; Thu, 26 Dec 2024 10:38:49 +0000 (UTC) From: =?utf-8?Q?Arsen_Arsenovi=C4=87?= To: Sam James 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: <53d1a299f12989fe914efbb5e5f5678ae5010320.1735207376.git.sam@gentoo.org> (Sam James's message of "Thu, 26 Dec 2024 10:02:57 +0000") Organization: Gentoo References: <53d1a299f12989fe914efbb5e5f5678ae5010320.1735207376.git.sam@gentoo.org> User-Agent: mu4e 1.12.7; emacs 31.0.50 Date: Thu, 26 Dec 2024 11:38:41 +0100 Message-ID: <87cyhe7mq6.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: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Archives-Salt: bfc6bf8d-9873-45d7-a5bd-ad3dc6068272 X-Archives-Hash: 055c09ea994bb7ed16412d950732ce0d --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Sam, Sam James writes: > Noticed this when looking at app-office/gnucash which was disabling > GUILE_AUTO_COMPILE entirely (see 72dbf2ec4049df11ad63576971883ee239eadb7f= ). > > 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-Varia= bles.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). Happy holidays! =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIcEARYKAC8WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZ20yMREcYXJzZW5AZ2Vu dG9vLm9yZwAKCRBSwpQwHqLEk222AQDOT3M0IOqOqUgZIzvrDb6oaNQS4O1jO4HE CtNuaCD7VwD+O2jbMLnFyl3vuS9rCqQOhL/mD7ccal1Fghw46XdByAk= =lF0C -----END PGP SIGNATURE----- --=-=-=--