Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't devtool modify qemu-system-native #883

Open
karthikpoduval opened this issue Dec 24, 2023 · 1 comment
Open

can't devtool modify qemu-system-native #883

karthikpoduval opened this issue Dec 24, 2023 · 1 comment

Comments

@karthikpoduval
Copy link
Contributor

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
Copy link
Contributor

kraj commented Jan 29, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants