在 Ubuntu 14.04 上删除 local.conf 中的 wayland 时出现 bitbake 错误

bitbake error when remove wayland in local.conf on Ubuntu 14.04

我正在使用 Yocto Project 2.4 和 i.MX6 Quad sabreSD platform.I 在我的 Ubuntu 16.04 计算机上构建 Yocto Project。

我想在我的 rootFS 中安装 qt5.9 库,所以我使用以下命令构建我的映像。

bitbake fsl-image-qt5

之后,我尝试删除 wayland,因为我想使用 eglfs 来播放我的应用程序。 所以我将下面的行添加到 local.conf.

DISTRO_FEATURES_remove = "wayland"

然后再次尝试对 fsl-image-qt5 进行 bitbake,但这次我遇到了以下错误。

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/ && ( 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 ) && 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/ && ( 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 ) && 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/ && ( 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 ) && make -f Makefile
| cd examples/ && ( 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 ) && make -f Makefile
| cd tests/ && ( 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 ) && 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/ && ( 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 ) && 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/ && ( 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 ) && 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/ && ( 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 ) && make -f Makefile
| cd xmlpatternsvalidator/ && ( 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 ) && 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/ && ( 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 ) && make -f Makefile
| cd recipes/ && ( 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 ) && make -f Makefile
| cd filetree/ && ( 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 ) && make -f Makefile
| cd schema/ && ( 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 ) && 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/ && ( 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 ) && make -f Makefile
| cd cmake/ && ( 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 ) && make -f Makefile
| cd patternistexamplefiletree/ && ( 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 ) && make -f Makefile
| cd patternistexamples/ && ( 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 ) && 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/ && ( 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 ) && 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.

我在 Yocto Project 2.0 中执行的所有相同步骤都可以,但 Yocto Project 2.4 不行。

如何解决这个错误?

如果我希望将 -platform eglfs 用于 运行 我的应用程序,哪种方式最好?

您应该向发行版添加 eglfs 支持。

DISTRO_FEATURES_append = "eglfs"  

我重新安装了 Yocto 项目,它工作了。

我认为我 repo 源代码时出了点问题。

您应该从构建目录中删除 tmp/ 目录,并在 DISTRO_FEATURES

中的每次更改后重新构建整个目录