From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A8819E00C5B; Wed, 6 Apr 2016 03:54:29 -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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (christrobridge[at]hotmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [157.55.2.38 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 61 seconds by postgrey-1.32 at yocto-www; Wed, 06 Apr 2016 03:54:28 PDT Received: from DUB004-OMC3S29.hotmail.com (dub004-omc3s29.hotmail.com [157.55.2.38]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E5F68E00B37 for ; Wed, 6 Apr 2016 03:54:28 -0700 (PDT) Received: from DUB130-W48 ([157.55.2.8]) by DUB004-OMC3S29.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 6 Apr 2016 03:53:26 -0700 X-TMN: [2xmMUtnQgYpA2bspaXEA+RIqQv2IEPa+] X-Originating-Email: [christrobridge@hotmail.com] Message-ID: From: Chris Trobridge To: "yocto@yoctoproject.org" Date: Wed, 6 Apr 2016 11:53:25 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 06 Apr 2016 10:53:26.0348 (UTC) FILETIME=[8BF630C0:01D18FF2] Subject: Python GObject Errors on yocto-2.1_M3.rc2 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, 06 Apr 2016 10:54:29 -0000 Content-Type: multipart/alternative; boundary="_65808208-e274-4891-b596-56c731023435_" --_65808208-e274-4891-b596-56c731023435_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a code base using gobject introspection that has been running fine o= n Alex's gobject-introspection-experimental branch on poky-contrib but is b= roken on 2.1 M3. I am using it with python3 (3.5) but it isn't accessible with python27 eith= er. It appears it may be partially installed for 2.7 but not at all for 3.= 5. To simplify things=2C I have built core-image-full-cmdline on genericx86-64= and this gives the same result as my image: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DPoky (Yocto Project Reference Distro= ) 2.0+snapshot-20160406 genericx86-64 console genericx86-64 login: rootroot@genericx86-64:~# pythonPython 2.7.11 (default= =2C Apr 6 2016=2C 10:05:21) [GCC 5.3.0] on linux2Type "help"=2C "copyright= "=2C "credits" or "license" for more information.>>> import giTraceback (mo= st recent call last): File ""=2C line 1=2C in File "/usr/= lib/python2.7/site-packages/gi/__init__.py"=2C line 29=2C in im= port importlibImportError: No module named importlib>>> =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D Is there something else I need to change to get gobject introspection to wo= rk with the RC or does this indicate a bug/omission? Cheers=2CChris = --_65808208-e274-4891-b596-56c731023435_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


I = have a code base using gobject introspection that has been running fine on = Alex's =3Bgobject-introspection-experimental branch on poky-contrib but= is broken on 2.1 M3.

I am using it with python3 (3.5) b= ut it isn't accessible with python27 either.  =3BIt appears it may be p= artially installed for 2.7 but not at all for 3.5.

To simplify things=2C I have built core-image-full-cmdline on =3Bgenericx86-64 and this gives the same result = as my image:

=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
Poky (Yocto Project Reference Distro) 2.0+s= napshot-20160406 genericx86-64 console

genericx86-= 64 login: root
root@genericx86-64:~# python
Python 2.7.= 11 (default=2C Apr  =3B6 2016=2C 10:05:21) =3B
[GCC 5.3.0= ] on linux2
Type "help"=2C "copyright"=2C "credits" or "license" = for more information.
>=3B>=3B>=3B import gi
Trac= eback (most recent call last):
 =3B File "<=3Bstdin>=3B"= =2C line 1=2C in <=3Bmodule>=3B
 =3B File "/usr/lib/pytho= n2.7/site-packages/gi/__init__.py"=2C line 29=2C in <=3Bmodule>=3B
 =3B  =3B import importlib
ImportError: No module n= amed importlib
>=3B>=3B>=3B =3B
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Is th= ere something else I need to change to get gobject introspection to work wi= th the RC or does this indicate a bug/omission?

Cheers=2C
Chris
=
= --_65808208-e274-4891-b596-56c731023435_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BE865E00C64; Wed, 6 Apr 2016 03:57:32 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.213.177 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 433DDE00B37 for ; Wed, 6 Apr 2016 03:57:30 -0700 (PDT) Received: by mail-ig0-f177.google.com with SMTP id kb1so38368038igb.0 for ; Wed, 06 Apr 2016 03:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=brNOZkj5GBh25K/bmPZYW5paXbConeyiKe31BJH5nms=; b=p4cjoxsWGI8YeEUPpk+cHV0ajo7xI6pO+rDz0agQLY2xds6aZ/h/WTzcv1yBImY2vn Wv6kxrmv0HdqWuEFXCnIOmijQ+W2/amm/tHo+BcqiiYC2RPrcnNx9PMnTSfYs5wJH1d4 9QHcp7+qZV6GiamqVNOhK82tgi8FfOOjkhroiduMpSR5bQU8YXqHaGlHgkMI3qdzum7F ywtTBsvQep9z3LT+F4F0ODUruUq+m+7JUaoUkgN++9FbHE+ornvM+nhsQ3MmQ53JOw5C J4+ay+U3eUzxctrcFjyd/zSylsQF+DhFQ2r6mXK/oOUJyIYEnyHI9PRcUdmqxlhUprJ8 9bow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=brNOZkj5GBh25K/bmPZYW5paXbConeyiKe31BJH5nms=; b=fBU4Tsh/XSyhQS4WxQswlw4MVK6b8vh8iZP9/OMRMjvK80fklGPIBPst81JEjbH5zF jfHFGWZjfy4iL0pC2jiJDuW4xVa5r6lBISEO9a2lLkLh7sAg7sazPk2xFxPQNtV8CZL7 IWsIcZlPy/DyV5mlyoNMgd71vFMCuTfE8iqpYTata8oRpGdLH5RgcNFQgQbuzXbbLZg6 a/pC1Wp3WcDaSd34jH/nRsWAHkyq4SjUnoxRh2cRzJ7+27T16ampM6J/OqPL2mi6LDMS bJK6n0bZXyxRbHL84bCddzvYdS/JZmxJVuBc/kxY+IhW9Tx9gGyUTOGowuL7DKR1cTA4 /AuA== X-Gm-Message-State: AD7BkJIzlCupq0B8y/RK1K3n3Y5/lDYoDC5/qZuBGAVuT9EEKsnppOoWA2S1/PRoUKA05r7e8UVb9O9N4G1WQmdh X-Received: by 10.50.43.226 with SMTP id z2mr22947528igl.78.1459940250210; Wed, 06 Apr 2016 03:57:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.132.24 with HTTP; Wed, 6 Apr 2016 03:57:10 -0700 (PDT) In-Reply-To: References: From: "Burton, Ross" Date: Wed, 6 Apr 2016 11:57:10 +0100 Message-ID: To: Chris Trobridge Cc: "yocto@yoctoproject.org" Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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, 06 Apr 2016 10:57:32 -0000 Content-Type: multipart/alternative; boundary=047d7bfea0f40231d0052fced492 --047d7bfea0f40231d0052fced492 Content-Type: text/plain; charset=UTF-8 On 6 April 2016 at 11:53, Chris Trobridge wrote: > ImportError: No module named importlib > Looks like python-gobject needs to depend on python-importlib. Not sure why that isn't in -core to be honest. Can you add python-importlib to your image and see if it then works, or if other modules are missing? Ross --047d7bfea0f40231d0052fced492 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 6 April 2016 at 11:53, Chris Trobridge <christrobridge@hotmail= .com> wrote:
ImportErr= or: No module named importlib

Looks = like python-gobject needs to depend on python-importlib.=C2=A0 Not sure why= that isn't in -core to be honest.

=
Can you add python-importlib to your image= and see if it then works, or if other modules are missing?

Ross
--047d7bfea0f40231d0052fced492-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 14852E00C5D; Wed, 6 Apr 2016 04:20:26 -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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (christrobridge[at]hotmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [157.55.1.141 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 61 seconds by postgrey-1.32 at yocto-www; Wed, 06 Apr 2016 04:20:21 PDT Received: from DUB004-OMC2S2.hotmail.com (dub004-omc2s2.hotmail.com [157.55.1.141]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AC626E00C43 for ; Wed, 6 Apr 2016 04:20:21 -0700 (PDT) Received: from DUB130-W49 ([157.55.1.137]) by DUB004-OMC2S2.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 6 Apr 2016 04:19:19 -0700 X-TMN: [fjdyxGMxDv7ffqPCXnyKO4/mgHt+XpUP] X-Originating-Email: [christrobridge@hotmail.com] Message-ID: From: Chris Trobridge To: "Burton, Ross" Date: Wed, 6 Apr 2016 12:19:18 +0100 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 06 Apr 2016 11:19:19.0404 (UTC) FILETIME=[29A7BAC0:01D18FF6] Cc: "yocto@yoctoproject.org" Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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, 06 Apr 2016 11:20:27 -0000 Content-Type: multipart/alternative; boundary="_6d9fee32-f52e-4d9d-9fce-60bffbe826c1_" --_6d9fee32-f52e-4d9d-9fce-60bffbe826c1_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks Ross=2C This did the trick for python 2.7=2C and "from gi.repository import GObject= " works too. It's still not installed for python 3.5. I will see if I did anything spec= ific to make that happen but it's odd that it worked before. Regards=2CChris From: ross.burton@intel.com Date: Wed=2C 6 Apr 2016 11:57:10 +0100 Subject: Re: [yocto] Python GObject Errors on yocto-2.1_M3.rc2 To: christrobridge@hotmail.com CC: yocto@yoctoproject.org On 6 April 2016 at 11:53=2C Chris Trobridge wr= ote: ImportError: No module named importlib Looks like python-gobject needs to depend on python-importlib. Not sure wh= y that isn't in -core to be honest. Can you add python-importlib to your image and see if it then works=2C or i= f other modules are missing? Ross = --_6d9fee32-f52e-4d9d-9fce-60bffbe826c1_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks Ross=2C

This did the trick for python 2.7=2C and "from gi.repository import GObje= ct" works too.

It's still not installed for python= 3.5.  =3BI will see if I did anything specific to make that happen but= it's odd that it worked before.

Regards=2C
<= div>Chris


From: ross.burton@intel.comDate: Wed=2C 6 Apr 2016 11:57:10 +0100
Subject: Re: [yocto] Python GOb= ject Errors on yocto-2.1_M3.rc2
To: christrobridge@hotmail.com
CC: yo= cto@yoctoproject.org

=
On 6 April 2016 at 11:53=2C Chris Trobrid= ge <=3Bchristrobridge@hotmail.com>=3B wrote:
ImportError: No module named importlib

Looks like python-gobject needs to depend on python= -importlib. =3B Not sure why that isn't in -core to be honest.

Can you = add python-importlib to your image and see if it then works=2C or if other = modules are missing?

Ross
= --_6d9fee32-f52e-4d9d-9fce-60bffbe826c1_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A7D3FE00C67; Wed, 6 Apr 2016 04:23:03 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham 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 * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.223.169 listed in list.dnswl.org] Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 36AA5E00C43 for ; Wed, 6 Apr 2016 04:23:00 -0700 (PDT) Received: by mail-io0-f169.google.com with SMTP id 2so52005516ioy.1 for ; Wed, 06 Apr 2016 04:22:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EO5EQgtzWOfqh2i4Offqt3bYOk5a63mJjzbWsuzwie8=; b=R84KhxckwDUTp1ATH7MiXtEwwNmzjgDZ33ytaOiPBtDUyjHmQEP/nmuS0MiUjySY4f R0ssU8XG2I2Qy7/9/59BH+/VLuqYQlLWIy29Hexuc+ZBZuTSt5b0eAM5R6JGCBilGFUu qrFAkJCcP6rdhbuPSaq7Gly5EoWMfS9QbR0NPpG/78FjJ4kfbaOSh5vkAkn5bv9DVRb+ sS2kiM3YmBLqhhohQZumXv58R3D3aqjEzpBld9AWlbrk22/djFSJMfL0oKZkoVPCSNAE 0tWM8v3CLL7KAnelpUC8cqv/B6Mxap1LEWH7lrEXTIx0ecGckN1HK52aDFyWahWxHHWX 2YJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EO5EQgtzWOfqh2i4Offqt3bYOk5a63mJjzbWsuzwie8=; b=UMEFO7y/NjzCGQzbqJTgVC7RWCnYH8GRYPl9N/hI5fm9rwFUyXqr9j0dUXiQID+iWW aAWYD4usJykmOTIfXlqpiuFwcH5Wo42eSx+xNhlTEP7BSvP7uj099uu/mc1triYle/7t egi0+FU92pO0I0wVKSsahut56WTIi+bOIQDh86S3TUarM9GobnOlKd+84mLywTcnzSdL GqrRZOt3KgfOor4C9W3WaUgsa+nKuLnDJV7dqp935UyjD6zcUDECL43r2MnQv+U53fd7 FpMyMAlAidvQjKlYTQVDif1VgUJ5svjL1MCx5ZwUqtbq5JUQdI05fsDeeuH84T0XU8BR KJaA== X-Gm-Message-State: AD7BkJLJ6ezn+cQCwEitEJNF+sAbocXfPOf1cyMwY1CyBG/NoIjrl4lww5qO6waKA81iTvfOxf+VWrKBcVWWypqH X-Received: by 10.107.135.74 with SMTP id j71mr21325423iod.133.1459941779315; Wed, 06 Apr 2016 04:22:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.132.24 with HTTP; Wed, 6 Apr 2016 04:22:39 -0700 (PDT) In-Reply-To: References: From: "Burton, Ross" Date: Wed, 6 Apr 2016 12:22:39 +0100 Message-ID: To: Chris Trobridge Cc: "yocto@yoctoproject.org" Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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, 06 Apr 2016 11:23:03 -0000 Content-Type: multipart/alternative; boundary=001a113f92182634ac052fcf2ff6 --001a113f92182634ac052fcf2ff6 Content-Type: text/plain; charset=UTF-8 On 6 April 2016 at 12:19, Chris Trobridge wrote: > This did the trick for python 2.7, and "from gi.repository import GObject" > works too. > Can you send a patch to add this dependency to the pygobject package? Ross --001a113f92182634ac052fcf2ff6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 6 April 2016 at 12:19, Chris Trobridge <christrobridge@hotmail= .com> wrote:
This did = the trick for python 2.7, and "from gi.repository import GObject"= works too.

Can you send a patch to = add this dependency to the pygobject package?

Ross
--001a113f92182634ac052fcf2ff6-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1CB22E006C7; Wed, 6 Apr 2016 08:45:08 -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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (christrobridge[at]hotmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [157.55.1.164 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from DUB004-OMC2S25.hotmail.com (dub004-omc2s25.hotmail.com [157.55.1.164]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A64BEE0048B for ; Wed, 6 Apr 2016 08:45:06 -0700 (PDT) Received: from DUB130-W30 ([157.55.1.138]) by DUB004-OMC2S25.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 6 Apr 2016 08:45:05 -0700 X-TMN: [nPao470hUJs5EWtsL7WrpmO5a+5mI1sB] X-Originating-Email: [christrobridge@hotmail.com] Message-ID: From: Chris Trobridge To: "Burton, Ross" Date: Wed, 6 Apr 2016 16:45:04 +0100 Importance: Normal In-Reply-To: References: , , , MIME-Version: 1.0 X-OriginalArrivalTime: 06 Apr 2016 15:45:05.0460 (UTC) FILETIME=[4A3EC740:01D1901B] Cc: "yocto@yoctoproject.org" Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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, 06 Apr 2016 15:45:08 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= ________________________________=0A= > From: ross.burton@intel.com=0A= > Date: Wed=2C 6 Apr 2016 12:22:39 +0100=0A= > Subject: Re: [yocto] Python GObject Errors on yocto-2.1_M3.rc2=0A= > To: christrobridge@hotmail.com=0A= > CC: yocto@yoctoproject.org=0A= >=0A= >=0A= > On 6 April 2016 at 12:19=2C Chris Trobridge=0A= > > wrote:=0A= > This did the trick for python 2.7=2C and "from gi.repository import=0A= > GObject" works too.=0A= >=0A= > Can you send a patch to add this dependency to the pygobject package?=0A= >=0A= > Ross=0A= =0A= I will try to sort that out tomorrow (poky@yoctoproject.org=2C right?).=0A= =0A= Regarding python3=2C whenever I change=A0the "--with-python" option to some= thing other than "python2.7" then I get an error.=0A= =0A= If I specify python3.5 then the error is that the build cannot find python3= .5. =A0If I set it to python3.4 (which is installed on the host) then I get= an error about system directory poisoning.=0A= =0A= This suggests to me that the recipe seems to need both host and target pyth= on for this to work. =A0It worked before so I will look tomorrow at the exp= erimental branch and see what's different=2C if anything. =A0I've deleted t= hat branch here and it is gone from git.=0A= =0A= Regards=2C=0A= Chris=0A= =0A= = From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 69DE1E006C7; Wed, 6 Apr 2016 08:52:25 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.223.169 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D76EFE0048B for ; Wed, 6 Apr 2016 08:52:23 -0700 (PDT) Received: by mail-io0-f169.google.com with SMTP id 2so61279648ioy.1 for ; Wed, 06 Apr 2016 08:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ya0Os+v4a7oN5rByZFBFfk83YAj1CYJ0K6ZAWYyGAog=; b=AlL7h0XiVDTmBGoGYHR0xGpNh/EWH8Ok4cgRZ8Bd5R18tDyFb6Tt5I2RWLMGN1TzGm 1r1FhGXyhjd2HkSs3txcHshvsduhW/DwtWn7rQWnwBxhdSXnwsmnxTA+S7TuyKk1UsGX 3m+aivsQNny+GC/CsajBaWujctcScW88hXSxGVjHWGdJRcXkcOyxG8hhscPeHGzVT6nC VGNeTY5hi07BOWq3KdEsRSfGwYbfj0tl6gM9KXW7kBUvtZno6ovmiFTf56sz4zlKpD6U Yp3ehUb/tcW8nK1Pz2PHc0MgWJw2vkoqYplKc1XAcwOOrE8aIxncKN4Ctai4IINrXngC 3ntg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ya0Os+v4a7oN5rByZFBFfk83YAj1CYJ0K6ZAWYyGAog=; b=fLPwe+E5K9FhkJF5UsR5Q2njX4Uq9S1zq/pEW2YYc8I1swVdqLMfG4fjqavAsmfMXe 6OfToqYKqYbAd2XIl9bjzHywQ7FtdNuuQkm/MfMwe2/8PehncteImfr5lkhTfLg/f2DN cF1W24SF4p2AraLv+EiCp64xgMLbTXg7E3FWtI8Kaz4VMyF8/qlwwNw1jN70rALU+B5a z8lLyc3j8p+mil/IVOLFHpHXAvlcq4lNmMFKL8GkGp1RHCsmzDkWgl3WUeJD+0YcmPi3 6QHp5LLyygZv1nmC1Vu9AU+fQ6SQ3zxJy+1ED3aEIgyq0ARMzan7cmVA8fKlMcm6Xd1g vxMg== X-Gm-Message-State: AD7BkJLREYB2W1fdpxf4NlULxmPVYW7bHVj/rxBBm2L3GSYNuBAqrn8naBSARhEYwlX8NVtTVSqBBu9ik7wF+D29 X-Received: by 10.107.134.84 with SMTP id i81mr24440376iod.99.1459957942889; Wed, 06 Apr 2016 08:52:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.132.24 with HTTP; Wed, 6 Apr 2016 08:52:03 -0700 (PDT) In-Reply-To: References: From: "Burton, Ross" Date: Wed, 6 Apr 2016 16:52:03 +0100 Message-ID: To: Chris Trobridge Cc: "yocto@yoctoproject.org" Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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, 06 Apr 2016 15:52:25 -0000 Content-Type: multipart/alternative; boundary=001a113febc89356cd052fd2f25e --001a113febc89356cd052fd2f25e Content-Type: text/plain; charset=UTF-8 On 6 April 2016 at 16:45, Chris Trobridge wrote: > I will try to sort that out tomorrow (poky@yoctoproject.org, right?). > No, openembedded-core@lists.openembedded.org Regarding python3, whenever I change the "--with-python" option to > something other than "python2.7" then I get an error. > You need to change the inherits to pull in python3native. Sadly flipping between py2 and py3 isn't trivial. Ross --001a113febc89356cd052fd2f25e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 6 April 2016 at 16:45, Chris Trobridge <christrobridge@hotmail= .com> wrote:
I will try to sort that out tomo= rrow (poky@yoctoproject.org, r= ight?).


Regarding python3, whenever I change=C2=A0the "--with-python" opt= ion to something other than "python2.7" then I get an error.
<= /div>

You need to change the inherits to pu= ll in python3native.=C2=A0 Sadly flipping between py2 and py3 isn't tri= vial.

Ross
--001a113febc89356cd052fd2f25e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C4205E00C28; Thu, 7 Apr 2016 06:32:54 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 97B30E006D3 for ; Thu, 7 Apr 2016 06:32:51 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 07 Apr 2016 06:32:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="953736724" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by fmsmga002.fm.intel.com with ESMTP; 07 Apr 2016 06:32:26 -0700 To: yocto@yoctoproject.org References: From: Alexander Kanavin Message-ID: <57066063.1010008@linux.intel.com> Date: Thu, 7 Apr 2016 16:28:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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: Thu, 07 Apr 2016 13:32:54 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 04/06/2016 06:52 PM, Burton, Ross wrote: > Regarding python3, whenever I change the "--with-python" option to > something other than "python2.7" then I get an error. > > > You need to change the inherits to pull in python3native. Sadly > flipping between py2 and py3 isn't trivial. I think 'git revert 7f7c9ab29eba0e58916629ca13dc4a494535ce19' should do the trick, how come you don't remember writing it :) http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7f7c9ab29eba0e58916629ca13dc4a494535ce19 Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 29565E00C28; Thu, 7 Apr 2016 06:35:58 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.213.171 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C03D1E006D3 for ; Thu, 7 Apr 2016 06:35:55 -0700 (PDT) Received: by mail-ig0-f171.google.com with SMTP id f1so153497455igr.1 for ; Thu, 07 Apr 2016 06:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cLdO14FjOpZsDPN7CRBicTG4ly4FHMgZ48jUY73TQNA=; b=haoqwkdzNlLss9/Jek42rErVO/NwjrlwcweOUlDLPpb7WrMA/hsX62bDLbRlImY/5a CB3h+UdBRkv7eEZZRYVu7oHcVuzigg2kwQj6CTxOVujYVp9ZAUz07w8FW87zwWc9SnuR 9kZ7B+YWcJes0liKCPELCtj10b+GhjcdipBs2dieWfwD6/DBi2OswZVrHa4CvV7AeR3p DdpofTRv/6l54GknYLYW6Uqfcce/gSnPb2P5ArQbq0/a1ueJ8aYllPaAzB5kxcfCS/74 hz843xG8mG3KyitMRYIvYozAHMtzBiTAg0HHCbHMAnu1K+AXgUF60l1ducmqoYf+PJUd p+xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cLdO14FjOpZsDPN7CRBicTG4ly4FHMgZ48jUY73TQNA=; b=Qa+NHtnhKO5RbZaLpOOEDaagGb29ucx5dgCXiVFBLO1VOUbynND3RaGn/l2bgV/FT2 fKkYbNxNXk08A2bYvhH/+15RJ2BIF1b8k3RK0Ugeg2yHfSVIzMF3/3E93o45P21hM2pw bCOj/G721QoomQU6YxzwK+WS7DOoZdSINma4AfGgftiirEQAnHPK1fA+R1jgrJ5SocQ6 +b0gZ+4Tiq+1mZhZ8etoFDRMmJ9Q65NierxqGpKJ8fWNB9uOr9j1l9xXS4rTP7Kq8soI WiD/rtn2UJifvpblOxX1F+pwVrFQj7LGu4OR+TYWCcMA0cax7KqkedLGSyXiBCJW0GD7 eU3g== X-Gm-Message-State: AD7BkJLYc/Obk1OJGh84FE5fj8S6YmEAU8AhedOFRaTrE9iqZWq6nSKngpcgCm2vLghEeMhd3F4VTtLQcz8o0KDU X-Received: by 10.50.232.47 with SMTP id tl15mr790257igc.64.1460036154486; Thu, 07 Apr 2016 06:35:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.132.24 with HTTP; Thu, 7 Apr 2016 06:35:35 -0700 (PDT) In-Reply-To: <57066063.1010008@linux.intel.com> References: <57066063.1010008@linux.intel.com> From: "Burton, Ross" Date: Thu, 7 Apr 2016 14:35:35 +0100 Message-ID: To: Alexander Kanavin Cc: "yocto@yoctoproject.org" Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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: Thu, 07 Apr 2016 13:35:58 -0000 Content-Type: multipart/alternative; boundary=f46d04289bc9590dd0052fe52846 --f46d04289bc9590dd0052fe52846 Content-Type: text/plain; charset=UTF-8 On 7 April 2016 at 14:28, Alexander Kanavin < alexander.kanavin@linux.intel.com> wrote: > You need to change the inherits to pull in python3native. Sadly >> flipping between py2 and py3 isn't trivial. >> > > I think 'git revert 7f7c9ab29eba0e58916629ca13dc4a494535ce19' should do > the trick, how come you don't remember writing it :) > > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7f7c9ab29eba0e58916629ca13dc4a494535ce19 > Yeah, that. :) Annoyingly it's not just a PACKAGECONFIG due to how python-native works. Ross --f46d04289bc9590dd0052fe52846 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 7 April 2016 at 14:28, Alexander Kanavin <alexander.k= anavin@linux.intel.com> wrote:
You need to change the = inherits to pull in python3native.=C2=A0 Sadly
flipping between py2 and py3 isn't trivial.

I think 'git revert 7f7c9ab29eba0e58916629ca13dc4a494535ce19' shoul= d do the trick, how come you don't remember writing it :)

= http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3D7f7c9ab29eba0e5= 8916629ca13dc4a494535ce19

Yeah, that. :) =C2= =A0Annoyingly it's not just a PACKAGECONFIG due to how python-native wo= rks.

R= oss
--f46d04289bc9590dd0052fe52846-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 96D55E00C81; Thu, 7 Apr 2016 06:45:02 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DA3F6E00C7D for ; Thu, 7 Apr 2016 06:44:54 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 07 Apr 2016 06:44:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="953745173" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by fmsmga002.fm.intel.com with ESMTP; 07 Apr 2016 06:44:54 -0700 To: "yocto@yoctoproject.org" References: <57066063.1010008@linux.intel.com> From: Alexander Kanavin Message-ID: <5706634E.9040106@linux.intel.com> Date: Thu, 7 Apr 2016 16:40:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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: Thu, 07 Apr 2016 13:45:02 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 04/07/2016 04:35 PM, Burton, Ross wrote: > Yeah, that. :) Annoyingly it's not just a PACKAGECONFIG due to how > python-native works. Yeah, the annoying side effect is that every python thingy needs to be packaged twice - not so visible in oe-core, but very visible in meta-oe's meta-python: http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python Will be fixed by deprecating python 2, of course. Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6FFA8E00C4C; Thu, 7 Apr 2016 09:58:30 -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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (christrobridge[at]hotmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [157.55.2.17 listed in list.dnswl.org] Received: from DUB004-OMC3S8.hotmail.com (dub004-omc3s8.hotmail.com [157.55.2.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8BF15E00C28 for ; Thu, 7 Apr 2016 09:58:26 -0700 (PDT) Received: from DUB130-W18 ([157.55.2.9]) by DUB004-OMC3S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 7 Apr 2016 09:58:25 -0700 X-TMN: [t2m6DARlGRFjJicZm7abxuXkC4GKcwGz] X-Originating-Email: [christrobridge@hotmail.com] Message-ID: From: Chris Trobridge To: Alexander Kanavin , "yocto@yoctoproject.org" Date: Thu, 7 Apr 2016 17:58:24 +0100 Importance: Normal In-Reply-To: <5706634E.9040106@linux.intel.com> References: , , , , , , <57066063.1010008@linux.intel.com>, , <5706634E.9040106@linux.intel.com> MIME-Version: 1.0 X-OriginalArrivalTime: 07 Apr 2016 16:58:25.0712 (UTC) FILETIME=[B369B300:01D190EE] Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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: Thu, 07 Apr 2016 16:58:30 -0000 Content-Type: multipart/alternative; boundary="_30d88e18-4c00-4613-831f-e912105d9026_" --_30d88e18-4c00-4613-831f-e912105d9026_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > To: yocto@yoctoproject.org > From: alexander.kanavin@linux.intel.com > Date: Thu=2C 7 Apr 2016 16:40:30 +0300 > Subject: Re: [yocto] Python GObject Errors on yocto-2.1_M3.rc2 >=20 > On 04/07/2016 04:35 PM=2C Burton=2C Ross wrote: >=20 > > Yeah=2C that. :) Annoyingly it's not just a PACKAGECONFIG due to how > > python-native works. >=20 > Yeah=2C the annoying side effect is that every python thingy needs to be= =20 > packaged twice - not so visible in oe-core=2C but very visible in=20 > meta-oe's meta-python: >=20 > http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-d= evtools/python >=20 > Will be fixed by deprecating python 2=2C of course. >=20 > Alex Is there a shorter term solution that's generally applicable=2C like a sep= arate python3-gobject recipe? I've done something similar before but it had issues (produces duplicate ou= tput) that are hard to deal with satisfactorily. At least this explains why my code stopped working. Chris = --_30d88e18-4c00-4613-831f-e912105d9026_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
>=3B To: yocto@yoctoproje= ct.org
>=3B From: alexander.kanavin@linux.intel.com
>=3B Date: Th= u=2C 7 Apr 2016 16:40:30 +0300
>=3B Subject: Re: [yocto] Python GObjec= t Errors on yocto-2.1_M3.rc2
>=3B
>=3B On 04/07/2016 04:35 PM=2C= Burton=2C Ross wrote:
>=3B
>=3B >=3B Yeah=2C that. :) Annoyi= ngly it's not just a PACKAGECONFIG due to how
>=3B >=3B python-nativ= e works.
>=3B
>=3B Yeah=2C the annoying side effect is that ever= y python thingy needs to be
>=3B packaged twice - not so visible in o= e-core=2C but very visible in
>=3B meta-oe's meta-python:
>=3B <= br>>=3B http://cgit.openembedded.org/meta-openembedded/tree/meta-python/r= ecipes-devtools/python
>=3B
>=3B Will be fixed by deprecating py= thon 2=2C of course.
>=3B
>=3B Alex

Is there a=  =3Bshorter term solution that's generally applicable=2C like a separa= te python3-gobject recipe?

I've done something sim= ilar before but it had issues (produces duplicate output) that are hard to = deal with satisfactorily.

At least this explains w= hy my code stopped working.

Chris

= --_30d88e18-4c00-4613-831f-e912105d9026_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 09506E00C76; Fri, 8 Apr 2016 05:16:48 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D066EE00BE8 for ; Fri, 8 Apr 2016 05:16:44 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 08 Apr 2016 05:16:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="941043322" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by fmsmga001.fm.intel.com with ESMTP; 08 Apr 2016 05:16:38 -0700 To: "yocto@yoctoproject.org" References: <57066063.1010008@linux.intel.com> <5706634E.9040106@linux.intel.com> From: Alexander Kanavin Message-ID: <5707A126.4050107@linux.intel.com> Date: Fri, 8 Apr 2016 15:16:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Python GObject Errors on yocto-2.1_M3.rc2 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: Fri, 08 Apr 2016 12:16:48 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 04/07/2016 07:58 PM, Chris Trobridge wrote: > http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python > > > > Will be fixed by deprecating python 2, of course. > > > > Alex > > Is there a shorter term solution that's generally applicable, like a > separate python3-gobject recipe? In principle, yes - if you need to have pygobject both for 2 and 3 at the same time, you can have two slightly different recipes; but I don't know if it will work. You need to try and see. Alex