YOCTO build : vulkan-cts:do_compile failed. imx-image-multimedia, imx8mpevk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

YOCTO build : vulkan-cts:do_compile failed. imx-image-multimedia, imx8mpevk

跳至解决方案
3,684 次查看
Patrick-Kim
Contributor II
Hello,

I hope this email finds you well. I'm encountering an issue while attempting to build Yocto and would greatly appreciate your assistance in resolving it.

Here are the details of my build environment:
Build PC:
    Processor: i5-12400
    RAM: 16GB
    Storage: 512GB SSD
    Graphics: None
    OS: Ubuntu 22.04.1

Target Board:
    imx8mpevk

Build Environment:
    imx-docker: imx-6.6.3-1.0.0
    Dockerfile: Dockerfile-Ubuntu-22.04
    Build docker image:    
        ./docker-build.sh Dockerfile-Ubuntu-22.04
   
    Edit env.sh:
        IMAGES="imx-image-multimedia"

    Edit yocto-build.sh:
        remove line:
            bitbake ${IMAGES}
        add line:
            /bin/bash
   
    Build Execution Command:
        ./docker-run.sh imx-6.6.3-1.0.0/yocto-build.sh
        bitbake vulkan-cts -c cleanall && bitbake vulkan-cts

    Error message:
===============================================================
Build Configuration:
BB_VERSION           = "2.6.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mpevk"
DISTRO               = "fsl-imx-xwayland"
DISTRO_VERSION       = "6.6-nanbield"
TUNE_FEATURES        = "aarch64 armv8a crc crypto"
TARGET_FPU           = ""
meta
meta-poky            = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python          = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale       = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x         = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain   = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium        = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang           = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems     = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6             = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm             = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization  = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"

Initialising tasks: 100% |##########################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 19 Local 0 Mirrors 0 Missed 19 Current 605 (0% match, 96% complete)
NOTE: Executing Tasks
ERROR: vulkan-cts-1.3.3.1-r0 do_compile: ExecutionError('/home/mnd/work/yocto/imx-6.6.3-1.0.0-build/build_fsl-imx-xwayland/tmp/work/armv8a-mx8mp-poky-linux/vulkan-cts/1.3.3.1/temp/run.do_compile.2956', 1, None, None)
ERROR: Logfile of failure stored in: /home/mnd/work/yocto/imx-6.6.3-1.0.0-build/build_fsl-imx-xwayland/tmp/work/armv8a-mx8mp-poky-linux/vulkan-cts/1.3.3.1/temp/log.do_compile.2956
...
===============================================================

During the build process, I encountered an error specifically when attempting to build vulkan-cts. I have attached the error log file generated by the build command "bitbake vulkan-cts" for your reference.

Your guidance on resolving this issue would be immensely helpful. Please let me know if you require any further information.

Thank you very much for your assistance.

Best regards,
Patrick Kim
标签 (2)
标记 (3)
0 项奖励
回复
1 解答
3,642 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Add mesa-gl to meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc

as like DEPENDS += "mesa-gl python3-lxml-native libpng zlib virtual/libgles2 qemu-native"

Regards

Harvey

 

在原帖中查看解决方案

2 回复数
3,643 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Add mesa-gl to meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc

as like DEPENDS += "mesa-gl python3-lxml-native libpng zlib virtual/libgles2 qemu-native"

Regards

Harvey

 

3,541 次查看
Patrick-Kim
Contributor II
Thank you!! The solution you provided works well.
0 项奖励
回复