<?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>11784</bug_id>
          
          <creation_ts>2017-07-12 19:46:15 +0000</creation_ts>
          <short_desc>Instructions for quick-start on Debian based distributions miss the installation of python</short_desc>
          <delta_ts>2017-07-12 20:45:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Quick Start</product>
          <component>quick-start</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>12 July 2017: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>kristi</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <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>74972</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-07-12 19:46:15 +0000</bug_when>
    <thetext>On a new Debian stretch chroot, after installing the packages recommended by the quick install guide:

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm

Trying to run bitbake results in this:

$ source poky/oe-init-build-env xtest
-bash: python: command not found
OpenEmbedded requires &apos;python&apos; to be python v2 (&gt;= 2.7.3), not python v3.
Please upgrade your python v2.


The fix is to install python2 (package name python):

$ sudo apt-get install python
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python-minimal python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-minimal python2.7 python2.7-minimal
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 4166 kB of archives.
After this operation, 16.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
[...]


After that bitbake works.

So I think the package named &quot;python&quot; should be added to the list of packages to install in this guide</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74975</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-07-12 20:09:04 +0000</bug_when>
    <thetext>So in looking at the section in the Quick Start, the &quot;python&quot; package is part of the list of host packages already.  I am going to list the sections for the 2.4 manual and the 2.3 and 2.3.1 Quick Start manual.  You can see that the &quot;python&quot; package is there. 

What version of the manual or YP were you looking at when you found this issue?

Thanks, 
Scott

2.3 - http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html#packages

2.3.1 - http://www.yoctoproject.org/docs/2.3.1/yocto-project-qs/yocto-project-qs.html#packages

2.4 (under development) - http://www.yoctoproject.org/docs/2.4/yocto-project-qs/yocto-project-qs.html#packages

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74978</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-07-12 20:24:37 +0000</bug_when>
    <thetext>Ups.. I just picked the first result on google that happened to be the doc for 1.8

I think this can be closed as invalid. Sorry for the noise</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74981</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-07-12 20:45:54 +0000</bug_when>
    <thetext>No problem..  I am setting to RESOLVED/NOTABUG.  Reset the doc flag as well.

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>