From: Ross Burton Date: Mon, 8 Apr 2019 10:57:27 +0000 (+0100) Subject: insane: fix gettext dependency warning X-Git-Tag: 2019-04~47 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d204398d40cbbea5a6b58a36fc289d569f2eb304;p=openembedded-core.git insane: fix gettext dependency warning This message was using %s markers but nothing was being passed in. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b7893a4c35..4267cbd0f6 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -1135,7 +1135,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) ###########################################################################