Skip to contentSkip to conversation

qtbase.inc: Fix qtbase-tools runtime depencency on perl

PATCH In review Christian Gagneraud 2 participants 4 messages Jul 24, 2013 – Jul 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase.inc: Fix qtbase-tools runtime depencency on perl

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.

---
 recipes-qt/qt5/qtbase.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-qt/qt5/qtbase.inc +2 -0
index f521a30..a72a3d6 100644
@@ -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 
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 6 lines · Christian Gagneraud

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?

Quoted 26 lines
---
 recipes-qt/qt5/qtbase.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-qt/qt5/qtbase.inc +2 -0
index f521a30..a72a3d6 100644
@@ -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 
Signature · 6 lines
1.8.1.2

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 9 lines · Martin Jansa
Quoted 6 lines · Christian Gagneraud

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
Quoted 35 lines
Quoted 23 lines
---
  recipes-qt/qt5/qtbase.inc | 2 ++
  1 file changed, 2 insertions(+)
recipes-qt/qt5/qtbase.inc +2 -1
index f521a30..a72a3d6 100644
@@ -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

Quoted 4 lines

_______________________________________________
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

#3 lore raw
Quoted 9 lines · Christian Gagneraud
Quoted 8 lines · Martin Jansa
Quoted 6 lines · Christian Gagneraud

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.

Quoted 8 lines
Quoted 1 line

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

Merged in dylan and master with small modifications, thanks.

Quoted 41 lines
Quoted 24 lines
Quoted 24 lines
---
  recipes-qt/qt5/qtbase.inc | 2 ++
  1 file changed, 2 insertions(+)
recipes-qt/qt5/qtbase.inc +2 -1
index f521a30..a72a3d6 100644
@@ -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

Quoted 12 lines
Quoted 4 lines

_______________________________________________
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

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]