All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-initramfs][PATCH] klibc: add dependency on coreutils-native
@ 2017-03-12  0:58 Andrea Adami
  2017-03-12  1:02 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Andrea Adami @ 2017-03-12  0:58 UTC (permalink / raw)
  To: openembedded-devel

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@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"
 SRCREV = "4d19974d7020488f63651244e1f9f51727c3f66c"
 
 SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-initramfs][PATCH] klibc: add dependency on coreutils-native
  2017-03-12  0:58 [meta-initramfs][PATCH] klibc: add dependency on coreutils-native Andrea Adami
@ 2017-03-12  1:02 ` Khem Raj
  2017-03-12  9:02   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2017-03-12  1:02 UTC (permalink / raw)
  To: openembedded-devel


[-- Attachment #1.1: Type: text/plain, Size: 1537 bytes --]



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@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"
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-initramfs][PATCH] klibc: add dependency on coreutils-native
  2017-03-12  1:02 ` Khem Raj
@ 2017-03-12  9:02   ` Martin Jansa
  2017-03-12 21:17     ` Andrea Adami
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2017-03-12  9:02 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

Or we can add nl to HOSTTOOLS, there are already few items from
coreutils-native already IIRC and nl doesn't look dangerous for
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@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-initramfs][PATCH] klibc: add dependency on coreutils-native
  2017-03-12  9:02   ` Martin Jansa
@ 2017-03-12 21:17     ` Andrea Adami
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea Adami @ 2017-03-12 21:17 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

On Sun, Mar 12, 2017 at 10:02 AM, Martin Jansa <martin.jansa@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@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@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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-12 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12  0:58 [meta-initramfs][PATCH] klibc: add dependency on coreutils-native Andrea Adami
2017-03-12  1:02 ` Khem Raj
2017-03-12  9:02   ` Martin Jansa
2017-03-12 21:17     ` Andrea Adami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.