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

sujith h sujith.h at gmail.com
Wed Sep 7 01:06:37 PDT 2016


On Tue, Sep 6, 2016 at 10:23 PM, Khem Raj <raj.khem at gmail.com> wrote:

>
> > 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.
>

I have already posted it in the openembedded-core mailing list :
http://lists.openembedded.org/pipermail/openembedded-core/2016-August/125836.html

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


-- 
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
<Project>Contributor to Yocto project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info
C-x C-c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160907/ccf81eed/attachment.html>


More information about the yocto mailing list