ruby: ensure that .ext/rdoc is gone in compile
PATCH 1/1 ruby: ensure that .ext/rdoc is gone in compile
From: Christopher Larson <[email protected]>
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.
--- meta/recipes-devtools/ruby/ruby.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-devtools/ruby/ruby.inc +4 -0
@@ -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 +}
Signature · 1 line
1.9.1
Quoted 12 lines · Sujith H
From: Christopher Larson <[email protected]>
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.
Quoted 26 lines
Signed-off-by Christopher Larson <[email protected]>Signed-off-by Sujith Haridasan <[email protected]>---
meta/recipes-devtools/ruby/ruby.inc | 4 ++++1 file changed, 4 insertions(+)meta/recipes-devtools/ruby/ruby.inc +4
-1@@ -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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 7 lines · Khem Raj
Quoted 7 lines · Sujith H
From: Christopher Larson <[email protected]>
rdoc gets unhappy if this already exists, so remove it before building.
Quoted 8 lines
Quoted 5 lines
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
Quoted 31 lines
Review
Quoted 8 lines
Signed-off-by Christopher Larson <[email protected]>Signed-off-by Sujith Haridasan <[email protected]>---
meta/recipes-devtools/ruby/ruby.inc | 4 ++++1 file changed, 4 insertions(+)(quoted diff) +0
-0b/meta/recipes-devtools/ruby/ruby.inc
meta/recipes-devtools/ruby/ruby.inc do_configure_prepend() { · line 37
Quoted 5 lines
index fde67e9..d8f6882 100644
meta/recipes-devtools/ruby/ruby.inc +0
-0@@ -37,3 +37,7 @@ do_configure_prepend() { sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#;s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#"
${S}/common.mkQuoted 14 lines
meta/recipes-devtools/ruby/ruby.inc +4
-1rm -rf ${S}/ruby/ } + +do_compile_prepend () { + rm -rf .ext/rdoc +} --1.9.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 7 lines
സുജിത് ഹരിദാസന് 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