On 12/07/2011 08:44 AM, Jeff Mitchell wrote:
On 12/06/2011 07:23 PM, Khem Raj wrote:
On Tue, Dec 6, 2011 at 10:07 AM, Jeff Mitchell<jmitch...@ll.mit.edu> wrote:
Hi there,
I'm trying to build angstrom for pandaboard but I'm running into trouble
when running a bitbake.
I get a traceback that points to line 241 of sanity.bbclass, indicating that
it can't find the MACHINE environment variable. However, MACHINE is defined
both in conf/auto.conf, and I'm passing it into bitbake with
MACHINE=pandaboard bitbake virtual/kernel.
I tried putting in a dump of e.data.__dict__ in that sanity function, and
MACHINE is present, but marked as "unexport"...could that have anything to
do with it?
do bitbake -DDD virtual/kernel and check the output
find out if its reading in right conf/auto.conf
Hi Khem,
It turns out the problem was stupid -- I was using the wrong MACHINE
name -- but I didn't realize that was causing it because of the error
message I got. The line in sanity.bbclass that was failing is:
Ack, truly sorry.
The line that was failing was:
if data.getVar('MACHINE', e.data, True):
It's supposed to check that the machine is valid on the next line if
that returns True; in my case the wrong MACHINE name was for some reason
causing that to return False, which led me to believe that it simply
wasn't seeing the MACHINE environment variable. Not sure why that
happened, but hopefully this will either help someone else or someone
will be able to fix that.
Thanks,
Jeff
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel