From 75350866970ae4b0bdba1082689ff0f2a8135127 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 27 Oct 2021 11:29:32 +0200 Subject: 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 --- conf/layer.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf/layer.conf') 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" -- cgit 1.2.3-korg