AnsweredAssumed Answered

Yocto Project | Build Error | i.MX6q Saberauto

Question asked by RICHU C J on Jun 13, 2019
Latest reply on Jun 20, 2019 by Bio_TICFSL

Hi,

I'm trying to build yocto project for imx6q saberauto.

But it reports error when executing bitbake core-image-base.
Host environment: Ubuntu-14.04(also tried it on Ubuntu-16.04 )

Can any one explain how to resolve this?

The error log is below:

 

BspDeveloper2@BspDeveloper2:/home/nvme/fsl-community-bsp/build$ bitbake core-image-base
WARNING: Host distribution "Ubuntu-14.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |##########################################################################################################################################################################| ETA:  00:00:00
Loaded 1737 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

 

Build Configuration:
BB_VERSION        = "1.20.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabreauto"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5.4"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "nxp:8e9e7e8def9b0b728937d34115f7165677c31bed"
meta-oe           = "nxp:e75ae8f50af3effe560c43fc63cfd1f39395f011"
meta-fsl-arm      = "nxp:5fdb620c09df11e70434092f675c891e0ba84108"
meta-fsl-arm-extra = "nxp:375f89b70655be2a17bbde36de6adb4e4a5a6975"
meta-fsl-demos    = "nxp:5a12677ad000a926d23c444266722a778ea228a7"

 

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/temp/log.do_compile.10243)
ERROR: Logfile of failure stored in: /home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/temp/log.do_compile.10243
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 16
| make[1]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi'
| make[1]: Nothing to be done for `all-target'.
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/intl'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/intl'
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/libiberty'
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/etc'
| for f in standards.info configure.info; do \
|       if test -f /home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
|         if make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \
|           true; \
|         else \
|           exit 1; \
|         fi; \
|       fi; \
|     done
| make[3]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/libiberty/testsuite'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/libiberty/testsuite'
| make[3]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/etc'
| make[3]: `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/etc/standards.info' is up to date.
| make[3]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/etc'
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/libiberty'
| make[3]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/etc'
| make[3]: `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/etc/configure.info' is up to date.
| make[3]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/etc'
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/etc'
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/bfd'
| make[2]: *** No rule to make target `all'.  Stop.
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi/bfd'
| make[1]: *** [all-bfd] Error 2
| make[1]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.arm-poky-linux-gnueabi'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/nvme/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/binutils-cross/2.23.2-r4/temp/log.do_compile.10243)
ERROR: Task 642 (/home/nvme/fsl-community-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.23.2.bb, do_compile) failed with exit code '1'
ERROR: Function failed: do_compile (log file is located at /home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/temp/log.do_compile.10247)
ERROR: Logfile of failure stored in: /home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/temp/log.do_compile.10247
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 16
| make[1]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux'
| make[1]: Nothing to be done for `all-target'.
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/libiberty'
| make[2]: *** No rule to make target `all'.  Stop.
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/libiberty'
| make[1]: *** [all-libiberty] Error 2
| make[1]: *** Waiting for unfinished jobs....
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/intl'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/intl'
| make[2]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/etc'
| for f in standards.info configure.info; do \
|       if test -f /home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
|         if make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \
|           true; \
|         else \
|           exit 1; \
|         fi; \
|       fi; \
|     done
| make[3]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/etc'
| make[3]: `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/etc/standards.info' is up to date.
| make[3]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/etc'
| make[3]: Entering directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/etc'
| make[3]: `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/etc/configure.info' is up to date.
| make[3]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/etc'
| make[2]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux/etc'
| make[1]: Leaving directory `/home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/binutils-2.23.2/build.x86_64-linux.x86_64-linux'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/nvme/fsl-community-bsp/build/tmp/work/x86_64-linux/binutils-native/2.23.2-r4/temp/log.do_compile.10247)
ERROR: Task 895 (virtual:native:/home/nvme/fsl-community-bsp/sources/poky/meta/recipes-devtools/binutils/binutils_2.23.2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 476 tasks of which 457 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

 

Summary: 2 tasks failed:
  /home/nvme/fsl-community-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.23.2.bb, do_compile
  virtual:native:/home/nvme/fsl-community-bsp/sources/poky/meta/recipes-devtools/binutils/binutils_2.23.2.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Regard

Outcomes