On 25/07/13 09:55, Martin Jansa wrote:
On Thu, Jul 25, 2013 at 09:31:47AM +1200, Christian Gagneraud wrote:
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@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.

Have you tried which files require perl?

I didn't, but now I did:
christiaga@krys-red:~/projects/yocto/poky-ti-qt5$ file build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.0.2-r2.0/package/usr/bin/qt5/*|grep -i perl build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.0.2-r2.0/package/usr/bin/qt5/syncqt: Perl script, ASCII text executable



Signed-off-by: Christian Gagneraud <[email protected]>
---
  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

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



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


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

Reply via email to