As some will have noticed, I've checked the new dependency handling code
into bitbake. It all works against a subset of the OE metadata (poky)
but OE's .dev is presenting a few challenges. One major problem is going
to be circular dependency issues.

As an example:

opie-mediaplayer1:
RRECOMMENDS = "opie-mediaplayer1-libmadplugin"

opie-mediaplayer-libmadplugin:
RDEPENDS = "opie-mediaplayer1"

The package manager (ipkg) allows this but debian.bbclass does not.
debian.bbclass requires anything in the RDEPENDS/RRECOMMENDS field to
build before the package itself as otherwise, it can't know how to
rename the fields in a debian compatible way. Two packages
RDEPENDS/RRECOMMENDS on each other can therefore never work with
debian.bbclass. The fact it was allowed it in the past is a bug as one
wouldn't get rewritten - we've just been lucky and not needed it.

Also note that dropping the RDEPENDS to a DEPENDS won't help as the
shlib code requires DEPENDS to package before the .bb itself does and
this combined with debian.bbclass and its RRECOMMENDS requirements again
creates a circular dependency :-(

Personally, I'd like to be able to allow circular dependencies as the
above is valid. Can anyone see a way around this? Other than disabling
debian.bbclass, or having a cache of package renamings, I short of
ideas...

Cheers,

Richard

_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to