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

Sumit Garg sumit.garg at linaro.org
Fri Jan 17 13:12:04 UTC 2020


On Fri, 17 Jan 2020 at 18:34, Alexander Kanavin <alex.kanavin at gmail.com> wrote:
>
> You can send a patch for psmisc specifically for those stable branches, using [branch name] in the subject.

Ok will add "xz-native" dependency for psmisc recipe specifically for
stable branches.

-Sumit

>
> Alex
>
> On Fri, 17 Jan 2020 at 13:49, Sumit Garg <sumit.garg at linaro.org> wrote:
>>
>> On Fri, 17 Jan 2020 at 17:35, Alexander Kanavin <alex.kanavin at gmail.com> wrote:
>> >
>> > 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.
>> >
>>
>> How would you like to handle it on stable branches for recipes (like
>> psmisc) which depends on autopoint?
>>
>> -Sumit
>>
>> > Alex


More information about the Openembedded-core mailing list