From: Richard Purdie Date: Mon, 16 Oct 2006 23:23:40 +0000 (+0000) Subject: glibc-package.bbclass: Make the localedef error more helpful X-Git-Tag: Release-2010-05/1~9453^2~567^2~142^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f03501fe2192d42acd0b667792f849215d4ff92;p=openembedded.git glibc-package.bbclass: Make the localedef error more helpful --- 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)