<?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>15294</bug_id>
          
          <creation_ts>2023-11-23 10:31:35 +0000</creation_ts>
          <short_desc>Implement a devtool unpack tracer to correctly handle multiple sources in SRC_URI with devtool</short_desc>
          <delta_ts>2026-02-20 14:44:20 +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>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julien Stephan">jstephan</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>ccasciato</cc>
    
    <cc>cheery.dog6968</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>97310</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Stephan">jstephan</who>
    <bug_when>2023-11-23 10:31:35 +0000</bug_when>
    <thetext>Devtool was not designed with multiple sources in SRC_URI in mind and suffers from several limitations (non exhaustive list): 

* secondary sources not extracted into S are lost on devtool modify (see bug 15162: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15162)

* if case secondary sources is extracted in S it is not always possible to extract patches created buy the user with the correct &quot;patchdir&quot; parameter

* for file://, that are not patch, if user modify the file and commit it the devtool source, devtool finish will update the local file AND create a new patch

Most of these issue s may be solved by implementing a devtool unpack tracer (https://git.yoctoproject.org/poky/commit/?id=ef3e46afd910d4b7727d42c4c18b501525c65695. Using a devtool unpack tracer will also hopefully help to clean some part of devtool code</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>