Patchworkβ [oe] insane.bbclass: only abort on the gettext check if it's the po makefile getting hte messages, for now.

login
register
about
Submitter Christopher Larson
Date 2009-08-27 21:12:57
Message ID <1251407577-2052-1-git-send-email-clarson@mvista.com>
Download mbox | patch
Permalink /patch/1005/
State Under Review
Headers show

Comments

Christopher Larson - 2009-08-27 21:12:57
Signed-off-by: Chris Larson <clarson@mvista.com>
---
 classes/insane.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Tom Rini - 2010-02-25 18:47:02
On Thu, 2009-08-27 at 11:12 +0000, Christopher Larson wrote:
> Signed-off-by: Chris Larson <clarson@mvista.com>

Acked-by: Tom Rini <tom_rini@mentor.com>

> ---
> classes/insane.bbclass |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/classes/insane.bbclass b/classes/insane.bbclass
> index b811ad0..c431b46 100644
> --- a/classes/insane.bbclass
> +++ b/classes/insane.bbclass
> @@ -548,7 +548,7 @@ python do_qa_configure() {
>      for root, dirs, files in os.walk(bb.data.getVar('WORKDIR', d, True)):
>          logfile = os.path.join(root, "config.log")
>          crosscheck = "grep 'CROSS COMPILE Badness:' %s > /dev/null" % logfile
> -        gettextcheck = "grep -E 'WARNING:  (po|intl)/Makefile.*\.in seems to ignore the .*dir setting$' %s > /dev/null" % logfile
> +        gettextcheck = "grep -E 'WARNING:  po/Makefile.*.in seems to ignore the .*dir setting$' %s > /dev/null" % logfile
>          if "config.log" in files:
>              if os.system(crosscheck) == 0:
>                  bb.fatal("""This autoconf log indicates errors, it looked at host includes.

Patch

diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index b811ad0..c431b46 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -548,7 +548,7 @@  python do_qa_configure() {
     for root, dirs, files in os.walk(bb.data.getVar('WORKDIR', d, True)):
         logfile = os.path.join(root, "config.log")
         crosscheck = "grep 'CROSS COMPILE Badness:' %s > /dev/null" % logfile
-        gettextcheck = "grep -E 'WARNING:  (po|intl)/Makefile.*\.in seems to ignore the .*dir setting$' %s > /dev/null" % logfile
+        gettextcheck = "grep -E 'WARNING:  po/Makefile.*.in seems to ignore the .*dir setting$' %s > /dev/null" % logfile
         if "config.log" in files:
             if os.system(crosscheck) == 0:
                 bb.fatal("""This autoconf log indicates errors, it looked at host includes.