executing bitbake base-image command throw error

Hello,
I followed same steps mention this link:
http://www.angstrom-distribution.org/building-angstrom

When I run bitbake base-image command,I got error:
ERROR: IO Error: [Errno 13] Permission denied: '/OE/angstrom-dev/
saved_tmpdir'

Have you tried fixing those permission problems first?

Hello,
         When I run bitbake base-image command,I got error:

Traceback (most recent call last):
  File "/OE/openembedded/bitbake/bin/bitbake", line 143, in <module>
    main()
  File "/OE/openembedded/bitbake/bin/bitbake", line 123, in main
    cooker.parseConfiguration()
  File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 68, in
parseConfiguration
    self.parseConfigurationFile( os.path.join( "conf",
"bitbake.conf" ) )
  File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 402, in
parseConfigurationFile
    bb.fetch.fetcher_init(self.configuration.data)
  File "/OE/openembedded/bitbake/lib/bb/fetch/__init__.py", line 100,
in fetcher_init
    pd.delDomain("BB_URI_HEADREVS")
  File "/OE/openembedded/bitbake/lib/bb/persist_data.py", line 70, in
delDomain
    self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)
sqlite3.OperationalError: attempt to write a readonly database

Hello,
I try to add following in persist_data.py file .

try:
    self.connection.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT,
value TEXT);" % domain)
  except:
    bb.msg.debug(1, bb.msg.domain.PersistData, "Create table '%s'
failed" % domain)
instead of

self.connection.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value
TEXT);" % domain)

try:
    self.connection.execute("DROP TABLE %s;" % domain)
  except:
    bb.msg.debug(1, bb.msg.domain.PersistData, "Delete table '%s'
failed" % domain)

instead of

self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)

I solve error like that
Traceback (most recent call last):
  File "/OE/openembedded/bitbake/bin/bitbake", line 143, in <module>
    main()
  File "/OE/openembedded/bitbake/bin/bitbake", line 123, in main
    cooker.parseConfiguration()
  File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 68, in
parseConfiguration
    self.parseConfigurationFile( os.path.join( "conf",
"bitbake.conf" ) )
  File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 402, in
parseConfigurationFile
    bb.fetch.fetcher_init(self.configuration.data)
  File "/OE/openembedded/bitbake/lib/bb/fetch/__init__.py", line 100,
in fetcher_init
    pd.delDomain("BB_URI_HEADREVS")
  File "/OE/openembedded/bitbake/lib/bb/persist_data.py", line 71, in
delDomain
    self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)
sqlite3.OperationalError: attempt to write a readonly database

but I run bitbake base-image command,I got error:
ERROR: Openembedded'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:

        Using dash as /bin/sh causes various subtle build problems,
please use bash instead.

Hello,
I try to add following in persist_data.py file .

try:
self.connection.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT,
value TEXT);" % domain)
except:
bb.msg.debug(1, bb.msg.domain.PersistData, "Create table '%s'
failed" % domain)
instead of

self.connection.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value
TEXT);" % domain)

try:
self.connection.execute("DROP TABLE %s;" % domain)
except:
bb.msg.debug(1, bb.msg.domain.PersistData, "Delete table '%s'
failed" % domain)

instead of

self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)

I solve error like that
Traceback (most recent call last):
File "/OE/openembedded/bitbake/bin/bitbake", line 143, in <module>
main()
File "/OE/openembedded/bitbake/bin/bitbake", line 123, in main
cooker.parseConfiguration()
File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 68, in
parseConfiguration
self.parseConfigurationFile( os.path.join( "conf",
"bitbake.conf" ) )
File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 402, in
parseConfigurationFile
bb.fetch.fetcher_init(self.configuration.data)
File "/OE/openembedded/bitbake/lib/bb/fetch/__init__.py", line 100,
in fetcher_init
pd.delDomain("BB_URI_HEADREVS")
File "/OE/openembedded/bitbake/lib/bb/persist_data.py", line 71, in
delDomain
self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)
sqlite3.OperationalError: attempt to write a readonly database

but I run bitbake base-image command,I got error:
ERROR: Openembedded'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:

   Using dash as /bin/sh causes various subtle build problems,

please use bash instead.

Change from using dash to bash, I'm not usre how to do it (I assume
you are using ubuntu), but the google should give the answer.

Also, be careful on the permissions on directories.

Philip

Gaurang wrote:

Hello,
I try to add following in persist_data.py file .

try:
    self.connection.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT,
value TEXT);" % domain)
  except:
    bb.msg.debug(1, bb.msg.domain.PersistData, "Create table '%s'
failed" % domain)
instead of

self.connection.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value
TEXT);" % domain)

try:
    self.connection.execute("DROP TABLE %s;" % domain)
  except:
    bb.msg.debug(1, bb.msg.domain.PersistData, "Delete table '%s'
failed" % domain)

instead of

self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)

I solve error like that
Traceback (most recent call last):
  File "/OE/openembedded/bitbake/bin/bitbake", line 143, in <module>
    main()
  File "/OE/openembedded/bitbake/bin/bitbake", line 123, in main
    cooker.parseConfiguration()
  File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 68, in
parseConfiguration
    self.parseConfigurationFile( os.path.join( "conf",
"bitbake.conf" ) )
  File "/OE/openembedded/bitbake/lib/bb/cooker.py", line 402, in
parseConfigurationFile
    bb.fetch.fetcher_init(self.configuration.data)
  File "/OE/openembedded/bitbake/lib/bb/fetch/__init__.py", line 100,
in fetcher_init
    pd.delDomain("BB_URI_HEADREVS")
  File "/OE/openembedded/bitbake/lib/bb/persist_data.py", line 71, in
delDomain
    self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)
sqlite3.OperationalError: attempt to write a readonly database

but I run bitbake base-image command,I got error:
ERROR: Openembedded'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:

        Using dash as /bin/sh causes various subtle build problems,
please use bash instead.

>
>
>
> > Hello,
> > I followed same steps mention this link:
> >http://www.angstrom-distribution.org/building-angstrom
>
> > When I run bitbake base-image command,I got error:
> > ERROR: IO Error: [Errno 13] Permission denied: '/OE/angstrom-dev/
> > saved_tmpdir'
>
> Have you tried fixing those permission problems first?
>
> PGP.sig
> < 1KViewDownload

I have one OT question: why do you ask general OpenEmbedded-related
question in BeagleBoard mailing list? There are plenty of OE mailing lists!