[oe] python-setuptools fetch issues Was: [meta-python][PATCH 08/11] python-mock: update to 1.3.0

Martin Jansa martin.jansa at gmail.com
Wed Feb 24 16:20:44 UTC 2016


On Wed, Feb 24, 2016 at 02:04:13PM +0100, Martin Jansa wrote:
> On Mon, Feb 22, 2016 at 08:35:02AM -0500, Derek Straka wrote:
> > Signed-off-by: Derek Straka <derek at asterius.io>

After fixing the download issue, I can see another error, which has the same
root cause (various fetch failures from my jenkins slave when SSLv2 is used).

But more important question is why are setuptools trying to fetch pbr from
outside network and how will we prevent it.

Bitbake builds should be able to create an image just from pre-populated
downloads directory (also when BB_NO_NETWORK is set), this breaks that
principle.

NOTE: recipe python-mock-1.3.0-r0: task do_compile: Started
NOTE: recipe python-mock-1.3.0-r0: task do_populate_lic: Succeeded
ERROR: python-mock-1.3.0-r0 do_compile: python setup.py build execution failed.
ERROR: python-mock-1.3.0-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/python-mock/1.3.0-r0/temp/log.do_compile.12826)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/python-mock/1.3.0-r0/temp/log.do_compile.12826  
NOTE: recipe python-mock-1.3.0-r0: task do_compile: Failed
ERROR: Task 6 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-mock_1.3.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 853 tasks of which 847 didn't need to be rerun and 1 failed.


DEBUG: Executing shell function do_compile
Download error on https://pypi.python.org/simple/pbr/: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'pbr' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pbr>=1.3
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    pbr=True)
  File "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 269, in __init__
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 313, in fetch_build_eggs
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 827, in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1072, in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1084, in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 380, in fetch_build_egg
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 634, in easy_install
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=1.3')
WARNING: exit code 1 from a shell command.
ERROR: python setup.py build execution failed.
ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/python-mock/1.3.0-r0/temp/log.do_compile.12826)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160224/455fe0bb/attachment-0002.sig>


More information about the Openembedded-devel mailing list