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
> 
> 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/temp/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/temp/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/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/temp/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-toolchain-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/temp/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

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to