<div dir="ltr"><div>The </div><div>--without-included-<wbr>libunistring=</div><div>change there</div><div><div><br></div><div>-PACKAGECONFIG[libunistring] = &quot;--without-included-<wbr>libunistring,--with-included-<wbr>libunistring,libunistring&quot;</div><div>+PACKAGECONFIG[libunistring] = &quot;--without-included-<wbr>libunistring=${STAGING_LIBDIR}<wbr>/..,--with-included-<wbr>libunistring,libunistring&quot;</div></div><div><br></div><div>looks really strange and indeed it fails:<br></div><div><br></div><div>| configure: error: invalid package name: included-libunistring=/OE/<wbr>BUILD/work/qemux86-oe-linux/<wbr>gettext/0.19.8.1-r0/recipe-<wbr>sysroot/usr/lib/..</div><div><br></div><div>After removing this part and keeping only the added .patch I got the same error as before:</div><div><div>ERROR: gettext-0.19.8.1-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.</div><div>Rerun configure task after fixing this.</div></div><div><br></div><div><div>0.19.8.1-r0/build/gettext-tools/config.log:cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation [-Wpoison-system-directories]</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 23, 2018 at 1:58 AM, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.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 dir="ltr">Hi Martin,<div><br></div><div>I&#39;ve a patch at the top of poky-contrib:ross/mut which hopefully fixes this.  It&#39;s a bit more invasive than I&#39;d like but this is gettext and I&#39;m still at least partially sane, so that&#39;s a win as far as I&#39;m concerned.<div><br></div><div>I&#39;ve a build running now but touching gettext causes a rebuild of the world so I&#39;m going to bed whist it runs.  Would you be able to test it in your environment too?</div><div><br></div><div>Cheers,</div><div>Ross</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 22 January 2018 at 19:46, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.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 dir="ltr">This is causing QA errors:<div><br></div><div><div>ERROR: gettext-0.19.8.1-r0 do_package_qa: QA Issue: gettext: /work/corei7-64-poky-linux/get<wbr>text/0.19.8.1-r0/packages-spli<wbr>t/gettext/usr/lib/gettext/host<wbr>name contains probably-redundant RPATH /usr/lib/../lib</div><div>gettext: /work/corei7-64-poky-linux/get<wbr>text/0.19.8.1-r0/packages-spli<wbr>t/gettext/usr/lib/gettext/urlg<wbr>et contains probably-redundant RPATH /usr/lib/../lib</div><div>gettext: /work/corei7-64-poky-linux/get<wbr>text/0.19.8.1-r0/packages-spli<wbr>t/gettext/usr/lib/gettext/cldr<wbr>-plurals contains probably-redundant RPATH /usr/lib/../lib</div><div>gettext: /work/corei7-64-poky-linux/get<wbr>text/0.19.8.1-r0/packages-spli<wbr>t/gettext/usr/bin/recode-sr-<wbr>latin contains probably-redundant RPATH /usr/lib/../lib [useless-rpaths]</div></div><span class="m_5579754552523759691HOEnZb"><font color="#888888"><div><br></div><div>Ross</div></font></span></div><div class="m_5579754552523759691HOEnZb"><div class="m_5579754552523759691h5"><div class="gmail_extra"><br><div class="gmail_quote">On 22 January 2018 at 10:52, Martin Jansa <span dir="ltr">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* add --with-*-prefix variables to prevent configure trying to search in host paths<br>
* fixes:<br>
  ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.<br>
  gettext/0.19.8.1-r0/build/gett<wbr>ext-tools/config.log:cc1: warning: include location /usr/include/glib-2.0 is unsafe for cross-compilation [-Wpoison-system-directories]<br>
<br>
* not sure if it&#39;s worth adding other prefixes for curses related PACKAGECONFIG<br>
  PACKAGECONFIG[msgcat-curses] = &quot;--with-libncurses-prefix=${ST<wbr>AGING_LIBDIR}/..,--disable-cur<wbr>ses,ncurses,&quot;<br>
