<?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>5729</bug_id>
          
          <creation_ts>2014-01-16 11:45:12 +0000</creation_ts>
          <short_desc>Show a warning when nativesdk/native classes are not inherited last</short_desc>
          <delta_ts>2021-01-27 20:29:12 +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>unspecified</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>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurentiu Palcu">laurentiu.palcu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>akuster</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tomasz.dziendzielski</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39854</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2014-01-16 11:45:12 +0000</bug_when>
    <thetext>Since these are BBCLASSEXTEND operations which are usually done last, if a user manually inherits them, together with other classes (like packagegroup for example), the behavior might not be what the user wanted (an allarch package instead of two SDK_ARCH dependent packages, for instance). This might lead to unnecessary rebuilds and warnings for duplicate files, etc.

So, we&apos;d better warn the user about the correct behavior and, if he/she really wants this, we should provide a means to acknowledge this in order to silence the warning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85970</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-12-23 16:40:19 +0000</bug_when>
    <thetext>Have we addressed this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89041</commentid>
    <comment_count>2</comment_count>
    <who name="Tomasz Dziendzielski">tomasz.dziendzielski</who>
    <bug_when>2021-01-27 10:49:46 +0000</bug_when>
    <thetext>Please check: https://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&amp;id=0f0c0df63391b95b35e7a71176e672ed92add610</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89046</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-01-27 20:29:12 +0000</bug_when>
    <thetext>FYI,  merged to master:

http://cgit.openembedded.org/openembedded-core/commit/?id=55a0197fe62577fd51d41d87822e6d64d85c7680

http://cgit.openembedded.org/openembedded-core/commit/?id=217a8974765693192cbead51ebd9845a383ef7cc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>