[OE-core] [PATCH] eglibc: Add gettext-native to DEPENDS

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 23 21:45:02 UTC 2013


On Tue, 2013-04-23 at 17:44 +0100, Phil Blundell wrote:
> Otherwise you get:
> 
> | msgfmt -o be.mo be.po
> | msgfmt -o bg.mo bg.po
> | msgfmt -o ca.mo ca.po
> | /bin/bash: msgfmt: command not found
> | make[2]: *** [be.mo] Error 127
> | make[2]: *** Waiting for unfinished jobs....
> | /bin/bash: msgfmt: command not found
> | make[2]: *** [ca.mo] Error 127
> | /bin/bash: msgfmt: command not found
> | make[2]: *** [bg.mo] Error 127
> 
> if msgfmt isn't available in the host environment.
> 
> Signed-off-by: Phil Blundell <philb at gnu.org>
> ---
>  meta/recipes-core/eglibc/eglibc.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
> index 1e04197..38d8c44 100644
> --- a/meta/recipes-core/eglibc/eglibc.inc
> +++ b/meta/recipes-core/eglibc/eglibc.inc
> @@ -33,7 +33,7 @@ siteconfig_do_siteconfig_gencache_prepend = " \
>  "
>  
>  # nptl needs unwind support in gcc, which can't be built without glibc.
> -DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers virtual/${TARGET_PREFIX}libc-initial"
> +DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers virtual/${TARGET_PREFIX}libc-initial gettext-native"
>  # nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
>  #RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
>  PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"

This will have a significant adverse affect on build speed due to build
dependency bottlenecks :(

Are there any good options for avoiding this?

Cheers,

Richard







More information about the Openembedded-core mailing list