libbtyesize: Add depends for gettext-native
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
@@ -19,6 +19,7 @@ DEPENDS += " \ libpcre \ gmp \ mpfr \ + gettext-native \ " FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
Signature · 1 line
2.21.0
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 failedThe 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 <[email protected]>--- 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
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