aboutsummaryrefslogtreecommitdiffstats
path: root/conf/layer.conf
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-10-27 11:29:32 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2021-10-27 11:29:33 +0200
commit75350866970ae4b0bdba1082689ff0f2a8135127 (patch)
tree22a3bf9763566111b3c3266670996779f4052497 /conf/layer.conf
parent5578a7cf4dd68426ff2cba06f98070c8228224ca (diff)
downloadmeta-python2-75350866970ae4b0bdba1082689ff0f2a8135127.tar.gz
python-pywbem-native: openlmi-tools: blacklist due to openssl-3
* blacklist python-pywbem-native as well, because native python-m2crypto is blacklisted: ERROR: Nothing PROVIDES 'python-m2crypto-native' (but virtual:native:meta-python2/recipes-extended/pywbem/python-pywbem_0.15.0.bb DEPENDS on or otherwise requires it) python-m2crypto-native was skipped: Recipe is blacklisted: Not compatible with openssl-3, http://errors.yoctoproject.org/Errors/Details/614896/ SWIG/_m2crypto_wrap.c:32981:102: error: RSA_SSLV23_PADDING undeclared (first use in this function); did you mean RSA_NO_PADDING? * move openlmi-tools blacklist from python2-target-recipes-blacklist.inc to layer.conf, because python-pywbem/python-m2crypto are blacklisted even when python2-target-recipes-blacklist.inc isn't included in DISTRO config so openlmi-tools need the same to fix: ERROR: Nothing PROVIDES 'python-m2crypto' (but meta-openembedded/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb DEPENDS on or otherwise requires it) python-m2crypto was skipped: Recipe is blacklisted: Not compatible with openssl-3, http://errors.yoctoproject.org/Errors/Details/614896/ SWIG/_m2crypto_wrap.c:32981:102: error: RSA_SSLV23_PADDING undeclared (first use in this function); did you mean RSA_NO_PADDING? ERROR: Nothing PROVIDES 'python-pywbem' (but meta-openembedded/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb DEPENDS on or otherwise requires it) python-pywbem was skipped: Recipe is blacklisted: depends on python-m2crypto which fails to build with openssl-3 ERROR: Nothing RPROVIDES 'openlmi-tools' (but meta-openembedded/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'openlmi-tools' NOTE: Runtime target 'openlmi-tools' is unbuildable, removing... Missing or unbuildable dependency chain was: ['openlmi-tools'] ERROR: Nothing RPROVIDES 'openlmi-tools-dev' (but meta-openembedded/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'openlmi-tools-dev' NOTE: Runtime target 'openlmi-tools-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['openlmi-tools-dev'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'conf/layer.conf')
-rw-r--r--conf/layer.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 2142b9a..4b3a106 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -17,3 +17,7 @@ LAYERDEPENDS_meta-python2 = "core openembedded-layer"
LAYERSERIES_COMPAT_meta-python2 = "honister"
LICENSE_PATH += "${LAYERDIR}/licenses"
+
+# meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
+PNBLACKLIST[openlmi-tools] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'depends on python-m2crypto which fails to build with openssl-3', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
+RDEPENDS:packagegroup-meta-oe-extended-python2:remove = "openlmi-tools"