/usr/bin/python2.5 setup.py build running build running build_py creating build creating build/lib copying pkg_resources.py -> build/lib copying easy_install.py -> build/lib copying site.py -> build/lib creating build/lib/setuptools copying setuptools/archive_util.py -> build/lib/setuptools copying setuptools/depends.py -> build/lib/setuptools copying setuptools/dist.py -> build/lib/setuptools copying setuptools/extension.py -> build/lib/setuptools copying setuptools/package_index.py -> build/lib/setuptools copying setuptools/sandbox.py -> build/lib/setuptools copying setuptools/script template (dev).py -> build/lib/setuptools copying setuptools/script template.py -> build/lib/setuptools copying setuptools/__init__.py -> build/lib/setuptools creating build/lib/_markerlib copying _markerlib/markers.py -> build/lib/_markerlib copying _markerlib/__init__.py -> build/lib/_markerlib creating build/lib/setuptools/command copying setuptools/command/alias.py -> build/lib/setuptools/command copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command copying setuptools/command/build_py.py -> build/lib/setuptools/command copying setuptools/command/develop.py -> build/lib/setuptools/command copying setuptools/command/egg_info.py -> build/lib/setuptools/command copying setuptools/command/install.py -> build/lib/setuptools/command copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command copying setuptools/command/install_lib.py -> build/lib/setuptools/command copying setuptools/command/install_scripts.py -> build/lib/setuptools/command copying setuptools/command/register.py -> build/lib/setuptools/command copying setuptools/command/rotate.py -> build/lib/setuptools/command copying setuptools/command/saveopts.py -> build/lib/setuptools/command copying setuptools/command/sdist.py -> build/lib/setuptools/command copying setuptools/command/setopt.py -> build/lib/setuptools/command copying setuptools/command/test.py -> build/lib/setuptools/command copying setuptools/command/upload.py -> build/lib/setuptools/command copying setuptools/command/upload_docs.py -> build/lib/setuptools/command copying setuptools/command/__init__.py -> build/lib/setuptools/command copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command copying setuptools/command/build_ext.py -> build/lib/setuptools/command copying setuptools/command/easy_install.py -> build/lib/setuptools/command creating build/lib/setuptools/tests copying setuptools/tests/doctest.py -> build/lib/setuptools/tests copying setuptools/tests/py26compat.py -> build/lib/setuptools/tests copying setuptools/tests/server.py -> build/lib/setuptools/tests copying setuptools/tests/test_bdist_egg.py -> build/lib/setuptools/tests copying setuptools/tests/test_build_ext.py -> build/lib/setuptools/tests copying setuptools/tests/test_develop.py -> build/lib/setuptools/tests copying setuptools/tests/test_dist_info.py -> build/lib/setuptools/tests copying setuptools/tests/test_easy_install.py -> build/lib/setuptools/tests copying setuptools/tests/test_markerlib.py -> build/lib/setuptools/tests copying setuptools/tests/test_resources.py -> build/lib/setuptools/tests copying setuptools/tests/test_sandbox.py -> build/lib/setuptools/tests copying setuptools/tests/test_sdist.py -> build/lib/setuptools/tests copying setuptools/tests/test_test.py -> build/lib/setuptools/tests copying setuptools/tests/test_upload_docs.py -> build/lib/setuptools/tests copying setuptools/tests/__init__.py -> build/lib/setuptools/tests warning: build_py: byte-compiling is disabled, skipping. /usr/bin/python2.5 setup.py test running test running egg_info writing distribute.egg-info/PKG-INFO writing top-level names to distribute.egg-info/top_level.txt writing dependency_links to distribute.egg-info/dependency_links.txt writing entry points to distribute.egg-info/entry_points.txt reading manifest file 'distribute.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'distribute.egg-info/SOURCES.txt' running build_ext testExtractConst (setuptools.tests.DependsTests) ... ok testFindModule (setuptools.tests.DependsTests) ... ok testModuleExtract (setuptools.tests.DependsTests) ... ok testRequire (setuptools.tests.DependsTests) ... ok testContents (setuptools.tests.DistroTests) ... ok testDistroType (setuptools.tests.DistroTests) ... ok testEmpty (setuptools.tests.DistroTests) ... ok testExcludePackage (setuptools.tests.DistroTests) ... ok testExcludePackages (setuptools.tests.DistroTests) ... ok testIncludeExclude (setuptools.tests.DistroTests) ... ok testInvalidIncludeExclude (setuptools.tests.DistroTests) ... ok testAvailability (setuptools.tests.FeatureTests) ... ok testDefaults (setuptools.tests.FeatureTests) ... ok testFeatureOptions (setuptools.tests.FeatureTests) ... ok testFeatureWithInvalidRemove (setuptools.tests.FeatureTests) ... ok testUseFeatures (setuptools.tests.FeatureTests) ... ok testConflictingOptions (setuptools.tests.TestCommandTests) ... ok testDefaultSuite (setuptools.tests.TestCommandTests) ... ok testDefaultWModuleOnCmdLine (setuptools.tests.TestCommandTests) ... ok testLongOptSuiteWNoDefault (setuptools.tests.TestCommandTests) ... ok testNoSuite (setuptools.tests.TestCommandTests) ... ok testTestIsCommand (setuptools.tests.TestCommandTests) ... ok Doctest: api_tests.txt ... ok test_bdist_egg (setuptools.tests.test_bdist_egg.TestDevelopTest) ... warning: build_py: byte-compiling is disabled, skipping. warning: install_lib: byte-compiling is disabled, skipping. ok test_get_ext_filename (setuptools.tests.test_build_ext.TestBuildExtTest) ... ok test_develop (setuptools.tests.test_develop.TestDevelopTest) ... ok test_conditional_dependencies (setuptools.tests.test_dist_info.TestDistInfo) ... ok test_distinfo (setuptools.tests.test_dist_info.TestDistInfo) ... ok test_get_script_args (setuptools.tests.test_easy_install.TestEasyInstallTest) ... ok test_install_site_py (setuptools.tests.test_easy_install.TestEasyInstallTest) ... [?1034hCreating /tmp/portage/dev-python/setuptools-0.6.32/temp/python2.5/tmp4oGJ0w/site.py warning: easy_install: byte-compiling is disabled, skipping. ok test_no_find_links (setuptools.tests.test_easy_install.TestEasyInstallTest) ... Not found: link1 Not found: link2 ok test_no_setup_cfg (setuptools.tests.test_easy_install.TestEasyInstallTest) ... ok a pth file manager should set dirty ... /tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/command/easy_install.py:1638: UserWarning: Unbuilt egg for Unknown [unknown version] (/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5) Environment.add(self,dist) ok test_add_from_site_is_ignored (setuptools.tests.test_easy_install.TestPTHFileWriter) ... /tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5/setuptools/command/easy_install.py:1638: UserWarning: Unbuilt egg for Unknown [unknown version] (/test/location/does-not-have-to-exist) Environment.add(self,dist) ok test_setup_requires_honors_fetch_params (setuptools.tests.test_easy_install.TestSetupRequires) ... Creating /tmp/portage/dev-python/setuptools-0.6.32/temp/python2.5/tmpdTU6E1/site.py warning: easy_install: byte-compiling is disabled, skipping. Processing distribute-test-fetcher-1.0.tar.gz Writing /tmp/portage/dev-python/setuptools-0.6.32/temp/python2.5/easy_install-Sd9PRh/setup.cfg Running setup.py -q bdist_egg --dist-dir /tmp/portage/dev-python/setuptools-0.6.32/temp/python2.5/easy_install-Sd9PRh/egg-dist-tmp-TJdj-n Checking .pth file support in . /usr/bin/python2.5 -E -c pass Searching for does-not-exist Reading http://localhost:32819/does-not-exist/ localhost.localdomain - - [13/Dec/2012 19:31:11] "GET /does-not-exist/ HTTP/1.1" 200 - Couldn't find index page for 'does-not-exist' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://localhost:32819/ localhost.localdomain - - [13/Dec/2012 19:31:11] "GET / HTTP/1.1" 200 - No local packages or download links found for does-not-exist ok test_local_index (setuptools.tests.test_easy_install.TestUserInstallTest) ... warning: easy_install: byte-compiling is disabled, skipping. ok test_multiproc_atexit (setuptools.tests.test_easy_install.TestUserInstallTest) ... ok Regression test for issue #318 ... ERROR test_user_install_implied (setuptools.tests.test_easy_install.TestUserInstallTest) ... ok test_user_install_not_implied_without_usersite_enabled (setuptools.tests.test_easy_install.TestUserInstallTest) ... ok test_markers (setuptools.tests.test_markerlib.TestMarkerlib) ... ok testCollection (setuptools.tests.test_resources.DistroTests) ... ok testDistroBasics (setuptools.tests.test_resources.DistroTests) ... ok testDistroDependsOptions (setuptools.tests.test_resources.DistroTests) ... ok testDistroDependsSimple (setuptools.tests.test_resources.DistroTests) ... ok testDistroMetadata (setuptools.tests.test_resources.DistroTests) ... ok testDistroParse (setuptools.tests.test_resources.DistroTests) ... ok testResolve (setuptools.tests.test_resources.DistroTests) ... ok testSetuptoolsDistributeCombination (setuptools.tests.test_resources.DistroTests) ... ok testBasics (setuptools.tests.test_resources.EntryPointTests) ... ok testParse (setuptools.tests.test_resources.EntryPointTests) ... ok testParseList (setuptools.tests.test_resources.EntryPointTests) ... ok testParseMap (setuptools.tests.test_resources.EntryPointTests) ... ok testRejects (setuptools.tests.test_resources.EntryPointTests) ... ok test_two_levels_deep (setuptools.tests.test_resources.NamespaceTests) ... ok testEmptyParse (setuptools.tests.test_resources.ParseTests) ... ok testSafeName (setuptools.tests.test_resources.ParseTests) ... ok testSafeVersion (setuptools.tests.test_resources.ParseTests) ... ok testSimpleRequirements (setuptools.tests.test_resources.ParseTests) ... ok testSplitting (setuptools.tests.test_resources.ParseTests) ... ok testVersionEquality (setuptools.tests.test_resources.ParseTests) ... ok testVersionOrdering (setuptools.tests.test_resources.ParseTests) ... ok testYielding (setuptools.tests.test_resources.ParseTests) ... ok testAdvancedContains (setuptools.tests.test_resources.RequirementsTests) ... ok testBasicContains (setuptools.tests.test_resources.RequirementsTests) ... ok testBasics (setuptools.tests.test_resources.RequirementsTests) ... ok testDistributeSetuptoolsOverride (setuptools.tests.test_resources.RequirementsTests) ... ok testOptionsAndHashing (setuptools.tests.test_resources.RequirementsTests) ... ok testOrdering (setuptools.tests.test_resources.RequirementsTests) ... ok testVersionEquality (setuptools.tests.test_resources.RequirementsTests) ... ok test_get_script_header (setuptools.tests.test_resources.ScriptHeaderTests) ... ok test_get_script_header_jython_workaround (setuptools.tests.test_resources.ScriptHeaderTests) ... ok test_devnull (setuptools.tests.test_sandbox.TestSandbox) ... ok test_manifest_is_read_with_utf8_encoding (setuptools.tests.test_sdist.TestSdistTest) ... ok test_manifest_is_written_with_utf8_encoding (setuptools.tests.test_sdist.TestSdistTest) ... ok Regression test for pull request #4: ensures that files listed in ... ok test_sdist_with_latin1_encoded_filename (setuptools.tests.test_sdist.TestSdistTest) ... ok test_sdist_with_utf8_encoded_filename (setuptools.tests.test_sdist.TestSdistTest) ... ok test_test (setuptools.tests.test_test.TestTestTest) ... ok test_create_zipfile (setuptools.tests.test_upload_docs.TestUploadDocsTest) ... ok ====================================================================== 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: 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 {'__file__':setup_script, '__name__':'__main__'} File "setup.py", line 2, in 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. ---------------------------------------------------------------------- Ran 80 tests in 1.673s FAILED (errors=1) * ERROR: dev-python/setuptools-0.6.32 failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 2953: Called distutils-r1_src_test * environment, line 951: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2812: Called distutils-r1_run_phase 'python_test' * environment, line 880: Called python_test * environment, line 2916: Called esetup.py 'test' * environment, line 1628: Called die * The specific snippet of code: * "${@}" || die * * If you need support, post the output of `emerge --info '=dev-python/setuptools-0.6.32'`, * the complete build log and the output of `emerge -pqv '=dev-python/setuptools-0.6.32'`. * The complete build log is located at '/var/log/portage/dev-python:setuptools-0.6.32:20121213-183057.log'. * For convenience, a symlink to the build log is located at '/tmp/portage/dev-python/setuptools-0.6.32/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-python/setuptools-0.6.32/temp/environment'. * Working directory: '/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32-python2_5' * S: '/tmp/portage/dev-python/setuptools-0.6.32/work/distribute-0.6.32'