* Question on including ruby 1.9.3 in embedded image
@ 2013-06-05 18:46 Ming Chan (chanm)
2013-06-06 8:13 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Ming Chan (chanm) @ 2013-06-05 18:46 UTC (permalink / raw)
To: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
Hi Experts,
We are trying to include ruby-1.9.3 by using the recipe in the meta-openembedded/meta-ruby (git://git.openembedded.org/meta-openembedded), Issues seen during the bitbake run:
1. While package ruby-native-1.9.3-p194-r1.0, task do_compile failed with "undefined symbol: rb_encdb_declare<https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&ved=0CFAQFjAF&url=http%3A%2F%2Fredcricketblog.blogspot.com%2F2012%2F11%2Fundefined-symbol-rbencdbdeclare-when.html&ei=pweuUfKeAo-84APUmIDYBw&usg=AFQjCNHuVyAc5etRS6QWb_2pZ-ow76TXVQ&sig2=UY_7YNA1ozt7odj4q2tljA&bvm=bv.47244034,d.dmg>", the work around this issue is to use --disable-rdoc
2. While package ruby-1.9.3-p194-r1.0, task do_compile failed with the following:
*
template/Doxyfile.tmpl:22: uninitialized constant RUBY_REVISION (NameError). The work around is to use 0 instead of RUBY_REVISION.
* executable host ruby is required. The work around is to use --with-baseruby option and provide baseruby from build machine.
* ext/etc/extconf.rb:8: undefined method `escape' for Shellwords. This issue is caused by the version of executable host ruby is to old. This issue disappeared after using ruby-1.8.7 on the build machine.
* The current issue is "../.././lib/erb.rb:586:in `compile': undefined method `encoding' for
#<String:0x2a9560fee0> (NoMethodError)"
Does it make sense for the work around described? Any requirement (i.e. The version of gcc) is needed to use the recipe in the meta-openembedded/meta-ruby?
Thanks in advance !!!
--Ming
[-- Attachment #2: Type: text/html, Size: 2845 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on including ruby 1.9.3 in embedded image
2013-06-05 18:46 Question on including ruby 1.9.3 in embedded image Ming Chan (chanm)
@ 2013-06-06 8:13 ` Richard Purdie
2013-06-06 13:55 ` Ming Chan (chanm)
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2013-06-06 8:13 UTC (permalink / raw)
To: Ming Chan (chanm); +Cc: bitbake-devel
On Wed, 2013-06-05 at 18:46 +0000, Ming Chan (chanm) wrote:
> We are trying to include ruby-1.9.3 by using the recipe in
> the meta-openembedded/meta-ruby(git://git.openembedded.org/meta-openembedded), Issues seen during the bitbake run:
> 1. While package ruby-native-1.9.3-p194-r1.0, task do_compile
> failed with "undefined symbol: rb_encdb_declare", the work
> around this issue is to use --disable-rdoc
> 2. While package ruby-1.9.3-p194-r1.0, task do_compile failed
> with the following:
> template/Doxyfile.tmpl:22: uninitialized constant
> RUBY_REVISION (NameError). The work around is to use
> 0 instead of RUBY_REVISION.
> * executable host ruby is required. The work around is
> to use --with-baseruby option and provide baseruby
> from build machine.
> * ext/etc/extconf.rb:8: undefined method `escape' for
> Shellwords. This issue is caused by the version of
> executable host ruby is to old. This issue
> disappeared after using ruby-1.8.7 on the build
> machine.
> * The current issue is "../.././lib/erb.rb:586:in
> `compile': undefined method `encoding' for
> #<String:0x2a9560fee0> (NoMethodError)"
> Does it make sense for the work around described? Any requirement
> (i.e. The version of gcc) is needed to use the recipe in
> the meta-openembedded/meta-ruby?
>
This mailing list is about bitbake itself, not about metadata and build
problems. See the README in the meta-opembedded layer for details on
where to take questions (its the openenembedded-devel mailing list in
this case).
FWIW it is a bug that you have to work around these issues however the
quality of recipes in meta-openembedded is variable.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on including ruby 1.9.3 in embedded image
2013-06-06 8:13 ` Richard Purdie
@ 2013-06-06 13:55 ` Ming Chan (chanm)
0 siblings, 0 replies; 3+ messages in thread
From: Ming Chan (chanm) @ 2013-06-06 13:55 UTC (permalink / raw)
To: Richard Purdie; +Cc: bitbake-devel
Hi Richard,
We just resolved these issues.
Thanks,
--Ming
On 6/6/13 4:13 AM, "Richard Purdie" <richard.purdie@linuxfoundation.org>
wrote:
>On Wed, 2013-06-05 at 18:46 +0000, Ming Chan (chanm) wrote:
>> We are trying to include ruby-1.9.3 by using the recipe in
>> the
>>meta-openembedded/meta-ruby(git://git.openembedded.org/meta-openembedded)
>>, Issues seen during the bitbake run:
>> 1. While package ruby-native-1.9.3-p194-r1.0, task do_compile
>> failed with "undefined symbol: rb_encdb_declare", the work
>> around this issue is to use --disable-rdoc
>> 2. While package ruby-1.9.3-p194-r1.0, task do_compile failed
>> with the following:
>> template/Doxyfile.tmpl:22: uninitialized constant
>> RUBY_REVISION (NameError). The work around is to use
>> 0 instead of RUBY_REVISION.
>> * executable host ruby is required. The work around is
>> to use --with-baseruby option and provide baseruby
>> from build machine.
>> * ext/etc/extconf.rb:8: undefined method `escape' for
>> Shellwords. This issue is caused by the version of
>> executable host ruby is to old. This issue
>> disappeared after using ruby-1.8.7 on the build
>> machine.
>> * The current issue is "../.././lib/erb.rb:586:in
>> `compile': undefined method `encoding' for
>> #<String:0x2a9560fee0> (NoMethodError)"
>> Does it make sense for the work around described? Any requirement
>> (i.e. The version of gcc) is needed to use the recipe in
>> the meta-openembedded/meta-ruby?
>>
>This mailing list is about bitbake itself, not about metadata and build
>problems. See the README in the meta-opembedded layer for details on
>where to take questions (its the openenembedded-devel mailing list in
>this case).
>
>FWIW it is a bug that you have to work around these issues however the
>quality of recipes in meta-openembedded is variable.
>
>Cheers,
>
>Richard
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-06 13:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 18:46 Question on including ruby 1.9.3 in embedded image Ming Chan (chanm)
2013-06-06 8:13 ` Richard Purdie
2013-06-06 13:55 ` Ming Chan (chanm)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.