<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LayerscapeのトピックRe: SDK version2.0  compilation fails with bitbake error</title>
    <link>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847804#M3860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I am trying to build this on redhat host machine with redhat-elease 6.4.&lt;/P&gt;&lt;P&gt;hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto$ cat /etc/redhat-release&lt;BR /&gt;Red Hat Enterprise Linux Workstation release 6.4 (Santiago)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is mentioned the RHEL version should 6.X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# RHEL/CeniOS: 5.x/6.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Natarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2018 05:20:06 GMT</pubDate>
    <dc:creator>natarajan_subbi</dc:creator>
    <dc:date>2018-07-25T05:20:06Z</dc:date>
    <item>
      <title>SDK version2.0  compilation fails with bitbake error</title>
      <link>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847802#M3858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After preparing the host environment, I triedto build &lt;SPAN&gt;fsl-image-minimal&lt;/SPAN&gt; and I got below error.&lt;/P&gt;&lt;P&gt;Though, bblayers.conf and local.conf files are created in build-dir after . ./fsl-setup-env -m&amp;nbsp;&lt;SPAN&gt;ls2080ardb, it fails when bitbake &amp;lt;target&amp;gt; is executed as below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the python version and it is 2.7.3&lt;/P&gt;&lt;P&gt;hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls2080ardb$ python --version&lt;BR /&gt;Python 2.7.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls2080ardb$ bitbake fsl-image-minimal&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin/bitbake", line 31, in &amp;lt;module&amp;gt;&lt;BR /&gt; import bb&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/__init__.py", line 77, in &amp;lt;module&amp;gt;&lt;BR /&gt; from bb import fetch2 as fetch&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1769, in &amp;lt;module&amp;gt;&lt;BR /&gt; from . import wget&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 40, in &amp;lt;module&amp;gt;&lt;BR /&gt; from bs4 import BeautifulSoup&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/__init__.py", line 30, in &amp;lt;module&amp;gt;&lt;BR /&gt; from .builder import builder_registry, ParserRejectedMarkup&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/builder/__init__.py", line 4, in &amp;lt;module&amp;gt;&lt;BR /&gt; from bs4.element import (&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/element.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt; from bs4.dammit import EntitySubstitution&lt;BR /&gt; File "/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/lib/bs4/dammit.py", line 11, in &amp;lt;module&amp;gt;&lt;BR /&gt; from htmlentitydefs import codepoint2name&lt;BR /&gt;ImportError: No module named htmlentitydefs&lt;BR /&gt;/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&lt;BR /&gt; from bb.msg import BBLogFormatter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please let me know what I am missing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Natarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 15:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847802#M3858</guid>
      <dc:creator>natarajan_subbi</dc:creator>
      <dc:date>2018-07-24T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: SDK version2.0  compilation fails with bitbake error</title>
      <link>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847803#M3859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Use Ubuntu 14. Do not use Ubuntu 16.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Usually the following command sequence is used for SDK installing under Ubuntu 14.04 64-bit:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; a) command: ls -l /bin/sh&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message:&amp;nbsp; /bin/sh -&amp;gt; dash&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; b) command: sudo dpkg-reconfigure dash&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Answer after password – No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Message: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; c) command for checking: ls -l /bin/sh&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message: /bin/sh -&amp;gt; bash&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="3"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; mount SDK source .iso file &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; cd &amp;lt;sdk-install-dir&amp;gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; ./sources/meta-freescale/scripts/host-prepare.sh&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Usually Linux recommends also run the following command: sudo usr/sbin/visudo&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="6"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; bitbake fsl-image-minimal &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; bitbake &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;fsl-image-core &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 02:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847803#M3859</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2018-07-25T02:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: SDK version2.0  compilation fails with bitbake error</title>
      <link>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847804#M3860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I am trying to build this on redhat host machine with redhat-elease 6.4.&lt;/P&gt;&lt;P&gt;hmangam:[]:/export/yocto/hmangam/LS2088A_SDK/QorIQ-SDK-V2.0-20160527-yocto$ cat /etc/redhat-release&lt;BR /&gt;Red Hat Enterprise Linux Workstation release 6.4 (Santiago)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is mentioned the RHEL version should 6.X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# RHEL/CeniOS: 5.x/6.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Natarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 05:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SDK-version2-0-compilation-fails-with-bitbake-error/m-p/847804#M3860</guid>
      <dc:creator>natarajan_subbi</dc:creator>
      <dc:date>2018-07-25T05:20:06Z</dc:date>
    </item>
  </channel>
</rss>

