Patchwork [1/1] eglibc: Add missing dependency of gettext-native

login
register
mail settings
Submitter Andrei Gherzan
Date Feb. 9, 2013, 5:35 p.m.
Message ID <1360431352-29452-1-git-send-email-andrei@gherzan.ro>
Download mbox | patch
Permalink /patch/44407/
State New
Headers show

Comments

Andrei Gherzan - Feb. 9, 2013, 5:35 p.m.
/bin/bash: msgfmt: command not found
| make[2]: *** [be.mo] Error 127

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 meta/recipes-core/eglibc/eglibc_2.17.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Feb. 10, 2013, 12:03 a.m.
On Sat, 2013-02-09 at 19:35 +0200, Andrei Gherzan wrote:
> /bin/bash: msgfmt: command not found
> | make[2]: *** [be.mo] Error 127
> 
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
>  meta/recipes-core/eglibc/eglibc_2.17.bb |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/eglibc/eglibc_2.17.bb b/meta/recipes-core/eglibc/eglibc_2.17.bb
> index fb49ac4..03e0ea4 100644
> --- a/meta/recipes-core/eglibc/eglibc_2.17.bb
> +++ b/meta/recipes-core/eglibc/eglibc_2.17.bb
> @@ -1,8 +1,8 @@
>  require eglibc.inc
>  
> -PR = "r3"
> +PR = "r4"
>  
> -DEPENDS += "gperf-native kconfig-frontends-native"
> +DEPENDS += "gperf-native kconfig-frontends-native gettext-native"
>  
>  SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr22064.tar.bz2 \
>             file://eglibc-svn-arm-lowlevellock-include-tls.patch \

This will seriously hurt build times :(

I'm not saying this is wrong but I would like to understand how we've
managed for as long without it...

Cheers,

Richard
Andrei Gherzan - Feb. 10, 2013, 9:44 a.m.
On Sun, Feb 10, 2013 at 2:03 AM, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Sat, 2013-02-09 at 19:35 +0200, Andrei Gherzan wrote:
> > /bin/bash: msgfmt: command not found
> > | make[2]: *** [be.mo] Error 127
> >
> > Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> > ---
> >  meta/recipes-core/eglibc/eglibc_2.17.bb |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-core/eglibc/eglibc_2.17.bbb/meta/recipes-core/eglibc/
> eglibc_2.17.bb
> > index fb49ac4..03e0ea4 100644
> > --- a/meta/recipes-core/eglibc/eglibc_2.17.bb
> > +++ b/meta/recipes-core/eglibc/eglibc_2.17.bb
> > @@ -1,8 +1,8 @@
> >  require eglibc.inc
> >
> > -PR = "r3"
> > +PR = "r4"
> >
> > -DEPENDS += "gperf-native kconfig-frontends-native"
> > +DEPENDS += "gperf-native kconfig-frontends-native gettext-native"
> >
> >  SRC_URI = "
> http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr22064.tar.bz2\
> >             file://eglibc-svn-arm-lowlevellock-include-tls.patch \
>
> This will seriously hurt build times :(
>
> I'm not saying this is wrong but I would like to understand how we've
> managed for as long without it...
>

Seems like a classic racing issue. This can't be reproduced in a clean
build. It happened to me yesterday, when I updated the layers and baked a
core-image-minimal.

Patch

diff --git a/meta/recipes-core/eglibc/eglibc_2.17.bb b/meta/recipes-core/eglibc/eglibc_2.17.bb
index fb49ac4..03e0ea4 100644
--- a/meta/recipes-core/eglibc/eglibc_2.17.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.17.bb
@@ -1,8 +1,8 @@ 
 require eglibc.inc
 
-PR = "r3"
+PR = "r4"
 
-DEPENDS += "gperf-native kconfig-frontends-native"
+DEPENDS += "gperf-native kconfig-frontends-native gettext-native"
 
 SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr22064.tar.bz2 \
            file://eglibc-svn-arm-lowlevellock-include-tls.patch \