Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572204 - dev-python/simples3-1.0 : AttributeError: 'module' object has no attribute 'HTTPSHandler'
Summary: dev-python/simples3-1.0 : AttributeError: 'module' object has no attribute 'H...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-17 14:00 UTC by Toralf Förster
Modified: 2020-09-05 14:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:simples3-1.0:20160117-135853.log (dev-python:simples3-1.0:20160117-135853.log,3.01 KB, text/plain)
2016-01-17 14:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,234.62 KB, text/plain)
2016-01-17 14:00 UTC, Toralf Förster
Details
environment (environment,130.75 KB, text/plain)
2016-01-17 14:00 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-01-17 14:00:50 UTC
    class StreamHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
 * ERROR: dev-python/simples3-1.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:


$ cat ./info.txt
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-desktop-unstable_20160110-214300) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.3.3-hardened-r4 x86_64)
=================================================================
System uname: Linux-4.3.3-hardened-r4-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164680 total,    948824 free
KiB Swap:   16777212 total,  16724432 free
Timestamp of repository gentoo: Sun, 17 Jan 2016 13:43:11 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.2::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/rancid/.cloginrc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --deep --color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache avx berkdb bluetooth branding bzip2 cairo cdda cdr cgi cgoups cli consolekit cracklib crypt cups custom-optimization cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gd gdbm gif glamor gpm gtk iconv introspection ipv6 jpeg kvm lapack lcms ldap libnotify mad mbox mdnsresponder-compat melt mmx mmxext mng modplug modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg openmp pam pango pax_kernel pcre pdf png policykit postscript ppds qemu qt3support qt4 readline sdl seccomp session spell spice sql sse sse2 sse4_1 startup-notification svg tcpd thinkpad tiff tk truetype udev udisks unicode upower usb usbredir uxa v4l2 vdpau vorbis widgets wxwidgets x264 xattr xcb xml xmlreader xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-01-17 14:00:52 UTC
Created attachment 423156 [details]
dev-python:simples3-1.0:20160117-135853.log
Comment 2 Toralf Förster gentoo-dev 2016-01-17 14:00:55 UTC
Created attachment 423158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2016-01-17 14:00:57 UTC
Created attachment 423160 [details]
environment
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2016-01-28 05:43:43 UTC
This built and installed. Could not replicate. ? cause is hardened. It built with both python 2.7.10-r5 & 2.7.11-r1
Comment 5 Brendan Horan 2016-01-28 06:49:51 UTC
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 ~ #
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2016-01-28 07:32:06 UTC
promotheanfire also reports this building on a hardened system. Another cannot replicate.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2016-01-28 11:25:26 UTC
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
Comment 8 Johan Bergström 2016-01-28 13:12:02 UTC
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.
Comment 9 Toralf Förster gentoo-dev 2016-01-28 13:42:21 UTC
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" ?
Comment 10 Ian Delaney (RETIRED) gentoo-dev 2016-02-02 08:28:39 UTC
I really don't know
Comment 11 Johan Bergström 2016-02-02 08:37:45 UTC
Guys, aren't we talking about adding PYTHON_REQ_USE="ssl(+)" here? Am I missing something?
Comment 12 Ian Delaney (RETIRED) gentoo-dev 2016-02-05 10:53:33 UTC
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
Comment 13 David Denoncin 2020-09-05 14:15:53 UTC
Py2 only package that was removed in commit 485413c48e6e7219bec53525e546f27c1cb211b9