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

Jason Wessel jason.wessel at windriver.com
Thu Jul 11 21:48:36 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/2.0-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/2.0-r0/build/config.log
| ERROR: configure failed

The issue is that libbytesize 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_2.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb b/meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb
index 1beb6777e..74f1800d1 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb
@@ -20,6 +20,7 @@ DEPENDS += " \
     libpcre2 \
     gmp \
     mpfr \
+    gettext-native \
 "
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
-- 
2.21.0



More information about the Openembedded-devel mailing list