<?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>5294</bug_id>
          
          <creation_ts>2013-09-30 12:48:18 +0000</creation_ts>
          <short_desc>bitbake -m does not clear the environment correctly when using bitbake background server</short_desc>
          <delta_ts>2013-10-15 14:57:34 +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>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37350</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-09-30 12:48:18 +0000</bug_when>
    <thetext>1) get poky sources (1.5 +)
NOTE: The poky source should not have an already-made &apos;build&apos; directory within
2) in a fresh shell session, source oe-init-build-env-memres
3) issue &apos;bitbake man&apos; and cancel the build when tasks start executing

-- there should be no issues --

4) close the bitbake server by issuing command: &apos;bitbake -m&apos;
5) go back to the main poky dorectory and this time source oe-init-build-env
6) issue &apos;bitbake man&apos;

-notice &quot;Connection refused&quot; error. Seems bitbake is still looking for the background server. 

NOTE: Don&apos;t reuse this shell session for any further tests. Close it and continue testing in a new one as there might still be issues with this feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37624</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-04 13:44:07 +0000</bug_when>
    <thetext>We can&apos;t clear the parent environment easily but we can have the init script unset BBSERVER. I&apos;ve posted patches to do that, and clean up a few other startup issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37930</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-15 10:09:09 +0000</bug_when>
    <thetext>Resolved in dora/master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=113398d2587fa507be710ade46bb90e284292975</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37940</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-15 14:57:34 +0000</bug_when>
    <thetext>Verified in master:113398d2587fa507be710ade46bb90e284292975</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>