Hello,

I am trying to build an image for the BeagleBone Black on my Ubuntu virtual 
machine ( ubuntu-12.04.3-desktop-i386.iso ) running under vmware on a Windows 7 
PC.

Essentially I am following the steps as described by M. Derek Molloy at 
http://derekmolloy.ie/building-angstrom-for-beaglebone-from-source/ - and have 
successfully went through almost all steps - except of the last one, invoking 
bitbake.

In fact, the difference is that M. Derek Molloy is based on a former angstrom 
distribution ( environment-angstromv2012.12 ), but, according to my Ubuntu 
screen my distribution is environment-angstrom-v2013.06:

user@ubuntu:/home/tibor/beagle/setup-scripts$ ls
conf  environment-angstrom-v2013.06  oebb.sh  README  scripts  sources

Everyting seems to be OK until the command of:

user@ubuntu:/home/tibor/beagle/setup-scripts . 
~/.oe/environment-angstromv2012.12

I tried to change it to:

user@ubuntu:/home/tibor/beagle/setup-scripts . 
~/.oe/environment-angstrom-v2013.06

But it does neither help - the response is:

bash: /home/user/.oe/environment-angstrom-v2013.06: No such file or directory
user@ubuntu:/home/tibor/beagle/setup-scripts$

I tried to start bitbake, anyway with the following command:

user@ubuntu:/home/tibor/beagle/setup-scripts$ sudo bitbake systemd-image

... and it does something... prints out a lot of messages as follows:

---
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 234, in <module>
    ret = main()
  File "/usr/bin/bitbake", line 197, in main
    server = ProcessServer(server_channel, event_queue, configuration)
  File "/usr/lib/pymodules/python2.7/bb/server/process.py", line 78, in __init__
    self.cooker = BBCooker(configuration, self.register_idle_function)
  File "/usr/lib/pymodules/python2.7/bb/cooker.py", line 76, in __init__
    self.parseConfigurationFiles(self.configuration.file)
  File "/usr/lib/pymodules/python2.7/bb/cooker.py", line 510, 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}:${CLASSOVERRIDE}:forcevariable${@bb.utils.contains("TUNE_FEATURES",
 "thumb", ":thumb", "", d)}${@bb.utils.contains("TUNE_FEATURES", 
"no-thumb-interwork", ":thumb-interwork", "", d)}'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 116, in 
expandWithRefs
    s = __expand_var_regexp__.sub(varparse.var_sub, s)
  File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 60, in var_sub
    var = self.d.getVar(key, 1)
  File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 260, in getVar
    return self.expand(value, var)
  File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 132, in expand
    return self.expandWithRefs(s, varname).value
  File "/usr/lib/pymodules/python2.7/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 "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 117, in 
expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 76, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d))
  File "/usr/lib/pymodules/python2.7/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)
---

And that is:  I spent some hours trying to find out a solution, googled  - but 
was unable to solve this.

Any help / hint would be highly appreciated.

Thanks in advance

Tibor




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

Reply via email to