ERROR: Function failed: do_compile (log file is located at /opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-sdk/5.2.0-r0/temp/log.do_compile.112699)

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

ERROR: Function failed: do_compile (log file is located at /opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-sdk/5.2.0-r0/temp/log.do_compile.112699)

4,579 Views
yyuan
Contributor III

hi,

  • I have some compilation problems

  • when i do 'bitbake fsl-image-qt5-validation-imx -c populate_sdk',it is wrong.
  • 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=/opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-sdk/5.2.0-r0/git
    FSL_GRAPHICS_SDK_ANDROID_PROJECT_DIR=/opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-sdk/5.2.0-r0/git/Android
    FSL_GRAPHICS_SDK_THIRD_PARTY_LIBS_DIR=/opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-sdk/5.2.0-r0/git/.Thirdparty
    ROOTFS=/opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/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: exit code 1 from a shell command.
    ERROR: Function failed: do_compile (log file is located at /opt/yocto/imx-yocto-bsp/build-x11/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-sdk/5.2.0-r0/temp/log.do_compile.112699)

Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:02
Loaded 3463 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################| Time: 0:00:23
Parsing of 2548 .bb files complete (2547 cached, 1 parsed). 3464 targets, 227 skipped, 7 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime ptpd (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd
NOTE: Multiple providers are available for runtime ptpd-dev (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd-dev

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qsabresd"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
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"

WARNING: /opt/yocto/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.14.78.bb.do_compile is tainted from a forced run | ETA: 0:00:03
WARNING: /opt/yocto/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test/imx-test_git.bb.do_compile is tainted from a forced run
Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:08
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently 1 running tasks (6342 of 7832) 80% |############################################################################################################################## |
0: imx-gpu-sdk-5.2.0-r0 do_compile - 457s (pid 15185)

I feel stuck.

please help me!!!!!

thank you!

Labels (1)
2 Replies

3,088 Views
radhikasomaiya
Senior Contributor II

Hi 袁 野 ,

From the logs you have given I can see -

"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 don't have 'pip3' then you need to install it with 'sudo apt-get install python3-pip'"

Could you please check that are you using the correct python version as mentioned in the above comment?

Let me know if the build is still failing after doing the mentioned changes.

Regards,

Radhika Somaiya

0 Kudos

3,088 Views
yyuan
Contributor III

thank you ,

I changed a command and it worked,I think that's ok