Bug 5729

Summary: Show a warning when nativesdk/native classes are not inherited last
Product: [Build System, Metadata & Runtime] BitBake Reporter: Laurentiu Palcu <laurentiu.palcu>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: akuster, poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie, tomasz.dziendzielski
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Laurentiu Palcu 2014-01-16 11:45:12 UTC
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'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.
Comment 1 Armin Kuster 2019-12-23 16:40:19 UTC
Have we addressed this?