From: Gary Thomas <gary@mlbassoc.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] libepoxy: Use native python3
Date: Thu, 23 Jul 2015 17:00:03 -0600 [thread overview]
Message-ID: <55B171F3.4010009@mlbassoc.com> (raw)
In-Reply-To: <CAJTo0Lb9npwcdNkLbifoaR6P+QgAX76d0go8pq7ozCpEiW7k-w@mail.gmail.com>
On 2015-07-23 16:42, Burton, Ross wrote:
>
> On 23 July 2015 at 23:38, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> Well for me, the configure script ended up chosing python3,
> even when I used 'pythonnative' (i.e. python2) in the recipe.
> I could not get it to build any other way.
>
> Since python3-native will most likely already be built, what's
> the harm in doing it this way?
>
>
> Why will it be build? I certainly don't have a python3 build here.
I almost always seem to end up with it being built...
>
> Inheriting pythonnative is also the wrong thing to do - the pythonnative classes are solely for when you need to run Python and use non-standard classes that you've already built
> natively. If you just want to run the host Python, let it find the host python.
>
> Why was the configure script choosing python3 on your host the wrong thing to do?
It seems that my host python3 is broken and doesn't have a working 'argparse'
$ python3
Python 3.1.2 (r312:79147, Aug 23 2010, 05:17:13)
[GCC 4.4.4 20100630 (Red Hat 4.4.4-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named argparse
It's an old host (Fedora 13) that I am unable to upgrade, but it still
works quite well. I get around most of the Yocto/bitbake worries by
using a Yocto-built meta-toolchain to fill in the blanks (correct make,
python2, etc), but python3 is not part of the meta-toolchain :-(
If this is not the correct way to get libepoxy to build, fair enough,
I'll figure out how to make my host "functional".
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2015-07-23 23:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 0:22 [PATCH] libepoxy: Use native python3 Gary Thomas
2015-07-23 22:33 ` Burton, Ross
2015-07-23 22:38 ` Gary Thomas
2015-07-23 22:42 ` Burton, Ross
2015-07-23 23:00 ` Gary Thomas [this message]
2015-07-23 23:06 ` Richard Purdie
2015-07-23 23:15 ` Gary Thomas
2015-07-24 7:52 ` Richard Purdie
2015-07-24 14:45 ` Gary Thomas
2015-07-24 15:01 ` Gary Thomas
2015-07-24 15:08 ` Burton, Ross
2015-07-24 16:18 ` Gary Thomas
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=55B171F3.4010009@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox