removing /var/tmp/portage/dev-python/pip-8.0.2/temp/tmpe8m9sjic.py running install_egg_info running egg_info writing entry points to /var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/entry_points.txt writing dependency_links to /var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/dependency_links.txt writing requirements to /var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/requires.txt writing top-level names to /var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/top_level.txt writing /var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/PKG-INFO reading manifest file '/var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'pip/_vendor/README.rst' warning: no files found matching 'pip/_vendor/vendor.txt' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.mailmap' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching '.landscape.yml' warning: no previously-included files found matching 'pip/_vendor/Makefile' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'dev-requirements.txt' warning: no previously-included files found matching 'appveyor.yml' warning: no files found matching '*.pem' under directory 'pip/_vendor' no previously-included directories found matching '.travis' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'contrib' no previously-included directories found matching 'tasks' no previously-included directories found matching 'tests' writing manifest file '/var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info/SOURCES.txt' Copying /var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2-python3_5/pip.egg-info to /var/tmp/portage/dev-python/pip-8.0.2/image//_python3.5/usr/lib64/python3.5/site-packages/pip-8.0.2-py3.5.egg-info running install_scripts Installing pip script to /var/tmp/portage/dev-python/pip-8.0.2/image//_python3.5/usr/lib/python-exec/python3.5 Installing pip3.5 script to /var/tmp/portage/dev-python/pip-8.0.2/image//_python3.5/usr/lib/python-exec/python3.5 Installing pip3 script to /var/tmp/portage/dev-python/pip-8.0.2/image//_python3.5/usr/lib/python-exec/python3.5 * python3_5: running distutils-r1_run_phase python_install_all /usr/bin/python3.5: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'requests.packages.urllib3.exceptions'); 'pip' is a package and cannot be directly executed * ERROR: dev-python/pip-8.0.2::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_install * environment, line 3693: Called distutils-r1_src_install * environment, line 991: Called _distutils-r1_run_common_phase 'python_install_all' * environment, line 347: Called _distutils-r1_run_foreach_impl 'python_install_all' * environment, line 361: Called python_foreach_impl 'distutils-r1_run_phase' 'python_install_all' * environment, line 3211: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all' * environment, line 2314: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all' * environment, line 2312: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install_all' * environment, line 637: Called distutils-r1_run_phase 'python_install_all' * environment, line 956: Called python_install_all * environment, line 3377: Called die * The specific snippet of code: * "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die; * * If you need support, post the output of `emerge --info '=dev-python/pip-8.0.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pip-8.0.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pip-8.0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pip-8.0.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2' * S: '/var/tmp/portage/dev-python/pip-8.0.2/work/pip-8.0.2' >>> Failed to emerge dev-python/pip-8.0.2, Log file: >>> '/var/tmp/portage/dev-python/pip-8.0.2/temp/build.log' * Messages for package dev-python/pip-8.0.2: * ERROR: dev-python/pip-8.0.2::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_install * environment, line 3693: Called distutils-r1_src_install * environment, line 991: Called _distutils-r1_run_common_phase 'python_install_all' * environment, line 347: Called _distutils-r1_run_foreach_impl 'python_install_all' * environment, line 361: Called python_foreach_impl 'distutils-r1_run_phase' 'python_install_all' * environment, line 3211: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all' * environment, line 2314: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all' * environment, line 2312: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install_all' * environment, line 637: Called distutils-r1_run_phase 'python_install_all' * environment, line 956: Called python_install_all * environment, line 3377: Called die * The specific snippet of code: * "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die; Reproducible: Always $ emerge --info pip Portage 2.2.27 (python 3.5.1-final-0, default/linux/amd64/13.0/systemd, gcc-5.3.0, glibc-2.22-r1, 4.4.0-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.4.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5_CPU_660_@_3.33GHz-with-gentoo-2.2 KiB Mem: 7975148 total, 436360 free KiB Swap: 8885588 total, 5268492 free Timestamp of repository gentoo: Sat, 23 Jan 2016 01:45:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 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.5.1-r2::gentoo dev-util/cmake: 3.4.2::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69-r1::gentoo sys-devel/automake: 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: 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: -1000 koral location: /var/lib/layman/koral sync-type: laymansync sync-uri: git://github.com/koral--/koral-overlay.git masters: gentoo priority: 1 java location: /var/lib/layman/java sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/java.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://distfiles.gentoo.org" LANG="pl_PL.utf8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl aes amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv icu mmx mmxext modules multilib ncurses nls nptl openmp pam pcre popcnt readline seccomp session sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 symlink systemd tcpd udev unicode vdpau xattr 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 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="void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel" 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" USE_PYTHON="3.5" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= !!! Layman API imports failed. dev-python/pip-7.1.2::gentoo was built with the following: USE="" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_5 -pypy -pypy3 -python3_3 -python3_4"
Same here. Haven't found a workaround except disabling the python3_5 target use-flag for this package.
Remove all mentions of "requests.packages." so the imports becomes "urllib3.whatever" instead of "requests.packages.urllib3.whatever"
This is a duplicate of bug #572476
Please upgrade requests. commit b3bc702a52de4654eaadd13c9f2b6a87528e9e12 Author: Justin Lecher <jlec@gentoo.org> Date: Fri Jan 22 09:03:10 2016 +0100 dev-python/requests: Fix version of urllib3 in deps Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3bc702a52de4654eaadd13c9f2b6a87528e9e12 dev-python/requests/{requests-2.9.1-r1.ebuild => requests-2.9.1-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)