Skip to contentSkip to conversation

freeradius: add runtime dependency on perl

PATCH In review Martin Jansa 2 participants 9 messages Aug 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 freeradius: add runtime dependency on perl

* fixes:
ERROR: QA Issue: /usr/bin/radcrypt contained in package freeradius-utils requires /usr/bin/perl, but no providers found in RDEPENDS_freeradius-utils? [file-rdeps]

---
 .../recipes-connectivity/freeradius/freeradius_3.0.17.bb        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/freeradius/freeradius_3.0.17.bb +1 -1
index 5ab9a3fb44..e0b04c1101 100644
@@ -224,4 +224,4 @@ FILES_${PN}-unixodbc = "${libdir}/rlm_sql_unixodbc.so*"
 FILES_${PN} =+ "${libdir}/rlm_*.so* ${libdir}/proto_*so*"
 
 RDEPENDS_${PN} += "perl"
-RDEPENDS_${PN}-utils = "${PN}"
+RDEPENDS_${PN}-utils = "${PN} perl"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/7 scsirastools: add runtime dependency on bash

* fixes:
ERROR: QA Issue: /etc/init.d/sgraid contained in package scsirastools-raidmon requires /bin/bash, but no providers found in RDEPENDS_scsirastools-raidmon? [file-rdeps]

---
 meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb +1 -1
index 77d3cfeef8..37d083c0ea 100644
@@ -44,4 +44,4 @@ FILES_${PN}-raidmon = "${sbindir}/sgraidmon ${sysconfdir}/init.d/sgraid"
 
 RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN}-diskmon += "${PN}"
-RDEPENDS_${PN}-raidmon += "${PN}"
+RDEPENDS_${PN}-raidmon += "${PN} bash"
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/7 libcec: add runtime dependency on python3-core

In reply to Martin Jansa

* fixes:
ERROR: QA Issue: /usr/bin/pyCecClient contained in package libcec-tools requires /usr/bin/python3, but no providers found in RDEPENDS_libcec-tools? [file-rdeps]

---
 meta-oe/recipes-extended/libcec/libcec_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/libcec/libcec_git.bb +1 -1
index 26664255d2..eaf6b9b437 100644
@@ -22,7 +22,7 @@ inherit cmake pkgconfig
 # Put client tools into a separate package
 PACKAGE_BEFORE_PN += "${PN}-tools"
 FILES_${PN}-tools = "${bindir}"
-RDEPENDS_${PN}-tools = "python3-${BPN}"
+RDEPENDS_${PN}-tools = "python3-${BPN} python3-core"
 
 # Create the wrapper for python3
 PACKAGES += "python3-${BPN}"
Signature · 1 line
2.17.1
#3 lore raw

PATCH 4/7 dnf-plugin-tui: add runtime dependency on bash

In reply to Martin Jansa

* fixes:
ERROR: QA Issue: /usr/lib/python3.7/site-packages/dnf-plugins/dnf-host contained in package dnf-plugin-tui requires /bin/bash, but no providers found in RDEPENDS_dnf-plugin-tui? [file-rdeps]
* fix the indentation as well

---
 .../dnf-plugin-tui/dnf-plugin-tui_git.bb      | 25 ++++++++++---------
 1 file changed, 13 insertions(+), 12 deletions(-)
meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb +13 -12
index e891868cda..a8367b5d91 100644
@@ -14,25 +14,26 @@ inherit distutils3-base
 S = "${WORKDIR}/git"
 
 do_install_append() {
-        install -d ${D}${datadir}/dnf
-        install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
-        install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
-        install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
-        for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
-            install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
-        done
+    install -d ${D}${datadir}/dnf
+    install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
+    install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
+    install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
+    for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
+        install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
+    done
 }
 
 do_install_append_class-target() {
-        install -d ${D}${sysconfdir}/yum.repos.d
-        install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
+    install -d ${D}${sysconfdir}/yum.repos.d
+    install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
 }
 
 FILES_${PN} += "${datadir}/dnf"
 
 RDEPENDS_${PN} += " \
-  dnf \
-  libnewt-python \
-  "
+    bash \
+    dnf \
+    libnewt-python \
+"
 
 BBCLASSEXTEND = "nativesdk"
Signature · 1 line
2.17.1
#4 lore raw

PATCH 5/7 edac-utils: add runtime dependency on perl

In reply to Martin Jansa

* fixes:
ERROR: QA Issue: /usr/sbin/edac-ctl contained in package edac-utils requires /usr/bin/perl, but no providers found in RDEPENDS_edac-utils? [file-rdeps]

