[yocto] [PATCH][coreutils] Add attr build dependency

Khem Raj raj.khem at gmail.com
Fri Jan 15 10:23:30 PST 2016


> On Jan 15, 2016, at 7:15 AM, Scott Ellis <scott at jumpnowtek.com> wrote:
> 
> The 'something' would be 'xattr'
> 
>  PACKAGECONFIG[attr] = "--enable-xattr,--disable-xattr,attr,"
> 
> What should the default be?
> 
> The acl option for coreutils looks in DISTRO_FEATURES.
> 
> Should I do the same for this?

if it depends on some DISTRO_FEATURE then definitely yes. Otherwise define the packageconfig
and then weakly assign a default with ??=

> 
> "Khem Raj" <raj.khem at gmail.com> said:
> 
>> Scott
>> 
>> Thanks for patch. You might want to send into to oe-core mailing list.
>> 
>>> On Jan 14, 2016, at 6:54 AM, Scott Ellis <scott at jumpnowtek.com> wrote:
>>> 
>>> Fixes this warning:
>>> 
>>> WARNING: QA Issue: coreutils rdepends on libattr, but it isn't a build
>>> dependency? [build-deps]
>>> 
>>> Signed-off-by: Scott Ellis <scott at jumpnowtek.com>
>>> ---
>>> meta/recipes-core/coreutils/coreutils_8.24.bb | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>> 
>>> diff --git a/meta/recipes-core/coreutils/coreutils_8.24.bb
>>> b/meta/recipes-core/coreutils/coreutils_8.24.bb
>>> index f042346..47a25f3 100644
>>> --- a/meta/recipes-core/coreutils/coreutils_8.24.bb
>>> +++ b/meta/recipes-core/coreutils/coreutils_8.24.bb
>>> @@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
>>> LICENSE = "GPLv3+"
>>> LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
>>>                    file://src/ls.c;beginline=5;endline=16;md5=38b79785ca88537b75871782a2a3c6b8"
>>> -DEPENDS = "gmp libcap"
>>> +DEPENDS = "attr gmp lib cap”
>> 
>> while this fix is good. We can make this into a packageconfig knob
>> 
>> PACKAGECONFIG[attr] = "--enable-something,--disable-something,attr,"
>> 
>>> DEPENDS_class-native = ""
>>> 
>>> inherit autotools gettext texinfo
>>> --
>>> 2.5.0
>>> 
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
>> 
> 
> 
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160115/0a248cf0/attachment.pgp>


More information about the yocto mailing list