Bug 2933 - Version preference logic works differently with BBCLASSEXTENDS
Summary: Version preference logic works differently with BBCLASSEXTENDS
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.3
Hardware: All Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-10 17:36 UTC by Paul Eggleton
Modified: 2012-11-06 14:18 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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