[yocto] [OE-core][PATCH] ruby: ensure that .ext/rdoc is gone in compile

Khem Raj raj.khem at gmail.com
Tue Sep 6 09:53:59 PDT 2016


> On Aug 29, 2016, at 5:45 AM, Sujith H <sujith.h at gmail.com> wrote:
> 
> From: Christopher Larson <chris_larson at mentor.com>
> 
> rdoc gets unhappy if this already exists, so remove it before building.
> 
> Without this, it's possible to hit this error:
> 
>    Directory .ext/rdoc already exists, but it looks like it isn't an RDoc
>    directory.
> 

patch is fine, please post it to openembedded-core mailing list.

> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
> ---
> meta/recipes-devtools/ruby/ruby.inc | 4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc
> index fde67e9..d8f6882 100644
> --- a/meta/recipes-devtools/ruby/ruby.inc
> +++ b/meta/recipes-devtools/ruby/ruby.inc
> @@ -37,3 +37,7 @@ do_configure_prepend() {
>     sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk
>     rm -rf ${S}/ruby/
> }
> +
> +do_compile_prepend () {
> +    rm -rf .ext/rdoc
> +}
> --
> 1.9.1
> 
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160906/64a125ac/attachment.pgp>


More information about the yocto mailing list