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

Colin Helliwell colin.helliwell at ln-systems.com
Fri Mar 31 00:36:56 PDT 2017


> On 31 March 2017 at 08:26 Alexander Kanavin <alexander.kanavin at linux.intel.com> wrote:
> 
> On 03/31/2017 09:06 AM, 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?
> 
> I guess you have read and understood the section in the Yocto manual
> dedicated to this?
> 

Project Dev Manual 5.7?  Yep, have read that. In fact, I've been able to enable g-i on ModemManager, and on NetworkManager 1.4 - but there's something new about 1.6/1.8 that's throwing this problem.

> To provide useful help, I need to see specifics. What is the error
> message you are getting? Where are your recipes, and which one is failing?
>

Sure. I'll put together additional info.



More information about the yocto mailing list