AnsweredAssumed Answered

bitbake meta-toolchain failing

Question asked by Pratyush Tomar on Mar 10, 2017
Latest reply on Mar 14, 2017 by Pratyush Tomar

I am trying to build PN7120 drivers for my custom board based on imx6ulevk using method mentioned on this forum NFC PN7120 on the  i.MX6Q .  To execute these steps

  1. source source /opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi  
  2. $ export ARCH=arm  
  3. $ export CROSS_COMPILE=$TARGET_PREFIX  
  4. $ make imx_v7_defconfig  

 

To execute these steps I think I need to install meta-toolchain so I tried installing by executing following command bitbake meta-toolchain but it's failing with following error

 

 

ERROR: Function failed: do_configure (log file is located at /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-initial/2.22-r0/temp/log.do_configure.14881)
ERROR: Logfile of failure stored in: /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-initial/2.22-r0/temp/log.do_configure.14881
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_configure
| sed: can't read /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-initial/2.22-r0/git/elf/ldd.bash.in: No such file or directory
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-initial/2.22-r0/temp/log.do_configure.14881)
ERROR: Task 963 (virtual:nativesdk:/home/pratyush/fsl-release-bsp_4/sources/poky/meta/recipes-core/glibc/glibc-initial_2.22.bb, do_configure) failed with exit code '1'
WARNING: Could not copy license file /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-acl/2.2.52-r0/acl-2.2.52/doc/COPYING to /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-acl/2.2.52-r0/license-destdir/nativesdk-acl/COPYING: [Errno 2] No such file or directory: '/home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-acl/2.2.52-r0/acl-2.2.52/doc/COPYING'
WARNING: Could not copy license file /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-acl/2.2.52-r0/acl-2.2.52/doc/COPYING.LGPL to /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-acl/2.2.52-r0/license-destdir/nativesdk-acl/COPYING.LGPL: [Errno 2] No such file or directory: '/home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-acl/2.2.52-r0/acl-2.2.52/doc/COPYING.LGPL'
WARNING: Could not copy license file /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-db/6.0.30-r0/db-6.0.30/dist/../LICENSE to /home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-db/6.0.30-r0/license-destdir/nativesdk-db/LICENSE: [Errno 2] No such file or directory: '/home/pratyush/fsl-release-bsp_4/image_4_1_15/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-db/6.0.30-r0/db-6.0.30/dist/../LICENSE'
NOTE: Tasks Summary: Attempted 1124 tasks of which 1121 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:

 

Please help me where I am making mistake.##

Outcomes