[OE-core] Glib-2.0 cross-compile issue Was: Master Failures

Martin Jansa martin.jansa at gmail.com
Wed Jul 18 01:05:11 UTC 2012


On Tue, Jul 17, 2012 at 09:01:40PM -0400, Colin Walters wrote:
> On Wed, 2012-07-18 at 02:52 +0200, Martin Jansa wrote:
> 
> > It's probably caused by this
> > http://permalink.gmane.org/gmane.comp.gnome.svn/604029
> > 
> > which isn't very cross-compile friendly.. maybe we can just add patch
> > reverting this change in 2.32.4?
> 
> I don't think it's a good idea to look at this module by module.  A
> *lot* of code out there uses AM_PATH_PYTHON, and then does something
> with the resulting value of @PYTHON at .  We should figure out the correct
> thing to do that fixes all of:
> 
> 0) "Normal" self-hosting build where /usr/bin/python = python2, and
>    we can use both /usr/bin/env python or /usr/bin/python
> 1) OE-core cross compilation
> 2) Ubuntu's situation of /usr/bin/python = python 3, and we want
>    to use /usr/bin/python2
> 
> Reverting the patch is going to break 2).

But we can apply it only for target recipe where we don't expect 2)
yet..

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120718/40c2f935/attachment-0002.sig>


More information about the Openembedded-core mailing list