[oe] [meta-python] python-pygobject is not building and installing gi (gi.repository etc) modules on the target
Jussi Kukkonen
jussi.kukkonen at intel.com
Tue Jul 11 07:02:31 UTC 2017
On 11 July 2017 at 00:49, Brownson Obele <brownson4u at gmail.com> wrote:
> 1. The main python module i am trying to add to my yocto build image is
> LDTP (https://github.com/ldtp/ldtp2). Using devtool, i have been able
> to
> create a recipe for it which seems to build without any errors. It is
> only
> when i try to run ldtp on the target that i see that certain
> dependencies
> are missing.
> 2. So i am currently stuck at creating recipes for the dependencies.
> 3. Right now, below is where i am stuck
> 1. When i run ldtp, it trys to do an import from gi.repository XXX
> and then complains that there is no module called "*gi.repository*"
> but
> I have a recipe python-pygobject_2.28.3.bb which i expect to build
> and then install (create) the gi folder and its contents on the
> target.
> Somehow this is not happenning and i'm stuck trying to find out why.
>
That version number sounds _very_ old.
Which oe-core / meta-openembedded release are you on? Proper
gobject-introspection support was added into oe-core early 2016, I think
Krogoth was the first release where it really works (but please read the
release notes, it's been a while).
Jussi
More information about the Openembedded-devel
mailing list