<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 8 July 2016 at 23:17, Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span><br><div class="gmail_quote">On 7 July 2016 at 16:39, Jussi Kukkonen <span dir="ltr"><<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>+do_compile_append() {<br>
+ ${PYTHON} setup.py -q bdist_egg --dist-dir ./<br>
+}<br>
+do_install_append() {<br>
+ install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/<br>
+}</div></blockquote></div><br></span>Is this actually required? The setuptools class should be doing all the magic, and this appears to be building and installing an egg, which we generally try not to do.</div></div></blockquote><div><br></div><div>If eggs are not wanted (and that seems to make sense) then these functions should be removed ... but I don't understand the commit that introduced this (6b4cee975 in meta-oe):</div><div><div><br></div><div> python-six: Error fix for recipes depend on python-six<br></div><div> </div><div> If you bitbake recipes which depends on python-six such as</div><div> python-cryptography. And also your network is not very well.</div><div> Error will occur as following:</div><div> Download error on <a href="https://pypi.python.org/simple/six/" target="_blank">https://pypi.python.org/simple/six/</a>:</div><div> [Errno -5] No address associated with hostname -- Some packages may not be found!</div><div> Couldn't find index page for 'six' (maybe misspelled?)</div><div> No local packages or download links found for six</div><div> So add do_compile_append() to fix it.</div></div><div><br></div><div>Not sure where a URL like that comes from or why it would be accessed during build? Li Xin, any comment? </div><div><br></div><div>I'll send a revised patch without the appends.</div><div> - Jussi<br></div></div></div></div>