Thanks Raj!

I was pulling yocto 1.7.2 and did not add any custom recipe or target. I just 
build core-image-minimal image with enabling uclibc in 
"meta/conf/distro/defaultsetup.conf" (#TCLIBC ?= "uclibc")

But if I do same thing with yocto 2.0 or 2.1, it goes successful and builds 
uclibc based images.

-----Original Message-----
From: Khem Raj [mailto:raj.k...@gmail.com] 
Sent: Saturday, October 15, 2016 8:24 PM
To: Harshal Govind (hgovind) <hgov...@cisco.com>
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] building uclibc based image for arm

On Wed, Oct 12, 2016 at 6:08 PM, Harshal Govind (hgovind) <hgov...@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.29
> 445)
>
> 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.29
> 445
>
> 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.29
> 445)
>
> 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-1
> 2.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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to