From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from proxy.dresearch.de ([87.193.137.100] helo=mail.dresearch.de) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OymYN-00029j-UQ for openembedded-devel@lists.openembedded.org; Thu, 23 Sep 2010 16:13:41 +0200 Received: from exchange.intern.dresearch.de (owa.xfer-intern.dresearch.de [192.168.32.16]) by mail.dresearch.de (Postfix) with ESMTP id 3E7BA491282 for ; Thu, 23 Sep 2010 16:13:36 +0200 (CEST) Received: from mobil-400-586.intern.dresearch.de ([10.32.11.62]) by exchange.intern.dresearch.de with Microsoft SMTPSVC(6.0.3790.4675); Thu, 23 Sep 2010 16:13:36 +0200 Received: from mobil-400-586.intern.dresearch.de (localhost [IPv6:::1]) by mobil-400-586.intern.dresearch.de (Postfix) with ESMTP id EDD8C2C2FA for ; Thu, 23 Sep 2010 16:13:35 +0200 (CEST) Message-ID: <4C9B608F.4060602@dresearch.de> Date: Thu, 23 Sep 2010 16:13:35 +0200 From: Steffen Sledz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Lightning/1.0b1 Thunderbird/3.0.6 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <1285241444.3691.60.camel@mattotaupa> <4C9B57F8.6000605@dresearch.de> In-Reply-To: <4C9B57F8.6000605@dresearch.de> X-OriginalArrivalTime: 23 Sep 2010 14:13:36.0048 (UTC) FILETIME=[830A7B00:01CB5B29] X-SA-Exim-Connect-IP: 87.193.137.100 X-SA-Exim-Mail-From: sledz@dresearch.de X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: libatasmart_0.13.bb: `No package 'libudev' found` and `./strpool: ./strpool: cannot execute binary file` X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 14:13:41 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/23/2010 03:36 PM, Steffen Sledz wrote: > Am 23.09.2010 13:30, schrieb Paul Menzel: >> Using =C8=A6ngstr=C3=B6m 2008.1 this error was not met though. But `do= _compile()` >> fails with `./strpool: cannot execute binary file`. >> >> Log data follows: >> | NOTE: make >> | CC strpool.o >> | CCLD strpool >> | ./strpool atasmart.c atasmart.strpool.c >> | ./strpool: ./strpool: cannot execute binary file >> | make: *** [atasmart.strpool.c] Error 126 >> | FATAL: oe_runmake failed >> | ERROR: Function do_compile failed >> NOTE: package libatasmart-0.13-r1: task do_compile: Failed >> >> But as far as I understand the recipe takes care of that by compiling >> `strpool` for the build host [2]. >> >> do_compile_prepend() { >> rm strpool -f >> ${BUILD_CC} -o strpool strpool.c >> chmod +x strpool >> } >> ... >> [2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/de= vicekit/libatasmart_0.13.bb?id=3D67ab615dac83b0460fa1b88dfb11c72d7c93e259 >=20 > I hit the same problem. But just when building libatasmart for the firs= t time. A second build succeeds. I tried the following to find the cause for this. First i added pwd file strpool to the do_compile_prepend(). Aftre running bitbake libatasmart -c clean bitbake libatasmart i saw ERROR: log data follows (/home/sledz/work/HydraIP/OE/tmp.6/work/armv5te= -angstrom-linux-gnueabi/libatasmart-0.13-r1/temp/log.do_compile.29576) | /home/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi= /libatasmart-0.13-r1/git | strpool: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dy= namically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped ... Then i called a devshell bitbake libatasmart -c devshell Within it > pwd /home/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/l= ibatasmart-0.13-r1/git > file strpool strpool: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically = linked (uses shared libs), for GNU/Linux 2.6.16, not stripped So the binary has changed in between. Steffen