Return-Path: Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7BDBDE0144B for ; Fri, 3 Aug 2012 13:15:04 -0700 (PDT) Received: by pbbrq8 with SMTP id rq8so2193034pbb.35 for ; Fri, 03 Aug 2012 13:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=ryNlL41KXzE3RX1MbLUrv3i1hlD3AdTq+3zruH6bNaU=; b=u4iHj6YHmZHla7Seq5LtBEzk/PEjMHFGLZG7s0iVOAiU8dcQkOHwCrmJOYQBQpBDa3 jvSAvGME65/TjU67XtWrXcTRlaByZ5iMm9Y1uo7EYvbmUFIbciahJPZWvljIDj8s2TrW 9kA1EQVzMDCG/gEIAhw+u+NTMxnDBls6EJhn6JGxrzzvbee+FDQS40dAlCfHCcGa2T4k pahMmdIPnfir0NG+AEfnZuyMKKlUxYKd7xPjYc05HxWvJhXzS0rfSwfzNNeBfRbWf4Uy tMu29TtplfeelyMg0YAk6pOaA05IjimUMtTkynDvfKnMlgq5Td3EyR9J2sOOR7lDeSpG n7Jw== Received: by 10.68.225.231 with SMTP id rn7mr177521pbc.13.1344024903576; Fri, 03 Aug 2012 13:15:03 -0700 (PDT) Received: from [192.168.1.101] ([94.205.108.162]) by mx.google.com with ESMTPS id ku7sm3528695pbc.31.2012.08.03.13.15.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Aug 2012 13:15:02 -0700 (PDT) From: Elvis Dowson Mime-Version: 1.0 (Apple Message framework v1278) Date: Sat, 4 Aug 2012 00:14:57 +0400 In-Reply-To: <1070990E-BAFD-408C-8EB8-37F29ADB87EB@gmail.com> To: Yocto Discussion Mailing List References: <1070990E-BAFD-408C-8EB8-37F29ADB87EB@gmail.com> Message-Id: X-Mailer: Apple Mail (2.1278) Subject: Re: meta-toolchain error with latest gcc commit: rpm-createsolvedb.py: command not found X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 20:15:04 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_CFB0F4C0-C518-4D3F-B2B9-E98EB56F87F3" --Apple-Mail=_CFB0F4C0-C518-4D3F-B2B9-E98EB56F87F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, On Aug 3, 2012, at 11:07 PM, Elvis Dowson wrote: > When I run bitbake meta-toolchain, I get the following error: = rpm-createsolvedb.py: command not found >=20 > NOTE: Running task 2060 of 2061 (ID: 7, = /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, = do_populate_sdk) > NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Started > ERROR: Function failed: populate_sdk_image (see = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 for further information) > ERROR: Logfile of failure stored in: = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 > Log data follows: > | DEBUG: Executing python function do_populate_sdk > | DEBUG: Executing shell function populate_sdk_image > | Generating solve db for = /tool/yocto/poky/build/tmp/deploy/rpm/ppc440... > | = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/run.populate_sdk_image.48334: line 610: rpm-createsolvedb.py: command = not found > | DEBUG: Python function do_populate_sdk finished > | ERROR: Function failed: populate_sdk_image (see = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 for further information) > NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Failed > ERROR: Task 7 = (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, = do_populate_sdk) failed with exit code '1' > NOTE: Tasks Summary: Attempted 2060 tasks of which 1293 didn't need to = be rerun and 1 failed. >=20 > Summary: 1 task failed: > /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, = do_populate_sdk > Summary: There was 1 WARNING message shown. > Summary: There was 1 ERROR message shown, returning a non-zero exit = code. >=20 >=20 > the log is=20 >=20 > DEBUG: Executing python function do_populate_sdk > DEBUG: Executing shell function populate_sdk_image > Generating solve db for = /tool/yocto/poky/build/tmp/deploy/rpm/ppc440... > = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/run.populate_sdk_image.48334: line 610: rpm-createsolvedb.py: command = not found > DEBUG: Python function do_populate_sdk finished > ERROR: Function failed: populate_sdk_image (see = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 for further information) >=20 I also notice that if I run=20 bitbake core-image-minimal first, and then run bitbake meta-toolchain, I = don't get an error.=20 What should be done to fix this, so that it runs correctly the first = time, if I run bitbake meta-toolchain from a clean build? Elvis Dowson --Apple-Mail=_CFB0F4C0-C518-4D3F-B2B9-E98EB56F87F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
When I run bitbake = meta-toolchain, I get the following error: rpm-createsolvedb.py: = command not found

NOTE: Running task = 2060 of 2061 (ID: 7, = /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, = do_populate_sdk)
NOTE: package meta-toolchain-1.0-r7: task = do_populate_sdk: Started
ERROR: Function failed: populate_sdk_image = (see = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 for further = information)
ERROR: Logfile of failure stored in: = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334
Log data = follows:
| DEBUG: Executing python function = do_populate_sdk
| DEBUG: Executing shell function = populate_sdk_image
| Generating solve db for = /tool/yocto/poky/build/tmp/deploy/rpm/ppc440...
| = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/run.populate_sdk_image.48334: line 610: rpm-createsolvedb.py: command = not found
| DEBUG: Python function do_populate_sdk = finished
| ERROR: Function failed: populate_sdk_image (see = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 for further = information)
NOTE: package meta-toolchain-1.0-r7: task = do_populate_sdk: Failed
ERROR: Task 7 = (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, = do_populate_sdk) failed with exit code '1'
NOTE: Tasks = Summary: Attempted 2060 tasks of which 1293 didn't need to be rerun and = 1 failed.

Summary: 1 task = failed:
  = /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, = do_populate_sdk
Summary: There was 1 WARNING message = shown.
Summary: There was 1 ERROR message shown, returning a = non-zero exit = code.


the log = is 

DEBUG: Executing python function = do_populate_sdk
DEBUG: Executing shell function = populate_sdk_image
Generating solve db for = /tool/yocto/poky/build/tmp/deploy/rpm/ppc440...
/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchai= n-1.0-r7/temp/run.populate_sdk_image.48334: line 610: = rpm-createsolvedb.py: command not found
DEBUG: Python = function do_populate_sdk finished
ERROR: Function = failed: populate_sdk_image (see = /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/te= mp/log.do_populate_sdk.48334 for further = information)


I also notice that if I run 

bitbake = core-image-minimal first, and then run bitbake meta-toolchain, I don't = get an error. 

What should be done to fix = this, so that it runs correctly the first time, if I run bitbake = meta-toolchain from a clean build?

Elvis = Dowson

= --Apple-Mail=_CFB0F4C0-C518-4D3F-B2B9-E98EB56F87F3--