Skip to contentSkip to conversation

libbtyesize: Add depends for gettext-native

PATCH Superseded Jason Wessel 2 participants 2 messages Jul 11, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libbtyesize: 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/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"'.

---
 meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb +1 -0
index 863ce428f..cd67ab1b2 100644
@@ -19,6 +19,7 @@ DEPENDS += " \
     libpcre \
     gmp \
     mpfr \
+    gettext-native \
 "
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
Signature · 1 line
2.21.0
#1 lore raw
Quoted 25 lines · Jason Wessel

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

---
 meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb +0 -0
index 863ce428f..cd67ab1b2 100644

meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb DEPENDS += " \ · line 22

Quoted 4 lines
meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb +1 -0
@@ -19,6 +19,7 @@ DEPENDS += " \
     libpcre \
     gmp \
     mpfr \
+    gettext-native \

change is fine but please rebase it on latest master and also the recipe name has typo in subject.

Quoted 11 lines
meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb +0 -1
 "
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
--

2.21.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel