I also encountered this issue. For now, I found it only happened on ubuntu 14.04.

Looks like it invokes g-ir-scanner but not g-ir-scanner-wrapper when building gir.

In build.ninja:

COMMAND = '/buildarea/build/tmp/work/core2-64-poky-linux/json-glib/1.2.8-r0/recipe-sysroot-native/usr/bin/g-ir-scanner' ...

On ubuntu 16.04, it uses g-ir-scanner-wrapper that could work:

COMMAND = /buildarea/build/tmp/work/core2-64-poky-linux/json-glib/1.2.8-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper ...


//Yi


在 2018年01月04日 17:27, Alexander Kanavin 写道:
On 01/04/2018 10:51 AM, ChenQi wrote:
file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch \
+           "

I removed this patch and the compile succeeded.
Could you please check if this patch is really needed?
If it is, I think we'd better make build to succeed by default anyway.

Yes, it is really needed. Without it, introspection files will not be generated at all. I'll try to reproduce the failure.

Alex

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to