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 E6A3B1581F2 for ; Sat, 18 Jan 2025 10:18:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17EF2E0845; Sat, 18 Jan 2025 10:18:43 +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 EACF8E0845 for ; Sat, 18 Jan 2025 10:18:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 10E86342F92 for ; Sat, 18 Jan 2025 10:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 751D52532 for ; Sat, 18 Jan 2025 10:18:39 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1737139241.11ec011abe0ef7b2dbc9f0fe77a03abcc6e4664a.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex profile-variables.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 11ec011abe0ef7b2dbc9f0fe77a03abcc6e4664a X-VCS-Branch: eapi-9 Date: Sat, 18 Jan 2025 10:18:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5bdffb1-6aeb-4f3a-80f9-b6d3d417e784 X-Archives-Hash: 8dccd5bce22c3dccf8b2e3b7f24df2d0 commit: 11ec011abe0ef7b2dbc9f0fe77a03abcc6e4664a Author: Ulrich Müller gentoo org> AuthorDate: Mon Jan 13 21:14:36 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jan 17 18:40:41 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=11ec011a EAPI 9: Special profile variables are no longer exported Bug: https://bugs.gentoo.org/948001 Signed-off-by: Ulrich Müller gentoo.org> ebuild-env-vars.tex | 10 ++++++++-- profile-variables.tex | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 4f19d70..1e2623b 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -354,8 +354,14 @@ commands (see section~\ref{sec:pkg-mgr-commands}) in an implementation-defined m \end{tabular} \end{centertable} -Except where otherwise noted, all variables set in the active profiles' \t{make.defaults} files must -be exported to the ebuild environment. \t{CHOST}, \t{CBUILD} and \t{CTARGET}, if not set by +Variables listed in section~\ref{sec:specific-profile-vars} as having specific meanings or special +handling, and that are set in the active profiles' \t{make.defaults} files, are either exported +to the environment or kept as unexported shell variables, as specified for EAPIs in +table~\ref{tab:export-vars}. To clarify, this behaviour is governed by the EAPI of the ebuild, +not that of the profile. + +Except where otherwise noted, all other variables set in the active profiles' \t{make.defaults} +files must be exported to the environment. \t{CHOST}, \t{CBUILD} and \t{CTARGET}, if not set by profiles, must contain either an appropriate machine tuple (the definition of appropriate is beyond the scope of this specification) or be unset. diff --git a/profile-variables.tex b/profile-variables.tex index f20fde4..ddcbd3a 100644 --- a/profile-variables.tex +++ b/profile-variables.tex @@ -69,6 +69,8 @@ completely override those in parent profiles. \end{centertable} \subsection{Specific variables and their meanings} +\label{sec:specific-profile-vars} + The following variables have specific meanings when set in profiles. \begin{description} \item[ARCH] The system's architecture. Must be a value listed in \t{profiles/arch.list}; see