On Wed, 2008-05-07 at 16:56 -0300, Rodrigo Vivi wrote:
> I've taken a look to the code to and didn't find a good solution to
> get the right command line appended version.
> Meanwhile I thought that maybe the problem is not about how to find
> the correct version but to add the package it self to the unresolved
> rproviders list twice (1 for -dev and another for -dbg as rdepends and
> rrecommends respectively).
> So I went to cache .bb and figure out that maybe you should add the
> package itself to the list that you will use "to cook".
> 
> I tried a lot of stupid things, but now I found one solution that is
> working... Please, take a look and test this patch:

This solves your test case but not one where for example you had a
package foo with a dependency on "nano" and then you:

"bitbake foo nano-2.0.6"

The real problem is the broken providers handling, not the fact pn is in
the RDEPENDS multiple times so I can't apply that patch.

> PS: I've already opened the bug
> http://bugs.openembedded.net/show_bug.cgi?id=4230
> Don't you thing that is better we move this discussion to the bugtracker?

Yes, I'll respond there if I get any further with this.

Cheers,

Richard



_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to