<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2018年09月04日 18:02, Kang Kai wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4800fed2-8a51-7bb0-b6c6-fa1402289831@windriver.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="moz-cite-prefix">On 2018年09月04日 17:44, Martin Jansa
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CA+chaQfurea5vwojwt6fgzNvhUfRDF9HmPf_YFBhgEGhQPO2dA@mail.gmail.com">
        <div dir="ltr">
          <div dir="ltr">Hi Kai,
            <div><br>
            </div>
            <div>do you have similar fix for update_gio_module_cache
              intercept? It seems to fail similarly with multilib
              enabled.</div>
          </div>
        </div>
      </blockquote>
      <br>
      The fix is from script update_gio_module_cache, so I thought it
      works and didn't meet the failure. I'll check it.<br>
    </blockquote>
    Hi Martin,<br>
    <br>
    It has been done by
<a class="moz-txt-link-freetext" href="http://git.openembedded.org/openembedded-core/commit/?id=1f53140528d79c38d4f3a82cd0a03bd0ddc87275">http://git.openembedded.org/openembedded-core/commit/?id=1f53140528d79c38d4f3a82cd0a03bd0ddc87275</a><br>
    Add lib23-gconf to image which inherits gio-module-cache, then build
    image successfully.<br>
    <br>
    Regards,<br>
    Kai<br>
    <br>
    <br>
    <blockquote type="cite"
      cite="mid:4800fed2-8a51-7bb0-b6c6-fa1402289831@windriver.com"> <br>
      Thanks,<br>
      Kai<br>
      <br>
      <blockquote type="cite"
cite="mid:CA+chaQfurea5vwojwt6fgzNvhUfRDF9HmPf_YFBhgEGhQPO2dA@mail.gmail.com">
        <div dir="ltr">
          <div dir="ltr">
            <div><br>
            </div>
            <div>Regards,</div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr">On Sat, Aug 25, 2018 at 7:14 PM Kai Kang &lt;<a
              href="mailto:kai.kang@windriver.com"
              moz-do-not-send="true">kai.kang@windriver.com</a>&gt;
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Packages
            which inherit fontcache.bbclass call postinstall script<br>
            update_font_cache. And in update_font_cache, it calls
            ${bindir}/fc-cache<br>
            by qemuwrapper. When multilib is enabled, both packages foo
            and lib32-foo<br>
            will call ${bindir}/fc-cache and one of them will fail to
            run obviously.<br>
            <br>
            Duplicate install file fc-cache to ${libexecdir} with
            ${MLPREFIX} and<br>
            call proper fc-cache in update_font_cache.<br>
            <br>
            Signed-off-by: Kai Kang &lt;<a
              href="mailto:kai.kang@windriver.com" target="_blank"
              moz-do-not-send="true">kai.kang@windriver.com</a>&gt;<br>
            ---<br>
             meta/recipes-graphics/fontconfig/<a
              href="http://fontconfig_2.12.6.bb" rel="noreferrer"
              target="_blank" moz-do-not-send="true">fontconfig_2.12.6.bb</a>
            | 8 +++++++-<br>
             scripts/postinst-intercepts/update_font_cache         | 2
            +-<br>
             2 files changed, 8 insertions(+), 2 deletions(-)<br>
            <br>
            diff --git a/meta/recipes-graphics/fontconfig/<a
              href="http://fontconfig_2.12.6.bb" rel="noreferrer"
              target="_blank" moz-do-not-send="true">fontconfig_2.12.6.bb</a>
            b/meta/recipes-graphics/fontconfig/<a
              href="http://fontconfig_2.12.6.bb" rel="noreferrer"
              target="_blank" moz-do-not-send="true">fontconfig_2.12.6.bb</a><br>
            index d4cbce80b45..db36c867741 100644<br>
            --- a/meta/recipes-graphics/fontconfig/<a
              href="http://fontconfig_2.12.6.bb" rel="noreferrer"
              target="_blank" moz-do-not-send="true">fontconfig_2.12.6.bb</a><br>
            +++ b/meta/recipes-graphics/fontconfig/<a
              href="http://fontconfig_2.12.6.bb" rel="noreferrer"
              target="_blank" moz-do-not-send="true">fontconfig_2.12.6.bb</a><br>
            @@ -35,9 +35,15 @@ do_configure_prepend() {<br>
                 rm -f ${S}/src/fcobjshash.h ${S}/src/fcobjshash.gperf<br>
             }<br>
            <br>
            +do_install_append_class-target() {<br>
            +    # duplicate fc-cache for postinstall script<br>
            +    mkdir -p ${D}${libexecdir}<br>
            +    cp ${D}${bindir}/fc-cache
            ${D}${libexecdir}/${MLPREFIX}fc-cache<br>
            +}<br>
            +<br>
             PACKAGES =+ "fontconfig-utils"<br>
             FILES_${PN} =+ "${datadir}/xml/*"<br>
            -FILES_fontconfig-utils = "${bindir}/*"<br>
            +FILES_fontconfig-utils = "${bindir}/* ${libexecdir}/*"<br>
            <br>
             # Work around past breakage in debian.bbclass<br>
             RPROVIDES_fontconfig-utils = "libfontconfig-utils"<br>
            diff --git a/scripts/postinst-intercepts/update_font_cache
            b/scripts/postinst-intercepts/update_font_cache<br>
            index 20e9048adfc..e0ec471964c 100644<br>
            --- a/scripts/postinst-intercepts/update_font_cache<br>
            +++ b/scripts/postinst-intercepts/update_font_cache<br>
            @@ -2,5 +2,5 @@<br>
            <br>
             set -e<br>
            <br>
            -PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E
            ${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D
            --system-only ${fontconfigcacheparams}<br>
            +PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E
            ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache
            --sysroot=$D --system-only ${fontconfigcacheparams}<br>
             chown -R root:root $D${fontconfigcachedir}<br>
            -- <br>
            2.11.0<br>
            <br>
            -- <br>
            _______________________________________________<br>
            Openembedded-core mailing list<br>
            <a href="mailto:Openembedded-core@lists.openembedded.org"
              target="_blank" moz-do-not-send="true">Openembedded-core@lists.openembedded.org</a><br>
            <a
              href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
          </blockquote>
        </div>
      </blockquote>
      <p><br>
      </p>
      <pre class="moz-signature" cols="72">-- 
Regards,
Neil | Kai Kang</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Regards,
Neil | Kai Kang</pre>
  </body>
</html>