Skip to contentSkip to conversation

insane: fix gettext dependency warning

PATCH New Ross Burton 1 participant 1 message Apr 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 insane: fix gettext dependency warning

This message was using %s markers but nothing was being passed in.

---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/insane.bbclass +1 -1
index c8d18c07f55..43df0046201 100644
@@ -1087,7 +1087,7 @@ Rerun configure task after fixing this."""
             for config in configs:
                 gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config
                 if subprocess.call(gnu, shell=True) == 0:
-                    error_msg = "%s required but not in DEPENDS for file %s. Missing inherit gettext?"
+                    error_msg = "AM_GNU_GETTEXT used but no inherit gettext"
                     package_qa_handle_error("configure-gettext", error_msg, d)
 
     ###########################################################################
Signature · 1 line
2.11.0