[oe] eglibc, do_prep_locale_tree() [: binary operator expected

Dmitry Vinokurov d.vinokuroff at gmail.com
Sat Aug 29 14:09:24 UTC 2009


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 at gmail.com>





More information about the Openembedded-devel mailing list