[Angstrom-devel] bitbake parse error - angstrom-2011.3

Igor Cherepinsky igorc76 at gmail.com
Sun Sep 25 22:54:15 CEST 2011


I am trying to bitbake angstrom-2011.3. I checkout
angstrom-setup-scripts and modified oebb.sh to checkout 2011.3 distro
vs. 2008.1.
During bitbake recipe parse section, bitbake crashes with the following error:

ERROR: Error evaluating
'http://projects.linuxtogo.org/frs/download.php/14/prismstumbler-0.7.4pre1.tar.gz
           file://gpsapi.patch       ${@['',
'file://wireless.patch'][bb.data.getVar('PREFERRED_VERSION_linux-libc-headers',
d, 1) and bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d,
1).split('.')[2] < '30']}
file://fix-includes.patch;striplevel=0
file://libgps-check.patch            file://replace-gps_query.patch
        '
Traceback (most recent call last):
  File "/home/igor/Projects/mini2440/OE/sources/bitbake/lib/bb/data_smart.py",
line 117, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File "/home/igor/Projects/mini2440/OE/sources/bitbake/lib/bb/data_smart.py",
line 76, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d))
  File "/home/igor/Projects/mini2440/OE/sources/bitbake/lib/bb/utils.py",
line 387, in better_eval
    return eval(source, _context, locals)
  File "SRC_URI", line 1, in <module>
TypeError: list indices must be integers, not NoneType

ERROR: Error parsing
/home/igor/Projects/mini2440/OE/sources/openembedded/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb:
list indices must be integers, not NoneType
ERROR: Command execution failed: Exited with 1

I tired bitbake 1.13, it crashed even sooner. Any help is appreciated.



More information about the Angstrom-distro-devel mailing list