AnsweredAssumed Answered

SDK Error while bitbake fsl-image-minimal on centos 5.9

Question asked by Phenix Yan on Oct 9, 2016
Latest reply on Oct 10, 2016 by Yiping Wang

[yw079@localhost build_t2080rdb-64b]$ bitbake fsl-image-minimal
Traceback (most recent call last):
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin/bitbake", line 31, in <module>
import bb
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module>
import bb.persist_data, bb.utils
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module>
from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2
/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/event.py:118: RuntimeWarning: Parent module 'bb' not found while handling absolute import
from bb.msg import BBLogFormatter
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/event.py", line 118, in print_ui_queue
from bb.msg import BBLogFormatter
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module>
import bb.persist_data, bb.utils
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module>
from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/event.py", line 118, in print_ui_queue
from bb.msg import BBLogFormatter
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module>
import bb.persist_data, bb.utils
File "/opt/phenix/nxp/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module>
from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2
[yw079@localhost build_t2080rdb-64b]$

Outcomes