Re: [oe] [meta-ruby] problems building Gem that contains C code

2015-07-09 Thread akuster808
Michael, very cool. Thanks - armin On 07/07/2015 02:39 AM, Michaël Burtin wrote: Hi, We (at Voxtok Technologies) have written a bbclass to handle Gem compilation that we use to run rails applications on ARM platform. We exposed the class (together with ruby recipe and a collection of gem re

Re: [oe] [meta-ruby] problems building Gem that contains C code

2015-07-07 Thread Michaël Burtin
Hi, We (at Voxtok Technologies) have written a bbclass to handle Gem compilation that we use to run rails applications on ARM platform. We exposed the class (together with ruby recipe and a collection of gem recipes) as an external layer in a Github repository [1]. Unfortunately we didn't find eno

Re: [oe] [meta-ruby] problems building Gem that contains C code

2015-05-15 Thread akuster808
On 05/15/2015 06:38 AM, Eduardo Silva wrote: Hi, thanks for the update. If I try that patch I get the following error when building Ruby: ERROR: Function failed: do_install (log file is located at /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.1

Re: [oe] [meta-ruby] problems building Gem that contains C code

2015-05-15 Thread Eduardo Silva
Hi, thanks for the update. If I try that patch I get the following error when building Ruby: ERROR: Function failed: do_install (log file is located at /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344) ERROR: Logfile of failure stored in: /home/

Re: [oe] [meta-ruby] problems building Gem that contains C code

2015-05-14 Thread akuster808
Eduardo, I think one issue is --sysroot is using the host path that might be contributing to the Arch mismatch message. I have a patch that I have not submitted, yet. Regarding the .debug, you might need to add FILE_${PN}-dbg += "/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.deb

[oe] [meta-ruby] problems building Gem that contains C code

2015-05-14 Thread Eduardo Silva
Hi, I am packaging a Ruby gem that also contains C code: http://github.com/msgpack/msgpack-ruby but when building it raise many QA issues about linking to 64 bits version, my target is "i586-poky-linux": ERROR: QA Issue: Architecture did not match (3 to 62) on /work/i586-poky-linux/ruby-msgpa