[yocto] poky-image-minimal-1.0-r0:Unable to find package rpm!

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Nov 24 11:36:48 PST 2010


I was trying to build poky-image-minimal (git head of nov 20).
Host: opensuse 11.2
target: sheevaplug (I added the machine config and kernel from openembedded)

However creating the rootfs fails because it is unable to find package rpm
| Generating solve db for /home/frans/poky/poky/build/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.040881 secs
|    order:               1      0.000000 MB      0.001868 secs
|    fingerprint:         8      0.000012 MB      0.005083 secs
|    install:             6      0.000000 MB      0.019365 secs
|    dbadd:               6      0.000000 MB      0.011130 secs
|    dbget:              42      0.002104 MB      0.000201 secs
|    dbput:              36      0.010632 MB      0.000211 secs
|    readhdr:            61      0.026472 MB      0.000086 secs
|    hdrload:           117      0.120676 MB      0.001023 secs
|    hdrget:           2165      0.000000 MB      0.002120 secs
| Generating solve db for
/home/frans/poky/poky/build/tmp/deploy/rpm/sheevaplug...
|    total:               1      0.000000 MB      1.254377 secs
|    order:               1      0.000000 MB      0.219998 secs
|    fingerprint:       636      0.011898 MB      0.162803 secs
|    install:           324      0.000000 MB      0.406294 secs
|    dbadd:             324      0.000000 MB      0.195005 secs
|    dbget:           13518      1.836616 MB      0.032052 secs
|    dbput:            7569      3.166056 MB      0.044126 secs
|    readhdr:          3241      2.832352 MB      0.005657 secs
|    hdrload:        263898    377.876436 MB      1.761324 secs
|    hdrget:        5288960      0.000000 MB      5.243508 secs
| Processing task-poky-boot...
| Processing rpm...
| Unable to find package rpm!
| ERROR: Task failed: ('function do_rootfs failed',
'/home/frans/poky/poky/build/tmp/work/sheevaplug-poky-linux-gnueabi/poky-image-minimal-1.0-r0/temp/log.do_rootfs.6436')
NOTE: package poky-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task 10 (/home/frans/poky/poky/meta/recipes-core/images/poky-image-minimal.bb,
do_rootfs) failed with 1
ERROR: '/home/frans/poky/poky/meta/recipes-core/images/poky-image-minimal.bb'
failed

rpm is installed on the host
packaged rpm and rpm-native build so it does not seem to be a missing
dependency.

Anyone an idea?

BTW: I feel that building poky-image-minimal takes quite long.
I don't have a very high end PC (D920, core2 duo at 3Ghz or so, with
4GB DDR2), but  when I tried to build poky-image-minimal a second
time, no work needed to be done, apart from do_rootfs.
Yet running the 1839 (of 1842) tasks took 11min25.

Frans

PS: this is with otherwise out-of-the-box settings, so I did not
modify conf files or so.



More information about the yocto mailing list