Skip to contentSkip to conversation

libbytesize: Add depends for gettext-native

PATCH New Jason Wessel 1 participant 1 message Jul 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libbytesize: Add depends for gettext-native

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"'.

---
 meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb +1 -0
index 1beb6777e..74f1800d1 100644
@@ -20,6 +20,7 @@ DEPENDS += " \
     libpcre2 \
     gmp \
     mpfr \
+    gettext-native \
 "
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
Signature · 1 line
2.21.0