[OE-core] [oe-core][RFC 1/2] glib: upgrade to 2.32.4

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 18 18:13:29 UTC 2012


On Tue, 2012-07-17 at 20:47 -0400, Colin Walters wrote:
> On Tue, 2012-07-17 at 17:34 -0700, Saul Wold wrote:
> 
> > It seems to be getting the native sysroot python instead of the more 
> > correct "#! /usr/bin/env python", this is causing a dependency failure.
> > 
> > If you could look at this please.
> 
> I ran into this a while ago with flex/bison:
> 
> https://lists.yoctoproject.org/pipermail/poky/2012-January/007403.html
> 
> Apparently the "correct" fix is to set an environment variable like e.g.
> PYTHON="/usr/bin/env python" ./configure --prefix=foo ?
> 
> That seems fairly gross though.  Some more generic solution would be
> nice...I don't have any great ideas offhand though.  I wonder if there's
> any actual use case for hardcoding the paths found at build time into
> the generated binaries.

Generally we kind of cheat and encode "/usr/bin/env xxx" into
native/nativesdk scripts and ${bindir}/env xxx into target scripts.

This relies on /usr/bin/env being available but so far its been the best
option we've found as yet.

Cheers,

Richard





More information about the Openembedded-core mailing list