<?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>13738</bug_id>
          
          <creation_ts>2020-01-16 00:51:29 +0000</creation_ts>
          <short_desc>devtool modify fails with file:// fetcher</short_desc>
          <delta_ts>2021-01-24 14:46:24 +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>devtools / tool chain</component>
          <version>3.1</version>
          <rep_platform>x86</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>anon2313</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</cc>
    
    <cc>tomasz.dziendzielski</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>86037</commentid>
    <comment_count>0</comment_count>
    <who name="">anon2313</who>
    <bug_when>2020-01-16 00:51:29 +0000</bug_when>
    <thetext>I inherited a meta layer that was originally used with Jethro.  One of the recipes in this layer has all of the source code in the files sub-directory and uses file:// to point to the directories containing the source code.  

file://source
file://include

When running &quot;devtool modify example-recipe&quot; the following error occurs:

WARNING: No source unpacked to S - either the example-recipe recipe doesn&apos;t use any source or the correct source directory could not be determined

The workspace ends up for example:
   workspace/sources/recipe/include/header.h
   workspace/sources/recipe/oe-local-files/include/header.h
   workspace/sources/recipe/oe-local-files/source/Makefile
   workspace/sources/recipe/oe-local-files/source/source.c
   workspace/sources/recipe/oe-local-files/.gitignore
   workspace/sources/recipe/source/Makefile
   workspace/sources/recipe/source/source.c

And the files are broken symlinks that point to oe-local-files but ignore the directory structure.
workspace/sources/recipe/source/source.c -&gt; oe-local-files/source.c

devtool is extremely useful for a quick change and using devtool deploy-target to copy the application to the target so I was hoping there was some workaround or maybe someone can point where in devtool it unpacks and moves the files to see if I can fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89008</commentid>
    <comment_count>1</comment_count>
    <who name="Tomasz Dziendzielski">tomasz.dziendzielski</who>
    <bug_when>2021-01-24 14:44:01 +0000</bug_when>
    <thetext>Please check again with this commit: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13738</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89009</commentid>
    <comment_count>2</comment_count>
    <who name="Tomasz Dziendzielski">tomasz.dziendzielski</who>
    <bug_when>2021-01-24 14:46:24 +0000</bug_when>
    <thetext>Sorry, I meant this link: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3a220f1e411767cbf9e7099c18d94a12171c1093</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>