[oe] [meta-oe][PATCH] libbtyesize: Add depends for gettext-native

Jason Wessel jason.wessel at windriver.com
Thu Jul 11 14:10:00 UTC 2019


If the local.conf has set 'USE_NLS = "no"' the build of libbytesize
will fail with the following message:

| configure: error: in `/build/tmp/work/core2-64-poky-linux/libbytesize/1.4-r0/build':
| configure: error: gettext not found
| See `config.log' for more details
| NOTE: The following config.log files may provide further information.
| NOTE: /build/tmp/work/core2-64-poky-linux/libbytesize/1.4-r0/build/config.log
| ERROR: configure failed

The issue is that libbtyesize needs to full version of gettext in
order to configure properly, and not the minimal version which is
provided by default when building with 'USE_NLS = "no"'.

Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
---
 meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb b/meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb
index 863ce428f..cd67ab1b2 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb
@@ -19,6 +19,7 @@ DEPENDS += " \
     libpcre \
     gmp \
     mpfr \
+    gettext-native \
 "
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
-- 
2.21.0



More information about the Openembedded-devel mailing list