gobject introspection needing pygobject (cross-compilation)
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?
(Currently working with Krogoth release)
Quoted 8 lines · On 03/31/2017 09:06 AM, [email protected] 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?
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?
Alex
Quoted 14 lines · On 31 March 2017 at 08:26 Alexander Kanavin…
Quoted 8 lines · On 03/31/2017 09:06 AM, [email protected] 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?
Quoted 3 lines
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.
Quoted 3 lines
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.
Quoted 9 lines · On 31 March 2017 at 09:06, <[email protected]> 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