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

Michael 'Mickey' Lauer mickey at vanille-media.de
Sat Apr 19 11:07:39 UTC 2008


On Friday 18 April 2008 01:24:46 Richard Purdie wrote:
> 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.

How much noise would a poky/OE diff contain? I guess more of us should try to 
merge things from Poky.

:M:





More information about the Openembedded-devel mailing list