From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7D99FE00D24; Wed, 3 Apr 2019 07:26:27 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_00,DOS_OUTLOOK_TO_MX, HTML_MESSAGE,KHOP_DYNAMIC,RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.0 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS * 1.4 KHOP_DYNAMIC Relay looks like a dynamic address * 2.8 DOS_OUTLOOK_TO_MX Delivered direct to MX with Outlook headers X-Greylist: delayed 587 seconds by postgrey-1.32 at yocto-www; Wed, 03 Apr 2019 07:26:25 PDT Received: from mailS.toulouse.viveris.com (162.206.70.37.rev.sfr.net [37.70.206.162]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B6621E00D1E for ; Wed, 3 Apr 2019 07:26:25 -0700 (PDT) From: =?iso-8859-1?Q?Cl=E9ment_Cherbeix?= To: Date: Wed, 3 Apr 2019 16:16:29 +0200 Message-ID: <000501d4ea27$d512a4e0$7f37eea0$@viveris.fr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdTqJ3rYM0AXivuHRiWSGZSejW2oJQ== X-Mailman-Approved-At: Mon, 08 Apr 2019 09:30:29 -0700 Subject: problem with ruby X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2019 14:26:27 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01D4EA38.989C1120" Content-Language: fr ------=_NextPart_000_0006_01D4EA38.989C1120 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello all, I=92m trying to add the MIB mechanics in my yocto project, for that I = use dadi (ruby depenedent) but I get an error when bitbake try to compile : DEBUG: Executing shell function do_compile ERROR: Loading command: build (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass WARNING: /home/modem/tkh/build/tmp/work/x86_64-linux/libxml-ruby-native/2.8.0-r0/t= emp /run.do_compile.567:1 exit 1 from 'LANG=3D"en_US.UTF-8" = LC_ALL=3D"en_US.UTF-8" gem build $gem' =20 I have tried to build the gem in an environment outside of Yocto and it = was correct but when I try to do it in Yocto, I get my error. Did someone have an idea on what to do ? what is the recommended way of building ruby via gem in yocto ? =20 Here is my build environment : BB_VERSION =3D "1.40.0" BUILD_SYS =3D "x86_64-linux" NATIVELSBSTRING =3D "universal" TARGET_SYS =3D "x86_64-poky-linux" DISTRO =3D "poky" DISTRO_VERSION =3D "2.6.1" TUNE_FEATURES =3D "m64 corei7" =20 Thanks in advance ! =20 Cl=E9ment C. ------=_NextPart_000_0006_01D4EA38.989C1120 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello all,

I’m trying = to add the MIB mechanics in my yocto project, for that I use dadi (ruby = depenedent) but I get an error when bitbake try to compile = :

DEBUG: Executing shell function = do_compile

ERROR:  Loading command: build = (LoadError)

          =       cannot load such file -- = zlib

ERROR:  While executing gem ... = (NoMethodError)

    undefined method = `invoke_with_build_args' for nil:NilClass

WARNING: = /home/modem/tkh/build/tmp/work/x86_64-linux/libxml-ruby-native/2.8.0-r0/t= emp/run.do_compile.567:1 exit 1 from 'LANG=3D"en_US.UTF-8" = LC_ALL=3D"en_US.UTF-8" gem build $gem'

 

I have tried to build the gem in an = environment outside of Yocto and it was correct but when I try to do it = in Yocto, I get my error.
Did someone have an idea on what to do = ?
what is the recommended way of buildin= g ruby via gem in yocto ?
=

 

Here is my build environment = :

BB_VERSION       =     =3D "1.40.0"

BUILD_SYS        &nb= sp;   =3D "x86_64-linux"

NATIVELSBSTRING      =3D = "universal"

TARGET_SYS        &n= bsp;  =3D "x86_64-poky-linux"

DISTRO         =       =3D = "poky"

DISTRO_VERSION       =3D = "2.6.1"

TUNE_FEATURES        =3D = "m64 corei7"

 

Thanks in advance !

 

Cl=E9ment = C.

------=_NextPart_000_0006_01D4EA38.989C1120--