<?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>9454</bug_id>
          
          <creation_ts>2016-04-13 00:16:23 +0000</creation_ts>
          <short_desc>improve on why a recipe is built</short_desc>
          <delta_ts>2016-07-18 21:14:13 +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>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <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>61121</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-13 00:16:23 +0000</bug_when>
    <thetext>Sometimes, it&apos;s hard to figure out why a recipe is built, for example, without
TOOLCHAIN_NEED_CONFIGSITE_CACHE = &quot;&quot; in buildtools-tarball.bb, bitbake -g buildtools-tarball shows that ncures would be built, but we can&apos;t find why in the *.dot files or bitbake -DDD -g buildtools-tarball, in the log we can see:

DEBUG: providers for ncurses are: [&apos;ncurses&apos;]

But it does says which recipes requires ncurses, and why added ncurses.

we can try to do do something to improve this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61226</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2016-04-14 15:04:06 +0000</bug_when>
    <thetext>Robert, Can you start a discussion on the email list to explain the problem and suggest and ask for possible solutions? Richard wants this to be done early in 2.2 if the suggested solution is acceptable. M3 would be too late for a potentially intrusive change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64021</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2016-07-15 05:40:16 +0000</bug_when>
    <thetext>I just did a little testing.
The result shows that we can see why ncurses is built.

chenqi@pek-hostel-deb01:~/poky/build-systemd [1] $ grep ncurses task-depends.dot | grep -v ncurses-native | grep -v nativesdk-ncurses | grep buildtools
&quot;buildtools-tarball.do_package_write_rpm&quot; -&gt; &quot;ncurses.do_package_write_rpm&quot;
&quot;buildtools-tarball.do_packagedata&quot; -&gt; &quot;ncurses.do_packagedata&quot;
&quot;buildtools-tarball.do_populate_sysroot&quot; -&gt; &quot;ncurses.do_populate_sysroot&quot;
&quot;buildtools-tarball.do_build&quot; -&gt; &quot;ncurses.do_build&quot;

Let&apos;s close this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64138</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-07-18 21:14:13 +0000</bug_when>
    <thetext>After a discussion in triage, I think we like all the idea of this but nobody seems to know what we can actually do to improve it. Therefore I&apos;m going to close this (using &quot;INVALID&quot; - that&apos;s not the right resolution but I can&apos;t see any better one). If anyone comes up with a better idea of what to do we can reopen.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>