[oe] Release-2010.12 build failure - eglibc do_package Failed

Martin Jansa martin.jansa at gmail.com
Thu Dec 9 17:07:35 UTC 2010


On Thu, Dec 09, 2010 at 09:00:00AM -0800, Tim Harvey wrote:
> On 12/09/2010 07:44 AM, Ed Nelson wrote:
> > I am using the latest release-2010.12 and doing a completely new build
> > for the AT91SAM9g20 development board(no tmp directory and source
> > directory empty).
> > I am trying to build a base image that includes python.
> > My build machine is running Ubuntu 10.04LTS.
> >
> > Build Configuration:
> > BB_VERSION = "1.10.0"
> > METADATA_BRANCH = "release-2010.12"
> > METADATA_REVISION = "dec3967"
> > TARGET_ARCH = "arm"
> > TARGET_OS = "linux-gnueabi"
> > MACHINE = "at91sam9g20ek"
> > DISTRO = "angstrom"
> > DISTRO_VERSION = "next"
> > TARGET_FPU = "soft"
> >
> >
> > The build fails on eglibc do_package with the following information.
> >
> > NOTE: Running task 1006 of 4003 (ID: 143,
> > /home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb,
> > do_package)
> > NOTE: package eglibc-2.12-r17.7+svnr11982: task do_package: Started
> > NOTE: preparing tree for binary locale generation
> > NOTE: generating locale es_NI (UTF-8)
> > ERROR: TaskFailed event exception, aborting
> > ERROR: Build of
> > /home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb do_package
> > failed
> > ERROR: Task 143
> > (/home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb,
> > do_package) failed with 256
> > ERROR:
> > '/home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb'
> > failed
> > NOTE: Task failed: localedef returned an error (command was
> > PATH="/home/ed/oe/build-at91sam9g20-angstrom/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/ed/oe/build-at91sam9g20-angstrom/tmp/sysroots/i686-linux/usr/sbin:/home/ed/oe/build-at91sam9g20-angstrom/tmp/sysroots/i686-linux/usr/bin:/home/ed/oe/build-at91sam9g20-angstrom/tmp/sysroots/i686-linux/sbin:/home/ed/oe/build-at91sam9g20-angstrom/tmp/sysroots/i686-linux//bin:/home/ed/oe/oe-release-2010.12/bitbake-1.10.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
> > I18NPATH="/home/ed/oe/build-at91sam9g20-angstrom/tmp/work/armv5te-angstrom-linux-gnueabi/eglibc-2.12-r17.7+svnr11982/locale-tree/usr/share/i18n"
> > qemu-arm -s 1048576 -r 2.6.24 -L
> > /home/ed/oe/build-at91sam9g20-angstrom/tmp/work/armv5te-angstrom-linux-gnueabi/eglibc-2.12-r17.7+svnr11982/locale-tree
> > -E
> > LD_LIBRARY_PATH=/home/ed/oe/build-at91sam9g20-angstrom/tmp/work/armv5te-angstrom-linux-gnueabi/eglibc-2.12-r17.7+svnr11982/locale-tree/lib
> > /home/ed/oe/build-at91sam9g20-angstrom/tmp/work/armv5te-angstrom-linux-gnueabi/eglibc-2.12-r17.7+svnr11982/locale-tree/bin/localedef
> > --force --old-style --no-archive
> > --prefix=/home/ed/oe/build-at91sam9g20-angstrom/tmp/work/armv5te-angstrom-linux-gnueabi/eglibc-2.12-r17.7+svnr11982/locale-tree
> > --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
> > NOTE: package eglibc-2.12-r17.7+svnr11982: task do_package: Failed
> > ERROR: TaskFailed event exception, aborting
> > ERROR: Build of
> > /home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb do_package
> > failed
> > ERROR: Task 143
> > (/home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb,
> > do_package) failed with 256
> > ERROR:
> > '/home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb'
> > failed
> > ERROR:
> > '/home/ed/oe/oe-release-2010.12/openembedded/recipes/eglibc/eglibc_2.12.bb'
> > failed
> >
> > There are 2 eglibc directors in
> > ed/oe/build-at91sam9g20-angstrom/tmp/work/armv5te-angstrom-linux-gnueabi
> > eglibc-2.12-r17.7+svnr11982
> > and
> > eglibc-intial-2.12-r17.7+svnr11982
> >
> > The file run.package_do_package.23963 was empty
> >
> > Any ideas
> > Thanks
> > Ed
> 
> I've started seeing the same recently with glibc:
> 
> Build system: native Ubuntu 10.04 i686
> 
> Build Configuration:
> BB_VERSION        = "1.11.0"
> METADATA_BRANCH   = ""origin/release-2010.12""
> METADATA_REVISION = ""a5eeff8b2e4cb9ffa86af214850dcbbe32432242""
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "overoevm"
> DISTRO            = "angstrom"
> DISTRO_VERSION    = "devel"
> TARGET_FPU        = "hard"
> ...
> ERROR: Task 218 
> (/home/tharvey/oe/commonos-sync/org.openembedded.dev/recipes/glibc/glibc_2.9.bb, 
> do_package) failed with 256
> NOTE: Task failed: localedef returned an error (command was 
> PATH="/home/tharvey/oe/commonos-sync/tmp/sysroots/i686-linux/usr/armv7a/bin:/home/tharvey/oe/commonos-sync/tmp/sysroots/i686-linux/usr/sbin:/home/tharvey/oe/commonos-sync/tmp/sysroots/i686-linux/usr/bin:/home/tharvey/oe/commonos-sync/tmp/sysroots/i686-linux/sbin:/home/tharvey/oe/commonos-sync/tmp/sysroots/i686-linux//bin:/home/tharvey/oe/commonos-sync/bitbake/bin:/home/tharvey/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" 
> I18NPATH="/home/tharvey/oe/commonos-sync/tmp/work/armv7a-commonos-linux-gnueabi/glibc-2.9-r37.4/locale-tree/usr/share/i18n" 
> qemu-arm -s 1048576 -r 2.6.16 -L 
> /home/tharvey/oe/commonos-sync/tmp/work/armv7a-commonos-linux-gnueabi/glibc-2.9-r37.4/locale-tree 
> -E 
> LD_LIBRARY_PATH=/home/tharvey/oe/commonos-sync/tmp/work/armv7a-commonos-linux-gnueabi/glibc-2.9-r37.4/locale-tree/lib 
> -cpu cortex-a8 
> /home/tharvey/oe/commonos-sync/tmp/work/armv7a-commonos-linux-gnueabi/glibc-2.9-r37.4/locale-tree/bin/localedef 
> --force --old-style --no-archive 
> --prefix=/home/tharvey/oe/commonos-sync/tmp/work/armv7a-commonos-linux-gnueabi/glibc-2.9-r37.4/locale-tree 
> --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).

better to go to that directory dirrectly and running that command in
terminal to see whole output from localedef, it can be unrelated issue like this one

http://sourceware.org/bugzilla/show_bug.cgi?id=11258

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-devel mailing list