* [meta-ruby] problems building Gem that contains C code @ 2015-05-14 13:25 Eduardo Silva 2015-05-14 20:53 ` akuster808 0 siblings, 1 reply; 6+ messages in thread From: Eduardo Silva @ 2015-05-14 13:25 UTC (permalink / raw) To: openembedded-devel 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-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so [arch] ERROR: QA Issue: non debug package contains .debug directory: ruby-msgpack path /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so [debug-files] ERROR: QA Issue: Architecture did not match (3 to 62) on /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so [arch] WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no providers in its RDEPENDS [file-rdeps] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa ERROR: Logfile of failure stored in: /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603 ERROR: Task 9 (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/ ruby-msgpack_git.bb, do_package_qa) failed with exit code '1' would you please advice if some specific flag/setup is required to build Ruby gems that contains C code ? thanks, -- Eduardo Silva Monkey Software ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-ruby] problems building Gem that contains C code 2015-05-14 13:25 [meta-ruby] problems building Gem that contains C code Eduardo Silva @ 2015-05-14 20:53 ` akuster808 2015-05-15 13:38 ` Eduardo Silva 0 siblings, 1 reply; 6+ messages in thread From: akuster808 @ 2015-05-14 20:53 UTC (permalink / raw) To: eduardo; +Cc: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 2176 bytes --] 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/.debug" It you could try the patch I have attached and let me know if it helps. regards, Armin On 05/14/2015 06:25 AM, Eduardo Silva wrote: > 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-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so > [arch] > ERROR: QA Issue: non debug package contains .debug directory: ruby-msgpack > path > /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so > [debug-files] > ERROR: QA Issue: Architecture did not match (3 to 62) on > /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so > [arch] > WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit), > libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit), > libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no providers in its > RDEPENDS [file-rdeps] > ERROR: QA run found fatal errors. Please consider fixing them. > ERROR: Function failed: do_package_qa > ERROR: Logfile of failure stored in: > /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603 > ERROR: Task 9 > (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/ > ruby-msgpack_git.bb, do_package_qa) failed with exit code '1' > > would you please advice if some specific flag/setup is required to build > Ruby gems that contains C code ? > > thanks, > [-- Attachment #2: 0001-ruby-fix-sysroot-issue.patch --] [-- Type: text/x-patch, Size: 1112 bytes --] From 7c2ccc0218c08751b143b5167ab83a83b985d034 Mon Sep 17 00:00:00 2001 From: Armin Kuster <akuster808@gmail.com> Date: Thu, 14 May 2015 13:02:35 -0700 Subject: [PATCH] ruby: fix sysroot issue The --sysroot=/ is set to the host path, when using ruby on a target machine. This only becomes a problem with compiling native support using gems. thanks to Robert Bevan Signed-off-by: Armin Kuster <akuster808@gmail.com> --- meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb b/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb index 78c943c..2bf0a00 100644 --- a/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb +++ b/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb @@ -31,6 +31,12 @@ do_install() { oe_runmake 'DESTDIR=${D}' install } +do_install_append () { +if [ "${PN}" != "ruby-native" ]; then + sed -i "s/sysroot=[0-9a-z\/\-]*/sysroot=\//g" ${D}/usr/lib/ruby/*/*/rbconfig.rb +fi +} + FILES_${PN} += "${datadir}/rubygems \ ${datadir}/ri" -- 2.3.5 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [meta-ruby] problems building Gem that contains C code 2015-05-14 20:53 ` akuster808 @ 2015-05-15 13:38 ` Eduardo Silva 2015-05-15 18:59 ` akuster808 0 siblings, 1 reply; 6+ messages in thread From: Eduardo Silva @ 2015-05-15 13:38 UTC (permalink / raw) To: akuster808; +Cc: openembedded-devel 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/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344 Log data follows: | DEBUG: Executing shell function do_install | NOTE: make -j 4 LIBRUBYARG=-lruby-static DESTDIR=/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/image install | make: *** No rule to make target 'install'. Stop. | ERROR: oe_runmake failed | WARNING: /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/run.do_install.10344:1 exit 1 from | exit 1 | 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: Task 111 (virtual:native:/home/edsiper/coding/meta-openembedded/meta-ruby/recipes-devtools/ruby/ ruby_2.2.2.bb, do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 672 tasks of which 671 didn't need to be rerun and 1 failed. No currently running tasks (565 of 682) regards, On Thu, May 14, 2015 at 2:53 PM, akuster808 <akuster808@gmail.com> wrote: > 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/.debug" > > > It you could try the patch I have attached and let me know if it helps. > > regards, > Armin > > > On 05/14/2015 06:25 AM, Eduardo Silva wrote: > >> 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-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so >> [arch] >> ERROR: QA Issue: non debug package contains .debug directory: ruby-msgpack >> path >> >> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so >> [debug-files] >> ERROR: QA Issue: Architecture did not match (3 to 62) on >> >> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so >> [arch] >> WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit), >> libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit), >> libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no providers in its >> RDEPENDS [file-rdeps] >> ERROR: QA run found fatal errors. Please consider fixing them. >> ERROR: Function failed: do_package_qa >> ERROR: Logfile of failure stored in: >> >> /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603 >> ERROR: Task 9 >> (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/ >> ruby-msgpack_git.bb, do_package_qa) failed with exit code '1' >> >> would you please advice if some specific flag/setup is required to build >> Ruby gems that contains C code ? >> >> thanks, >> >> -- Eduardo Silva Monkey Software ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-ruby] problems building Gem that contains C code 2015-05-15 13:38 ` Eduardo Silva @ 2015-05-15 18:59 ` akuster808 2015-07-07 9:39 ` Michaël Burtin 0 siblings, 1 reply; 6+ messages in thread From: akuster808 @ 2015-05-15 18:59 UTC (permalink / raw) To: Eduardo Silva; +Cc: openembedded-devel 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.10344) > ERROR: Logfile of failure stored in: > /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344 > Log data follows: > | DEBUG: Executing shell function do_install > | NOTE: make -j 4 LIBRUBYARG=-lruby-static > DESTDIR=/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/image > install > | make: *** No rule to make target 'install'. Stop. > | ERROR: oe_runmake failed > | WARNING: > /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/run.do_install.10344:1 > exit 1 from > | exit 1 > | 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: Task 111 > (virtual:native:/home/edsiper/coding/meta-openembedded/meta-ruby/recipes-devtools/ruby/ruby_2.2.2.bb > <http://ruby_2.2.2.bb>, do_install) failed with exit code '1' > NOTE: Tasks Summary: Attempted 672 tasks of which 671 didn't need to be > rerun and 1 failed. > No currently running tasks (565 of 682) Hmm, weird. let me poke at it. - armin > > regards, > > > On Thu, May 14, 2015 at 2:53 PM, akuster808 <akuster808@gmail.com > <mailto:akuster808@gmail.com>> wrote: > > 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/.debug" > > > It you could try the patch I have attached and let me know if it helps. > > regards, > Armin > > > On 05/14/2015 06:25 AM, Eduardo Silva wrote: > > 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-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so > [arch] > ERROR: QA Issue: non debug package contains .debug directory: > ruby-msgpack > path > /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so > [debug-files] > ERROR: QA Issue: Architecture did not match (3 to 62) on > /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so > [arch] > WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit), > libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit), > libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no > providers in its > RDEPENDS [file-rdeps] > ERROR: QA run found fatal errors. Please consider fixing them. > ERROR: Function failed: do_package_qa > ERROR: Logfile of failure stored in: > /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603 > ERROR: Task 9 > (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/ > ruby-msgpack_git.bb <http://ruby-msgpack_git.bb>, do_package_qa) > failed with exit code '1' > > would you please advice if some specific flag/setup is required > to build > Ruby gems that contains C code ? > > thanks, > > > > > -- > Eduardo Silva > Monkey Software ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-ruby] problems building Gem that contains C code 2015-05-15 18:59 ` akuster808 @ 2015-07-07 9:39 ` Michaël Burtin 2015-07-09 16:31 ` akuster808 0 siblings, 1 reply; 6+ messages in thread From: Michaël Burtin @ 2015-07-07 9:39 UTC (permalink / raw) To: openembedded-devel, Eduardo Silva 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 enough time to upstream the patches as some part of the recipes might need to be rewritten (e.g. the ruby "make install-cross" related changes) but it seems stable enough to be shared. This should allow you to install gem in your image as well as installing gems at runtime, with native extension, supposing your image contains the dev libraries and tools. Regards, Michaël [1] https://github.com/voxtok/meta-oad-ruby Le ven. 15 mai 2015 à 21:00, akuster808 <akuster808@gmail.com> a écrit : > > > 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.10344) > > ERROR: Logfile of failure stored in: > > > /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344 > > Log data follows: > > | DEBUG: Executing shell function do_install > > | NOTE: make -j 4 LIBRUBYARG=-lruby-static > > > DESTDIR=/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/image > > install > > | make: *** No rule to make target 'install'. Stop. > > | ERROR: oe_runmake failed > > | WARNING: > > > /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/run.do_install.10344:1 > > exit 1 from > > | exit 1 > > | 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: Task 111 > > > (virtual:native:/home/edsiper/coding/meta-openembedded/meta-ruby/recipes-devtools/ruby/ > ruby_2.2.2.bb > > <http://ruby_2.2.2.bb>, do_install) failed with exit code '1' > > NOTE: Tasks Summary: Attempted 672 tasks of which 671 didn't need to be > > rerun and 1 failed. > > No currently running tasks (565 of 682) > > Hmm, weird. let me poke at it. > > - armin > > > > regards, > > > > > > On Thu, May 14, 2015 at 2:53 PM, akuster808 <akuster808@gmail.com > > <mailto:akuster808@gmail.com>> wrote: > > > > 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/.debug" > > > > > > It you could try the patch I have attached and let me know if it > helps. > > > > regards, > > Armin > > > > > > On 05/14/2015 06:25 AM, Eduardo Silva wrote: > > > > 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-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so > > [arch] > > ERROR: QA Issue: non debug package contains .debug directory: > > ruby-msgpack > > path > > > /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so > > [debug-files] > > ERROR: QA Issue: Architecture did not match (3 to 62) on > > > /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so > > [arch] > > WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit), > > libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit), > > libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no > > providers in its > > RDEPENDS [file-rdeps] > > ERROR: QA run found fatal errors. Please consider fixing them. > > ERROR: Function failed: do_package_qa > > ERROR: Logfile of failure stored in: > > > /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603 > > ERROR: Task 9 > > > (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/ > > ruby-msgpack_git.bb <http://ruby-msgpack_git.bb>, do_package_qa) > > failed with exit code '1' > > > > would you please advice if some specific flag/setup is required > > to build > > Ruby gems that contains C code ? > > > > thanks, > > > > > > > > > > -- > > Eduardo Silva > > Monkey Software > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-ruby] problems building Gem that contains C code 2015-07-07 9:39 ` Michaël Burtin @ 2015-07-09 16:31 ` akuster808 0 siblings, 0 replies; 6+ messages in thread From: akuster808 @ 2015-07-09 16:31 UTC (permalink / raw) To: openembedded-devel, Eduardo Silva, mburtin 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 > recipes) as an external layer in a Github repository [1]. > Unfortunately we didn't find enough time to upstream the patches as some > part of the recipes might need to be rewritten (e.g. the ruby "make > install-cross" related changes) but it seems stable enough to be shared. > This should allow you to install gem in your image as well as installing > gems at runtime, with native extension, supposing your image contains the > dev libraries and tools. > > Regards, > Michaël > > [1] https://github.com/voxtok/meta-oad-ruby > > Le ven. 15 mai 2015 à 21:00, akuster808 <akuster808@gmail.com> a écrit : > >> >> >> 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.10344) >>> ERROR: Logfile of failure stored in: >>> >> /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344 >>> Log data follows: >>> | DEBUG: Executing shell function do_install >>> | NOTE: make -j 4 LIBRUBYARG=-lruby-static >>> >> DESTDIR=/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/image >>> install >>> | make: *** No rule to make target 'install'. Stop. >>> | ERROR: oe_runmake failed >>> | WARNING: >>> >> /home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/run.do_install.10344:1 >>> exit 1 from >>> | exit 1 >>> | 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: Task 111 >>> >> (virtual:native:/home/edsiper/coding/meta-openembedded/meta-ruby/recipes-devtools/ruby/ >> ruby_2.2.2.bb >>> <http://ruby_2.2.2.bb>, do_install) failed with exit code '1' >>> NOTE: Tasks Summary: Attempted 672 tasks of which 671 didn't need to be >>> rerun and 1 failed. >>> No currently running tasks (565 of 682) >> >> Hmm, weird. let me poke at it. >> >> - armin >>> >>> regards, >>> >>> >>> On Thu, May 14, 2015 at 2:53 PM, akuster808 <akuster808@gmail.com >>> <mailto:akuster808@gmail.com>> wrote: >>> >>> 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/.debug" >>> >>> >>> It you could try the patch I have attached and let me know if it >> helps. >>> >>> regards, >>> Armin >>> >>> >>> On 05/14/2015 06:25 AM, Eduardo Silva wrote: >>> >>> 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-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so >>> [arch] >>> ERROR: QA Issue: non debug package contains .debug directory: >>> ruby-msgpack >>> path >>> >> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so >>> [debug-files] >>> ERROR: QA Issue: Architecture did not match (3 to 62) on >>> >> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so >>> [arch] >>> WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit), >>> libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit), >>> libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no >>> providers in its >>> RDEPENDS [file-rdeps] >>> ERROR: QA run found fatal errors. Please consider fixing them. >>> ERROR: Function failed: do_package_qa >>> ERROR: Logfile of failure stored in: >>> >> /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603 >>> ERROR: Task 9 >>> >> (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/ >>> ruby-msgpack_git.bb <http://ruby-msgpack_git.bb>, do_package_qa) >>> failed with exit code '1' >>> >>> would you please advice if some specific flag/setup is required >>> to build >>> Ruby gems that contains C code ? >>> >>> thanks, >>> >>> >>> >>> >>> -- >>> Eduardo Silva >>> Monkey Software >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-07-09 16:31 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-05-14 13:25 [meta-ruby] problems building Gem that contains C code Eduardo Silva 2015-05-14 20:53 ` akuster808 2015-05-15 13:38 ` Eduardo Silva 2015-05-15 18:59 ` akuster808 2015-07-07 9:39 ` Michaël Burtin 2015-07-09 16:31 ` akuster808
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.