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

Mark Hatle mark.hatle at windriver.com
Wed Nov 24 16:53:53 PST 2010


On 11/24/10 4:05 PM, Frans Meulenbroeks wrote:
> 2010/11/24 Mark Hatle <mark.hatle at windriver.com>:
> 
>> The files in question would be tmp/deploy/rpm/mips/rpm-5.1.10-r7.mips.rpm (or
>> similar)
>>
>> That should exist..  If it doesn't something went wrong with the build of the
>> package.
>>
>> If it does, look in the directory (that has the RPM package) for a directory
>> called "solvedb".  Assuming that exists.. then the solver should be setup/loaded
>> and the package should be available.
>>
>> But the actual failure is rpm unable to find a package called "rpm" within the
>> resolver databases that are being consulted.
>>
>> The other thing to look at is the tmp/deploy/rpm  .. there is a solvedb.conf and
>> solvedb.macro
>>
>> Both of those should list out the solvers that it consults.  If the directory
>> that the rpm package is in, is not in that list.. then something went wrong
>> during that setup.
>>
>> --Mark
> 
> Thanks, that was a good help.
> There was no solvedb dir.
> My machine.conf file was missing
> PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te"
> (maybe the omission of this var could be considered as an error).
> 
> But that almost immediately brought me to the next issue:
> rpm and zypper install fine, but I get an eglibc error
> | error: Failed dependencies:
> | 	eglibc >= 2.12 is needed by sysvinit-2.88dsf-r1.armv5te

If the ARCHs were wrong, then the dependencies wouldn't have been re-written
properly during the build.  This is something I don't like about the way OE/Poky
do things.. (dynamically re-write dependencies) but I'm not sure of a way to
resolve it.

You need to either completely rebuild -- or find a way to clear all of the
stamps for the packaging.. (once the packaging is re-done the dependencies will
be corrected)

--Mark

> and I do not see an eglibc package (but I do have
> eglibc-pic-2.12-r12.armv5te.rpm as well as quite a lot of subpackages,
> 
> eg.
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-gconv-hp-greek8-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-binary-localedata-es-pa.iso-8859-1-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-localedata-iso14651-t1-pinyin-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-charmap-viscii-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-localedata-gl-es-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-gconv-ibm1124-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-binary-localedata-or-in-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-gconv-ecma-cyrillic-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-localedata-cv-ru-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-binary-localedata-id-id.iso-8859-1-2.12-r12.armv5te.rpm
> manifest:/home/frans/poky/poky/build/tmp/deploy/rpm/armv5te/eglibc-localedata-lt-lt-2.12-r12.armv5te.rpm
> 
> Guess it'll be tomorrow before I get to that.
> 
> Frans




More information about the yocto mailing list