<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 26 October 2015 at 20:16, Todd Efflam <span dir="ltr"><<a href="mailto:todd.efflam@gmail.com" target="_blank">todd.efflam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":xh" class="" style="overflow:hidden">Thanks for the tip.  We tried adding this to the local.conf file but<br>
it failed with the following error:<br>
ERROR: Nothing PROVIDES 'glibc'<br>
ERROR: glibc was skipped: missing required distro feature 'ipv6' (not<br>
in DISTRO_FEATURES)</div></blockquote></div><br>Ouch.  That's surely not right.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The commit that introduced this was:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">commit 97899bc908a421295d814801ff86edeb9304d2fd</div><div class="gmail_extra">Author: Chen Qi <<a href="mailto:Qi.Chen@windriver.com">Qi.Chen@windriver.com</a>></div><div class="gmail_extra">Date: Â  Thu Jul 3 11:23:42 2014 +0800</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Â  eglibc: check for required distro features</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Â  If users accidently override the DISTRO_FEATURES in local.conf,</div><div class="gmail_extra">  Â  then build failures occur for lack of libc functions.</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Â  All features in DISTRO_FEATURES_LIBC should be in DISTRO_FEATURES.</div><div class="gmail_extra">  Â  That's why this patch let the recipe inherit distro_features_check</div><div class="gmail_extra">  Â  class and set REQUIRED_DISTRO_FEATURES to "${DISTRO_FEATURES_LIBC}".</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Â  [YOCTO #6381]</div><div class="gmail_extra"><br></div><div class="gmail_extra">But the entire point of the logic in glibc-options is to make these options, well, optional.</div><div class="gmail_extra"><br></div><div class="gmail_extra">It looks like the required_distro_features use in eglibc is misguided.  Can you comment out the REQUIRED_DISTRO_FEATURES assignment in glibc.inc and verify that it then builds fine without ipv6 enabled?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra">Ross</div></div></div>