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

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

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

2,745 Views
mustafa_ozcelik
Contributor I

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.

Tags (2)
0 Kudos
6 Replies

1,056 Views
dan_searles
Contributor I

Does anyone know where "DocBuildingExternals.md" is located?

0 Kudos

1,056 Views
jimmychan
NXP TechSupport
NXP TechSupport

Our latest BSP is L4.9.xxx. We don't have L4.14 BSP.

0 Kudos

1,056 Views
mustafa_ozcelik
Contributor I

Alpha / Beta BSPs for Microprocessors|NXP 

The page above has Linux 4.14.62_1.0.0_Beta. It is not alpha, so I would assume it should compile from scratch. But it does not because imx-gpu-sdk fails as I mentioned.

0 Kudos

1,056 Views
jimmychan
NXP TechSupport
NXP TechSupport

could you send me the log file log.do_compile.1962 for further investigation? Thanks.

0 Kudos

1,056 Views
mustafa_ozcelik
Contributor I

The log I've sent you is already from the log file, unfortunately.

0 Kudos

1,056 Views
jimmychan
NXP TechSupport
NXP TechSupport

'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'

This is the suggestion from the log. Did you try this?