[yocto] building uclibc based image for arm

Khem Raj raj.khem at gmail.com
Sat Oct 15 20:24:06 PDT 2016


On Wed, Oct 12, 2016 at 6:08 PM, Harshal Govind (hgovind)
<hgovind at cisco.com> wrote:
> Hi,
>
>
>
>
>
> I am trying build uclibc based image. But getting following error.
>
> Note:
>
> -          I am using yocto-1.7.2
>
> -          Set TCLIBC ?= "uclibc" in distro/defaultsetup.conf
>
> -          Building for arm
>
>
>
> # bitbake core-image-minimal
>
>
>
> NOTE: Preparing runqueue
>
> NOTE: Executing SetScene Tasks
>
> NOTE: Executing RunQueue Tasks
>
> ERROR: Function failed: do_install (log file is located at
> /home/hgovind/projects/temp/test-sdk/ap-sdk/yp_ap/tmp/work/armv7a-vfp-neon-poky-linux-uclibceabi/glibc-locale/2.20-r0/temp/log.do_install.29445)
>
> ERROR: Logfile of failure stored in:
> /home/hgovind/projects/temp/test-sdk/ap-sdk/yp_ap/tmp/work/armv7a-vfp-neon-poky-linux-uclibceabi/glibc-locale/2.20-r0/temp/log.do_install.29445
>
> Log data follows:
>
> | DEBUG: Executing shell function do_install
>
> | ls: cannot access
> /home/hgovind/projects/temp/test-sdk/ap-sdk/yp_ap/tmp/sysroots/ap3k-lxc/usr/include/glibc-locale-internal-armv7a-vfp-neon-poky-linux-uclibceabi//usr/bin:
> No such file or directory
>
> | ls: cannot access
> /home/hgovind/projects/temp/test-sdk/ap-sdk/yp_ap/tmp/sysroots/ap3k-lxc/usr/include/glibc-locale-internal-armv7a-vfp-neon-poky-linux-uclibceabi//usr/lib/locale:
> No such file or directory
>
> | cp: cannot stat
> '/home/hgovind/projects/temp/test-sdk/ap-sdk/yp_ap/tmp/sysroots/ap3k-lxc/usr/include/glibc-locale-internal-armv7a-vfp-neon-poky-linux-uclibceabi/SUPPORTED':
> No such file or directory
>
> | WARNING: exit code 1 from a shell command.
>
> | ERROR: Function failed: do_install (log file is located at
> /home/hgovind/projects/temp/test-sdk/ap-sdk/yp_ap/tmp/work/armv7a-vfp-neon-poky-linux-uclibceabi/glibc-locale/2.20-r0/temp/log.do_install.29445)
>
> ERROR: Task 1094
> (/home/hgovind/projects/temp/test-sdk/ap-sdk/sys/yocto-1.7/poky-dizzy-12.0.2/meta/recipes-core/glibc/glibc-locale_2.20.bb,
> do_install) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 780 tasks of which 703 didn't need to be
> rerun and 1 failed.
>
> Waiting for 0 running tasks to finish:
>
>
>
> Summary: 1 task failed:
>
>
> /home/hgovind/projects/temp/test-sdk/ap-sdk/sys/yocto-1.7/poky-dizzy-12.0.2/meta/recipes-core/glibc/glibc-locale_2.20.bb,
> do_install
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
>
>
> Could you please let me know if I am following correct steps to create
> uclibc based image?
>

when using uclibc, it should not pull any glibc components for
targets. but its happening for your case
so figure out how this is getting into dependencies. May be you are
including it explicitly or its coming
via indirect deps. you can use bitbake -g to generate dep info and inspect it



More information about the yocto mailing list