AnsweredAssumed Answered

About build yocto project problem.

Question asked by john ding on Nov 29, 2015
Latest reply on Dec 2, 2015 by john ding

Hi, all:

     I build the yocto project base on 3.14.38, but meeting some issue like follow. How can i to resolve it.

 

ERROR: Function failed: do_compile (log file is located at /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/i686-linux/python-native/2.7.9-r1.1/temp/log.do_compile.10503)

ERROR: Logfile of failure stored in: /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/i686-linux/python-native/2.7.9-r1.1/temp/log.do_compile.10503

Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 2 BUILD_SYS= HOST_SYS= LIBC= STAGING_LIBDIR=/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/usr/lib STAGING_INCDIR=/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/usr/include

| gcc  -pthread -DNDEBUG -g  -O3 -Wall -Wstrict-prototypes -L/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/usr/lib -L/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/lib -Wl,-rpath,/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/i686-linux/lib -Wl,-O1 Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen

| Parser/acceler.o: file not recognized: File truncated

| collect2: error: ld returned 1 exit status

| make: *** [Parser/pgen] Error 1

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/i686-linux/python-native/2.7.9-r1.1/temp/log.do_compile.10503)

ERROR: Task 670 (/yocto-disk/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-native_2.7.9.bb, do_compile) failed with exit code '1'

ERROR: Function failed: do_compile (log file is located at /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/temp/log.do_compile.10502)

ERROR: Logfile of failure stored in: /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/temp/log.do_compile.10502

 

| /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/build-arm-poky-linux-gnueabi/nptl/libpthread.so: file not recognized: File truncated

| collect2: error: ld returned 1 exit status

| make[2]: *** [/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/build-arm-poky-linux-gnueabi/resolv/libanl.so] Error 1

| make[2]: Leaving directory `/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/git/resolv'

| make[1]: *** [resolv/others] Error 2

| make[1]: Leaving directory `/yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/git'

| 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 /yocto-disk/fsl-arm-yocto-bsp/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/temp/log.do_compile.10502)

ERROR: Task 40 (/yocto-disk/fsl-arm-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.21.bb, do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 264 tasks of which 262 didn't need to be rerun and 2 failed.

Waiting for 0 running tasks to finish:

 

Summary: 2 tasks failed:

  /yocto-disk/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-native_2.7.9.bb, do_compile

  /yocto-disk/fsl-arm-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.21.bb, do_compile

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes