Bug 5729 - Show a warning when nativesdk/native classes are not inherited last
Summary: Show a warning when nativesdk/native classes are not inherited last
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: Future
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-01-16 11:45 UTC by Laurentiu Palcu
Modified: 2021-01-27 20:29 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

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