AnsweredAssumed Answered

QorIQ-SDK-V2.0-2016 bitbake issue on Debian 9 building Linux images for Ls1043ardb

Question asked by j_wallace on Jul 21, 2017
Latest reply on Aug 25, 2017 by John Anderson

Hi everybody.

I tried to follow the installation guide (QORIQ_SDK_LS1043A_RN.pdf). I did not find the iso file referenced in the doc (Linux-LS1043A-SDK-<version>-<target>-<yyyymmdd>-yocto.iso ), but the following:

QorIQ Linux SDK v2.0 AARCH64 Yocto Cache.iso
QorIQ Linux SDK v2.0 SOURCE.iso
QorIQ Linux SDK v2.0 AARCH64 IMAGE.iso

So I made the assumption that the doc is not up to date...

The document suggests doing

$ source ./poky/fsl-setup-poky -m <machine> but my install does not have ./poky/fsl-setup-poky file but fsl-setup-env in the install directory root. I supposed this will do the job (wrong?).  Everything seemed nice till I tried to build. I got the log bellow. I'm not Python fluent ... Did I miss some packages or steps?

 

~/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb$ bitbake fsl-image-minimal
Traceback (most recent call last):
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin/bitbake", line 31, in <module>
import bb
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1769, in <module>
from . import wget
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 40, in <module>
from bs4 import BeautifulSoup
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/__init__.py", line 30, in <module>
from .builder import builder_registry, ParserRejectedMarkup
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/builder/__init__.py", line 311, in <module>
from . import _html5lib
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/builder/_html5lib.py", line 57, in <module>
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'
/home/martines/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/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/martines/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 "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 39, in <module>
from bb import data
ImportError: cannot import name data
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/martines/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 "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/home/martines/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 39, in <module>
from bb import data
ImportError: cannot import name data

Outcomes