Skip to contentSkip to conversation

nodejs: fix QA error about /usr/bin/python dependency

PATCH New Martin Jansa 1 participant 2 messages Aug 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nodejs: fix QA error about /usr/bin/python dependency

* fixes:
ERROR: QA Issue:
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples contained in package nodejs-npm requires /usr/bin/python, but no providers found in RDEPENDS_nodejs-npm? [file-rdeps]

---
 meta-oe/recipes-devtools/nodejs/nodejs_10.16.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_10.16.2.bb +1 -1
index e259c45bea..d464e9d8af 100644
@@ -100,7 +100,7 @@ do_install_append_class-target() {
 
 PACKAGES =+ "${PN}-npm"
 FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm ${bindir}/npx"
-RDEPENDS_${PN}-npm = "bash python python-shell python-datetime python-subprocess python-textutils \
+RDEPENDS_${PN}-npm = "bash python-core python-shell python-datetime python-subprocess python-textutils \
     python-compiler python-misc python-multiprocessing"
 
 PACKAGES =+ "${PN}-systemtap"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 iotop: add runtime dependency on python-core

* fixes:
ERROR: QA Issue: /usr/sbin/iotop contained in package iotop requires /usr/bin/python, but no providers found in RDEPENDS_iotop? [file-rdeps]

---
 meta-oe/recipes-extended/iotop/iotop_0.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/iotop/iotop_0.6.bb +1 -1
index 94643cd24c..b01d7f64e6 100644
@@ -24,4 +24,4 @@ do_install_append() {
 
 RDEPENDS_${PN} = "python-curses python-textutils \
                   python-codecs python-ctypes python-pprint \
-                  python-shell python-subprocess"
+                  python-shell python-subprocess python-core"
Signature · 1 line
2.17.1