title: bitbake error when remove wayland in local.conf on Ubuntu 14.04
body: <p>I'm using Yocto Project 2.4 and i.MX6 Quad sabreSD platform.I build Yocto Project on my Ubuntu 16.04 computer.</p>
  
  <p>I want to have qt5.9 library in my rootFS so I build my image with below command.</p>
  
  <pre><code>bitbake fsl-image-qt5
  </code></pre>
  
  <p>After that, I tried to remove wayland cause I want to use eglfs to play my application.
  So I add below line into local.conf.</p>
  
  <pre><code>DISTRO_FEATURES_remove = "wayland"
  </code></pre>
  
  <p>Then try to bitbake fsl-image-qt5 again but this time I got below error.</p>
  
  <pre><code>NOTE: Executing SetScene Tasks
  NOTE: Executing RunQueue Tasks
  ERROR: qtxmlpatterns-5.9.4+gitAUTOINC+757fc81657-r0 do_compile: oe_runmake failed
  ERROR: qtxmlpatterns-5.9.4+gitAUTOINC+757fc81657-r0 do_compile: Function     failed: do_compile (log file is located at /mnt/raid/forenex/yocto2.4/build-    wayland-q/tmp/work/cortexa9hf-neon-poky-linux-    gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/temp/log.do_compile.12439)
  ERROR: Logfile of failure stored in: /mnt/raid/forenex/yocto2.4/build-    wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/temp/log.do_compile.12439
  Log data follows:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 4 MAKEFLAGS=-j 4 OE_QMAKE_COMPILER=arm-poky-linux-gnueabi-    gcc  -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --    sysroot=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-    poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot     OE_QMAKE_CC=arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfpu=neon -mfloat-    abi=hard -mcpu=cortex-a9 --sysroot=/mnt/raid/forenex/yocto2.4/build-wayland-    q/tmp/work/cortexa9hf-neon-poky-linux-    gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot     OE_QMAKE_CXX=arm-poky-linux-gnueabi-g++  -march=armv7-a -mfpu=neon -mfloat-    abi=hard -mcpu=cortex-a9 --sysroot=/mnt/raid/forenex/yocto2.4/build-wayland-    q/tmp/work/cortexa9hf-neon-poky-linux-    gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot     OE_QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-    map=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-    linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0=/usr/src/debug/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0 -fdebug-prefix-map=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native= -fdebug-prefix-map=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot=  OE_QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0=/usr/src/debug/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0 -fdebug-prefix-map=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native= -fdebug-prefix-map=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot=  -fvisibility-inlines-hidden OE_QMAKE_LINK=arm-poky-linux-gnueabi-g++  -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot OE_QMAKE_LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed OE_QMAKE_AR=arm-poky-linux-gnueabi-ar OE_QMAKE_STRIP=echo OE_QMAKE_WAYLAND_SCANNER=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/wayland-scanner OE_QMAKE_INCDIR_QT=/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot//usr/include/qt5
  | cd src/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-        q/tmp/work/cortexa9hf-neon-poky-linux-    gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/src/src.pro ) &amp;&amp; make -    f Makefile
  | make[1]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/src'
  | cd xmlpatterns/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/src/xmlpatterns/xmlpatterns.pro ) &amp;&amp; make -f Makefile
  | make[2]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/src/xmlpatterns'
  | make[2]: Nothing to be done for `first'.
  | make[2]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/src/xmlpatterns'
  | make[1]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/src'
  | cd tools/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tools/tools.pro ) &amp;&amp; make -f Makefile
  | cd examples/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/examples/examples.pro ) &amp;&amp; make -f Makefile
  | cd tests/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/tests.pro ) &amp;&amp; make -f Makefile
  | make[1]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests'
  | cd auto/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/auto.pro ) &amp;&amp; make -f Makefile
  | make[1]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples'
  | cd xmlpatterns/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/examples/xmlpatterns/xmlpatterns.pro ) &amp;&amp; make -f Makefile
  | make[1]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tools'
  | cd xmlpatterns/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tools/xmlpatterns/xmlpatterns.pro ) &amp;&amp; make -f Makefile
  | cd xmlpatternsvalidator/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tools/xmlpatternsvalidator/xmlpatternsvalidator.pro ) &amp;&amp; make -f Makefile
  | make[2]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-    q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns'
  | cd xquery/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/examples/xmlpatterns/xquery/xquery.pro ) &amp;&amp; make -f Makefile
  | cd recipes/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/examples/xmlpatterns/recipes/recipes.pro ) &amp;&amp; make -f Makefile
  | cd filetree/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/examples/xmlpatterns/filetree/filetree.pro ) &amp;&amp; make -f Makefile
  | cd schema/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/examples/xmlpatterns/schema/schema.pro ) &amp;&amp; make -f Makefile
  | make[2]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto'
  | cd checkxmlfiles/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-    wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/checkxmlfiles/checkxmlfiles.pro ) &amp;&amp; make -f Makefile
  | cd cmake/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/cmake/cmake.pro ) &amp;&amp; make -f Makefile
  | cd patternistexamplefiletree/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistexamplefiletree/patternistexamplefiletree.pro ) &amp;&amp; make -f Makefile
  | cd patternistexamples/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistexamples/patternistexamples.pro ) &amp;&amp; make -f Makefile
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns/xquery'
  | make[3]: Nothing to be done for `first'.
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns/xquery'
  | make[2]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tools/xmlpatterns'
  | make[2]: Nothing to be done for `first'.
  | make[2]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tools/xmlpatterns'
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/cmake'
  | make[3]: Nothing to be done for `first'.
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-    q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/cmake'
  | cd patternistheaders/ &amp;&amp; ( test -e Makefile || /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistheaders/patternistheaders.pro ) &amp;&amp; make -f Makefile
  | make[2]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tools/xmlpatternsvalidator'
  | make[2]: Nothing to be done for `first'.
  | make[2]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-    q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tools/xmlpatternsvalidator'
  | make[1]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tools'
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/patternistexamplefiletree'
  | compiling /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistexamplefiletree/tst_patternistexamplefiletree.cpp
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns/recipes'
  | make[3]: Nothing to be done for `first'.
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-    r0/build/examples/xmlpatterns/recipes'
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns/schema'
  | make[3]: Nothing to be done for `first'.
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-    r0/build/examples/xmlpatterns/schema'
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/checkxmlfiles'
  | compiling /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns/filetree'
  | make[3]: Nothing to be done for `first'.
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns/filetree'
  | make[2]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples/xmlpatterns'
  | make[1]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/examples'
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/patternistheaders'
  | compiling /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistheaders/tst_patternistheaders.cpp
  | make[3]: Entering directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/patternistexamples'
  | compiling /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistexamples/tst_patternistexamples.cpp
  | /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistexamplefiletree/tst_patternistexamplefiletree.cpp:54:10: fatal error: tst_patternistexamplefiletree.moc: No such file or directory
  |  #include "tst_patternistexamplefiletree.moc"
  |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  | compilation terminated.
  | make[3]: *** [.obj/tst_patternistexamplefiletree.o] Error 1
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/patternistexamplefiletree'
  | make[2]: *** [sub-patternistexamplefiletree-make_first] Error 2    
  | make[2]: *** Waiting for unfinished jobs....
  | /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp:96:10: fatal error: tst_checkxmlfiles.moc: No such file or directory
  |  #include "tst_checkxmlfiles.moc"
  |           ^~~~~~~~~~~~~~~~~~~~~~~
  | compilation terminated.
  | make[3]: *** [.obj/tst_checkxmlfiles.o] Error 1
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/checkxmlfiles'
  | make[2]: *** [sub-checkxmlfiles-make_first] Error 2
  | /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistexamples/tst_patternistexamples.cpp:346:10: fatal error: tst_patternistexamples.moc: No such file or directory
  |  #include "tst_patternistexamples.moc"
  |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  | compilation terminated.
  | make[3]: *** [.obj/tst_patternistexamples.o] Error 1
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/patternistexamples'
  | make[2]: *** [sub-patternistexamples-make_first] Error 2
  | /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/git/tests/auto/patternistheaders/tst_patternistheaders.cpp:124:10: fatal error: tst_patternistheaders.moc: No such file or directory
  |  #include "tst_patternistheaders.moc"
  |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  | compilation terminated.
  | make[3]: *** [.obj/tst_patternistheaders.o] Error 1
  | make[3]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto/patternistheaders'
  | make[2]: *** [sub-patternistheaders-make_first] Error 2
  | make[2]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests/auto'
  | make[1]: *** [sub-auto-make_first] Error 2
  | make[1]: Leaving directory `/mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/build/tests'
  | make: *** [sub-tests-make_first] Error 2
  | ERROR: oe_runmake failed
  | WARNING: exit code 1 from a shell command.
  | ERROR: Function failed: do_compile (log file is located at     /mnt/raid/forenex/yocto2.4/build-wayland-q/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtxmlpatterns/5.9.4+gitAUTOINC+757fc81657-r0/temp/log.do_compile.12439)
  ERROR: Task (/mnt/raid/forenex/yocto2.4/sources/meta-qt5/recipes-    qt/qt5/qtxmlpatterns_git.bb:do_compile) failed with exit code '1'
  NOTE: Tasks Summary: Attempted 5855 tasks of which 5853 didn't need to be rerun     and 1 failed.
  </code></pre>
  
  <p>All the same steps that I did in Yocto Project 2.0 could work but Yocto Project 2.4 couldn't.</p>
  
  <p>How to fix this error?</p>
  
  <p>If I wish to use <code>-platform eglfs</code> to run my application, which way is the best to achieve it?</p>