Skip to contentSkip to conversation

ruby: ensure that .ext/rdoc is gone in compile

PATCH In review Sujith H 2 participants 3 messages Aug 29, 2016 – Sep 7, 2016

lore
Share & tools
lore

Sujith H

author
#0 lore raw

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
index fde67e9..d8f6882 100644
@@ -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
#1 lore raw
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

---
meta/recipes-devtools/ruby/ruby.inc | 4 ++++

1 file changed, 4 insertions(+)
meta/recipes-devtools/ruby/ruby.inc +4 -1
index fde67e9..d8f6882 100644
@@ -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

author
#2 lore raw
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

---
meta/recipes-devtools/ruby/ruby.inc | 4 ++++

1 file changed, 4 insertions(+)
(quoted diff) +0 -0

b/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.mk

Quoted 14 lines
meta/recipes-devtools/ruby/ruby.inc +4 -1
    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

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