From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org,
openembedded-core@lists.openembedded.org
Cc: Derek Straka <derek@asterius.io>
Subject: python-setuptools fetch issues Was: [oe] [meta-python][PATCH 08/11] python-mock: update to 1.3.0
Date: Wed, 24 Feb 2016 17:20:44 +0100 [thread overview]
Message-ID: <20160224162044.GF2560@jama> (raw)
In-Reply-To: <20160224130413.GD7560@jama>
[-- Attachment #1: Type: text/plain, Size: 3242 bytes --]
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@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)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next parent reply other threads:[~2016-02-24 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1456148105-9644-1-git-send-email-derek@asterius.io>
[not found] ` <1456148105-9644-8-git-send-email-derek@asterius.io>
[not found] ` <20160224130413.GD7560@jama>
2016-02-24 16:20 ` Martin Jansa [this message]
2016-02-25 2:19 ` python-setuptools fetch issues Was: [oe] [meta-python][PATCH 08/11] python-mock: update to 1.3.0 Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160224162044.GF2560@jama \
--to=martin.jansa@gmail.com \
--cc=derek@asterius.io \
--cc=openembedded-core@lists.openembedded.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox