Skip to contentSkip to conversation

mime-construct, libextutils-parsexs-perl: add runtime dependency on perl

PATCH New Khem Raj 1 participant 3 messages Aug 17, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 mime-construct, libextutils-parsexs-perl: add runtime dependency on perl

Use += so it can use the RDEPS from cpan-base class

Fixes:
ERROR: QA Issue: /usr/bin/mime-construct contained in package mime-construct requires /usr/bin/perl, but no providers found in RDEPENDS_mime-construct? [file-rdeps]

---
 .../recipes-extended/mime-construct/mime-construct_1.11.bb      | 2 +-
 .../recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb +1 -1
index 501f3bf140..2516fbfcaa 100644
@@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a
 
 inherit cpan
 
-RDEPENDS_${PN} = "libmime-types-perl libproc-waitstat-perl msmtp \
+RDEPENDS_${PN} += "libmime-types-perl libproc-waitstat-perl msmtp \
     perl-module-filehandle perl-module-mime-base64 perl-module-mime-quotedprint perl-module-posix \
 "
 
meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb +1 -1
index 33707a0af6..f57e1224d4 100644
@@ -21,7 +21,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit cpan
 
-RDEPENDS_${PN} = " perl-module-carp \
+RDEPENDS_${PN} += " perl-module-carp \
     perl-module-cwd \
     perl-module-dynaloader \
     perl-module-extutils-cbuilder \
Signature · 1 line
2.22.1
author
#1 lore raw

PATCH 2/3 webmin: Add perl to rdeps for modules

Fixes
ERROR: webmin-1.850-r0 do_package_qa: QA Issue: /usr/libexec/webmin/ldap-client/stop.cgi contained in package webmin-module-ldap-client requires /usr/bin/perl, but no providers
found in RDEPENDS_webmin-module-ldap-client? [file-rdeps]

---
 meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb +2 -2
index ce9bc92805..d54d6223c8 100644
@@ -160,8 +160,8 @@ python populate_packages_prepend() {
         elif os.path.exists(themeinfo):
             themes.append(mod)
 
-    do_split_packages(d, wadir, '^(%s)$' % "|".join(modules), 'webmin-module-%s', 'Webmin module for %s', allow_dirs=True, prepend=True)
-    do_split_packages(d, wadir, '^(%s)$' % "|".join(themes), 'webmin-theme-%s', 'Webmin theme for %s', allow_dirs=True, prepend=True)
+    do_split_packages(d, wadir, '^(%s)$' % "|".join(modules), 'webmin-module-%s', 'Webmin module for %s', extra_depends='perl', allow_dirs=True, prepend=True)
+    do_split_packages(d, wadir, '^(%s)$' % "|".join(themes), 'webmin-theme-%s', 'Webmin theme for %s', extra_depends='perl', allow_dirs=True, prepend=True)
 }
 
 # Time-savers
Signature · 1 line
2.22.1
author
#2 lore raw

PATCH 3/3 hplip: Add python to rdeps

In reply to Khem Raj

Fixes
ERROR: QA Issue: /usr/share/hplip/upgrade.py contained in package hplip requires /usr/bin/python, but no providers found in RDEPENDS_hplip? [file-rdeps]

---
 meta-oe/recipes-extended/hplip/hplip_3.12.6.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/hplip/hplip_3.12.6.bb +1 -0
index 1f1e80ce82..77c995b57a 100644
@@ -41,6 +41,7 @@ EXTRA_OECONF += "\
 PACKAGES += "${PN}-ppd ${PN}-cups ${PN}-backend ${PN}-filter ${PN}-hal"
 
 RDEPENDS_${PN} += " \
+        python \
         python-syslog \
         python-pprint \
         python-compression \
Signature · 1 line
2.22.1