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

2016-08-31 Thread sujith h
On Mon, Aug 29, 2016 at 6:17 PM, Alexander Kanavin <
alexander.kana...@linux.intel.com> wrote:

> On 08/29/2016 03:47 PM, Sujith H wrote:
>
>> From: Christopher Larson 
>>
>> 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.
>>
>
> +
>> +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.


>
> Alex
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
സുജിത് ഹരിദാസന്
Bangalore
Contributor to KDE project
Contributor to Yocto project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
 http://sujithh.info
C-x C-c
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-08-29 Thread Alexander Kanavin

On 08/29/2016 03:47 PM, Sujith H wrote:

From: Christopher Larson 

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.



+
+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
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-08-29 Thread Sujith H
From: Christopher Larson 

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.

Signed-off-by: Christopher Larson 
Signed-off-by: Sujith Haridasan 
---
 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

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core