Openembedded Devel Discussions
 help / color / mirror / Atom feed
* eglibc, do_prep_locale_tree() [: binary operator expected
@ 2009-08-29 14:09 Dmitry Vinokurov
  0 siblings, 0 replies; only message in thread
From: Dmitry Vinokurov @ 2009-08-29 14:09 UTC (permalink / raw)
  To: openembedded-devel

Hello,

While building eglibc faced following error -- it fails on do_package 
with following message:
  libgcc_s.so.1 must be installed for pthread_cancel to work

Digged a little and found in log.do_prep_locale_tree.10438:
  
/home/raydan/work/oe/build/tmp/work/armv5te-oe-linux/eglibc-2.10-r6.1/temp/run.do_prep_locale_tree.10438: 
line 795: [: 
/home/raydan/work/oe/build/tmp/cross/armv5te/arm-oe-linux/lib/libgcc_s.so: 
binary operator expected

Line 795 context in run.do_prep_locale_tree.10438 is:
  795: if [ -f 
/home/raydan/work/oe/build/tmp/cross/armv5te/arm-oe-linux/lib/libgcc_s.* 
]; then
  796:     cp -pPR 
/home/raydan/work/oe/build/tmp/cross/armv5te/arm-oe-linux/lib/libgcc_s.* 
$treedir/lib
  797: fi

Due to this libgcc_s didn't copied into lib dir and eglibc couldn't find 
it at package stage.

Maybe it should be:
  156: if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so ]; then
instead of
  156: if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* ]; then
in recipes/eglibc/eglibc-package.bbclass?

P.S.: org.openembedded.dev branch

-- 
Best Regards, 
Dmitry Vinokurov 
<d.vinokuroff@gmail.com>




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-29 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-29 14:09 eglibc, do_prep_locale_tree() [: binary operator expected Dmitry Vinokurov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox