Skip to contentSkip to conversation

Random problems with building locales

DISCUSSION David Lambert 4 participants 6 messages Nov 5, 2010

lore
Share & tools
lore
#0 lore raw

I am getting apparent random failures when attempting to build OpenEmbedded with bitbake 1.10.0. It seems that localedef is randomly failing as shown below. The first time it failed compiling UTF-8 es_NI, the second UTF-8 gv_GB, third UTF-8 es_NI again, and finally UTF-8 xh_ZA. Initially I suspected a problem with my machine, but I ran diagnostics overnight with no failures. Has anyone else experienced this type of failure? Could you help guide me where else to look?

Thanks in advance for any help.

Best regards,

Dave.

NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin" I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n" qemu-arm -s 1048576 -r 2.6.24 -L /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree -E LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed

dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets, 339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159, /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: task do_package: Started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: generating locale bo_IN (UTF-8)
NOTE: generating locale gv_GB (UTF-8)
qemu-arm: relocation error: qemu-arm: symbol unlink, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin" I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n" qemu-arm -s 1048576 -r 2.6.24 -L /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree -E LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib  /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree --inputfile=/usr/share/i18n/locales/gv_GB --charmap=UTF-8 gv_GB).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets, 339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159, /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: 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/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin" I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n" qemu-arm -s 1048576 -r 2.6.24 -L /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree -E LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib  /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets, 339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159, /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: task do_package: Started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: generating locale bo_IN (UTF-8)
NOTE: generating locale gv_GB (UTF-8)
NOTE: generating locale kw_GB (UTF-8)
NOTE: generating locale en_BW (UTF-8)
NOTE: generating locale xh_ZA (UTF-8)
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin" I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n" qemu-arm -s 1048576 -r 2.6.24 -L /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree -E LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib  /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree --inputfile=/usr/share/i18n/locales/xh_ZA --charmap=UTF-8 xh_ZA).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
#1 lore raw
Quoted 8 lines · David Lambert

I am getting apparent random failures when attempting to build OpenEmbedded with bitbake 1.10.0.  It seems that localedef is randomly failing as shown below. The first time it failed compiling UTF-8 es_NI, the second UTF-8 gv_GB, third UTF-8 es_NI again, and finally UTF-8 xh_ZA. Initially I suspected a problem with my machine, but I ran diagnostics overnight with no failures. Has anyone else experienced this type of failure? Could you help guide me where else to look?

I think its because qemu-arm is dying on you. there is 0.13 release that happens few weeks back
I am still working on getting that into OE. Once I have that in may be it will get fixed I am not sure yet
remain tuned

-Khem

Quoted 153 lines

Thanks in advance for any help.

Best regards,

Dave.

NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin" I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed

dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets,
339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159,
/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: task do_package: Started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: generating locale bo_IN (UTF-8)
NOTE: generating locale gv_GB (UTF-8)
qemu-arm: relocation error: qemu-arm: symbol unlink, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was
PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"
I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/gv_GB --charmap=UTF-8 gv_GB).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets,
339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159,
/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: 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/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was
PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"
I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets,
339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159,
/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: task do_package: Started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: generating locale bo_IN (UTF-8)
NOTE: generating locale gv_GB (UTF-8)
NOTE: generating locale kw_GB (UTF-8)
NOTE: generating locale en_BW (UTF-8)
NOTE: generating locale xh_ZA (UTF-8)
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was
PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"
I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/xh_ZA --charmap=UTF-8 xh_ZA).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw

Khem,
Thanks for your reply. Is there a quick workaround? Is there an
earlier branch/tag that is more stable?
Regards,

Dave.

On 11/05/2010 02:19 PM, Khem Raj wrote

Quoted 9 lines
Quoted 9 lines

I think its because qemu-arm is dying on you. there is 0.13 release that happens few weeks back
I am still working on getting that into OE. Once I have that in may be it will get fixed I am not sure yet
remain tuned

-Khem

#3 lore raw
Quoted 1 line · David Lambert

Is there a quick workaround?

You can add

ENABLE_BINARY_LOCALE_GENERATION = "0"

to your local.conf. It will disable locale generation.

Best regards
Bernhard

#4 lore raw
In reply to Khem Raj
Quoted 10 lines · Khem Raj
Quoted 8 lines · David Lambert