---
 meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb +5 -1
index 2c0914d30a..09e7384882 100644
@@ -31,7 +31,11 @@ RDEPENDS_${PN}_aarch64 = "dmidecode"
 RDEPENDS_${PN}_powerpc = "dmidecode"
 RDEPENDS_${PN}_powerpc64 = "dmidecode"
 RDEPENDS_${PN}_append = " \
-    perl-module-file-basename perl-module-file-find perl-module-getopt-long perl-module-posix \
+    perl \
+    perl-module-file-basename \
+    perl-module-file-find \
+    perl-module-getopt-long \
+    perl-module-posix \
     perl-module-overload \
     perl-module-overloading \
     perl-module-file-glob \
Signature · 1 line
2.17.1
#5 lore raw

PATCH 6/7 lmsensors: add runtime dependency on bash

In reply to Martin Jansa

* fixes:
ERROR: QA Issue: /usr/sbin/pwmconfig contained in package lmsensors-pwmconfig requires /bin/bash, but no providers found in RDEPENDS_lmsensors-pwmconfig? [file-rdeps]

---
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb +1 -1
index b4fcfe3edb..585dc94810 100644
@@ -144,7 +144,7 @@ RDEPENDS_${PN}-sensorsconfconvert = "${PN}-sensors perl perl-modules"
 # pwmconfig script files
 FILES_${PN}-pwmconfig = "${sbindir}/pwmconfig"
 FILES_${PN}-pwmconfig-doc = "${mandir}/man8/pwmconfig.8"
-RDEPENDS_${PN}-pwmconfig = "${PN}-fancontrol"
+RDEPENDS_${PN}-pwmconfig = "${PN}-fancontrol bash"
 
 # isadump and isaset helper program files
 FILES_${PN}-isatools = "${sbindir}/isa*"
Signature · 1 line
2.17.1
#6 lore raw

PATCH 7/7 libdbi-perl: add runtime dependency on perl

In reply to Martin Jansa

* fixes:
ERROR: QA Issue: /usr/bin/dbiproxy contained in package libdbi-perl requires /usr/bin/perl, but no providers found in RDEPENDS_libdbi-perl? [file-rdeps]

---
 meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +1 -0
index 91f94a1aa0..7532b3fa22 100644
@@ -28,6 +28,7 @@ do_install_prepend() {
 }
 
 RDEPENDS_${PN}_class-target = " \
+    perl \
     perl-module-carp \
     perl-module-exporter \
     perl-module-exporter-heavy \
Signature · 1 line
2.17.1
#7 lore raw

Re: [meta-oe][PATCH 7/7] libdbi-perl: add runtime dependency on perl

Quoted 14 lines · Martin Jansa

* fixes:
ERROR: QA Issue: /usr/bin/dbiproxy contained in package libdbi-perl requires /usr/bin/perl, but no providers found in RDEPENDS_libdbi-perl? [file-rdeps]

---
 meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +0 -0
index 91f94a1aa0..7532b3fa22 100644

meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb do_install_prepend() { · line 31

Quoted 4 lines
meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +1 -0
@@ -28,6 +28,7 @@ do_install_prepend() {
 }
 
 RDEPENDS_${PN}_class-target = " \
+    perl \

should this be make RDEPENDS_${PN}_append_class-target so it can pick the perl rdep from cpan-base class ?

Quoted 11 lines
meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +0 -1
     perl-module-carp \
     perl-module-exporter \
     perl-module-exporter-heavy \
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#8 lore raw
In reply to Martin Jansa

Martin thanks for doing these patches, the builds have been showing these erorrs for few
days now. I was also wondering if we should also take opportunity move the dependent
files to their own packages in some cases. but this set looks fine

Quoted 27 lines · Martin Jansa

* fixes:
ERROR: QA Issue: /usr/bin/radcrypt contained in package freeradius-utils requires /usr/bin/perl, but no providers found in RDEPENDS_freeradius-utils? [file-rdeps]

---
 .../recipes-connectivity/freeradius/freeradius_3.0.17.bb        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/freeradius/freeradius_3.0.17.bb +1 -2
index 5ab9a3fb44..e0b04c1101 100644
@@ -224,4 +224,4 @@ FILES_${PN}-unixodbc = "${libdir}/rlm_sql_unixodbc.so*"
 FILES_${PN} =+ "${libdir}/rlm_*.so* ${libdir}/proto_*so*"
 
 RDEPENDS_${PN} += "perl"
-RDEPENDS_${PN}-utils = "${PN}"
+RDEPENDS_${PN}-utils = "${PN} perl"
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel