On Thu, 2021-02-11 at 08:21 +0100, Konrad Weihmann wrote: > After this patch got merged I notice some "noise" in my builds. > > For bbappends which inherit unrelated classes I get a lot of warning like > > Issue: nativesdk-openssh: native/nativesdk class is not inherited last, > this can result in unexpected behaviour. Classes inherited after > native/nativesdk: my-custom-class.bbclass [native-last] > > First it doesn't give any hint that this is caused by the bbappend and > secondly I have no idea how to fix that (if that is even possible). > > So I would like to have at least an option to ignore these warnings for > classes I'm sure don't cause any conflict - something more granular then > just to deactivate this pretty useful check. > > Thoughts?
This shouldn't be too common as most recently use BBCLASSEXTEND which would ensure they're last. Which recipes are you running into this with? You really don't want your class coming after native/nativesdk, if you understand what that code is doing you'll realise it is rather risky :( You could turn off that warning for a set of recipes if you really don't care but I'd prefer not to make that too easy. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147944): https://lists.openembedded.org/g/openembedded-core/message/147944 Mute This Topic: https://lists.openembedded.org/mt/80075083/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-