<?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>6128</bug_id>
          
          <creation_ts>2014-04-08 12:59:20 +0000</creation_ts>
          <short_desc>Incorrect wildcard unpack behaviour in fetcher</short_desc>
          <delta_ts>2017-04-10 21:15:32 +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.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          <dependson>6129</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>jacob.kroon</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kergoth</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42379</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-08 12:59:20 +0000</bug_when>
    <thetext>Related to bug 6127, if you have the following setup:

test-bug.bb
===========
LICENSE = &quot;CLOSED&quot;

SRC_URI = &quot;\
    file://a \
    file://dir/* \
&quot;
============

The accompaning test-bug/ folder looks like:
test-bug/a
test-bug/b
test-bug/dir
test-bug/dir/c

and you have the following structure:

Instead of unpacking just a and dir/c into the workdir, you get b as well. This is because the localdir reported by the Local fetcher returns the parent path where dir/* matches, so it copies everything under that to the workdir including b.

Fixing this may unfortunately break recipes that are unwittingly relying on the current behaviour.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72257</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-04-10 21:15:32 +0000</bug_when>
    <thetext>Alexander Shashkevich fixed at,

http://git.openembedded.org/bitbake/commit/?id=e659a3b0c2771679057ee3e13cd42e6c62383ff2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>