| Summary: | dev-python/simples3-1.0 : AttributeError: 'module' object has no attribute 'HTTPSHandler' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | gentoo, jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
dev-python:simples3-1.0:20160117-135853.log
emerge-history.txt environment |
||
|
Description
Toralf Förster
2016-01-17 14:00:50 UTC
Created attachment 423156 [details]
dev-python:simples3-1.0:20160117-135853.log
Created attachment 423158 [details]
emerge-history.txt
Created attachment 423160 [details]
environment
This built and installed. Could not replicate. ? cause is hardened. It built with both python 2.7.10-r5 & 2.7.11-r1 Usign 2.7.10 here, can not replicate as well
[ebuild N ~] dev-python/simples3-1.0::gentoo USE="{-test}" PYTHON_TARGETS="python2_7 -pypy" 15 KiB
Total: 1 package (1 new), Size of downloads: 15 KiB
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/simples3-1.0::gentoo
>>> Downloading 'http://distfiles.gentoo.org/distfiles/simples3-1.0.tar.gz'
--2016-01-28 14:44:55-- http://distfiles.gentoo.org/distfiles/simples3-1.0.tar.gz
Resolving distfiles.gentoo.org... 140.211.166.134, 156.56.247.195, 137.226.34.46, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14630 (14K) [application/x-gzip]
Saving to: ‘/usr/portage/distfiles/simples3-1.0.tar.gz’
/usr/portage/distfi 100%[=====================>] 14.29K 87.6KB/s in 0.2s
2016-01-28 14:44:56 (87.6 KB/s) - ‘/usr/portage/distfiles/simples3-1.0.tar.gz’ saved [14630/14630]
* simples3-1.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking simples3-1.0.tar.gz to /var/tmp/portage/dev-python/simples3-1.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/simples3-1.0/work
>>> Preparing source in /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0 ...
* python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3
copying simples3/gae.py -> /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3
copying simples3/utils.py -> /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3
copying simples3/__init__.py -> /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3
copying simples3/bucket.py -> /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3
copying simples3/streaming.py -> /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3
warning: build_py: byte-compiling is disabled, skipping.
>>> Source compiled.
>>> Test phase [not enabled]: dev-python/simples3-1.0
>>> Install simples3-1.0 into /var/tmp/portage/dev-python/simples3-1.0/image/ category dev-python
* python2_7: running distutils-r1_run_phase distutils-r1_python_install
/usr/bin/python2.7 setup.py install --root=/var/tmp/portage/dev-python/simples3-1.0/image//_python2.7
running install
running build
running build_py
running install_lib
creating /var/tmp/portage/dev-python/simples3-1.0/image/_python2.7
creating /var/tmp/portage/dev-python/simples3-1.0/image/_python2.7/usr
creating /var/tmp/portage/dev-python/simples3-1.0/image/_python2.7/usr/lib64
creating /var/tmp/portage/dev-python/simples3-1.0/image/_python2.7/usr/lib64/python2.7
creating /var/tmp/portage/dev-python/simples3-1.0/image/_python2.7/usr/lib64/python2.7/site-packages
creating /var/tmp/portage/dev-python/simples3-1.0/image/_python2.7/usr/lib64/python2.7/site-packages/simples3
copying /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3/gae.py -> /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3
copying /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3/utils.py -> /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3
copying /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3/__init__.py -> /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3
copying /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3/bucket.py -> /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3
copying /var/tmp/portage/dev-python/simples3-1.0/work/simples3-1.0-python2_7/lib/simples3/streaming.py -> /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3
byte-compiling /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3/gae.py to gae.pyc
byte-compiling /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3/utils.py to utils.pyc
byte-compiling /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3/__init__.py to __init__.pyc
byte-compiling /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3/bucket.py to bucket.pyc
byte-compiling /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3/streaming.py to streaming.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/simples3-1.0/temp/tmpUjzY2c.py'
/usr/bin/python2.7 -OO /var/tmp/portage/dev-python/simples3-1.0/temp/tmpUjzY2c.py
removing /var/tmp/portage/dev-python/simples3-1.0/temp/tmpUjzY2c.py
running install_egg_info
Writing /var/tmp/portage/dev-python/simples3-1.0/image//_python2.7/usr/lib64/python2.7/site-packages/simples3-1.0-py2.7.egg-info
* python2_7: running distutils-r1_run_phase distutils-r1_python_install_all
>>> Completed installing simples3-1.0 into /var/tmp/portage/dev-python/simples3-1.0/image/
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (1 of 1) dev-python/simples3-1.0::gentoo
* checking 19 files for package collisions
>>> Merging dev-python/simples3-1.0 to /
--- /usr/
--- /usr/lib64/
--- /usr/lib64/python2.7/
--- /usr/lib64/python2.7/site-packages/
>>> /usr/lib64/python2.7/site-packages/simples3-1.0-py2.7.egg-info
>>> /usr/lib64/python2.7/site-packages/simples3/
>>> /usr/lib64/python2.7/site-packages/simples3/streaming.py
>>> /usr/lib64/python2.7/site-packages/simples3/streaming.pyc
>>> /usr/lib64/python2.7/site-packages/simples3/utils.pyo
>>> /usr/lib64/python2.7/site-packages/simples3/bucket.py
>>> /usr/lib64/python2.7/site-packages/simples3/__init__.py
>>> /usr/lib64/python2.7/site-packages/simples3/utils.py
>>> /usr/lib64/python2.7/site-packages/simples3/__init__.pyc
>>> /usr/lib64/python2.7/site-packages/simples3/bucket.pyo
>>> /usr/lib64/python2.7/site-packages/simples3/gae.pyc
>>> /usr/lib64/python2.7/site-packages/simples3/utils.pyc
>>> /usr/lib64/python2.7/site-packages/simples3/gae.py
>>> /usr/lib64/python2.7/site-packages/simples3/gae.pyo
>>> /usr/lib64/python2.7/site-packages/simples3/bucket.pyc
>>> /usr/lib64/python2.7/site-packages/simples3/__init__.pyo
>>> /usr/lib64/python2.7/site-packages/simples3/streaming.pyo
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/simples3-1.0/
>>> /usr/share/doc/simples3-1.0/TODO.bz2
>>> /usr/share/doc/simples3-1.0/changes.rst.bz2
>>> /usr/share/doc/simples3-1.0/README.bz2
>>> dev-python/simples3-1.0 merged.
>>> Regenerating /etc/ld.so.cache...
>>> Recording dev-python/simples3 in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
pcb ~ #
promotheanfire also reports this building on a hardened system. Another cannot replicate. I replicated. I don't know how you did it but your python is emerged with USE=-ssl. This makes it not a bug because you appear to have over-ridden a default setting of +ssl Looking at the traceback it's pretty obvious; your python is built without IUSE=ssl. Not sure if required but I suggest my proxy updates hte ebuild with requiring python iuse=ssl. A tinderbox image is automatically setup using an randomized USE flag set. Later I realized that a lot of packages can't be tested without "ssl" - so I added it (and probably removed "-ssl" from USE - I can't remember). So it seems, that the subsequent "emerge -uvtDNU @world" failed and I just ignored it a while before I kicked this chroot image off from the testing area. Nevertheless if "ssl" is a hard dep of python - is there a way/need to forbid emerging python w/o "ssl" ? I really don't know Guys, aren't we talking about adding PYTHON_REQ_USE="ssl(+)" here? Am I missing something? It seems there are in fact 6 other ebuilds under the dozens of packages of dev-python. Setting this just seems unintuitive since it is already set +ssl in python but oh well. On making a patch or a pull request I can commit and close Py2 only package that was removed in commit 485413c48e6e7219bec53525e546f27c1cb211b9 |