[OE-core] [PATCH] core: recipes: fix some native tools dependencies

Alexander Kanavin alex.kanavin at gmail.com
Fri Jan 17 12:05:01 UTC 2020


On Fri, 17 Jan 2020 at 12:55, Sumit Garg <sumit.garg at linaro.org> wrote:

> But looking at this failure again it seems like "autopoint" is
> provided by gettext rather than autotools. So yes, I think you are
> right and "xz-native" dependency should go in
> meta/classes/gettext.bbclass instead as follows:
>
> diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass
> index be2ef3b311..443c9c4cb0 100644
> --- a/meta/classes/gettext.bbclass
> +++ b/meta/classes/gettext.bbclass
> @@ -2,8 +2,8 @@ def gettext_dependencies(d):
>      if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d,
> 'cross-canadian'):
>          return ""
>      if d.getVar('USE_NLS') == 'no':
> -        return "gettext-minimal-native"
> -    return "gettext-native"
> +        return "gettext-minimal-native xz-native"
> +    return "gettext-native xz-native"
>

I don't believe this is right either, at least not for the master branch.
Autopoint is specifically excluded for all autotools-based recipes; psmisc
used to be an exception to that, but no longer is with the latest master
branch and latest gettext.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200117/695b3ea4/attachment.html>


More information about the Openembedded-core mailing list