Hello, I would just like to say thank to all of you for your help: today my Angstrom build script has completed the build procedure, saying: ---- NOTE: Tasks Summary: Attempted 756 tasks of which 208 didn't need to be rerun and all succeeded.
Summary: There were 71 WARNING messages shown. user@ubuntu:/home/tibor/beagle/setup-scripts$ ---- Retrospectively I had to correct three things - I wrote it down just for others may avoid these: 1-2 - using not the right bitbake and working in a "root" owned directory. In fact, I used the Ubuntu bitbake and not this one which comes with the Angstrom distribution. Following your suggestion I uninstalled it - but when it was unistalled, I got the "sudo: bitbake: command not found" message, so I re-installed it - and got the same error than before. The comment which put me on the right track was the one from Jack, saying "don't use sudo"... in fact, I checked the properties of my "user@ubuntu:/home/tibor" directory, and its owner ( I don't know why ) was set to "root".... changing the directory owner to "user" allowed me to uninstall the Ubuntu bitbake and start the correct one from the "user@ubuntu:/home/tibor/beagle/setup-scripts$" folder. ( after correctly sourcing the environment ). 3. At that moment I saw the build process starting... but after some minutes it stopped, showing some kind of "no enough memory" error message. Although I did not know too much about the reason, I suspected that it could be a problem about my virtual Ubuntu settings: I increased the memory size, reserved for Ubuntu by vmWare to 2 G, and also the disk size to 40G... then re-started the build: and this time it worked fine. So I continue by having a look on the kernel sources ... Thanks a lot Tibor -----Original Message----- From: angstrom-distro-devel-boun...@linuxtogo.org [mailto:angstrom-distro-devel-boun...@linuxtogo.org] On Behalf Of Jack Mitchell Sent: Tuesday, January 14, 2014 11:07 AM To: angstrom-distro-devel@linuxtogo.org Subject: Re: [Angstrom-devel] building Angstrom for BeagleBone Black On 13/01/14 21:37, tibor somogyi wrote: > Hello Koen, > > Many thanks for the help... now I understand what "sourcing" means - and I > tried it, and sourcing is worked fine ( at least, it did not result in an > error ). Unfortunatly, the build did not work... here is my log ( with C/C++ > style comments ): > > ------------ > user@ubuntu:/home/tibor/beagle/setup-scripts$ ls > // just to show what is n my folder > conf environment-angstrom-v2013.06 oebb.sh README scripts sources > user@ubuntu:/home/tibor/beagle/setup-scripts$ source > environment-angstrom-v2013.06 // here is the source command - it > seems to work > user@ubuntu:/home/tibor/beagle/setup-scripts$ sudo MACHINE=beagleboard > bitbake virtual/kernel // this is the build which fails... Also, don't use sudo. You will probably have to delete the whole setup-scripts directory and start again due to breaking the permissions by already trying to use sudo with bitbake. > 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 the error is: .... > > user@ubuntu:/home/tibor/beagle/setup-scripts$ > ----------------- > > Could you give me a hint about what's wrong, please ? > > Cheers > > Tibor > > > > -----Original Message----- > From: angstrom-distro-devel-boun...@linuxtogo.org > [mailto:angstrom-distro-devel-boun...@linuxtogo.org] On Behalf Of Koen > Kooi > Sent: Monday, January 13, 2014 8:51 PM > To: Discussion of the angstrom distribution development > Subject: Re: [Angstrom-devel] building Angstrom for BeagleBone Black > > > Op 13 jan. 2014, om 20:05 heeft tibor somogyi <somog...@slb.com> het volgende > geschreven: > >> Hello, >> >> Thank you for the advice. Following your suggestion, I got the README... and >> I have a question: could you tell me what does it mean "source the >> environment file" in the quote below, please ? >> >> >> "To start a build of the kernel, source the environment file and do: >> >> $ . environment-angstrom-v2013.06 >> $ MACHINE=beagleboard bitbake virtual/kernel" > > 'source' means using the shell source method (the period '.') to read the > config file into the environment. If you use bash as your shell you can also > do 'source environment-angstrom-v2013.06' > > regards, > > Koen > > >> >> Thanks and regards >> >> Tibor >> >> >> -----Original Message----- >> From: angstrom-distro-devel-boun...@linuxtogo.org >> [mailto:angstrom-distro-devel-boun...@linuxtogo.org] On Behalf Of >> Koen Kooi >> Sent: Friday, January 10, 2014 9:17 PM >> To: Discussion of the angstrom distribution development >> Subject: Re: [Angstrom-devel] building Angstrom for BeagleBone Black >> >> >> Op 10 jan. 2014, om 20:34 heeft tibor somogyi <somog...@slb.com> het >> volgende geschreven: >> >>> 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. >> >> Please don't follow random website on the internet, stick to the >> README provided with the scripts: >> https://github.com/angstrom-distribution/setup-scripts -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel