klibc: add dependency on coreutils-native
PATCH 1/1 klibc: add dependency on coreutils-native
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
--- meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-initramfs/recipes-devtools/klibc/klibc.inc +1 -1
@@ -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"
Signature · 1 line
2.7.4
Quoted 17 lines · Andrea Adami
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 foundSigned-off-by Andrea Adami <[email protected]>--- meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0
meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 7
Quoted 5 lines
meta-initramfs/recipes-devtools/klibc/klibc.inc +1
-1@@ -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.
Quoted 4 lines
meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0SRCREV = "4d19974d7020488f63651244e1f9f51727c3f66c" SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"
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
Quoted 47 lines · Khem Raj
Quoted 5 lines · Andrea Adami
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/
Review
Quoted 8 lines
usr/dash/mkbuiltins: nl: not foundSigned-off-by Andrea Adami <[email protected]>--- meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta-initramfs/recipes-devtools/klibc/klibc.inc
meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 6
Quoted 7 lines
index f00e31a..bd0ab61 100644
meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0@@ -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"meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 7
Quoted 2 lines
meta-initramfs/recipes-devtools/klibc/klibc.inc +1
-1-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.
meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 10
Quoted 4 lines
meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0SRCREV = "4d19974d7020488f63651244e1f9f51727c3f66c" SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 2 lines · Martin Jansa
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
Quoted 60 lines
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
Quoted 40 lines · Khem Raj
Quoted 5 lines · Andrea Adami
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/
Review
Quoted 8 lines
usr/dash/mkbuiltins: nl: not foundSigned-off-by Andrea Adami <[email protected]>--- meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta-initramfs/recipes-devtools/klibc/klibc.inc
meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 6
Quoted 7 lines
index f00e31a..bd0ab61 100644
meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0@@ -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"meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 7
Quoted 2 lines
meta-initramfs/recipes-devtools/klibc/klibc.inc +1
-1-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.
meta-initramfs/recipes-devtools/klibc/klibc.inc minimal entaglement, and portability, not speed." · line 10
Quoted 4 lines
meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0SRCREV = "4d19974d7020488f63651244e1f9f51727c3f66c" SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"Quoted 7 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel