<?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>9330</bug_id>
          
          <creation_ts>2016-03-23 11:48:10 +0000</creation_ts>
          <short_desc>Cannot run devshell when the recipe fails.</short_desc>
          <delta_ts>2016-03-29 14:46:37 +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>RESOLVED</bug_status>
          <resolution>INVALID</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="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>60333</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-03-23 11:48:10 +0000</bug_when>
    <thetext>Premise:

I have a recipe failing.
The cause of the failure seems to be that a patch I made doesn&apos;t apply.




Triggering action:

I think it would be useful to enter devshell and try to diagnose the problem by reproducing what bitbake is doing. (bitbake -c devshell failing_recipe)



What happens:

However, I cannot do it, because the recipe fails to build.




What was expected:

I think it would be more useful if I could still be dropped into the devshell, with a big warning that the recipe failed to build.

At least, I would have better chances to figure out what is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60489</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-03-29 14:46:37 +0000</bug_when>
    <thetext>There is a mechanism for this, if you check the stock local.conf there&apos;s a variable PATCHRESOLVE which is set to &quot;noop&quot;.

If you set this value to &quot;user&quot; the build system will start a devshell when patch application fails allowing you to resolve the failures.

http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#var-PATCHRESOLVE

By default the system will try and determine which terminal type to use, much as with devshell:

http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#var-OE_TERMINAL

I use PATCHRESOLVE quite often with screen.

I&apos;m marking this issue as RESOLVED→INVALID. Please feel free to reopen if I have misunderstood your request.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>