[oe] RDEPENDS_${PN}-dev = ${PN} badness

Richard Purdie rpurdie at rpsys.net
Fri Apr 18 01:24:46 CEST 2008


On Thu, 2008-04-17 at 22:00 +0200, Koen Kooi wrote:
> John Lee wrote:
> > Take gtk-doc-dev for example:
> >
> > The gtk-doc package is empty, so it will not be created.  However, if
> > you install gtk-doc-dev, it RDEPENDS on gtk-doc, which cannot be
> > found.  The install will fail.
> >
> > I think we should use
> >
> > RRECOMMENDS_${PN}-dev = "${PN} (= ${DEBPV})"
> >
> > instead.
> 
> ALLOW_EMPTY_${PN} = "1" would be a better idea, and in line without 
> other depchain workarounds.

If ${PN} is empty and its existence makes no sense I think its
acceptable to do:

RDEPENDS_${PN}-dev = ""
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})"

in the recipe itself. linux-libc-headers.inc does this for example since
${PN} makes no sense there.

There really aren't that many packages like this although there may be
some that have been dealt with in Poky but not in OE.

Cheers,

Richard




More information about the Openembedded-devel mailing list