[OE-core] glib-2.0 fails to configure with USE_NLS="no"

Burton, Ross ross.burton at intel.com
Tue Jan 16 15:06:13 UTC 2018


On 16 January 2018 at 14:47, Mike Crowe <mac at mcrowe.com> wrote:

> On Tuesday 16 January 2018 at 14:04:14 +0000, Burton, Ross wrote:
> > Another fix would be to respect USE_NLS and seed msgfmt=/bin/false
> > appropriately.
>
>  CACHED_CONFIGUREVARS = "MSGFMT=/bin/false"
>
> appears to work, but I'm not sure whether that's what you meant.
> Presumably it would need to be:
>
>  CACHED_CONFIGUREVARS = "${@base_conditional('USE_NLS', 'no',
> 'MSGFMT=/bin/false', '')"
>
> or similar.
>
> > I'll test that later, or you can get the glory if you can
> > send a tested patch.
>
> Since I'm not really sure what the consequences of doing this are, I'm not
> sure that I want the blame that comes after the glory if I get it wrong. :)
>

Darn, my attempt at blame-shifting has failed.

Well, msgfmt is only used by the glib-gettext logic (oh, and a test case, I
suspect you've got ptest disabled?) so if NLS is disabled then all recipes
using glib-gettext shouldn't be invoking it anyway, right?   That's my
theory anyway...  the test case that uses it is an issue though.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180116/4a0ee4f8/attachment-0002.html>


More information about the Openembedded-core mailing list