<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/gettext/0.19.8.1-r0/packages-split/gettext/usr/lib/gettext/hostname contains probably-redundant RPATH /usr/lib/../lib</div><div>gettext: /work/corei7-64-poky-linux/gettext/0.19.8.1-r0/packages-split/gettext/usr/lib/gettext/urlget contains probably-redundant RPATH /usr/lib/../lib</div><div>gettext: /work/corei7-64-poky-linux/gettext/0.19.8.1-r0/packages-split/gettext/usr/lib/gettext/cldr-plurals contains probably-redundant RPATH /usr/lib/../lib</div><div>gettext: /work/corei7-64-poky-linux/gettext/0.19.8.1-r0/packages-split/gettext/usr/bin/recode-sr-latin contains probably-redundant RPATH /usr/lib/../lib [useless-rpaths]</div></div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 January 2018 at 10:52, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></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/<wbr>gettext-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's worth adding other prefixes for curses related PACKAGECONFIG<br>
PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${<wbr>STAGING_LIBDIR}/..,--disable-<wbr>curses,ncurses,"<br>
<br>
--with-libncurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib<br>
--without-libncurses-prefix don't search for PACKLIBS in includedir and libdir<br>
--with-libxcurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib<br>
--without-libxcurses-prefix don'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't search for PACKLIBS in includedir and libdir<br>
<br>
Signed-off-by: Martin Jansa <<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>><br>
---<br>
meta/recipes-core/gettext/<a href="http://gettext_0.19.8.1.bb" rel="noreferrer" target="_blank">gett<wbr>ext_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 ??= "croco glib libxml libunistring"<br>
PACKAGECONFIG_class-native = ""<br>
PACKAGECONFIG_class-nativesdk = ""<br>
<br>
-PACKAGECONFIG[croco] = "--without-included-libcroco,-<wbr>-with-included-libcroco,<wbr>libcroco"<br>
-PACKAGECONFIG[glib] = "--without-included-glib,--<wbr>with-included-glib,glib-2.0"<br>
-PACKAGECONFIG[libxml] = "--without-included-libxml,--<wbr>with-included-libxml,libxml2"<br>
-PACKAGECONFIG[libunistring] = "--without-included-<wbr>libunistring,--with-included-<wbr>libunistring,libunistring"<br>
+PACKAGECONFIG[croco] = "--with-libcroco-0.6-prefix=${<wbr>STAGING_LIBDIR}/.. --without-included-libcroco,--<wbr>with-included-libcroco,<wbr>libcroco"<br>
+PACKAGECONFIG[glib] = "--with-libglib-2.0-prefix=${<wbr>STAGING_LIBDIR}/.. --without-included-glib,--<wbr>with-included-glib,glib-2.0"<br>
+PACKAGECONFIG[libxml] = "--with-libxml2-prefix=${<wbr>STAGING_LIBDIR}/.. --without-included-libxml,--<wbr>with-included-libxml,libxml2"<br>
+PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${<wbr>STAGING_LIBDIR}/.. --without-included-<wbr>libunistring,--with-included-<wbr>libunistring,libunistring"<br>
PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${<wbr>STAGING_LIBDIR}/..,--disable-<wbr>curses,ncurses,"<br>
<br>
acpaths = '-I ${S}/gettext-runtime/m4 \<br>
<span class="HOEnZb"><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">Openembedded-core@lists.<wbr>openembedded.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>