Hello,
I have some problems following this instructions:
http://wind.cs.purdue.edu/doc/crosscompile.html
If I run MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel as root the folowing erro appears:
rocessing openembedded-core: Current branch angstrom-staging-yocto1.4 is up to date.
Using environment-angstrom-v2013.06 to setup needed variables. It is recommended to do ‘. environment-angstrom-v2013.06’ and run ‘bitbake something’ without using ./oebb.sh as wrapper
Executing: MACHINE=beaglebone bitbake virtual/kernel
Pseudo is not present but is required, building this first before the main build
ERROR: OE-core’s config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Do not use Bitbake as root.
ERROR: Execution of event handler ‘check_sanity_eventhandler’ failed
Now changing to some other user, another error:
Executing: MACHINE=beaglebone bitbake virtual/kernel
Pseudo is not present but is required, building this first before the main build
ERROR: Error parsing configuration files
Traceback (most recent call last):
File “/edi/setup-scripts/sources/bitbake/lib/bb/cooker.py”, line 201, in BBCooker.loadConfigurationData():
self.parseConfigurationFiles(self.configuration.prefile,
self.configuration.postfile)
except SyntaxError:
File “/edi/setup-scripts/sources/bitbake/lib/bb/cooker.py”, line 988, in BBCooker.parseConfigurationFiles(prefiles=, postfiles=):
if data.getVar(“BB_WORKERCONTEXT”, False) is None:
bb.fetch.fetcher_init(data)
bb.codeparser.parser_cache_init(data)
File “/edi/setup-scripts/sources/bitbake/lib/bb/fetch2/init.py”, line 465, in fetcher_init(d=<bb.data_smart.DataSmart object at 0x91f162c>):
pass
revs.clear()
else:
File “/edi/setup-scripts/sources/bitbake/lib/bb/persist_data.py”, line 147, in SQLTable.clear():
def clear(self):
self._execute(“DELETE FROM %s;” % self.table)
File “/edi/setup-scripts/sources/bitbake/lib/bb/persist_data.py”, line 66, in SQLTable._execute(*query=(‘DELETE FROM BB_URI_HEADREVS;’,)):
try:
return self.cursor.execute(*query)
except sqlite3.OperationalError as exc:
OperationalError: attempt to write a readonly database
Any idea ? i work on Linux Mint 16 (kind of ubuntu)
Thanks in advance,