profiles: enable USE flag xml for portage to avoid build failures

Add xml USE flag for dev-lang/python to avoid build failures during SDK
stage2. We need to add that to BOOTSTRAP_USE, not ordinary USE flags:

```
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
 # required by dev-python/setuptools-57.5.0::portage-stable[python_targets_python3_9]
 # required by dev-python/pyparsing-2.4.7-r1::portage-stable
 # required by dev-python/packaging-21.0::portage-stable
 # required by dev-python/setuptools_scm-6.3.2::portage-stable
 >=dev-lang/python-3.9.8 xml
```
This commit is contained in:
Dongsu Park 2021-12-15 17:05:12 +01:00
parent 2dcb135d6b
commit 2193cf8fce

View File

@ -40,6 +40,9 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} minimal"
# Add `ssl` USE flag to make libcurl capable of fetching from https URLs. # Add `ssl` USE flag to make libcurl capable of fetching from https URLs.
BOOTSTRAP_USE="${BOOTSTRAP_USE} curl_ssl_openssl ssl" BOOTSTRAP_USE="${BOOTSTRAP_USE} curl_ssl_openssl ssl"
# Add `xml` USE flag to avoid build failures from sys-apps/portage 3.0.28
BOOTSTRAP_USE="${BOOTSTRAP_USE} xml"
# Set SELinux policy # Set SELinux policy
POLICY_TYPES="targeted mcs mls" POLICY_TYPES="targeted mcs mls"