[meta-oe] libbytesize: fix gettext not found issue

Submitted by Aditya Tayade on July 25, 2018, 1:29 a.m. | Patch ID: 152935

Details

Message ID MAXPR01MB034871D225312CE9BAE6A46D91540@MAXPR01MB0348.INDPRD01.PROD.OUTLOOK.COM
State Changes Requested
Headers show

Commit Message

Aditya Tayade July 25, 2018, 1:29 a.m.
Hi,

In Sumo branch, libbytesize_0.10.bb<http://10.bb> do_configure fails with error "configure: error: gettext not found", hence added a dependency to gettext -native for the same.


Kindly review the attached patch and integrate it with upstream if changes looks fine.


Regards,
Aditya Tayade
This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

Patch hide | download patch | download mbox

libbytesize: fix gettext not found issue

libbytesize_0.10.bb do_configure fails with error "configure: error: gettext not found"

Upstream status: Pending

Sign-off by: Aditya Tayade <Aditya.Tayade@kpit.com>

diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb b/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb
index 6903021..fedde80 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb
@@ -21,6 +21,7 @@  DEPENDS += " \
     libpcre \
     gmp \
     mpfr \
+    gettext-native \
 "
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"

Comments

Khem Raj July 25, 2018, 4:05 a.m.
Can you try setting

USE_NLS = "yes" in the affected recipe ?
On Tue, Jul 24, 2018 at 6:29 PM Aditya Tayade <Aditya.Tayade@kpit.com> wrote:
>
> Hi,
>
> In Sumo branch, libbytesize_0.10.bb<http://10.bb> do_configure fails with error "configure: error: gettext not found", hence added a dependency to gettext -native for the same.
>
>
> Kindly review the attached patch and integrate it with upstream if changes looks fine.
>
>
> Regards,
> Aditya Tayade
> This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Aditya Tayade Aug. 13, 2018, 10:55 a.m.
Hi Raj,


Tried using said USE_NLS = "yes" option and it compiled successfully.


As per my understanding this option also enables recipe to use gettext for host, hence which one should we opt?


Sorry for delayed response.


Regards,

Aditya Tayade
Khem Raj Aug. 13, 2018, 6:25 p.m.
On Mon, Aug 13, 2018 at 3:55 AM Aditya Tayade <Aditya.Tayade@kpit.com> wrote:
>
> Hi Raj,
>
>
> Tried using said USE_NLS = "yes" option and it compiled successfully.
>
>
> As per my understanding this option also enables recipe to use gettext for host, hence which one should we opt?

add  USE_NLS = "yes"

>
>
> Sorry for delayed response.
>
>
> Regards,
>
> Aditya Tayade
>
>
>
> ________________________________
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Wednesday, July 25, 2018 9:35 AM
> To: Aditya Tayade
> Cc: openembeded-devel
> Subject: Re: [oe] [meta-oe][PATCH] libbytesize: fix gettext not found issue
>
> Can you try setting
>
> USE_NLS = "yes" in the affected recipe ?
> On Tue, Jul 24, 2018 at 6:29 PM Aditya Tayade <Aditya.Tayade@kpit.com> wrote:
> >
> > Hi,
> >
> > In Sumo branch, libbytesize_0.10.bb<https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.bb&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7C8381da62714f4666051908d5f1e3eb02%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636680883564574908&amp;sdata=KLfQdOn3xMvUq0YI1MoYm9isivid5AVy%2B4rgUzd8G10%3D&amp;reserved=0> do_configure fails with error "configure: error: gettext not found", hence added a dependency to gettext -native for the same.
> >
> >
> > Kindly review the attached patch and integrate it with upstream if changes looks fine.
> >
> >
> > Regards,
> > Aditya Tayade
> > This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openembedded.org%2Fmailman%2Flistinfo%2Fopenembedded-devel&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7C8381da62714f4666051908d5f1e3eb02%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636680883564574908&amp;sdata=M1BN9Z8DE1223Vm2uvuNghHfaKF7jTgZWCyqojzGxL4%3D&amp;reserved=0
> This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.