[OE-core] [PATCH 1/5] python-six: Add to oe-core

Jussi Kukkonen jussi.kukkonen at intel.com
Mon Jul 11 11:46:46 UTC 2016


On 8 July 2016 at 23:17, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 7 July 2016 at 16:39, Jussi Kukkonen <jussi.kukkonen at intel.com> wrote:
>
>> +do_compile_append() {
>> +    ${PYTHON} setup.py -q bdist_egg --dist-dir ./
>> +}
>> +do_install_append() {
>> +    install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
>> +}
>>
>
> 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.
>

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):

    python-six: Error fix for recipes depend on python-six

    If you bitbake recipes which depends on python-six such as
    python-cryptography. And also your network is not very well.
    Error will occur as following:
       Download error on https://pypi.python.org/simple/six/:
       [Errno -5] No address associated with hostname -- Some packages may
not be found!
        Couldn't find index page for 'six' (maybe misspelled?)
        No local packages or download links found for six
    So add do_compile_append() to fix it.

Not sure where a URL like that comes from or why it would be accessed
during build? Li Xin, any comment?

I'll send a revised patch without the appends.
  - Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160711/55869fa5/attachment-0002.html>


More information about the Openembedded-core mailing list