[OE-core] [PATCH] coreutils: remove dependency on coreutils-native
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jan 16 11:59:41 UTC 2013
On Tue, 2013-01-15 at 15:16 +0800, Jesse Zhang wrote:
> If coreutils-native is built, it will replace the host commands and will
> in parallel builds cause such errors:
>
> make[6]: execvp: rm: Text file busy
>
> libtool: ...tmp/sysroots/x86_64-linux//bin/mv: Text file busy
>
> Remove the dependency and always use the host version.
>
> Signed-off-by: Jesse Zhang <sen.zhang at windriver.com>
> ---
> meta/recipes-core/coreutils/coreutils_6.9.bb | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb
> index 37d8dc9..c0778ba 100644
> --- a/meta/recipes-core/coreutils/coreutils_6.9.bb
> +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb
> @@ -8,8 +8,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
> LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
> file://src/ls.c;beginline=4;endline=16;md5=15ed60f67b1db5fedd5dbc37cf8a9543"
> -PR = "r4"
> -DEPENDS = "coreutils-native-${PV}"
> +PR = "r5"
> DEPENDS_class-native = "gettext-native"
>
> inherit autotools gettext
Two questions:
1) Why do we have this dependency here at all? Are we sure we don't need
it for some reasons?
2) Isn't the build of coreutils-native still broken? We should probably
hack it so it installs into some path prefix like
{python/perl/gzip/tar}-native or doesn't install the utils at all.
I've not taken the patch until we have some plans for the above issues.
Cheers,
Richard
More information about the Openembedded-core
mailing list