[OE-core] [PATCH] coreutils: fix search paths for libstdbuf.so

Richard Purdie richard.purdie at linuxfoundation.org
Tue Mar 25 10:55:51 UTC 2014


On Tue, 2014-03-25 at 18:37 +0800, Chunrong Guo wrote:
>         *fix the following error:
>         |stdbuf: failed to find 'libstdbuf.so'
>         *PKGLIBEXECDIR is the search paths for libstdbuf.so
>         |PKGLIBEXECDIR='$(pkglibexecdir)'
>         |pkglibexecdir='${libexecdir}/${PACKAGE}'
> 
> Signed-off-by: Chunrong Guo <B40290 at freescale.com>
> ---
>  meta/recipes-core/coreutils/coreutils_8.22.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb b/meta/recipes-core/coreutils/coreutils_8.22.bb
> index a26aa02..ed5fc84 100644
> --- a/meta/recipes-core/coreutils/coreutils_8.22.bb
> +++ b/meta/recipes-core/coreutils/coreutils_8.22.bb
> @@ -71,8 +71,6 @@ do_install_append() {
>  	# in update-alternatives to fail, therefore use lbracket - the name used
>  	# for the actual source file.
>  	mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN}
> -	install -d ${D}${libdir}/coreutils
> -	mv ${D}${libexecdir}/coreutils/libstdbuf.so ${D}${libdir}/coreutils
>  }
>  
>  inherit update-alternatives
> @@ -101,3 +99,4 @@ python __anonymous() {
>  }
>  
>  BBCLASSEXTEND = "native"
> +FILES_${PN}-dbg += "${libexecdir}/coreutils/.debug/*"

Khem added this back in 2011:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/meta/recipes-core/coreutils?h=rpurdie/t2&id=eee0b5aadba34130080df8aebc7e8dd57c7d5ccb

Khem: Any idea what this was for?

Cheers,

Richard





More information about the Openembedded-core mailing list