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 10 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.
meta/recipes-devtools/ruby/ruby.inc do_configure_prepend() { · line 43
Quoted 4 lines
meta/recipes-devtools/ruby/ruby.inc +4
-0+ +do_compile_prepend () { + rm -rf .ext/rdoc +}
The fix may be fixing the symptom and masking a different issue, have you checked when and how the error occurs?
Alex
Quoted 12 lines · Alexander Kanavin
Quoted 9 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.
Quoted 9 lines
+
meta/recipes-devtools/ruby/ruby.inc do_configure_prepend() { · line 43
Quoted 5 lines
meta/recipes-devtools/ruby/ruby.inc +3
-0+do_compile_prepend () { + rm -rf .ext/rdoc +}The fix may be fixing the symptom and masking a different issue, have you checked when and how the error occurs?
Sorry for the confusion. We can ignore this patch. I did consulted with Chris regarding the same. Again extremely sorry for confusion.
Quoted 8 lines
Alex
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
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