<br>
  --with-libncurses-prefix[=DIR]<wbr>  search for PACKLIBS in DIR/include and DIR/lib<br>
  --without-libncurses-prefix     don&#39;t search for PACKLIBS in includedir and libdir<br>
  --with-libxcurses-prefix[=DIR]<wbr>  search for PACKLIBS in DIR/include and DIR/lib<br>
  --without-libxcurses-prefix     don&#39;t search for PACKLIBS in includedir and libdir<br>
  --with-libcurses-prefix[=DIR]  search for PACKLIBS in DIR/include and DIR/lib<br>
  --without-libcurses-prefix     don&#39;t search for PACKLIBS in includedir and libdir<br>
<br>
Signed-off-by: Martin Jansa &lt;<a href="mailto:Martin.Jansa@gmail.com" target="_blank">Martin.Jansa@gmail.com</a>&gt;<br>
---<br>
 meta/recipes-core/gettext/<a href="http://gettext_0.19.8.1.bb" rel="noreferrer" target="_blank">get<wbr>text_0.19.8.1.bb</a> | 8 ++++----<br>
 1 file changed, 4 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/meta/recipes-core/gettext/<a href="http://gettext_0.19.8.1.bb" rel="noreferrer" target="_blank">ge<wbr>ttext_0.19.8.1.bb</a> b/meta/recipes-core/gettext/<a href="http://gettext_0.19.8.1.bb" rel="noreferrer" target="_blank">ge<wbr>ttext_0.19.8.1.bb</a><br>
index 97083c0da2..8a8a34cca8 100644<br>
--- a/meta/recipes-core/gettext/<a href="http://gettext_0.19.8.1.bb" rel="noreferrer" target="_blank">ge<wbr>ttext_0.19.8.1.bb</a><br>
+++ b/meta/recipes-core/gettext/<a href="http://gettext_0.19.8.1.bb" rel="noreferrer" target="_blank">ge<wbr>ttext_0.19.8.1.bb</a><br>
@@ -43,10 +43,10 @@ PACKAGECONFIG ??= &quot;croco glib libxml libunistring&quot;<br>
 PACKAGECONFIG_class-native = &quot;&quot;<br>
 PACKAGECONFIG_class-nativesdk = &quot;&quot;<br>
<br>
-PACKAGECONFIG[croco] = &quot;--without-included-libcroco,-<wbr>-with-included-libcroco,libcro<wbr>co&quot;<br>
-PACKAGECONFIG[glib] = &quot;--without-included-glib,--wit<wbr>h-included-glib,glib-2.0&quot;<br>
-PACKAGECONFIG[libxml] = &quot;--without-included-libxml,--w<wbr>ith-included-libxml,libxml2&quot;<br>
-PACKAGECONFIG[libunistring] = &quot;--without-included-libunistri<wbr>ng,--with-included-libunistrin<wbr>g,libunistring&quot;<br>
+PACKAGECONFIG[croco] = &quot;--with-libcroco-0.6-prefix=${<wbr>STAGING_LIBDIR}/.. --without-included-libcroco,--<wbr>with-included-libcroco,libcroc<wbr>o&quot;<br>
+PACKAGECONFIG[glib] = &quot;--with-libglib-2.0-prefix=${S<wbr>TAGING_LIBDIR}/.. --without-included-glib,--with<wbr>-included-glib,glib-2.0&quot;<br>
+PACKAGECONFIG[libxml] = &quot;--with-libxml2-prefix=${STAGI<wbr>NG_LIBDIR}/.. --without-included-libxml,--wi<wbr>th-included-libxml,libxml2&quot;<br>
+PACKAGECONFIG[libunistring] = &quot;--with-libunistring-prefix=${<wbr>STAGING_LIBDIR}/.. --without-included-libunistrin<wbr>g,--with-included-libunistring<wbr>,libunistring&quot;<br>
 PACKAGECONFIG[msgcat-curses] = &quot;--with-libncurses-prefix=${ST<wbr>AGING_LIBDIR}/..,--disable-cur<wbr>ses,ncurses,&quot;<br>
<br>
 acpaths = &#39;-I ${S}/gettext-runtime/m4 \<br>
<span class="m_5579754552523759691m_2205246036956529460HOEnZb"><font color="#888888">--<br>
2.15.1<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openem<wbr>bedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>