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

Submitted by Jason Wessel on July 11, 2019, 2:10 p.m. | Patch ID: 162995

Details

Message ID 20190711141000.3115-1-jason.wessel@windriver.com
State New
Headers show

Commit Message

Jason Wessel July 11, 2019, 2:10 p.m.
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@windriver.com>
---
 meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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"

Comments

Khem Raj July 11, 2019, 8:59 p.m.
On Thu, Jul 11, 2019 at 7:10 AM Jason Wessel <jason.wessel@windriver.com> wrote:
>
> 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@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 \

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

>  "
>
>  FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
> --
> 2.21.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel