Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463574 - dev-python/requests-0.14.2-r1 fails to install
Summary: dev-python/requests-0.14.2-r1 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 06:39 UTC by Patrick Lauer
Modified: 2013-03-28 10:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-03-28 06:39:51 UTC
>>> Install requests-0.14.2-r1 into /var/tmp/portage/dev-python/requests-0.14.2-r1/image/ category dev-python
 * python2_7: running distutils-r1_run_phase distutils-r1_python_install
/usr/bin/python2.7 setup.py build --build-base /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7 --build-platlib /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib --build-purelib /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib --build-scripts /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/scripts install --compile -O2 --root=/var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7
running build
running build_py
running egg_info
writing requests.egg-info/PKG-INFO
writing top-level names to requests.egg-info/top_level.txt
writing dependency_links to requests.egg-info/dependency_links.txt
reading manifest file 'requests.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'tests/*.'
warning: no files found matching 'requests/cacert.pem'
writing manifest file 'requests.egg-info/SOURCES.txt'
running install
running install_lib
creating /var/tmp/portage/dev-python/requests-0.14.2-r1/image/_python2.7
creating /var/tmp/portage/dev-python/requests-0.14.2-r1/image/_python2.7/usr
creating /var/tmp/portage/dev-python/requests-0.14.2-r1/image/_python2.7/usr/lib64
creating /var/tmp/portage/dev-python/requests-0.14.2-r1/image/_python2.7/usr/lib64/python2.7
creating /var/tmp/portage/dev-python/requests-0.14.2-r1/image/_python2.7/usr/lib64/python2.7/site-packages
creating /var/tmp/portage/dev-python/requests-0.14.2-r1/image/_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/__init__.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/_oauth.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/adapters.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/api.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/async.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/auth.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/certs.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/compat.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/cookies.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/defaults.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/exceptions.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/hooks.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/models.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/safe_mode.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/sessions.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/status_codes.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/structures.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
copying /var/tmp/portage/dev-python/requests-0.14.2-r1/work/requests-0.14.2-python2_7/lib/requests/utils.py -> /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/__init__.py to __init__.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/_oauth.py to _oauth.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/adapters.py to adapters.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/api.py to api.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/async.py to async.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/auth.py to auth.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/certs.py to certs.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/compat.py to compat.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/cookies.py to cookies.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/defaults.py to defaults.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/exceptions.py to exceptions.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/hooks.py to hooks.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/models.py to models.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/safe_mode.py to safe_mode.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/sessions.py to sessions.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/status_codes.py to status_codes.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/structures.py to structures.pyc
byte-compiling /var/tmp/portage/dev-python/requests-0.14.2-r1/image//_python2.7/usr/lib64/python2.7/site-packages/requests/utils.py to utils.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/requests-0.14.2-r1/temp/python2.7/tmpqMqDEq.py'
/usr/bin/python2.7 -OO /var/tmp/portage/dev-python/requests-0.14.2-r1/temp/python2.7/tmpqMqDEq.py
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/requests-0.14.2-r1/temp/python2.7/tmpqMqDEq.py", line 25, in <module>
    direct=1)
  File "/usr/lib64/python2.7/distutils/util.py", line 458, in byte_compile
    raise DistutilsByteCompileError('byte-compiling is disabled.')
distutils.errors.DistutilsByteCompileError: byte-compiling is disabled.
error: command '/usr/bin/python2.7' failed with exit status 1
 * ERROR: dev-python/requests-0.14.2-r1 failed (install phase):
 *   (no error message)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-28 09:14:38 UTC
That's quite weird, to be honest. Is there anything special about your system that could trigger such a thing?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-28 10:17:56 UTC
The funny thing is that setup.py explicitly disabled byte-compilation and thus upstream themselves caused the thing to fail... Anyway, I've cleaned it up a bit and committed a fix.

@Patrick, please state explicitly when you're reporting bugs against ancient versions. That will make handling them faster as I tend to miss the differing $PV :).

@Matthew, next time please:

1) backport the changes to the new (-r1) ebuild rather than starting from scratch,

2) *test* it before committing.