Skip to contentSkip to conversation

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

RFC PATCH In review Christian Gagneraud 2 participants 2 messages Jul 24, 2013

lore
Share & tools
lore
#0 lore raw

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

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@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(+)
recipes-qt/qt5/qt5.inc +2 -0
index 87bf5e8..955d5bd 100644
@@ -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 \
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 8 lines · Christian Gagneraud

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@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.

Looks good, I'll check if it's just sync(.pl) which has perl shebang and apply this (in qtbase.inc, not qt5.inc).

Cheers,

Quoted 24 lines
---
 recipes-qt/qt5/qt5.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-qt/qt5/qt5.inc +2 -0
index 87bf5e8..955d5bd 100644
@@ -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 \
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]