[OE-core] [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement

Richard Purdie richard.purdie at linuxfoundation.org
Tue Dec 3 12:14:18 UTC 2013


On Tue, 2013-12-03 at 18:27 +0800, Hongxu Jia wrote:
> While compiling nativesdk-mtools, there was failure:
> ...
> Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches:
> ...
> 
> Using nativesdk override with the PACKAGES_DYNAMIC statement fixed this issue.
> 
> [YOCTO #5623]
> 
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>  meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++
>  1 file changed, 6 insertions(+)

No.

lib/oe/classextend.py has a map_regexp_variable() function which is
called from classes/multilib.bbclass:

clsextend.map_regexp_variable("PACKAGES_DYNAMIC")

Perhaps such a line should be added to nativesdk.bbclass to fix this
properly instead?

Cheers,

Richard

> diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
> index 83569da..5e256a5 100644
> --- a/meta/recipes-core/eglibc/eglibc-locale.inc
> +++ b/meta/recipes-core/eglibc/eglibc-locale.inc
> @@ -35,6 +35,12 @@ PACKAGES_DYNAMIC = "^locale-base-.* \
>                      ^eglibc-gconv-.* ^eglibc-charmap-.* ^eglibc-localedata-.* ^eglibc-binary-localedata-.* \
>                      ^glibc-gconv-.*  ^glibc-charmap-.*  ^glibc-localedata-.*  ^glibc-binary-localedata-.*"
>  
> +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-locale-base-.* \
> +                    ^nativesdk-eglibc-gconv-.* ^nativesdk-eglibc-charmap-.* \
> +                    ^nativesdk-eglibc-localedata-.* ^nativesdk-eglibc-binary-localedata-.* \
> +                    ^nativesdk-glibc-gconv-.*  ^nativesdk-glibc-charmap-.*  \
> +                    ^nativesdk-glibc-localedata-.*  ^nativesdk-glibc-binary-localedata-.*"
> +
>  # Create a eglibc-binaries package
>  ALLOW_EMPTY_${BPN}-binaries = "1"
>  PACKAGES += "${BPN}-binaries"





More information about the Openembedded-core mailing list