YoeDistro/yoe-distro

can't devtool modify qemu-system-native

karthikpoduval opened this issue · 1 comments

when I try to do devtool modify qemu-system-native on master yoe-distro I see the following error.

ERROR: QA Issue: qemu-system-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: devtool-source.bbclass [native-last]
ERROR: Fatal QA errors were found, failing task.                                                                                                                                                            
ERROR: Parsing halted due to errors, see error messages above                                         
ERROR: Command execution failed:

I was able to get past this with the following change.

diff --git a/sources/meta-yoe/conf/distro/yoe.inc b/sources/meta-yoe/conf/distro/yoe.inc
index 565b89f..d5b7edc 100644
--- a/sources/meta-yoe/conf/distro/yoe.inc
+++ b/sources/meta-yoe/conf/distro/yoe.inc
@@ -85,7 +85,7 @@ WARN_TO_ERROR_QA ?= "\
             infodir build-deps src-uri-bad symlink-to-sysroot multilib \
             invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \
             mime mime-xdg unlisted-pkg-lics unhandled-features-check \
-            missing-update-alternatives native-last \
+            missing-update-alternatives \
             "

However before trying it I also tried to fix the native last with making changed to qemu recipe by placing inherit native to the end of qemu-system-native_8.1.2.bb but that did not work.

kraj commented

@karthikpoduval this seems to have broken due to inherit_defer implementation, disabling the error is perhaps not the correct way to go about it, we need to look into oe-core to see how it can be adjusted in new light.