Hi all,
I've been happily using Angstrom to build a simple console-image for my 
AT91SAM9G20-EK development board, but I updated my git repo last night and it 
has broken my setup. 

My original working copy was of checkout 
http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/setup-scripts/commit/?id=e0a7b8afd4ba91ce9e1177da2ab11a7ac218f35f
 and the error I now get from bitbake is:


Traceback (most recent call last):
  File "/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/bin/bitbake", 
line 234, in <module>
    ret = main()
  File "/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/bin/bitbake", 
line 197, in main
    server = ProcessServer(server_channel, event_queue, configuration)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/server/process.py",
 line 81, in __init__
    self.cooker = BBCooker(configuration, self.register_idle_function)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 
77, in __init__
    self.parseConfigurationFiles(self.configuration.file)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 
529, in parseConfigurationFiles
    data = _parse(os.path.join("conf", "bitbake.conf"), data)
TypeError: getVar() takes exactly 3 arguments (2 given)
ERROR: Error evaluating 
'${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable'
Traceback (most recent call last):
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 116, in expandWithRefs
    s = __expand_var_regexp__.sub(varparse.var_sub, s)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 60, in var_sub
    var = self.d.getVar(key, 1)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 260, in getVar
    return self.expand(value, var)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 132, in expand
    return self.expandWithRefs(s, varname).value
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 117, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
TypeError: getVar() takes exactly 3 arguments (2 given)

ERROR: Error evaluating 
'${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[0] or 
'defaultpkgname'}'
Traceback (most recent call last):
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 117, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/data_smart.py", 
line 76, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d))
  File 
"/mnt/disk2/koan/angstrom/setup-scripts/sources/bitbake/lib/bb/utils.py", line 
387, in better_eval
    return eval(source, _context, locals)
  File "PN", line 1, in <module>
TypeError: getVar() takes exactly 3 arguments (2 given)


This is what I did prior to this error:

1. cd setup-scripts
2. git pull
3. MACHINE=at91sam9g20ek ./oebb config at91sam9g20ek
4. MACHINE=at91sam9g20ek ./oebb update
5. MACHINE=at91sam9g20ek ./oebb bitbake console-image

I've also tested this out on a vanilla checkout of the repo and it still has 
the same problem, and I've put the full output of the bitbake on gist at 
https://gist.github.com/1399857.  Can anyone help me out? 

Many thanks,
Nick


--
Nick Ludlam   CTO
n...@berglondon.com   + 44 7973 621425
BERG    http://berglondon.com/



_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to