public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] ruby: ensure that .ext/rdoc is gone in compile
@ 2016-08-29 12:47 Sujith H
  2016-08-29 12:47 ` Alexander Kanavin
  0 siblings, 1 reply; 3+ messages in thread
From: Sujith H @ 2016-08-29 12:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sujith Haridasan, Christopher Larson

From: Christopher Larson <chris_larson@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.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ruby: ensure that .ext/rdoc is gone in compile
  2016-08-29 12:47 [PATCH] ruby: ensure that .ext/rdoc is gone in compile Sujith H
@ 2016-08-29 12:47 ` Alexander Kanavin
  2016-08-31  7:37   ` sujith h
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2016-08-29 12:47 UTC (permalink / raw)
  To: openembedded-core

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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ruby: ensure that .ext/rdoc is gone in compile
  2016-08-29 12:47 ` Alexander Kanavin
@ 2016-08-31  7:37   ` sujith h
  0 siblings, 0 replies; 3+ messages in thread
From: sujith h @ 2016-08-31  7:37 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

On Mon, Aug 29, 2016 at 6:17 PM, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 2674 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-31  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-29 12:47 [PATCH] ruby: ensure that .ext/rdoc is gone in compile Sujith H
2016-08-29 12:47 ` Alexander Kanavin
2016-08-31  7:37   ` sujith h

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox