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

Graeme Gregory dp at xora.org.uk
Tue Jul 10 10:29:34 UTC 2007


On Tue, Jul 10, 2007 at 12:54:40PM +0300, Paul Sokolovsky wrote:
> > --- packages/glib-2.0/glib.inc 
> > 09c2d1615f7c249f8ab1c68778bafbc98293ff6b
> > +++ packages/glib-2.0/glib.inc 
> > 3b5260371e84b9c12db9a8cdc8c5809bab8d2ec5
> > @@ -8,7 +8,7 @@ DEPENDS += "virtual/libiconv virtual/lib
> >  PRIORITY = "optional"
> >  DEPENDS += "glib-2.0-native gtk-doc"
> >  DEPENDS += "virtual/libiconv virtual/libintl"
> > -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. Putting
> something in packages twice works after all, and we should either
> accept its usage fro such cases, or find other solution to do proper
> flexible packaging (and that would be a bit hard on syntax. Maybe add
> UNFILES?)
> 
It works, you just get a 5 line error from bitbake.

ERROR: -------------------
ERROR: glib-2.0-dev is listed in PACKAGES mutliple times, this leads to packaging errors.
ERROR: Please fix the metadata/report this as bug to OE bugtracker.
ERROR: -------------------

This means the change is wrong (tm) or bitbake is wrong (tm) but the initial
submitter should have fixed one or other or at least left a not in the commit
telling people what was going on. None of this was done.

As it was I accepted the instruction given by bitbake and fixed the metadata.

Graeme





More information about the Openembedded-devel mailing list