Hi,
After preparing the host environment, I triedto build fsl-image-minimal and I got below error.
Though, bblayers.conf and local.conf files are created in build-dir after . ./fsl-setup-env -m ls2080ardb, it fails when bitbake <target> is executed as below,
I checked the python version and it is 2.7.3
hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls2080ardb$ python --version
Python 2.7.3
hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls2080ardb$ bitbake fsl-image-minimal
Traceback (most recent call last):
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin/bitbake", line 31, in <module>
import bb
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1769, in <module>
from . import wget
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 40, in <module>
from bs4 import BeautifulSoup
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/__init__.py", line 30, in <module>
from .builder import builder_registry, ParserRejectedMarkup
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/builder/__init__.py", line 4, in <module>
from bs4.element import (
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/element.py", line 5, in <module>
from bs4.dammit import EntitySubstitution
File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/dammit.py", line 11, in <module>
from htmlentitydefs import codepoint2name
ImportError: No module named htmlentitydefs
/export/yocto/hmangam/LS2088A_SDK/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
Can anyone please let me know what I am missing here?
Thanks,
Natarajan
Use Ubuntu 14. Do not use Ubuntu 16.
Usually the following command sequence is used for SDK installing under Ubuntu 14.04 64-bit:
Message: /bin/sh -> dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pavel,
Thank you for your reply.
I am trying to build this on redhat host machine with redhat-elease 6.4.
hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto$ cat /etc/redhat-release
Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
It is mentioned the RHEL version should 6.X.
# RHEL/CeniOS: 5.x/6.x
Thanks,
Natarajan