<div dir="ltr">OK.<div><br></div><div>The fix from Alex works fine for me, we can close this.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 3:31 AM, Yi Zhao <span dir="ltr">&lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span class="">
    <p><br>
    </p>
    <br>
    <div class="m_7536493485629596754moz-cite-prefix">在 2018年01月24日 10:26, Yi Zhao 写道:<br>
    </div>
    <blockquote type="cite">
      
      <p><br>
      </p>
      <br>
      <div class="m_7536493485629596754moz-cite-prefix">在 2018年01月19日 21:58, Martin Jansa 写道:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div>It fails here since this upgrade, maybe the <span style="font-size:12.8px">0001-Do-not-disable-</span><span style="font-size:12.8px">gobjec<wbr>t-introspection-when-</span><span style="font-size:12.8px">cross-<wbr>comp.patch
              is still useful and wasn&#39;t completely merged upstream?</span></div>
          <div><span style="font-size:12.8px"><br>
            </span></div>
          <div>FAILED: json-glib/Json-1.0.typelib </div>
          <div>json-glib/1.4.2-r0/recipe-<wbr>sysroot/usr/bin/g-ir-compiler-<wbr>wrapper
            json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib</div>
          <div>Could not find GIR file &#39;GObject-2.0.gir&#39;; check
            XDG_DATA_DIRS or use --includedir</div>
          <div>error parsing file json-glib/Json-1.0.gir: Failed to
            parse included gir GObject-2.0</div>
          <div>If the above error message is about missing .so
            libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe
            should help.</div>
          <div>(typically like this:
            GIR_EXTRA_LIBS_PATH=&quot;${B}/<wbr>something/.libs&quot; )</div>
          <div>ninja: build stopped: subcommand failed.</div>
          <div>WARNING: exit code 1 from a shell command.</div>
        </div>
      </blockquote>
      <br>
      Hi  Martin,<br>
      <br>
      I still can not reproduced it.  Could you tell me which layers
      include, the DISTRO set and the build machine OS ?<br>
      <br>
    </blockquote>
    <br></span>
    Sorry. Please ignore this mail. I missed your previous mail.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Yi</font></span><div><div class="h5"><br>
    <br>
    <blockquote type="cite">
      Thanks,<br>
      Yi<br>
      <br>
      <br>
      <blockquote type="cite">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Jan 18, 2018 at 1:51 PM, <span dir="ltr">&lt;<a href="mailto:git@git.openembedded.org" target="_blank">git@git.openembedded.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is
              an automated email from the git hooks/post-receive script.<br>
              <br>
              rpurdie pushed a commit to branch master<br>
              in repository openembedded-core.<br>
              <br>
              commit 6b87ad5b08004554f08d2f68027908<wbr>956f3795e1<br>
              Author: Yi Zhao &lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;<br>
              AuthorDate: Tue Jan 16 08:32:33 2018 +0800<br>
              <br>
                  json-glib: update to 1.4.2<br>
              <br>
                  Drop 0001-Do-not-disable-gobject-in<wbr><a href="http://trospection-when-cross-comp.pa">trospection-when-cross-comp.pa</a><wbr>tch<br>
                  since it has been fixed upstream.<br>
              <br>
                  Signed-off-by: Yi Zhao &lt;<a href="mailto:yi.zhao@windriver.com" target="_blank">yi.zhao@windriver.com</a>&gt;<br>
                  Signed-off-by: Richard Purdie &lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundatio<wbr>n.org</a>&gt;<br>
              ---<br>
               ...ble-gobject-introspection-<wbr>when-cross-comp.patch |
              32 ----------------------<br>
               .../{<a href="http://json-glib_1.2.8.bb" rel="noreferrer" target="_blank">json-glib_1.2.8.bb</a>
              =&gt; <a href="http://json-glib_1.4.2.bb" rel="noreferrer" target="_blank">json-glib_1.4.2.bb</a>} 
                 |  7 ++---<br>
               2 files changed, 2 insertions(+), 37 deletions(-)<br>
              <br>
              diff --git a/meta/recipes-gnome/json-glib<wbr>/json-glib/0001-Do-not-disable<wbr>-gobject-introspection-when-<wbr>cross-comp.patch
              b/meta/recipes-gnome/json-glib<wbr>/json-glib/0001-Do-not-disable<wbr>-gobject-introspection-when-<wbr>cross-comp.patch<br>
              deleted file mode 100644<br>
              index 849bb9d..0000000<br>
              --- a/meta/recipes-gnome/json-glib<wbr>/json-glib/0001-Do-not-disable<wbr>-gobject-introspection-when-<wbr>cross-comp.patch<br>
              +++ /dev/null<br>
              @@ -1,32 +0,0 @@<br>
              -From 293452c963188666dae99521294f09<wbr>a0cf9582e2 Mon
              Sep 17 00:00:00 2001<br>
              -From: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
              -Date: Fri, 4 Aug 2017 16:01:11 +0300<br>
              -Subject: [PATCH] Do not disable gobject introspection
              when cross-compiling.<br>
              -<br>
              -Introspection does work fine for instance in Open
              Embedded,<br>
              -one of the most prominent cross-compilation frameworks<br>
              -(through qemu emulating target hardware), so let the user<br>
              -decide if he wants the feature or not.<br>
              -<br>
              -Upstream-Status: Pending<br>
              -Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
              ----<br>
              - meson.build | 2 +-<br>
              - 1 file changed, 1 insertion(+), 1 deletion(-)<br>
              -<br>
              -diff --git a/meson.build b/meson.build<br>
              -index 43cbfd9..8a32f26 100644<br>
              ---- a/meson.build<br>
              -+++ b/meson.build<br>
              -@@ -147,7 +147,7 @@ root_dir = include_directories(&#39;.&#39;)<br>
              -<br>
              - gnome = import(&#39;gnome&#39;)<br>
              - gir = find_program(&#39;g-ir-scanner&#39;, required: false)<br>
              --build_gir = gir.found() and not meson.is_cross_build()
              and not get_option(&#39;disable_introspect<wbr>ion&#39;)<br>
              -+build_gir = gir.found() and not get_option(&#39;disable_introspect<wbr>ion&#39;)<br>
              -<br>
              - subdir(&#39;json-glib&#39;)<br>
              -<br>
              ---<br>
              -2.13.2<br>
              -<br>
              diff --git a/meta/recipes-gnome/json-glib<wbr>/<a href="http://json-glib_1.2.8.bb" rel="noreferrer" target="_blank">json-glib_1.2.8.bb</a>
              b/meta/recipes-gnome/json-glib<wbr>/<a href="http://json-glib_1.4.2.bb" rel="noreferrer" target="_blank">json-glib_1.4.2.bb</a><br>
              similarity index 84%<br>
              rename from meta/recipes-gnome/json-glib/<a href="http://json-glib_1.2.8.bb" rel="noreferrer" target="_blank">j<wbr>son-glib_1.2.8.bb</a><br>
              rename to meta/recipes-gnome/json-glib/<a href="http://json-glib_1.4.2.bb" rel="noreferrer" target="_blank">j<wbr>son-glib_1.4.2.bb</a><br>
              index 31912d1..fad0a2d 100644<br>
              --- a/meta/recipes-gnome/json-glib<wbr>/<a href="http://json-glib_1.2.8.bb" rel="noreferrer" target="_blank">json-glib_1.2.8.bb</a><br>
              +++ b/meta/recipes-gnome/json-glib<wbr>/<a href="http://json-glib_1.4.2.bb" rel="noreferrer" target="_blank">json-glib_1.4.2.bb</a><br>
              @@ -10,11 +10,8 @@ LIC_FILES_CHKSUM = &quot;<a class="m_7536493485629596754moz-txt-link-freetext">file://COPYING;md5=</a>7fbc338309<wbr>ac38fefcd64b04bb903e34&quot;<br>
              <br>
               DEPENDS = &quot;glib-2.0&quot;<br>
              <br>
              -SRC_URI_append = &quot; \<br>
              -           <a class="m_7536493485629596754moz-txt-link-freetext">file://0001-Do-not-disable</a>-go<wbr>bject-introspection-when-cross<wbr>-comp.patch
              \<br>
              -           &quot;<br>
              -SRC_URI[archive.md5sum] = &quot;ff31e7d0594df44318e12facda3d0<wbr>86e&quot;<br>
              -SRC_URI[archive.sha256sum] = &quot;fd55a9037d39e7a10f0db64309f5f<wbr>0265fa32ec962bf85066087b83a280<wbr>7f40a&quot;<br>
              +SRC_URI[archive.md5sum] = &quot;35107e23a7bbbc70f31c34f7b9adf<wbr>1c3&quot;<br>
              +SRC_URI[archive.sha256sum] = &quot;2d7709a44749c7318599a6829322e<wbr>081915bdc73f5be5045882ed120bb6<wbr>86dc8&quot;<br>
              <br>
               GNOMEBASEBUILDCLASS = &quot;meson&quot;<br>
               inherit gnomebase lib_package gobject-introspection
              gtk-doc manpages gettext<br>
              <span class="m_7536493485629596754HOEnZb"><font color="#888888"><br>
                  --<br>
                  To stop receiving notification emails like this one,
                  please contact<br>
                  the administrator of this repository.<br>
                  --<br>
                  ______________________________<wbr>_________________<br>
                  Openembedded-commits mailing list<br>
                  <a href="mailto:Openembedded-commits@lists.openembedded.org" target="_blank">Openembedded-commits@lists.ope<wbr>nembedded.org</a><br>
                  <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-commits" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>commits</a><br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset class="m_7536493485629596754mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>