<?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>4733</bug_id>
          
          <creation_ts>2013-06-15 10:52:30 +0000</creation_ts>
          <short_desc>Unmet dependencies quit active shell</short_desc>
          <delta_ts>2013-06-17 12:46:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>unspecified</version>
          <rep_platform>All</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vvitkov">vvitkov</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</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>33913</commentid>
    <comment_count>0</comment_count>
      <attachid>1278</attachid>
    <who name="Vvitkov">vvitkov</who>
    <bug_when>2013-06-15 10:52:30 +0000</bug_when>
    <thetext>Created attachment 1278
Fix for oe-buildenv-internal quitting shell if unmet pythin dependencies

Sourcing oe-init-build-env is a required step to prep the build environment (and the first one to be done).
If there are unmet dependencies on Python:
 * Python is 3 and up
 * Python is less than 2.7.3 the subinclusion of scripts/oe-buildenv-internal will quit the active shell.

It does not present any meaningful way to determine the issue at hand, therefore making harder fixing it.

The patch fixes this by modifying the exit statement to be return instead which just exits the inclusion scrips and presents a meaningful message.

PS: If this is not in the proper place please move it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33931</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-06-17 12:46:56 +0000</bug_when>
    <thetext>This was fixed in the following commit in master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7abcaf14ec9cd760fe94c777f0cd8426163de2c5</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>1278</attachid>
            <date>2013-06-15 10:52:30 +0000</date>
            <delta_ts>2013-06-15 10:52:30 +0000</delta_ts>
            <desc>Fix for oe-buildenv-internal quitting shell if unmet pythin dependencies</desc>
            <filename>yocto-poky-unmet-unmet-dependencies-quit-shell.patch</filename>
            <type>text/plain</type>
            <size>746</size>
            <attacher name="Vvitkov">vvitkov</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL3NjcmlwdHMvb2UtYnVpbGRlbnYtaW50ZXJuYWwgYi9zY3JpcHRzL29lLWJ1
aWxkZW52LWludGVybmFsCmluZGV4IDQwZDk1YjcuLjYyYTQxMGUgMTAwNzU1Ci0tLSBhL3Njcmlw
dHMvb2UtYnVpbGRlbnYtaW50ZXJuYWwKKysrIGIvc2NyaXB0cy9vZS1idWlsZGVudi1pbnRlcm5h
bApAQCAtMzcsNyArMzcsNyBAQCBweV92M19jaGVjaz1gL3Vzci9iaW4vZW52IHB5dGhvbiAtLXZl
cnNpb24gMj4mMSB8IGdyZXAgIlB5dGhvbiAzImAKIGlmIFsgIiRweV92M19jaGVjayIgIT0gIiIg
XTsgdGhlbgogCWVjaG8gIkJpdGJha2UgaXMgbm90IGNvbXBhdGlibGUgd2l0aCBweXRob24gdjMi
CiAJZWNobyAiUGxlYXNlIHNldCB1cCBweXRob24gdjIgYXMgeW91ciBkZWZhdWx0IHB5dGhvbiBp
bnRlcnByZXRlciIKLQlleGl0IDEKKwlyZXR1cm4gMQogZmkKIAogIyBTaW1pbGFybHksIHdlIG5v
dyBoYXZlIGNvZGUgdGhhdCBkb2Vzbid0IHBhcnNlIGNvcnJlY3RseSB3aXRoIG9sZGVyCkBAIC00
Niw3ICs0Niw3IEBAIGZpCiBweV92MjZfY2hlY2s9YHB5dGhvbiAtYyAnaW1wb3J0IHN5czsgcHJp
bnQgc3lzLnZlcnNpb25faW5mbyA+PSAoMiw3LDMpJ2AKIGlmIFsgIiRweV92MjZfY2hlY2siICE9
ICJUcnVlIiBdOyB0aGVuCiAJZWNobyAiQml0QmFrZSByZXF1aXJlcyBQeXRob24gMi43LjMgb3Ig
bGF0ZXIiCi0JZXhpdCAxCisJcmV0dXJuIDEKIGZpCiAKIGlmIFsgIngkQkRJUiIgPSAieCIgXTsg
dGhlbgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>