Skip to contentSkip to conversation

fix "Nothing RPROVIDES" when multilib enabled

PATCH New [email protected] 1 participant 4 messages Jul 11, 2019

lore
Share & tools
lore
#0 lore raw

cover fix "Nothing RPROVIDES" when multilib enabled

From: Changqing Li <[email protected]>

These 3 recipe have similar problem, when multilib is enabled, Eg, for satyr, PN is expaned to lib32-satyr, so packages will name like lib32-python3-lib32-satyr, fixed by use BPN.

Changqing Li (3):
volume-key: fix "Nothing RPROVIDES" when multilib enabled
isomd5sum: fix "Nothing RPROVIDES" when multilib enabled
satyr: fix "Nothing RPROVIDES" when multilib enabled

 meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.3.bb    | 8 ++++----
 meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb | 7 +++----
 meta-oe/recipes-support/satyr/satyr_0.27.bb              | 4 ++--
 3 files changed, 9 insertions(+), 10 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/3 volume-key: fix "Nothing RPROVIDES" when multilib enabled

From: Changqing Li <[email protected]>

Multilib enabled, and add IMAGE_INSTALL_append = " python3-volume-key" in local.conf

fix below problem:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-python3-volume-key']

---
 meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb +3 -4
index 398ca5c..3103748 100644
@@ -31,8 +31,7 @@ PACKAGECONFIG ??= "python3"
 PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
 PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
 
-RDEPENDS_python3-${PN} += "${PN}"
-
-PACKAGES += "python3-${PN}"
-FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
+RDEPENDS_python3-${BPN} += "${PN}"
 
+PACKAGES += "python3-${BPN}"
+FILES_python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/*"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/3 isomd5sum: fix "Nothing RPROVIDES" when multilib enabled

In reply to [email protected]

From: Changqing Li <[email protected]>

Multilib enabled, and add IMAGE_INSTALL_append = " python3-isomd5sum" in local.conf

fix below problem:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-python3-isomd5sum']

---
 meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.3.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.3.bb +4 -4
index 83e8385..b7899a1 100644
@@ -2,7 +2,7 @@ SUMMARY = "Tools for taking the MD5 sum of ISO images"
 DESCRIPTION = "Tools for taking the MD5 sum of ISO images"
 
 DEPENDS = "popt python3 openssl curl popt-native"
-RDEPENDS_${PN} = "openssl curl"
+RDEPENDS_${BPN} = "openssl curl"
 
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
@@ -25,11 +25,11 @@ do_install () {
     oe_runmake install
 }
 
-PACKAGES += "${PYTHON_PN}-${PN}"
+PACKAGES += "${PYTHON_PN}-${BPN}"
 
-RPROVIDES_${PN}-dbg += "${PYTHON_PN}-${PN}-dbg"
+RPROVIDES_${BPN}-dbg += "${PYTHON_PN}-${BPN}-dbg"
 
-FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so"
+FILES_${PYTHON_PN}-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so"
 
 SRCREV = "7860901f726f5d92689cb67243cc7f981f21f74b"
 
Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/3 satyr: fix "Nothing RPROVIDES" when multilib enabled

In reply to [email protected]

From: Changqing Li <[email protected]>

Multilib enabled, and add IMAGE_INSTALL_append = " python3-satyr" in local.conf

fix below problem:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-python3-satyr']

---
 meta-oe/recipes-support/satyr/satyr_0.27.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/satyr/satyr_0.27.bb +2 -2
index 10dfc2b..cc07dcb 100644
@@ -19,8 +19,8 @@ DEPENDS += " \
     gdb \
 "
 
-PACKAGES += "python3-${PN}"
-FILES_python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}/${BPN}"
+PACKAGES += "python3-${BPN}"
+FILES_python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/${BPN}"
 
 PACKAGECONFIG ??= "python3 rpm"
 PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2"
Signature · 1 line
2.7.4