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 <de...@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)
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core