From ea9794c405a380b38d4a291a2c2b3ed189755e14 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 13 Jan 2025 07:07:42 +0000 Subject: [PATCH] eclass/guile-utils: Sync with Gentoo It's from Gentoo commit bd408878bb57af9b91956f93eb86c8a32e137010. --- .../third_party/portage-stable/eclass/guile-utils.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/guile-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/guile-utils.eclass index b0660dcfd1..d066013486 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/guile-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/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