[oe] [meta-qt5][dylan][RFC PATCH] qt5.inc: Fix qtbase-tools runtime depencency on perl

Christian Gagneraud chgans at gna.org
Wed Jul 24 05:13:54 UTC 2013


I'm not sure if it is the right way to do that, but here I go:

While building a custom rootfs using poky, meta-oe, meta-ti and meta-qt5 (all on Dylan branch), I got the following error:
[...]
| Computing transaction...error: Can't install qtbase-tools-5.0.2-r2.0 at armv7a_vfp_neon: no package provides /usr/bin/perl
[...]

qtbase-tools seems to depends and perl (at runtime), but this wasn't specified in any bb file, this patch fixes it.
---
 recipes-qt/qt5/qt5.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc
index 87bf5e8..955d5bd 100644
--- a/recipes-qt/qt5/qt5.inc
+++ b/recipes-qt/qt5/qt5.inc
@@ -22,6 +22,8 @@ OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}"
 
 PACKAGES =. "${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples "
 
+RDEPENDS_${PN}-tools += "perl"
+
 # extra -dbg packages
 FILES_${PN}-qmlplugins-dbg = " \
     ${OE_QMAKE_PATH_QML}/*/.debug \
-- 
1.8.1.2




More information about the Openembedded-devel mailing list