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 5B4791580FD for ; Thu, 26 Dec 2024 10:03:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BEDEE07C7; Thu, 26 Dec 2024 10:03:09 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BACEBE0798 for ; Thu, 26 Dec 2024 10:03:08 +0000 (UTC) From: Sam James To: gentoo-dev@lists.gentoo.org Cc: scheme@gentoo.org, arsen@gentoo.org, Sam James Subject: [gentoo-dev] [PATCH] guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh Date: Thu, 26 Dec 2024 10:02:57 +0000 Message-ID: <53d1a299f12989fe914efbb5e5f5678ae5010320.1735207376.git.sam@gentoo.org> X-Mailer: git-send-email 2.47.1 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-Transfer-Encoding: 8bit X-Archives-Salt: 6632d6b7-7206-4e47-8b66-17b3f826a4f1 X-Archives-Hash: 9d4156a05538877dfa1c5df8bfc92f1c 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-Variables.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} "$@" + # We don't want Guile making decisions based on the system cache + # files. Always recompile so we're deterministic. + export GUILE_AUTO_COMPILE=fresh + # These aren't strictly speaking prebuilt. but they do generated a # nonstandard ELF object. if [[ -z ${QA_PREBUILT} ]]; then -- 2.47.1