<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7989</bug_id>
          
          <creation_ts>2015-07-12 10:43:16 +0000</creation_ts>
          <short_desc>Bitbake fail build with python2-ply 3.6</short_desc>
          <delta_ts>2015-11-02 08:36:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gustavo">sl1pkn07</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52303</commentid>
    <comment_count>0</comment_count>
    <who name="Gustavo">sl1pkn07</who>
    <bug_when>2015-07-12 10:43:16 +0000</bug_when>
    <thetext>Hi

Build Bitbake 1.26 fail build if use python2-ply 3.6

if use python2-ply 3.5 build ok


└───╼ python2 setup.py build
running build
running build_py
creating build
creating build/lib
copying lib/codegen.py -&gt; build/lib
creating build/lib/bb
creating build/lib/bb/server
copying lib/bb/server/process.py -&gt; build/lib/bb/server
copying lib/bb/server/__init__.py -&gt; build/lib/bb/server
copying lib/bb/server/xmlrpc.py -&gt; build/lib/bb/server
creating build/lib/bb/parse
creating build/lib/bb/parse/parse_py
copying lib/bb/parse/parse_py/ConfHandler.py -&gt; build/lib/bb/parse/parse_py
copying lib/bb/parse/parse_py/BBHandler.py -&gt; build/lib/bb/parse/parse_py
copying lib/bb/parse/parse_py/__init__.py -&gt; build/lib/bb/parse/parse_py
copying lib/bb/parse/ast.py -&gt; build/lib/bb/parse
copying lib/bb/parse/__init__.py -&gt; build/lib/bb/parse
creating build/lib/bb/fetch2
copying lib/bb/fetch2/clearcase.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/perforce.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/git.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/svn.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/sftp.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/gitannex.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/cvs.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/bzr.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/gitsm.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/osc.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/wget.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/local.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/hg.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/repo.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/ssh.py -&gt; build/lib/bb/fetch2
copying lib/bb/fetch2/__init__.py -&gt; build/lib/bb/fetch2
creating build/lib/bb/ui
creating build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/sanitycheckpage.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/builder.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/runningbuild.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/packageselectionpage.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/builddetailspage.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/hobeventhandler.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/imageconfigurationpage.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/imagedetailspage.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/utils.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/progress.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/persistenttooltip.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/hoblistmodel.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/recipeselectionpage.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/progressbar.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/hobwidget.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/hobcolor.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/__init__.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/buildmanager.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/crumbs/hobpages.py -&gt; build/lib/bb/ui/crumbs
copying lib/bb/ui/ncurses.py -&gt; build/lib/bb/ui
copying lib/bb/ui/uihelper.py -&gt; build/lib/bb/ui
copying lib/bb/ui/depexp.py -&gt; build/lib/bb/ui
copying lib/bb/ui/puccho.py -&gt; build/lib/bb/ui
copying lib/bb/ui/goggle.py -&gt; build/lib/bb/ui
copying lib/bb/ui/toasterui.py -&gt; build/lib/bb/ui
copying lib/bb/ui/knotty.py -&gt; build/lib/bb/ui
copying lib/bb/ui/hob.py -&gt; build/lib/bb/ui
copying lib/bb/ui/buildinfohelper.py -&gt; build/lib/bb/ui
copying lib/bb/ui/uievent.py -&gt; build/lib/bb/ui
copying lib/bb/ui/__init__.py -&gt; build/lib/bb/ui
creating build/lib/bb/pysh
copying lib/bb/pysh/pysh.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/interp.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/pyshtables.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/sherrors.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/subprocess_fix.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/pyshlex.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/pyshyacc.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/lsprof.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/builtin.py -&gt; build/lib/bb/pysh
copying lib/bb/pysh/__init__.py -&gt; build/lib/bb/pysh
copying lib/bb/process.py -&gt; build/lib/bb
copying lib/bb/build.py -&gt; build/lib/bb
copying lib/bb/command.py -&gt; build/lib/bb
copying lib/bb/data.py -&gt; build/lib/bb
copying lib/bb/codeparser.py -&gt; build/lib/bb
copying lib/bb/methodpool.py -&gt; build/lib/bb
copying lib/bb/compat.py -&gt; build/lib/bb
copying lib/bb/main.py -&gt; build/lib/bb
copying lib/bb/tinfoil.py -&gt; build/lib/bb
copying lib/bb/taskdata.py -&gt; build/lib/bb
copying lib/bb/cookerdata.py -&gt; build/lib/bb
copying lib/bb/event.py -&gt; build/lib/bb
copying lib/bb/msg.py -&gt; build/lib/bb
copying lib/bb/persist_data.py -&gt; build/lib/bb
copying lib/bb/providers.py -&gt; build/lib/bb
copying lib/bb/namedtuple_with_abc.py -&gt; build/lib/bb
copying lib/bb/utils.py -&gt; build/lib/bb
copying lib/bb/checksum.py -&gt; build/lib/bb
copying lib/bb/cache.py -&gt; build/lib/bb
copying lib/bb/monitordisk.py -&gt; build/lib/bb
copying lib/bb/COW.py -&gt; build/lib/bb
copying lib/bb/runqueue.py -&gt; build/lib/bb
copying lib/bb/siggen.py -&gt; build/lib/bb
copying lib/bb/cache_extra.py -&gt; build/lib/bb
copying lib/bb/daemonize.py -&gt; build/lib/bb
copying lib/bb/data_smart.py -&gt; build/lib/bb
copying lib/bb/__init__.py -&gt; build/lib/bb
copying lib/bb/exceptions.py -&gt; build/lib/bb
copying lib/bb/cooker.py -&gt; build/lib/bb
creating build/lib/prserv
copying lib/prserv/serv.py -&gt; build/lib/prserv
copying lib/prserv/db.py -&gt; build/lib/prserv
copying lib/prserv/__init__.py -&gt; build/lib/prserv
creating build/lib/bb/tests
copying lib/bb/tests/cow.py -&gt; build/lib/bb/tests
copying lib/bb/tests/data.py -&gt; build/lib/bb/tests
copying lib/bb/tests/codeparser.py -&gt; build/lib/bb/tests
copying lib/bb/tests/utils.py -&gt; build/lib/bb/tests
copying lib/bb/tests/fetch.py -&gt; build/lib/bb/tests
copying lib/bb/tests/__init__.py -&gt; build/lib/bb/tests
running build_scripts
creating build/scripts-2.7
copying and adjusting bin/bitbake -&gt; build/scripts-2.7
copying and adjusting bin/bitbake-layers -&gt; build/scripts-2.7
copying and adjusting bin/bitbake-diffsigs -&gt; build/scripts-2.7
copying and adjusting bin/bitbake-prserv -&gt; build/scripts-2.7
copying and adjusting bin/bitbake-selftest -&gt; build/scripts-2.7
copying and adjusting bin/image-writer -&gt; build/scripts-2.7
changing mode of build/scripts-2.7/bitbake from 644 to 755
changing mode of build/scripts-2.7/bitbake-layers from 644 to 755
changing mode of build/scripts-2.7/bitbake-diffsigs from 644 to 755
changing mode of build/scripts-2.7/bitbake-prserv from 644 to 755
changing mode of build/scripts-2.7/bitbake-selftest from 644 to 755
changing mode of build/scripts-2.7/image-writer from 644 to 755
 
