AnsweredAssumed Answered

Re: [fsl-image-qt5-validation-imx] vulkan_1.0.65.2.bb:do_compile failed

Question asked by LinJin MENG on Feb 25, 2019
Latest reply on Apr 8, 2019 by jasonss
Branched from an earlier discussion

Hi,

 

I have encountered the same error. I have tried "repo sync" and "bitbake fsl-image-validation-imx" several times.

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpmek"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:64a257fa22126c4a40ff7e03424a404e360ebe1e"
meta-oe
meta-multimedia = "HEAD:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-freescale = "HEAD:407c6cf408969445031a492e2d25e0e2749582ea"
meta-freescale-3rdparty = "HEAD:88a29631809d1af0df618245430db29f2a7012b5"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk = "HEAD:9867dae67c158e0820bf226bd18b792623e99b25"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

 

 

WARNING: opencv-3.4.2+gitAUTOINC+9e1b1e5389_d4e0286945_a62e20676a_34e4206aef_fccf7cd6a4-r0 do_fetch: Failed to fetch URL git://github.com/opencv/opencv_extra.git;branch=3.4;destsuffix=opencv_extra;name=opencv_extra, attempting MIRRORS if available
WARNING: libsamplerate0-0.1.9-r1 do_fetch: Failed to fetch URL http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz, attempting MIRRORS if available
ERROR: vulkan-1.0.65.2-r0 do_compile: Function failed: do_compile (log file is located at /home/zhao/imx-yocto-bsp/fsl-imx-wayland/tmp/work/aarch64-mx8-poky-linux/vulkan/1.0.65.2-r0/temp/log.do_compile.31882)
ERROR: Logfile of failure stored in: /home/zhao/imx-yocto-bsp/fsl-imx-wayland/tmp/work/aarch64-mx8-poky-linux/vulkan/1.0.65.2-r0/temp/log.do_compile.31882
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /home/zhao/imx-yocto-bsp/fsl-imx-wayland/tmp/work/aarch64-mx8-poky-linux/vulkan/1.0.65.2-r0/build --target all -- -j 1

 

| aarch64-poky-linux-g++: error: layers/parameter_validation.cpp: No such file or directory
| aarch64-poky-linux-g++: fatal error: no input files
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/zhao/imx-yocto-bsp/fsl-imx-wayland/tmp/work/aarch64-mx8-poky-linux/vulkan/1.0.65.2-r0/temp/log.do_compile.31882)
ERROR: Task (/home/zhao/imx-yocto-bsp/sources/poky/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2103 tasks of which 1779 didn't need to be rerun and 1 failed.

 

 

whenever I choose ubuntu 14.04 64bit or ubuntu 16.04 64bit, and follow strictly with the requirement from i.MX_Yocto_Project_User's_Guide.pdf 

 

but the vulkan compile error is still exist, what is problem ?

Outcomes