Skip to contentSkip to conversation

BitBake Compilation errors

DISCUSSION Vamsi 3 participants 3 messages Aug 14, 2007 – Aug 15, 2007

lore
Share & tools
lore

Vamsi

author
#0 lore raw

Hi All,

I followed the steps as mentioned in the GettingStarted and was
trying to build with bitbake as "bitbake nano" but I am getting in to this error.
Is there any specific versions of the software that I should be using ? Any help to resolve the following issue would be appreciated. I am
new to Linux environment

File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 134, in ?

    main()

File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 114, in main
cooker = bb.cooker.BBCooker(configuration)
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line 65,
in __init__
self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line
340, in parseConfigurationFile
bb.fetch.fetcher_init(self.configuration.data)
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/fetch/__init__.py",
line 97, in fetcher_init
pd.delDomain("BB_URI_HEADREVS")
File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute' r

Thanks,
Vamsi

#1 lore raw

What do your $PATH and $BBPATH variables look like?

Quoted 36 lines · Vamsi

Hi All,

I followed the steps as mentioned in the GettingStarted and was
trying to build with bitbake as "bitbake nano" but I am getting in to this error.
Is there any specific versions of the software that I should be using ? Any help to resolve the following issue would be appreciated. I am
new to Linux environment

File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 134, in ?

    main()

File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 114, in main
cooker = bb.cooker.BBCooker(configuration)
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line 65,
in __init__
self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line
340, in parseConfigurationFile
bb.fetch.fetcher_init(self.configuration.data)
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/fetch/__init__.py",
line 97, in fetcher_init
pd.delDomain("BB_URI_HEADREVS")
File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute' r

Thanks,
Vamsi

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Vamsi

Hi,

Quoted 3 lines · Vamsi

pd.delDomain("BB_URI_HEADREVS")
File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'

This looks like an old version of python which has a pysqlite2 module missing features we use. Which version of python and pysqlite2 is this and can you upgrade it?

Regards,

Richard