From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Morgan Little : python: Update for python-native changes
Date: Tue, 24 Jul 2012 09:17:26 +0100 [thread overview]
Message-ID: <1343117846.21788.116.camel@ted> (raw)
In-Reply-To: <20120724075740.GG3271@jama.jama.net>
On Tue, 2012-07-24 at 09:57 +0200, Martin Jansa wrote:
> On Mon, Jul 23, 2012 at 03:06:12PM +0200, Martin Jansa wrote:
> > On Mon, Jul 23, 2012 at 02:02:12PM +0100, Richard Purdie wrote:
> > > On Mon, 2012-07-23 at 13:37 +0200, Martin Jansa wrote:
> > > > On Mon, Jul 23, 2012 at 12:32:55PM +0100, Richard Purdie wrote:
> > > package-index doesn't inherit pythonnative. The python found from env
> > > would therefore be the host system python but its using files from the
> > > sysroot. Mixing the two is a bad idea.
> > >
> > > The question is how is it mixing these up, the host system python
> > > shouldn't be looking there for modules.
> > >
> > > So I'm not sure why they're getting mixed up but its likely the problem.
> > > Does anything jump out at you on the machine in question with the above
> > > in mind?
> >
> > Not really and it happens only in some builds (all today - haven't seen
> > this error before) and sofar it failed in 4/10 image/feed builds and
> > worked in remaining 6.
> >
> > Even for the same combination of MACHINE and target it once worked and once
> > failed without any metadata changes or host distro changes between.
>
> env doesn't show anything interesting related to python
>
> changing shebang to
> path/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python-native/python
>
> made all currently failing builds to succeed again, but the issue is
> still there..
Is this on the same build machine? There must be something in common
with the failed builds. Do they always fail if you
hardcode /usr/bin/python in there? If so, can we figure out why the host
python is looking at files in the sysroot? LD_LIBRARY_PATH isn't set or
something odd like that?
Cheers,
Richard
next prev parent reply other threads:[~2012-07-24 8:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20120722104358.0339C10217@opal>
2012-07-23 11:18 ` [oe-commits] Morgan Little : python: Update for python-native changes Martin Jansa
2012-07-23 11:32 ` Richard Purdie
2012-07-23 11:37 ` Martin Jansa
2012-07-23 13:02 ` Richard Purdie
2012-07-23 13:06 ` Martin Jansa
2012-07-24 7:57 ` Martin Jansa
2012-07-24 8:17 ` Richard Purdie [this message]
2012-07-24 8:25 ` Martin Jansa
2012-08-05 10:24 ` [PATCH] opkg-utils: inherit pythonnative Martin Jansa
2012-08-06 9:30 ` Martin Jansa
2012-07-29 12:50 ` [oe-commits] Morgan Little : python: Update for python-native changes Martin Jansa
2012-07-29 16:25 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343117846.21788.116.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-commits@lists.openembedded.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.