I had the exact same problem and this post saved me a lot of time

thanks guys

On Sunday, December 22, 2013 at 11:53:26 AM UTC-8, Robert Ianovich wrote:
>
> 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,
>
>
>
>
>
>
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0fc9e82a-f460-4d62-af87-2baee290f7dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to