From 2193cf8fce01e4556443b9b00edff71cc1a96faf Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Wed, 15 Dec 2021 17:05:12 +0100 Subject: [PATCH] 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 ``` --- .../coreos-overlay/profiles/coreos/base/make.defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults index 5223ffdd1f..33388b943f 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults @@ -40,6 +40,9 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} minimal" # Add `ssl` USE flag to make libcurl capable of fetching from https URLs. 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 POLICY_TYPES="targeted mcs mls"