]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: enhance gettext error message
authorJoshua Lock <josh@linux.intel.com>
Wed, 6 Jan 2010 09:32:41 +0000 (09:32 +0000)
committerJoshua Lock <josh@linux.intel.com>
Wed, 6 Jan 2010 09:32:41 +0000 (09:32 +0000)
Point the user at gettext.bbclass which handles adding the
correct gettext to DEPENDS.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/insane.bbclass

index 9bddb9bd425c2f67193b32813f4c915c9940a263..aa0d1aa180e315551026a689abd41d0b19edf0bd 100644 (file)
@@ -510,5 +510,6 @@ Rerun configure task after fixing this. The path was '%s'""" % root)
           for config in configs:
               gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config
               if os.system(gnu) == 0:
-                 bb.fatal("Gettext required but not in DEPENDS for file %s" % config)
+                 bb.fatal("Gettext required but not in DEPENDS for file %s.
+Missing inherit gettext?" % config)
 }