<?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>2933</bug_id>
          
          <creation_ts>2012-08-10 17:36:15 +0000</creation_ts>
          <short_desc>Version preference logic works differently with BBCLASSEXTENDS</short_desc>
          <delta_ts>2012-11-06 14:18:30 +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>1.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23937</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-08-10 17:36:15 +0000</bug_when>
    <thetext>Layer priorities will cause an older version of a recipe to take precedence; however that does seem to apply to targets generated by BBCLASSEXTENDS. For example, I took the old ncurses 5.7 recipes, put them into another layer with a higher priority then ran bitbake -s:

....
ncurses               :5.7-r1
ncurses-native        :5.9-r10.1
ncurses-nativesdk     :5.9-r10.1
....

You can of course work around this using PREFERRED_VERSION_ncurses-native = &quot;5.7&quot;, however the behaviour here doesn&apos;t seem correct to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23946</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-12 22:10:35 +0000</bug_when>
    <thetext>Modifying version to 1.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25242</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-14 08:53:00 +0000</bug_when>
    <thetext>Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=149c121209a5469435f7e8ae248f744ece33b88e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27257</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-11-06 14:18:30 +0000</bug_when>
    <thetext>Verified in master: 78983e939ab17f02f8911c8b0d0e326b419856b9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>