<?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>9662</bug_id>
          
          <creation_ts>2016-05-23 16:55:41 +0000</creation_ts>
          <short_desc>patchdir fails silently if no trailing slash is present</short_desc>
          <delta_ts>2016-09-20 18:42:43 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Rafael Giani">crg7475</reporter>
          <assigned_to name="Carlos Rafael Giani">crg7475</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62392</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Rafael Giani">crg7475</who>
    <bug_when>2016-05-23 16:55:41 +0000</bug_when>
    <thetext>When writing a recipe, I was wondering why some patches weren&apos;t being applied.
Turns out that SRC_URI lines with patchdir require a trailing slash, otherwise the patch is silently dropped.

So, a line like:

  file://fix-505.patch;patchdir=src

will cause fix-505.patch to not be applied, while

  file://fix-505.patch;patchdir=src/

will apply it.

I was using Krogoth, poky at git commit 898a78357e72fb80f1f8e26ba90bad5b7b054a4f .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64782</commentid>
    <comment_count>1</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-08-02 14:34:06 +0000</bug_when>
    <thetext>Unfortunately I was not able to reproduce this on latest master (94d89ab75efbac4486c581a53cbd90e843c3fde4). Are you still seeing this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64783</commentid>
    <comment_count>2</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-08-02 14:41:40 +0000</bug_when>
    <thetext>I also tried latest Krogoth, but wasn&apos;t able to reproduce</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65665</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-08-31 20:46:26 +0000</bug_when>
    <thetext>Still awaiting feedback from Carlos who is busy until beginning/mid september</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65961</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Rafael Giani">crg7475</who>
    <bug_when>2016-09-08 22:57:57 +0000</bug_when>
    <thetext>It is weird. I tried several times now, but cannot reproduce this.
I recommend to close this. If I ever see this error again, I&apos;ll reopen it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66377</commentid>
    <comment_count>5</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2016-09-20 18:42:32 +0000</bug_when>
    <thetext>See last comment</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>