AnsweredAssumed Answered

iMX8QM New BSP 4.14.62 imx-gpu-sdk fails to compile

Question asked by Mustafa Ozcelikors on Nov 15, 2018
Latest reply on Nov 21, 2018 by jimmychan

I am trying to compile new BSP that have been released for iMX8QMMEK with distro fsl-imx-xwayland, however, it fails to compile, without giving much clues in the log files:

DEBUG: Executing shell function do_compile
PlatformName: Yocto
WARNING: Environment variable FSL_GRAPHICS_SDK_THIRD_PARTY_LIBS_DIR was not defined, so we force defined it.
Its highly recommended to manually define this variable so you can reuse the thirdparty libs between builds and repositories.
Read DocBuildingExternals.md for detailed information about this environment variable.
FSL_GRAPHICS_SDK=/media/redpine003/cf0c6eb0-c1fe-4d3b-a5f3-d87d4ea5ad0c/newbsp/onyx/onyx-platform/build/tmp/work/aarch64-mx8-poky-linux/imx-gpu-sdk/5.2.0-r0/git
FSL_GRAPHICS_SDK_ANDROID_PROJECT_DIR=/media/redpine003/cf0c6eb0-c1fe-4d3b-a5f3-d87d4ea5ad0c/newbsp/onyx/onyx-platform/build/tmp/work/aarch64-mx8-poky-linux/imx-gpu-sdk/5.2.0-r0/git/Android
FSL_GRAPHICS_SDK_THIRD_PARTY_LIBS_DIR=/media/redpine003/cf0c6eb0-c1fe-4d3b-a5f3-d87d4ea5ad0c/newbsp/onyx/onyx-platform/build/tmp/work/aarch64-mx8-poky-linux/imx-gpu-sdk/5.2.0-r0/git/.Thirdparty
ROOTFS=/media/redpine003/cf0c6eb0-c1fe-4d3b-a5f3-d87d4ea5ad0c/newbsp/onyx/onyx-platform/build/tmp/work/aarch64-mx8-poky-linux/imx-gpu-sdk/5.2.0-r0/recipe-sysroot
To run this tool with Python 3.4 please install the 'typing' library with 'sudo pip3 install typing' or upgrade to Python 3.5+. If you dont have 'pip3' then you need to install it with 'sudo apt-get install python3-pip'
WARNING: /media/redpine003/cf0c6eb0-c1fe-4d3b-a5f3-d87d4ea5ad0c/newbsp/onyx/onyx-platform/build/tmp/work/aarch64-mx8-poky-linux/imx-gpu-sdk/5.2.0-r0/temp/run.do_compile.1962:1 exit 1 from 'FslBuild.py -vvvvv -t sdk --UseFeatures [EGL,EarlyAccess,OpenVG,G2D,OpenGLES2,OpenCV,Vulkan,OpenGLES3,OpenGLES3.1,OpenCL,OpenCL1.1,OpenCL1.2,OpenVX,OpenVX1.1] --UseExtensions [*] --Variants [WindowSystem=Wayland] --BuildThreads 4 -- install'
ERROR: Function failed: do_compile (log file is located at /media/redpine003/cf0c6eb0-c1fe-4d3b-a5f3-d87d4ea5ad0c/newbsp/onyx/onyx-platform/build/tmp/work/aarch64-mx8-poky-linux/imx-gpu-sdk/5.2.0-r0/temp/log.do_compile.1962)

It tells me that some python library is missing, but that makes me think just why NXP wouldnt make it so that imx-gpu-sdk has correct RDEPENDS_${PN} or DEPENDS for it.
I am looking for some help in this regard. Is it really the `typing` library that is causing this problem? Thanks in advance.

Outcomes