From: Ross Burton Date: Mon, 8 Apr 2019 10:57:27 +0000 (+0100) Subject: insane: fix gettext dependency warning X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~14864 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d204398d40cbbea5a6b58a36fc289d569f2eb304;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 b7893a4c353..4267cbd0f61 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) ###########################################################################