From 8f03501fe2192d42acd0b667792f849215d4ff92 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Oct 2006 23:23:40 +0000 Subject: glibc-package.bbclass: Make the localedef error more helpful --- packages/glibc/glibc-package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/glibc') diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index 162274b89f..fc527b292a 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -261,7 +261,7 @@ python package_do_split_gconvs () { cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts) bb.note("generating locale %s (%s)" % (locale, encoding)) if os.system(cmd): - raise bb.build.FuncFailed("localedef returned an error.") + raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd) def output_locale(name, locale, encoding): use_bin = bb.data.getVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", d, 1) -- cgit v1.2.3