Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447138 - dev-python/setuptools-0.6.32: fails tests with python2.5
Summary: dev-python/setuptools-0.6.32: fails tests with python2.5
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: https://bitbucket.org/tarek/distribut...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 18:32 UTC by Michał Górny
Modified: 2013-08-27 11:15 UTC (History)
1 user (show)

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


Attachments
Build log (build-python2.5.log,15.31 KB, text/plain)
2012-12-13 18:32 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-13 18:32:27 UTC
Created attachment 332236 [details]
Build log

======================================================================
ERROR: Regression test for issue #318
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/tests/test_easy_install.py", line 311, in test_setup_requires
    lambda: run_setup(test_setup_py, ['install'])
  File "/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/tests/test_easy_install.py", line 458, in reset_setup_stop_context
    f()
  File "/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/tests/test_easy_install.py", line 311, in <lambda>
    lambda: run_setup(test_setup_py, ['install'])
  File "/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/sandbox.py", line 30, in run_setup
    lambda: execfile(
  File "/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/sandbox.py", line 78, in run
    return func()
  File "/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/sandbox.py", line 32, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 2, in <module>
  File "/usr/lib64/python2.5/distutils/core.py", line 168, in setup
    raise SystemExit, "error: " + str(msg)
SystemExit: error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/lib64/python2.5/site-packages/test-easy-install-7171.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/lib64/python2.5/site-packages/

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

  http://packages.python.org/distribute/easy_install.html

Please make the appropriate changes for your system and try again.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-08-27 10:57:03 UTC
python2_5 target is now masked.