[oe] [PATCH] recipes: conform to OE packaging guidelines with RDEPENDS/RREDEPENDS

Martin Jansa martin.jansa at gmail.com
Sun Jun 27 20:32:43 UTC 2010


On Sun, Jun 27, 2010 at 09:06:36PM +0100, Paul Eggleton wrote:
> On Wed, 02 Jun 2010, Martin Jansa wrote:
> > * there is probably very few cases when it's needed without _${PN},
> >   if you find one in attached patch, please enlighten me
> 
> I've just discovered this change is what has broken the build of opie-taskbar-
> images:
> 
> ------------------------------ snip --------------------------------
> paul at linc:~/oe/build-hx4700-dev$ bitbake opie-taskbar-images
> NOTE: Handling BitBake files: / (8377/8377) [100 %]
> NOTE: Parsing finished. 7570 cached, 477 parsed, 330 skipped, 0 masked.
> NOTE: Resolving any missing task queue dependencies
> ERROR: '['/home/paul/oe/org.openembedded.dev/recipes/opie-taskbar/opie-
> taskbar-images_1.2.4.bb']' RDEPENDS/RRECOMMENDS or otherwise requires the 
> runtime entity 'opie-taskbar-images' but it wasn't found in any PACKAGE or 
> RPROVIDES variables
> NOTE: Runtime target 'opie-taskbar-images' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['opie-taskbar-images']
> ERROR: Required build target 'opie-taskbar-images' has no buildable providers.
> Missing or unbuildable dependency chain was: ['opie-taskbar-images', 'opie-
> taskbar-images']
> paul at linc:~/oe/build-hx4700-dev$
> ------------------------------ snip --------------------------------
> 
> Can I revert the changes to any opie packages that have been broken? Or is 
> there an alternative solution?

Andrea Adami already asked me about it.

RPROVIDES_${PN} = "${PN}" looks a bit wrong to me and changing it back
to
RPROVIDES = "${PN}"
doesn't make it much better (more understandable in my eyes).

I found one issue in ttf-fonts
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=14c265b107725a8f7534dfb354ad12edf9f7aec3
but there it was because .inc file was setting RRECOMMENDS for all
packages and _subpackages_ including this .inc. So setting it for ${PN}
wasn't enough (and I could also add RRECOMMENDS for every subpackage really
needing this RRECOMMENDS font-update-common).

But having ${PN} on right side of assignment is a bit strange, I'm not
using/building opie, can you check why exactly it needs to be used this
way?.

-- 
Jansa 'JaMa' Martin     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-devel mailing list