[yocto] gobject introspection needing pygobject (cross-compilation)

Jussi Kukkonen jussi.kukkonen at intel.com
Fri Mar 31 00:31:13 PDT 2017


On 31 March 2017 at 09:06, <colin.helliwell at ln-systems.com> wrote:

> I've got a few packages in my image which need gobject introspection.
> (x86-64 host, ARM target)
> One is building fine, but the other - NetworkManager - is failing to
> generate the introspection data because it can't analyse the cross-compiled
> library. Apparently it uses pygobject in doing this, and thus needs a
> version of that for the target architecture.
> Are there steps I can take to achieve this? I guess it needs some 'qemu'
> technique as with other the G-I support mechanisms?
>

It's unlikely that python (or anything other than target versions of
gi-ir-compiler/g-ir-scanner) is needed for generating introspection data.
A quick look at configure.ac seems to imply it's actually trying to build
some documentation with python using the generated GIR data...

Maybe check if the pregenerated docs contain thes documentation bits and
try to disable that docs generation as first solution?

Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170331/73c4ec3d/attachment.html>


More information about the yocto mailing list