[oe] [oe-commits] org.oe.dev packages/glib-2.0/glib.inc : remove bogus ${PN}-dev from packages.

Justin Patrin papercrane at gmail.com
Tue Jul 10 17:17:45 UTC 2007


On 7/10/07, Richard Purdie <rpurdie at rpsys.net> wrote:
> On Tue, 2007-07-10 at 12:36 +0200, Marcin Juszkiewicz wrote:
> > Dnia wtorek, 10 lipca 2007, Paul Sokolovsky napisał:
> > > Hello xora,
> > > > packages/glib-2.0/glib.inc : remove bogus ${PN}-dev from packages.
> >
> > > > -PACKAGES =+ "${PN}-dev glib-2.0-utils "
> > > > +PACKAGES =+ " glib-2.0-utils "
> >
> > >   This is not bogus. For this package, -dev must be packaged before
> > > the main package, or the latter will get *.h and *.m4 files.
> >
> > fix FILES_${PN} then
> >
> > > Putting something in packages twice works after all, and we should
> > > either accept its usage fro such cases,
> >
> > -1 from me - we should not allow such things as they can hide bugs
> >
> > > or find other solution to do proper flexible packaging (and that would
> > > be a bit hard on syntax.
> >
> > FILES adapting was fast job - I am testing fix in Poky now.
>
> Duplicate entries in PACKAGES cause all kinds of subtle problems as per
> the error message. Please don't do it and set FILES correctly.
>

There's no reason it should. If the first is used and any further ones
are ignored it works fine. I submitted a patch for this a long, long
time ago.

If you don't want to allow duplicate packages then the only way to get
around this is to do PACKAGES = instead of += to put things in the
right order. (Or "fix" FILES but which is the grossest hack? It could
be either....)


-- 
Justin Patrin


More information about the Openembedded-devel mailing list