I am getting apparent random failures when attempting to build OpenEmbedded with bitbake 1.10.0.  It seems that localedef is randomly failing as shown below. The first time it failed compiling UTF-8 es_NI, the second UTF-8 gv_GB, third UTF-8 es_NI again, and finally UTF-8 xh_ZA. Initially I suspected a problem with my machine, but I ran diagnostics overnight with no failures. Has anyone else experienced this type of failure? Could you help guide me where else to look?

Quoted 18 lines

I think its because qemu-arm is dying on you. there is 0.13 release that happens few weeks back
I am still working on getting that into OE. Once I have that in may be it will get fixed I am not sure yet
remain tuned

-Khem

Quoted 10 lines

Thanks in advance for any help.

Best regards,

Dave.

NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"

I am running into the same similar issue on my 64bit machine. Where its not building the correct places randomly. For me its libtool aclocal aclocal-1.11

Quoted 149 lines
Quoted 138 lines

I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n" qemu-arm -s 1048576 -r 2.6.24 -L /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree --inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed

dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets,
339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159,
/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: task do_package: Started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: generating locale bo_IN (UTF-8)
NOTE: generating locale gv_GB (UTF-8)
qemu-arm: relocation error: qemu-arm: symbol unlink, version GLIBC_2.0 not
defined in file libc.so.6 with link time reference
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was
PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"
I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/gv_GB --charmap=UTF-8 gv_GB).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets,
339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159,
/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: 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/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was
PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"
I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/es_NI --charmap=UTF-8 es_NI).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
dlambert@development:~/oe/build$ bitbake base-image
NOTE: Handling BitBake files: \ (7090/7090) [100 %]
Parsing of 7090 .bb files complete (6676 cached, 414 parsed). 7279 targets,
339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 516 of 1345 (ID: 159,
/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_package)
NOTE: package glibc-2.9-r37.3: task do_package: Started
NOTE: preparing tree for binary locale generation
NOTE: generating locale es_NI (UTF-8)
NOTE: generating locale bo_IN (UTF-8)
NOTE: generating locale gv_GB (UTF-8)
NOTE: generating locale kw_GB (UTF-8)
NOTE: generating locale en_BW (UTF-8)
NOTE: generating locale xh_ZA (UTF-8)
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
NOTE: Task failed: localedef returned an error (command was
PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"
I18NPATH="/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/usr/share/i18n"
qemu-arm -s 1048576 -r 2.6.24 -L
/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
-E
LD_LIBRARY_PATH=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/lib
 /home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree/bin/localedef
--force --old-style --no-archive
--prefix=/home/dlambert/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/glibc-2.9-r37.3/locale-tree
--inputfile=/usr/share/i18n/locales/xh_ZA --charmap=UTF-8 xh_ZA).
NOTE: package glibc-2.9-r37.3: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_package failed
ERROR: Task 159 (/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_package) failed with 256
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
ERROR: '/home/dlambert/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed
Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw
Quoted 27 lines · J. L.
Quoted 26 lines · Khem Raj
Quoted 8 lines · David Lambert

I am getting apparent random failures when attempting to build OpenEmbedded with bitbake 1.10.0.  It seems that localedef is randomly failing as shown below. The first time it failed compiling UTF-8 es_NI, the second UTF-8 gv_GB, third UTF-8 es_NI again, and finally UTF-8 xh_ZA. Initially I suspected a problem with my machine, but I ran diagnostics overnight with no failures. Has anyone else experienced this type of failure? Could you help guide me where else to look?

I think its because qemu-arm is dying on you. there is 0.13 release that happens few weeks back
I am still working on getting that into OE. Once I have that in may be it will get fixed I am not sure yet
remain tuned

-Khem

Quoted 8 lines

Thanks in advance for any help.

Best regards,

Dave.

Quoted 10 lines
Quoted 2 lines
Quoted 2 lines

NOTE: Task failed: localedef returned an error (command was PATH="/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/armv5te/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/usr/bin:/home/dlambert/oe/build/tmp/sysroots/i686-linux/sbin:/home/dlambert/oe/build/tmp/sysroots/i686-linux//bin:/home/dlambert/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/armelf/bin"

I am running into the same similar issue on my 64bit machine. Where its not building the correct places randomly. For me its libtool aclocal aclocal-1.11

your problems are different. Can you use openemebedded master branch and see if you still see the issue. I am not able to reproduce your libtool problems here.