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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
2,869 Views
先生孟
Contributor II

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 ?

1 Solution
1,672 Views
jasonss
Contributor III

I am seeing this same vulkan error when trying to build the same configuration.  I have also tried to build using "xwayland" and have also tried building using the suggestions from Yuri above.  Has anyone been able to successfully build "fsl-image-qt5-validation-imx"?  Note: I have had success previously building a qt validation image for the "8M" on my same Ubuntu 16.04 VM setup.


I have followed the instructions exactly from i.MX Yocto Project User's Guide (Document Number: IMXLXYOCTOUG, "Rev. L4.14.78-1.0.0_ga, 01/2019") for "XWayland image on i.MX 8QuadXPlus MEK" (Section 5.6.3):

$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml
$ repo sync

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

Also, why aren't these binaries (.sdcard image) provided pre-built since this is a "ga" release?  Is there anywhere I can find the qt validation image pre-built for the "8qxpmek"?  (It is not in the "L4.14.78_1.0.0_ga_images_MX8QXPMEK.zip" download from i.MX Software | NXP ).

Any help would be greatly appreciated.

Thanks,
Jason

View solution in original post

0 Kudos
2 Replies
1,673 Views
jasonss
Contributor III

I am seeing this same vulkan error when trying to build the same configuration.  I have also tried to build using "xwayland" and have also tried building using the suggestions from Yuri above.  Has anyone been able to successfully build "fsl-image-qt5-validation-imx"?  Note: I have had success previously building a qt validation image for the "8M" on my same Ubuntu 16.04 VM setup.


I have followed the instructions exactly from i.MX Yocto Project User's Guide (Document Number: IMXLXYOCTOUG, "Rev. L4.14.78-1.0.0_ga, 01/2019") for "XWayland image on i.MX 8QuadXPlus MEK" (Section 5.6.3):

$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml
$ repo sync

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

Also, why aren't these binaries (.sdcard image) provided pre-built since this is a "ga" release?  Is there anywhere I can find the qt validation image pre-built for the "8qxpmek"?  (It is not in the "L4.14.78_1.0.0_ga_images_MX8QXPMEK.zip" download from i.MX Software | NXP ).

Any help would be greatly appreciated.

Thanks,
Jason

0 Kudos
1,672 Views
Yuri
NXP Employee
NXP Employee

Hello,

   The following may help:

1) to build core-image-minimal system first;

2) use fetchall option: 

    bitbake -c fetch fsl-image-validation-imx


Have a great day,
Yuri

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------