<?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>8853</bug_id>
          
          <creation_ts>2015-12-22 21:40:56 +0000</creation_ts>
          <short_desc>Recipe A depending on recipe B both using externalsrc, and recipe A is always reconfigured</short_desc>
          <delta_ts>2016-03-29 10:35:26 +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>2.0</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>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Markus Lehtonen">markus.lehtonen</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>57441</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-12-22 21:40:56 +0000</bug_when>
    <thetext>If you have a recipe A with recipe B in its DEPENDS, and both recipes use externalsrc, recipe A&apos;s do_configure will be retriggered every time the recipe is called for since recipe B&apos;s do_compile is marked nostamp. This is very much less than optimal if you&apos;re working on several recipes at once (a more likely scenario within the extensible SDK having used &quot;devtool add&quot; to add both recipes).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57748</commentid>
    <comment_count>1</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-01-12 15:05:31 +0000</bug_when>
    <thetext>Seems like a nasty problem, because, on the other hand wouldn&apos;t you want A to be (re-)configured if B is changed(?) Or, do you think that we can just forget about dependencies between externalsrc packages? Currently, in addition to A&apos;s do_configure, B&apos;s do_compile (and other tasks above that) get run when A is built which could be seen as a problem as well. To me it seems like this &apos;do_configure problem&apos; is just one part of a bigger &apos;externalsrc interdependency problem&apos;. It might make sense to fix/workaround this signle case if it stands out as a significant separate problem in this &apos;problem space&apos;. Any thoughts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57750</commentid>
    <comment_count>2</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-01-12 15:35:24 +0000</bug_when>
    <thetext>Maybe we could just get rid of the nostamp altogether. Just do something like:
$ find ${S} -printf &quot;%T+\n&quot; | sort -n | tail -n 1

to see if anything in external source tree has changed. What do you think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59269</commentid>
    <comment_count>3</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-02-19 14:55:09 +0000</bug_when>
    <thetext>Patches have been under review for a while already. Rebased patches here:
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/devtool/fixes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60259</commentid>
    <comment_count>4</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-22 06:36:08 +0000</bug_when>
    <thetext>Moving to M4.

The second version of the patch has been in review for about a month now, without any comments:
http://lists.openembedded.org/pipermail/openembedded-core/2016-February/118067.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60261</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-22 06:49:12 +0000</bug_when>
    <thetext>I did reply - patchwork picked it up:

http://patchwork.openembedded.org/patch/116459/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60315</commentid>
    <comment_count>6</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-22 20:44:07 +0000</bug_when>
    <thetext>v3 is now under review:
http://patchwork.openembedded.org/patch/118475/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60473</commentid>
    <comment_count>7</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-29 10:35:26 +0000</bug_when>
    <thetext>Merged into master in:
http://git.openembedded.org/openembedded-core/commit/?id=a26becdf981b35d7ef8524f9e65c25a74b842f1d
http://git.openembedded.org/openembedded-core/commit/?id=a797abe08bfe4144e120c984d1718c2cc3d87c0a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>