******** Building bitbake-user-manual
 
cd bitbake-user-manual; xsltproc --stringparam html.stylesheet bitbake-user-manual-style.css --stringparam  chapter.autolabel 1 --stringparam  section.autolabel 1 --stringparam  section.label.includes.component.label 1 --xinclude -o bitbake-user-manual.html bitbake-user-manual-customization.xsl bitbake-user-manual.xml; cd ..
Note: namesp. cut : stripped namespace before processing           
            BitBake User Manual
        
Note: namesp. cut : processing stripped document                   
            BitBake User Manual

└───╼ python2 setup.py install --root=/usr --skip-build       
Traceback (most recent call last):
  File &quot;setup.py&quot;, line 22, in &lt;module&gt;
    from bb import __version__
  File &quot;lib/bb/__init__.py&quot;, line 77, in &lt;module&gt;
    from bb import fetch2 as fetch
  File &quot;lib/bb/fetch2/__init__.py&quot;, line 39, in &lt;module&gt;
    from bb import data
  File &quot;lib/bb/data.py&quot;, line 48, in &lt;module&gt;
    from bb import data_smart
  File &quot;lib/bb/data_smart.py&quot;, line 35, in &lt;module&gt;
    import bb, bb.codeparser
  File &quot;lib/bb/codeparser.py&quot;, line 7, in &lt;module&gt;
    from pysh import pyshyacc, pyshlex, sherrors
  File &quot;lib/bb/pysh/pyshyacc.py&quot;, line 657, in &lt;module&gt;
    yacc.yacc(tabmodule = &apos;pysh.pyshtables&apos;, write_tables = 0, debug = 0)
  File &quot;/usr/lib/python2.7/site-packages/ply/yacc.py&quot;, line 3212, in yacc
    exec(&apos;import %s&apos; % pkgname)
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
ImportError: No module named pysh
lib/bb/event.py:111: RuntimeWarning: Parent module &apos;bb&apos; not found while handling absolute import
  from bb.msg import BBLogFormatter
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File &quot;/usr/lib/python2.7/atexit.py&quot;, line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File &quot;lib/bb/event.py&quot;, line 111, in print_ui_queue
    from bb.msg import BBLogFormatter
  File &quot;lib/bb/__init__.py&quot;, line 77, in &lt;module&gt;
    from bb import fetch2 as fetch
  File &quot;lib/bb/fetch2/__init__.py&quot;, line 39, in &lt;module&gt;
    from bb import data
  File &quot;lib/bb/data.py&quot;, line 48, in &lt;module&gt;
    from bb import data_smart
  File &quot;lib/bb/data_smart.py&quot;, line 35, in &lt;module&gt;
    import bb, bb.codeparser
  File &quot;lib/bb/codeparser.py&quot;, line 7, in &lt;module&gt;
    from pysh import pyshyacc, pyshlex, sherrors
  File &quot;lib/bb/pysh/pyshyacc.py&quot;, line 657, in &lt;module&gt;
    yacc.yacc(tabmodule = &apos;pysh.pyshtables&apos;, write_tables = 0, debug = 0)
  File &quot;/usr/lib/python2.7/site-packages/ply/yacc.py&quot;, line 3212, in yacc
    exec(&apos;import %s&apos; % pkgname)
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
ImportError: No module named pysh
Error in sys.exitfunc:
Traceback (most recent call last):
  File &quot;/usr/lib/python2.7/atexit.py&quot;, line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File &quot;lib/bb/event.py&quot;, line 111, in print_ui_queue
    from bb.msg import BBLogFormatter
  File &quot;lib/bb/__init__.py&quot;, line 77, in &lt;module&gt;
    from bb import fetch2 as fetch
  File &quot;lib/bb/fetch2/__init__.py&quot;, line 39, in &lt;module&gt;
    from bb import data
  File &quot;lib/bb/data.py&quot;, line 48, in &lt;module&gt;
    from bb import data_smart
  File &quot;lib/bb/data_smart.py&quot;, line 35, in &lt;module&gt;
    import bb, bb.codeparser
  File &quot;lib/bb/codeparser.py&quot;, line 7, in &lt;module&gt;
    from pysh import pyshyacc, pyshlex, sherrors
  File &quot;lib/bb/pysh/pyshyacc.py&quot;, line 657, in &lt;module&gt;
    yacc.yacc(tabmodule = &apos;pysh.pyshtables&apos;, write_tables = 0, debug = 0)
  File &quot;/usr/lib/python2.7/site-packages/ply/yacc.py&quot;, line 3212, in yacc
    exec(&apos;import %s&apos; % pkgname)
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
ImportError: No module named pysh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52580</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-24 11:46:58 +0000</bug_when>
    <thetext>Setup.py was removed from bitbake: http://git.openembedded.org/bitbake/commit/?id=e446281fbdd13cdfd2e39af0f48035829e2133ba</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52582</commentid>
    <comment_count>2</comment_count>
    <who name="Gustavo">sl1pkn07</who>
    <bug_when>2015-07-24 12:06:00 +0000</bug_when>
    <thetext>then now. how I can build and install bitbake?

greetings</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56071</commentid>
    <comment_count>3</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-11-02 08:36:11 +0000</bug_when>
    <thetext>Bitbake just need to be cloned: 
https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#obtaining-bitbake


Verified as obsolete.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>