Open embedded toolchain build " bitbake -k meta-toolchain-qt5" fails

I am trying to build Qt tool chain for T20 SOM.
both the below builds succeed

bibake meta-toolchain-qt

bitbake meta-toolchain-qte

but qt5 fails with

ERROR: Task 847 (/home/serpent/oe-core/build/../stuff/meta-qt5/recipes-qt/qt5/, do_compile) failed with exit code '1'

I am attaching the log file. Any help will be appreciated. I am new to linux.
building and deploying without qt, I have succeeded on T20.
But here I am stuck.

Log File

link text

Can you provide the versions of all layers you try to build?
E.g. the head of the bitbake build output which contains that?

You could try if this change to meta-qt5 helps:

diff --git a/recipes-qt/qt5/ b/recipes-qt/qt5/
index 62c0ab5..7d1ab5e 100644
--- a/recipes-qt/qt5/
+++ b/recipes-qt/qt5/
@@ -232,7 +232,7 @@ do_install_append() {
         cp -d ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_QT_FONTS}
         chown -R root:root ${D}/${OE_QMAKE_PATH_QT_FONTS}
-    cp -d ${B}/lib/libQt* ${D}${libdir}
+    cp -d ${B}/lib/libqt* ${D}${libdir}
     # Remove file as it is useless
     rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/

Did work! Thanks. But this naming issue wasted my two days.
Now successfully built.

where can i add this patch file?

where can i add this patch file?

If you are using repo synced to LinuxImageV2.7 this should not be required any more. Which version do you use?

Assuming you followed this instructions and you really did setup your OE build for 2.6 you should have gotten the fix. You would find the file here:

Actually i used LinuxImageV2.6.1 to build Qt tool chain for IMX6DL.


Ok, I now see what happend.
The last update to toradex-bsp-platform for 2.6.1 accidentially dropped that patch in meta-qt5.

You could either update meta-qt5 by hand:

cd layers/meta-qt5
git merge a8d4dafdfde812e403315d53b2a981d12bd49f04

or use the now updated toradex-bsp-platform (don’t delete anything)

repo init -b LinuxImageV2.7
repo sync


Thanks a lot for your answer, now i am trying to build angstrom-lxde-image(bitbake -k angstrom-lxde-image) using V2.7 but i got the following error can you help me please:
ERROR: Task (/home/IMX_V2.7/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/ failed with exit code ‘1’

I guess you now deviate a lot from the original question.

So you should start a new one, and while doing so you could also add whatever useful information you could add, e.g.

  • what exact version of things are you using,
  • why do you now it failed, e.g. what are the exact error messages,
  • what distro/version are you compiling OE on,
  • how did you add qtwayland to the angstrom-lxde-image

Log File

Yes that’s what i did i start a new build process using LinuxImageV2.7 (v2016.12) and i use to add qtwayland in local.conf
DISTRO_FEATURES_remove = “wayland”
IMAGE_INSTALL_append = “qtwayland”
then i get the following msg error (after the execute of bitbake -k angstrom-lxde-image)
ERROR: Task (/home/oe-core/build/…/layers/meta-qt5/recipes-qt/qt5/ failed with exit code ‘1’