All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Fwd: Re:  mesa3d:  "ImportError: No module named
Date: Mon, 05 Nov 2012 13:38:58 +0100	[thread overview]
Message-ID: <5097B362.4010908@free-electrons.com> (raw)
In-Reply-To: <5097B350.8020701@free-electrons.com>




-------- Message original --------
Sujet: Re: [Buildroot] mesa3d:  "ImportError: No module named
Date : Mon, 05 Nov 2012 13:38:40 +0100
De : Maxime Ripard <maxime.ripard@free-electrons.com>
Pour : Vellemans, Noel <Noel.Vellemans@visionBMS.com>

Hi,

(Please keep the mailing list in CC)

Le 05/11/2012 11:20, Vellemans, Noel a ?crit :
> Hi Maxime,
> 
> 
> I'm still trying to dig a little deeper into the problem.
> 
> Is this reproducible? 
> Yes, if you delete de mesa3d output directory completely you also run
> into the same problem (so there is no need to have a CLEAN output
> directory)
> 
> 
> Some info:
> TARGET : ARM - imx537
> 
> HOST: Ubuntu 64 bit 
> HOST-Python: 2.6.6 (see HOST-python_version.txt)
> 
>>> Also, do you know what python interpreter it is actually using? 
>>> The one found in your distribution or host-python built by Buildroot?
> 
> At this time  (as test) I did rename the host-python [ sudo mv
> /usr/bin/python /usr/bin/_python ] 
> and buildroot bails out with you must install python on your
> build-machine.
> So I "guess" (which is not my best) buildroot is using the host-python
> (2.6.6). 

Ok, so basically, you will probably need to do a few things here to get
that fixed I guess:
  - In libxml2, remove the --without-python option if python emulator is
selected
  - Make the mesa3d package depends on host-python and host-libxml2 (I
guess?) (basically, just add these two packages to MESA3D_DEPENDENCIES)
  - Make mesa3d use the host-python package we just built instead of the
one found on our distribution

I guess something like that would work. But what are the others think on
making mesa depends on host-python? It looks a bit oe-ish, but I don't
quite see a better way.

Maxime
-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

           reply	other threads:[~2012-11-05 12:38 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <5097B350.8020701@free-electrons.com>]

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=5097B362.4010908@free-electrons.com \
    --to=maxime.ripard@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.