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

Christian Gagneraud chgans at gna.org
Wed Jul 24 21:31:47 UTC 2013


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 on perl (at runtime), but this wasn't specified in any bb file, this patch fixes it.

Signed-off-by: Christian Gagneraud <chgans at gna.org>
---
 recipes-qt/qt5/qtbase.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index f521a30..a72a3d6 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -23,6 +23,8 @@ SRC_URI += " \
 
 DEPENDS += "qtbase-native freetype jpeg libpng zlib openssl glib-2.0 ${ICU} udev ${XCB_DEPENDS} ${GL_DEPENDS} ${TSLIB_DEPENDS} ${FONTCONFIG_DEPENDS}"
 
+RDEPENDS_${PN}-tools += "perl"
+
 # to provide xcb/xcb_icccm.h, xcb/xcb_image.h, xcb/xcb_keysyms.h and dbus/dbus.h
 # XCB_DEPENDS += "xcb-util-wm xcb-util-image xcb-util-keysyms dbus"
 # reenable when we switch to "-qt-xcb" and build of 
-- 
1.8.1.2




More information about the Openembedded-devel mailing list