Bug 2933

Summary: Version preference logic works differently with BBCLASSEXTENDS
Product: [Build System, Metadata & Runtime] BitBake Reporter: Paul Eggleton <bluelightning>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: corneliux.stoicescu, laurentiu.serban, poky.bs.watcher, poky.watcher, sgw
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Paul Eggleton 2012-08-10 17:36:15 UTC
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 = "5.7", however the behaviour here doesn't seem correct to me.
Comment 1 Laurentiu Serban 2012-08-12 22:10:35 UTC
Modifying version to 1.3
Comment 3 Stoicescu Cornel 2012-11-06 14:18:30 UTC
Verified in master: 78983e939ab17f02f8911c8b0d0e326b419856b9