<?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>629</bug_id>
          
          <creation_ts>2011-01-05 04:29:59 +0000</creation_ts>
          <short_desc>poky-init-build-env should check for python version &gt;= 2.6 before doing much</short_desc>
          <delta_ts>2011-02-01 10:05:46 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aleksandr Koltsoff">aleksandr.koltsoff</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>aleksandr.koltsoff</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11394</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksandr Koltsoff">aleksandr.koltsoff</who>
    <bug_when>2011-01-05 04:29:59 +0000</bug_when>
    <thetext>bitbake requires 2.6 python at least, which is not easily available on some commonly used distro(s) (Ubuntu Hardy). This check should probably be done in poky-init-build-env, before bitbake is required to proceed, since bitbake in laverne is completely inoperative with python 2.5.

Also see doc bug #628.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11568</commentid>
    <comment_count>1</comment_count>
    <who name="Aleksandr Koltsoff">aleksandr.koltsoff</who>
    <bug_when>2011-01-28 03:44:18 +0000</bug_when>
    <thetext>bitbake in master (as of 2011-01-28) has fixed the root issue, and displays &quot;RuntimeError: Sorry, python 2.6.0 or later is required for this version of bitbake&quot; for both python 2.5.2 and 2.4.5.

So now there&apos;s no need to change poky-init-build-env per se, since the first invocation of bitbake will stop with the correct exception. I&apos;m ok with closing this ticket.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11639</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-01 10:05:46 +0000</bug_when>
    <thetext>Agreed, this problem is resolved now bitbake correctly errors with invalid python versions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>