AnsweredAssumed Answered

Building an image of "imx-yocto-L4.14.98-2.0.0_ga" got an error: cec-compliance.cpp: No such file or directory

Question asked by tadaharu yamazaki on Sep 18, 2019
Latest reply on Sep 18, 2019 by tadaharu yamazaki

Hello:
I'm trying to build an image of "imx-yocto-L4.14.98-2.0.0_ga" in ubuntu16.04.

I set up Yocto Project according to the User's Guide.
I build with the following settings:

 

$ DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source fsl-setup-release.sh -b build-xwayland
$ bitbake fsl-image-qt5-validation-imx

 

then started build, and got this error. Ill put the whole log now:

 

Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3483 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime ptpd (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd
NOTE: Multiple providers are available for runtime ptpd-dev (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd-dev

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:c9bd4984f8f471ca2c43052714f4413ba99cf171"
meta-oe
meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale = "HEAD:27ca94f8a4336790ba117b4298566f6820e7e74c"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk = "HEAD:8eeb420fad668b733ab95b460895e1c337c66b25"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"

Initialising tasks: 100% |#######################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: v4l-utils-1.12.3-r0 do_compile: oe_runmake failed
ERROR: v4l-utils-1.12.3-r0 do_compile: Function failed: do_compile (log file is located at /data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/temp/log.do_compile.15082)
ERROR: Logfile of failure stored in: /data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/temp/log.do_compile.15082
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1
| make all-recursive
| make[1]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build'
| Making all in v4l-utils-po
| make[2]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/v4l-utils-po'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/v4l-utils-po'
| Making all in libdvbv5-po
| make[2]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/libdvbv5-po'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/libdvbv5-po'
| Making all in lib
| make[2]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib'
| Making all in libv4lconvert
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4lconvert'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4lconvert'
| Making all in libv4l2
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l2'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l2'
| Making all in libv4l1
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l1'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l1'
| Making all in libv4l2rds
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l2rds'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l2rds'
| Making all in libv4l-mplane
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l-mplane'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libv4l-mplane'
| Making all in libdvbv5
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libdvbv5'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib/libdvbv5'
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib'
| make[3]: Nothing to be done for 'all-am'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib'
| make[2]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/lib'
| Making all in utils
| make[2]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils'
| Making all in libv4l2util
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/libv4l2util'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/libv4l2util'
| Making all in libmedia_dev
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/libmedia_dev'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/libmedia_dev'
| Making all in decode_tm6000
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/decode_tm6000'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/decode_tm6000'
| Making all in ivtv-ctl
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/ivtv-ctl'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/ivtv-ctl'
| Making all in ir-ctl
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/ir-ctl'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/ir-ctl'
| Making all in cx18-ctl
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/cx18-ctl'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/cx18-ctl'
| Making all in keytable
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/keytable'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/keytable'
| Making all in media-ctl
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/media-ctl'
| make all-am
| make[4]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/media-ctl'
| make[4]: Nothing to be done for 'all-am'.
| make[4]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/media-ctl'
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/media-ctl'
| Making all in v4l2-compliance
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-compliance'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-compliance'
| Making all in v4l2-ctl
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-ctl'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-ctl'
| Making all in v4l2-dbg
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-dbg'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-dbg'
| Making all in v4l2-sysfs-path
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-sysfs-path'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/v4l2-sysfs-path'
| Making all in cec-ctl
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/cec-ctl'
| aarch64-poky-linux-g++ --sysroot=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../../v4l-utils-1.12.3/utils/cec-ctl -I../.. -I../../../v4l-utils-1.12.3/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE -I../../../v4l-utils-1.12.3/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0=/usr/src/debug/v4l-utils/1.12.3-r0 -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot= -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -c -o cec-ctl.o ../../../v4l-utils-1.12.3/utils/cec-ctl/cec-ctl.cpp
| ../../aarch64-poky-linux-libtool --tag=CXX --mode=link aarch64-poky-linux-g++ --sysroot=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0=/usr/src/debug/v4l-utils/1.12.3-r0 -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot= -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -pthread -o cec-ctl cec-ctl.o
| aarch64-poky-linux-libtool: link: aarch64-poky-linux-g++ --sysroot=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0=/usr/src/debug/v4l-utils/1.12.3-r0 -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot= -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -pthread -o cec-ctl cec-ctl.o -pthread
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/cec-ctl'
| Making all in cec-compliance
| make[3]: Entering directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/cec-compliance'
| ../../../v4l-utils-1.12.3/utils/cec-ctl/msg2ctl.pl 2 ../../../v4l-utils-1.12.3/include/linux/cec.h ../../../v4l-utils-1.12.3/include/linux/cec-funcs.h >cec-table.h
| aarch64-poky-linux-g++ --sysroot=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../../v4l-utils-1.12.3/utils/cec-compliance -I../.. -I../../../v4l-utils-1.12.3/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE -I../../../v4l-utils-1.12.3/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0=/usr/src/debug/v4l-utils/1.12.3-r0 -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot= -fdebug-prefix-map=/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -c -o cec-compliance.o cec-compliance.cpp
| aarch64-poky-linux-g++: error: cec-compliance.cpp: No such file or directory
| aarch64-poky-linux-g++: fatal error: no input files
| compilation terminated.
| Makefile:560: recipe for target 'cec-compliance.o' failed
| make[3]: *** [cec-compliance.o] Error 1
| make[3]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils/cec-compliance'
| Makefile:468: recipe for target 'all-recursive' failed
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build/utils'
| Makefile:574: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/build'
| ERROR: oe_runmake failed
| Makefile:501: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/temp/log.do_compile.15082)
ERROR: Task (/data/imx-yocto-bsp/sources/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2685 tasks of which 2684 didn't need to be rerun and 1 failed.

 

"cec-compliance.ccp" is existed in "/data/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/v4l-utils/1.12.3-r0/v4l-utils-1.12.3/utils/cec-compliance".

Can you tell me what might be wrong?

Regards.-

Outcomes