I need to build OpenDDS-3.13.1 with bitbake for my Yocto project. Target is for now only QEMU.
However, I downloaded the sources (they configure, compile and link on the host system quite well) and linked them into my recipe.
Inheriting "autoconf" causes an error in the configuration step, it can somehow not expand the default arguments (which is already odd).
After some searching I found a pretty old discussion about this topic: https://lists.yoctoproject.org/pipermail/yocto/2011-July/002126.html
My recipe currently looks as follows:
FILESEXTRAPATHS_prepend := "[PATH_TO_SOURCE]:"
PV = "3.13.1"
SRC_URI = "file://${PN}-${PV}.tar.gz"
S = "${WORKDIR}/${PN}-${PV}"
B = "${S}"
do_configure() {
./configure
}
do_compile() {
make
}
At the moment the configuration step runs successfully, but compiling fails as it cannot find header files. As mentioned in the mailing list post above, I tried to add the CXXFLAGS to the configuration step. This will step over the first missing include ("features") but stops at the next one ("sting"). Both headers are available in ${S} and ${B} respectivly, therefor are also part of ${STAGING_DIR_HOST}.
What am I missing here? I actually expected all step are implicitly covered by inheriting autotools.
Edit:
as requested here is the log output:
DEBUG: Executing shell function do_compile
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ace'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ace/GNUmakefile.ACE MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ace'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ACEXML/common'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ACEXML/common/GNUmakefile.ACEXML MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ACEXML/common'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ACEXML/parser/parser'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ACEXML/parser/parser/GNUmakefile.ACEXML_Parser MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/ACEXML/parser/parser'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_FE MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_A MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_C MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_E MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_I MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_O MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_S MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_U MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_BE_VIS_V MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/apps/gperf/src'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/apps/gperf/src/GNUmakefile.gperf MAKEFLAGS=w
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/apps/gperf/src'
make[1]: Entering directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile: /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL/GNUmakefile.TAO_IDL_EXE MAKEFLAGS=w
x86_64-poky-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/recipe-sysroot -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor -ggdb -pthread -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -D_GNU_SOURCE -I/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers -D__ACE_INLINE__ -I../.. -I../TAO_IDL/fe -I../TAO_IDL/include -I.. -Iinclude -Ibe_include -Ife -I.. -DTAO_IDL_PREPROCESSOR=\"x86_64-poky-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/recipe-sysroot\" -c -o .obj/driver/drv_args.o driver/drv_args.cpp
<command-line>:0:22: warning: missing terminating " character
driver/drv_args.cpp:69:10: fatal error: string: No such file or directory
#include <string>
^~~~~~~~
compilation terminated.
/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/include/makeinclude/rules.local.GNU:134: recipe for target '.obj/driver/drv_args.o' failed
make[1]: *** [.obj/driver/drv_args.o] Error 1
make[1]: Leaving directory '/media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/OpenDDS-3.13.1/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile.dist:568: recipe for target 'TAO_IDL_EXE' failed
make: *** [TAO_IDL_EXE] Error 2
WARNING: exit code 2 from a shell command.
ERROR: Function failed: do_compile (log file is located at /media/work/10_Projects/Yocto/blub/build/tmp/work/core2-64-poky-linux/OpenDDS/3.13.1-r0/temp/log.do_compile.15963)
For openDDS the usual cross-compiling approach does not work out of the box. Here you need to run the compile process on and within your host machines context and reference your cross compiler which will than be used by the build system of openDDS.
Here is how to get it run:
The configure script from the openDDS sources does not accept additional arguments to the cross-compilers which are needed by bitbake. Therefore I wrapped them into scripts which replace the final calls to the CC, CXX, LD and AR:
Create a new task after do_unpack doing the following
extract the binary names from the variables (CC, CXX and AR) and create a local script with the same name
insert shebang into the just created wrapper script
append the whole value of the variable (here $CC) into the wrapper script
make wrapper executable
cc_wrapper=`echo ${CC} | cut -f 1 -d\ `
echo '#!/bin/sh' > ${S}/${cc_wrapper}
echo "${CC} \"\$#\"" >> ${S}/${cc_wrapper}
chmod +x ${S}/${cc_wrapper}
do the same for CXX and AR
Override the configure step
extract the full path to the target cross compiler
target_compiler="${S}/`echo ${CXX} | cut -f 1 -d\ `"
and replace CC variable which points to the bitbake cross-compiler with the host native ones:
export CC=$BUILD_CC
do the same for CXX and AR too
do the final call to the configure script with the expected cross compile options
./configure --target=linux-cross --target-compiler=$target_compiler
(Note the reference to $target_compiler set above)
Override the compile step
export again CC, CXX, AR and in addition LD to point to the hosts native instances
export CC=$BUILD_CC
finally just call make within the compile step, that should make it happen!
I actually expected all step are implicitly covered by inheriting
autotools.
But you don't inherit autotools. Anyway that won't help because OpenDDS doesn't use autotools.
First some cleanup: FILESEXTRAPATH should be removed, call the recipe name_version.bb and you can remove PV, those S and B values are the defaults. Your do_compile is basically doing the same as the default. SRC_URI should be https://github.com/objectcomputing/OpenDDS/releases/download/DDS-3.13.1/OpenDDS-3.13.1.tar.gz surely.
The important thing is what is the output of the do_configure task. OpenDDS has a hand-coded and one-off configure which you'll need to carefully call. From glancing at the script, it looks like passing --target is a good start.
Related
im getting this error when I compile the project. This only happens to me. My other co-workers doesn't have this issue.
error: lipo: no input files specified
usage: lipo <input_file> <command> [<options> ...]
command is one of:
-archs
-create
-detailed_info
-extract <arch_type> [-extract <arch_type> ...]
-extract_family <arch_type> [-extract_family <arch_type> ...]
-info
-remove <arch_type> [-remove <arch_type> ...]
-replace <arch_type> <file_name> [-replace <arch_type> <file_name> ...]
-thin <arch_type>
-verify_arch <arch_type> ...
options are one or more of:
-arch <arch_type> <input_file>
-hideARM64
-output <output_file>
-segalign <arch_type> <alignment>
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
mv: rename /Users/42427/Library/Developer/Xcode/DerivedData/PROJECTNAME/Build/Products/Debug (UAT)-iphonesimulator/GBM.app/Frameworks/PatronSDK.framework/PatronSDK-merged to /Users/42427/Library/Developer/Xcode/DerivedData/PROJECTNAME/Build/Products/Debug (UAT)-iphonesimulator/GBM.app/Frameworks/PatronSDK.framework/PatronSDK: No such file or directory
The PatronSDK is a framework embed with the project, is not a Pod. I tried to search the specified directory and I realice that one file is missing and its the PatronSDK. That file is automatically created in the project of my co-workers however in my project is missing after the compilation is finished.
I tried to add the file manually into the directory. Do a clean build but have the same result. After compile, the file is missing in the directory.
I also tried to delete the derived data, delete Xcode and installing again, clone again the project in other route but the issue is always the same
Does anyone know how I can resolve this? I'm running out of options
I'm using Yocto Project 2.4 and i.MX6 Quad sabreSD platform.I build Yocto Project on my Ubuntu 16.04 computer.
I want to have qt5.9 library in my rootFS so I build my image with below command.
bitbake fsl-image-qt5
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.
DISTRO_FEATURES_remove = "wayland"
Then try to bitbake fsl-image-qt5 again but this time I got below error.
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.
All the same steps that I did in Yocto Project 2.0 could work but Yocto Project 2.4 couldn't.
How to fix this error?
If I wish to use -platform eglfs to run my application, which way is the best to achieve it?
You should to add eglfs support to distro.
DISTRO_FEATURES_append = "eglfs"
I reinstall Yocto project and it works.
I think there is something got wrong when I repo the source code.
You should remove tmp/ directory from your build directory and rebuild the whole thing again after every change in DISTRO_FEATURES
I have been attempting to install Perl 5-22.0 locally on a server (on SUSE Linux x86_64). I was able to run .configure on the source code, but following the make command, I obtained the following error:
CE=2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I../.." ODBM_File.c
ODBM_File.xs: In function ‘XS_ODBM_File_DESTROY’:
ODBM_File.xs:128: error: too few arguments to function ‘dbmclose’
make[1]: *** [ODBM_File.o] Error 1
make[1]: Leaving directory `/home1/02568/mshpak/perl/perl-5.22.0/ext/ODBM_File'
make[1]: Entering directory `/home1/02568/mshpak/perl/perl-5.22.0/ext/ODBM_File'
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I../.." ODBM_File.c
ODBM_File.xs: In function ‘XS_ODBM_File_DESTROY’:
ODBM_File.xs:128: error: too few arguments to function ‘dbmclose’
make[1]: *** [ODBM_File.o] Error 1
make[1]: Leaving directory `/home1/02568/mshpak/perl/perl-5.22.0/ext/ODBM_File'
Unsuccessful make(ext/ODBM_File): code=512 at make_ext.pl line 574.
make: *** [lib/auto/ODBM_File/ODBM_File.so] Error 25
What is error code 512, and is there a straightforward way to correct this (presumably something related to the ODBM_File directory's contents)?
Thank you
This is a known issue on SUSE Linux:
error: too few arguments to function 'dbmclose'
Building ODBM_File on some (Open)SUSE distributions might run into this error, as the header file is broken. There are two ways to deal with this
Disable the use of ODBM_FILE
Configure ... -Dnoextensions=ODBM_File
Fix the header file, somewhat like this:
--- a/usr/include/dbm.h 2010-03-24 08:54:59.000000000 +0100
+++ b/usr/include/dbm.h 2010-03-24 08:55:15.000000000 +0100
## -59,4 +59,4 ## extern datum firstkey __P((void));
extern datum nextkey __P((datum key));
-extern int dbmclose __P((DBM *));
+extern int dbmclose __P((void));
I'm trying to build lstrip, a Lua utility for compressing Lua source code. I'm trying to build for Lua 5.1.3 on OS X v10.10.3.
I have downloaded and extracted the Lua 5.1.3 source code and modified the Makefile for lstrip to point to this directory. However, when I run make, I get this output:
cc -I/usr/local/src/lua-5.1.3/src -I/usr/local/src/lua-5.1.3/src -O2 -Wall -Wextra -O2 -c -o lstrip.o lstrip.c
lstrip.c:33:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char* argv[])
^
1 warning generated.
sed '/void luaX_next/i#include "proxy.c"' /usr/local/src/lua-5.1.3/src/llex.c > llex.c
sed: 1: "/void luaX_next/i#inclu ...": command i expects \ followed by text
make: *** [llex.c] Error 1
This is what the relevant Makefile command looks like:
llex.c:
sed '/void luaX_next/i#include "proxy.c"' $(LUASRC)/$# > $#
I think that this is because the # in the sed command is being treated like an actual comment, but I'm not sure.
How can I fix the Makefile, or manually run the steps, to get lstrip built?
Full copy of the Makefile follows, in case it matters:
# makefile for lstrip
# change these to reflect your Lua installation (Lua 5.1!)
LUA= /usr/local/src/lua-5.1.3
LUAINC= $(LUA)/src
LUALIB= $(LUA)/src
LUASRC= $(LUA)/src
# no need to change anything below here
CFLAGS= $(INCS) $(WARN) -O2 $G
WARN= -O2 -Wall -Wextra
INCS= -I$(LUAINC) -I$(LUASRC)
LIBS= -L$(LUALIB) -llua -lm
MYNAME= lstrip
MYLIB= $(MYNAME)
T= $(MYNAME)
OBJS= $(MYNAME).o llex.o
TEST= test.lua
all: test
test: $T
$T $(TEST)
$T: $(OBJS)
$(CC) -o $# $(OBJS) $(LIBS)
llex.c:
sed '/void luaX_next/i#include "proxy.c"' $(LUASRC)/$# > $#
llex.o: proxy.c
clean:
-rm -f $(OBJS) core core.* a.out $(MYNAME)
# eof
Hand-build solution:
cp /usr/local/src/lua-5.1.3/src/llex.c .
Hand-edit llex.c to add the line #include "proxy.c" before the line starting with void luaX_next (line 446 for me).
Now run make, which will succeed.
You can find the answer in the sed manual, and it is in the Makefile lines
llex.c:
sed '/void luaX_next/i#include "proxy.c"' $(LUASRC)/$# > $#
Some variable expansion takes place here:
$(LUASRC) is expanded to the variable set above -> $(LUA)/src. Recurse as needed.
$# is replaced with the current target (llex.c)
So this recipe says:
In order to obtain the target llex.c (which will be processed later through other recipes), apply a stream editing command to the file $LUASRC/llex.c and write it to llex.c.
The stream editing command is: look for text "void luaX_next", before printing it, insert line "#include "proxy.c"".
Problem is, the command to do this is not "i" but "i\(newline)", which conflicts with a requirement of Makefiles that recipes must be on a single line.
I suspect that in order to fix your Makefile you need to use a different command than sed; awk can fit the bill although it's a bit more complex.
This line works in Mac OS X and in Linux:
sed '/void luaX_next/{h;s/.*/#include "proxy.c"/;p;g;}' $(LUASRC)/$# > $#
I found this project which seems to make it possible to run an iPhone app from command line !
http://github.com/jhaynie/iphonesim
Unfortunately there is almost no documentation and i'm stuck at building this project :
I download all sources
I run MakeFile and i get these errors :
admin$ ./Makefile
./Makefile: line 4: -Werror: command not found
./Makefile: line 5: AppKit: command not found
./Makefile: line 6: Source/main.o: No such file or directory
./Makefile: line 11: .SUFFIXES:: command not found
./Makefile: line 12: .m.o:: command not found
./Makefile: line 13: -o: No such file or directory
./Makefile: line 15: all:: command not found
./Makefile: line 17: iphonesim:: command not found gcc-4.2: argument to '-o' is missing
./Makefile: line 20: clean:: command not found
As anybody been able to build and use this project ?
Thanks,
Vincent
Makefile is not a program or a script. Run 'make' to build the iphonesim program.
Ok i found the answer, makeFile is a conf file, make is the command :
make
gcc -Wall -Werror -I. -ISource -c Source/main.m -o Source/main.o
gcc -Wall -Werror -I. -ISource -c Source/nsprintf.m -o Source/nsprintf.o
cc1obj: warnings being treated as errors
Source/nsprintf.m: In function ‘nsvfprintf’:
Source/nsprintf.m:12: warning: format not a string literal and no format arguments
make: *** [Source/nsprintf.o] Error 1
To resolve the warning treated as an error, edit the makeFile and remove -Werror from this line :
CFLAGS=-Wall -Werror -I. -ISource