* we had similar patch for native.bbclass 41d77ac37f606e54293826ba1e94a4254bddbfa6 I have no idea if the same could be used for nativesdk, because I'm not using generated SDKs at all, that's why it's RFC and if there are better ways to hide such errors, please let me know
* maybe PACKAGES just don't get extra prefix -nativesdk like glib-2.0-utils-nativesdk * those errors are shown like this: ERROR: Trying to resolve runtime dependency glibc-charmap-utf-8 resulted in conflicting PREFERRED_PROVIDER entries being found. The providers found were: ['/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.12.bb', 'virtual:nativesdk:/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.12.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc = eglibc', 'PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk'] NOTE: multiple providers are available for runtime glibc-charmap-utf-8 (eglibc-nativesdk, eglibc, glibc, glibc-nativesdk) NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-charmap-utf-8 NOTE: multiple providers are available for runtime glib-2.0-utils (glib-2.0-nativesdk, glib-2.0) NOTE: consider defining a PREFERRED_PROVIDER entry to match glib-2.0-utils Signed-off-by: Martin Jansa <[email protected]> --- meta/classes/nativesdk.bbclass | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index cd34a79..1edb7ab 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -4,6 +4,11 @@ EXCLUDE_FROM_WORLD = "1" STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" +PACKAGES = "" +PACKAGES_virtclass-nativesdk = "" +PACKAGES_DYNAMIC = "" +PACKAGES_DYNAMIC_virtclass-nativesdk = "" + # # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS # -- 1.7.5.rc3 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
