<?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>5301</bug_id>
          
          <creation_ts>2013-10-02 10:13:40 +0000</creation_ts>
          <short_desc>Ability to track DISTRO_FEATURE use</short_desc>
          <delta_ts>2013-11-27 14:35:35 +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>core</component>
          <version>1.5</version>
          <rep_platform>All</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>enhancement</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>37459</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-10-02 10:13:40 +0000</bug_when>
    <thetext>When changing DISTRO_FEATURE (say, adding &quot;x11&quot;) the entire distro is rebuild, including gcc-cross and so on.  It would be great if the recipe checksums somehow incorporated the distro features the recipe actually examines, so only recipes that would change are rebuild.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37495</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-10-02 16:39:23 +0000</bug_when>
    <thetext>Note, that some -native packages also appear to inspect DISTRO_FEATURES and that causes them to rebuild as well.

For example, python-native inspects it looking for the existence of ipv6.

What is probably needed is to either sanitize the -native items, or clearly label the ones that do change behavior based on the target DISTRO_FEATURES.

(Another option is to use DISTRO_FEATURES_class-native to set it to a default that will work in all configurations?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39083</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-11-25 22:49:25 +0000</bug_when>
    <thetext>I&apos;ve posted a proof of concept on this...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39111</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-11-27 14:35:35 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a10301f6a90567c2d2eca9306a4b7b752f58a9c2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>