[poky] Error building python-gobject for nativeSDK
Alexander Kanavin
alexander.kanavin at linux.intel.com
Fri Jan 26 08:38:13 PST 2018
On 01/26/2018 12:59 PM, Mardegan, Alberto wrote:
> Hi!
> I made a little progress, but now I'm stuck with this error while
> building python-gobject for nativesdk:
>
> https://paste.ubuntu.com/26463423/
>
> In short, the gobject-introspection-1.0 pkg-config file is not found. I
> see that python-gobjecty inherits from the gobject-introspection class,
> which has these two lines:
>
> DEPENDS_append_class-native = " gobject-introspection-native"
> DEPENDS_append_class-nativesdk = " gobject-introspection-native"
>
> Assuming that the second one was a typo, I changed the dependency to
> point at "nativesdk-gobject-introspection", and added "nativesdk" to
> BBCLASS_EXTENDS in the gobject-introspection recipe.
Note that at the moment we explicitly disable g-i for nativesdk in g-i
class:
EXTRA_OECONF_prepend_class-nativesdk = "--disable-introspection "
So you're effectively working on a new feature, and it's not surprising
there are weird errors :) Gobject-introspection is a notoriously tricky,
delicate thing that was never designed for cross-compilation or
sysroots, and you only need to look at the g-i recipe to see how much
effort went into making it work right when building for the target.
I did reproduce the
"| ./g-ir-compiler: line 117:
/home/mardy/pelux/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-gobject-introspection/1.50.0-r0/build/.libs/lt-g-ir-compiler:
No such file or directory"
stuff, so no need to publish anything :). I can't promise I'll find time
to look into it very soon though - this is a new feature development,
not a bug.
Alex
More information about the poky
mailing list