All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Vinokurov <d.vinokuroff@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: eglibc, do_prep_locale_tree() [: binary operator expected
Date: Sat, 29 Aug 2009 20:09:24 +0600	[thread overview]
Message-ID: <4A993694.7040205@gmail.com> (raw)

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>




                 reply	other threads:[~2009-08-29 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A993694.7040205@gmail.com \
    --to=d.vinokuroff@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.