<div dir="ltr">And v1 just got merged to master, I&#39;ll send v2 with change of the default if other agree.<div><br></div><div>I don&#39;t have strong opinion, yes it might be broken, but it was enabled since the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">update to 20161105 and nobody was complaining and adding PACKAGECONFIG usually shouldn&#39;t change the options currently used (I&#39;ve meant to disable it by default, just because Khem&#39;s request).</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 20, 2018 at 12:32 AM, Andre McCurdy <span dir="ltr">&lt;<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@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"><div class="HOEnZb"><div class="h5">On Sat, Mar 17, 2018 at 4:26 AM, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt; wrote:<br>
&gt; * it got enabled by default, but without the dependency on libidn in:<br>
&gt;   commit 5997981fa2c22609a88b8cbb595dbf<wbr>7758b2f7c2<br>
&gt;   Author: Alexander Kanavin &lt;<a href="mailto:alexander.kanavin@linux.intel.com">alexander.kanavin@linux.<wbr>intel.com</a>&gt;<br>
&gt;   AuthorDate: Thu Feb 1 20:02:08 2018 +0200<br>
&gt;   Subject: iputils: update to 20161105<br>
&gt;<br>
&gt; * <a href="https://github.com/iputils/iputils/blob/master/RELNOTES.old" rel="noreferrer" target="_blank">https://github.com/iputils/<wbr>iputils/blob/master/RELNOTES.<wbr>old</a><br>
&gt;   mentiones that IDN was enabled by default in:<br>
&gt;   [s20160308] and surprisingly the same in [s20150815]<br>
&gt;   but there are no release notes for s20151218 version we were using until<br>
&gt;   now, don&#39;t know how it really relates to [s20150815].<br>
&gt;<br>
&gt; * but there are some issues with libidn as described in:<br>
&gt;   <a href="https://github.com/iputils/iputils/commit/f3a461603ef4fb7512ade3bdb73fe1824e294547" rel="noreferrer" target="_blank">https://github.com/iputils/<wbr>iputils/commit/<wbr>f3a461603ef4fb7512ade3bdb73fe1<wbr>824e294547</a><br>
&gt;   so disable it by default.<br>
&gt;<br>
&gt; * fails with:<br>
&gt;   | In file included from ping_common.c:1:0:<br>
&gt;   | ping.h:39:10: fatal error: idna.h: No such file or directory<br>
&gt;   |  #include &lt;idna.h&gt;<br>
&gt;   |           ^~~~~~~~<br>
&gt;<br>
&gt; * Easiest way to reproduce this failure is to remove libidn from gnutls<br>
&gt;   PACKAGECONFIG or to use gnutls which doesn&#39;t have libidn PACKAGECONFIG<br>
&gt;   at all (like the one in meta-gplv2).<br>
&gt;<br>
&gt; * First it leads to following QA issue:<br>
&gt;   <a href="http://errors.yoctoproject.org/Errors/Build/53212/" rel="noreferrer" target="_blank">http://errors.yoctoproject.<wbr>org/Errors/Build/53212/</a><br>
&gt;   ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-ping rdepends on libidn, but it isn&#39;t a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]<br>
&gt;   ERROR: iputils-s20161105-r0 do_package_qa: QA Issue: iputils-traceroute6 rdepends on libidn, but it isn&#39;t a build dependency, missing libidn in DEPENDS or PACKAGECONFIG? [build-deps]<br>
&gt;   ERROR: iputils-s20161105-r0 do_package_qa: QA run found fatal errors.<br>
&gt;   Please consider fixing them.<br>
&gt;   ERROR: iputils-s20161105-r0 do_package_qa: Function failed:<br>
&gt;   do_package_qa<br>
&gt;   ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/<wbr>work/core2-64-oe-linux/<wbr>iputils/s20161105-r0/temp/log.<wbr>do_package_qa.7627<br>
&gt;   ERROR: Task (/OE/build/oe-core/<wbr>openembedded-core/meta/<wbr>recipes-extended/iputils/<wbr>iputils_s20161105.bb:do_<wbr>package_qa) failed with exit code &#39;1&#39;<br>
&gt;<br>
&gt; * But if you cleansstate iputils as well (after removing libidn from<br>
&gt;   gnutls PACKAGECONFIG) to empty iputils RSS, then you get the error about<br>
&gt;   missing idna.h:<br>
&gt;   <a href="http://errors.yoctoproject.org/Errors/Build/53213/" rel="noreferrer" target="_blank">http://errors.yoctoproject.<wbr>org/Errors/Build/53213/</a><br>
&gt;<br>
&gt; * Adding the libidn dependency explicitly in iputils recipe fixes the<br>
&gt;   issue.<br>
&gt;<br>
&gt; Signed-off-by: Martin Jansa &lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/recipes-extended/iputils/<a href="http://iputils_s20161105.bb" rel="noreferrer" target="_blank"><wbr>iputils_s20161105.bb</a> | 5 ++++-<br>
&gt;  1 file changed, 4 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt; diff --git a/meta/recipes-extended/<wbr>iputils/<a href="http://iputils_s20161105.bb" rel="noreferrer" target="_blank">iputils_s20161105.bb</a> b/meta/recipes-extended/<wbr>iputils/<a href="http://iputils_s20161105.bb" rel="noreferrer" target="_blank">iputils_s20161105.bb</a><br>
&gt; index ad7dbc4d4a..0125739b03 100644<br>
&gt; --- a/meta/recipes-extended/<wbr>iputils/<a href="http://iputils_s20161105.bb" rel="noreferrer" target="_blank">iputils_s20161105.bb</a><br>
&gt; +++ b/meta/recipes-extended/<wbr>iputils/<a href="http://iputils_s20161105.bb" rel="noreferrer" target="_blank">iputils_s20161105.bb</a><br>
&gt; @@ -23,8 +23,11 @@ UPSTREAM_CHECK_GITTAGREGEX = &quot;(?P&lt;pver&gt;s\d+)&quot;<br>
&gt;<br>
&gt;  EXTRA_OEMAKE = &quot;-e MAKEFLAGS=&quot;<br>
&gt;<br>
&gt; +PACKAGECONFIG ?= &quot;&quot;<br>
<br>
</div></div>It looks like mut (and now master-next) have picked up v1 of this<br>
patch, where libidn is enabled by default.<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; +PACKAGECONFIG[libidn] = &quot;USE_IDN=yes,USE_IDN=no,<wbr>libidn&quot;<br>
&gt; +<br>
&gt;  do_compile () {<br>
&gt; -       oe_runmake &#39;CC=${CC} -D_GNU_SOURCE&#39; VPATH=&quot;${STAGING_LIBDIR}:${<wbr>STAGING_DIR_HOST}/${base_<wbr>libdir}&quot; all<br>
&gt; +       oe_runmake &#39;CC=${CC} -D_GNU_SOURCE&#39; VPATH=&quot;${STAGING_LIBDIR}:${<wbr>STAGING_DIR_HOST}/${base_<wbr>libdir}&quot; ${PACKAGECONFIG_CONFARGS} all<br>
&gt;  }<br>
&gt;<br>
&gt;  do_install () {<br>
&gt; --<br>
&gt; 2.15.1<br>
&gt;<br>
</div></div><span class="HOEnZb"><font color="#888888">&gt; --<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt; <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>