<?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>2717</bug_id>
          
          <creation_ts>2012-07-07 22:30:31 +0000</creation_ts>
          <short_desc>python call tracing when a patch fails to apply</short_desc>
          <delta_ts>2012-07-09 11:33:06 +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.1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Laurentiu Serban">laurentiu.serban</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.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>22886</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-07-07 22:30:31 +0000</bug_when>
    <thetext>If a patch fails to apply there should not be a python call trace 



| Patch man-1.6e-security.patch does not apply (enforce with -f)
|
| ERROR: The stack trace of python calls that resulted in this exception/failure was:
| ERROR:   File &quot;patch_do_patch&quot;, line 136, in &lt;module&gt;
| ERROR:
| ERROR:   File &quot;patch_do_patch&quot;, line 133, in patch_do_patch
| ERROR:
| ERROR:   File &quot;/home/lserban/work/edison/meta/lib/oe/patch.py&quot;, line 338, in Resolve
| ERROR:     raise sys.exc_value
| ERROR:
| ERROR: The code that was being executed was:
| ERROR:      0132:                     raise bb.build.FuncFailed(str(sys.exc_value))
| ERROR:      0133:             resolver.Resolve()
| ERROR:      0134:
| ERROR:      0135:
| ERROR:  *** 0136:patch_do_patch(d)
| ERROR:      0137:
| ERROR: (file: &apos;patch_do_patch&apos;, lineno: 136, function: &lt;module&gt;)
| ERROR:      0129:                     patchset.Import({&quot;file&quot;:local, &quot;remote&quot;:url, &quot;strippath&quot;: striplevel}, True)
| ERROR:      0130:             except Exception:
| ERROR:      0131:                     import sys
| ERROR:      0132:                     raise bb.build.FuncFailed(str(sys.exc_value))
| ERROR:  *** 0133:             resolver.Resolve()
| ERROR:      0134:
| ERROR:      0135:
| ERROR:      0136:patch_do_patch(d)
| ERROR:      0137:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22900</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-09 11:33:06 +0000</bug_when>
    <thetext>Fixing errors such as this was one of the objectives of the 1.2 release which predates 1.1.x. We&apos;ve not had requests for this in 1.1 so I&apos;m proposing we don&apos;t backport thse changes (which could be fairly invasive) unless someone requests it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>