[oe] [meta-initramfs][PATCH] klibc: add dependency on coreutils-native

Andrea Adami andrea.adami at gmail.com
Sun Mar 12 21:17:51 UTC 2017


On Sun, Mar 12, 2017 at 10:02 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> Or we can add nl to HOSTTOOLS, there are already few items from
> coreutils-native already IIRC and nl doesn't look dangerous for

Indeed, I'd prefer this as well.
But if this isn't sorted out in oe-core then please apply this patch.

Cheers
Andrea



> incompatibility between different DISTROs (and if it is then dash people
> would already notice and fix it in their code).
>
> e.g. gcc-native seems to cause more issues than coreutils-native and we
> still depend on host distro providing sane gcc
>
> On Sun, Mar 12, 2017 at 2:02 AM, Khem Raj <raj.khem at gmail.com> wrote:
>
>>
>>
>> On 3/11/17 4:58 PM, Andrea Adami wrote:
>> > As seen doing world builds after the host-tools changes dash needs nl.
>> >
>> >   GEN     usr/dash/builtins.c
>> > TOPDIR/tmp-glibc/work/core2-64-oe-linux/klibc/2.0.4-r0/git/usr/dash/
>> > mkbuiltins: 100: TOPDIR/tmp-glibc/work/core2-64-oe-linux/klibc/2.0.4-r0/
>> git/
>> > usr/dash/mkbuiltins: nl: not found
>> >
>> > Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
>> > ---
>> >  meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc
>> b/meta-initramfs/recipes-devtools/klibc/klibc.inc
>> > index f00e31a..bd0ab61 100644
>> > --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
>> > +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
>> > @@ -4,7 +4,7 @@ minimal entaglement, and portability, not speed."
>> >  SECTION = "libs"
>> >  LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib"
>> >  LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=
>> d75181f10e998c21eb147f6d2e43ce8b"
>> > -DEPENDS = "linux-libc-headers perl-native"
>> > +DEPENDS = "linux-libc-headers perl-native coreutils-native"
>>
>> Nothing particular against this patch but, if we are getting down to
>> building own versions of coreutils, that means we are pretty much
>> generating a build distro almost, I wonder if we can have sanitized
>> distros where we can trust them to assume some of these provides.
>>
>> >  SRCREV = "4d19974d7020488f63651244e1f9f51727c3f66c"
>> >
>> >  SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"
>> >
>>
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list