Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534058 - dev-python/setuptools: TypeError: unorderable types: NoneType() < str()
Summary: dev-python/setuptools: TypeError: unorderable types: NoneType() < str()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://bitbucket.org/pypa/setuptools...
Whiteboard:
Keywords:
: 537538 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-31 04:05 UTC by Patrick Lauer
Modified: 2015-01-31 02:50 UTC (History)
2 users (show)

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


Attachments
Build log with failing tests (build.log,57.98 KB, text/plain)
2015-01-20 13:00 UTC, tka
Details
Cleanup egg-info files (distutils-r1_cleanup_egg_info.patch,803 bytes, patch)
2015-01-22 00:50 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2014-12-31 04:05:11 UTC
Creating /var/tmp/portage/dev-python/setuptools-9.1/temp/tmp4k6ee8/site.py
warning: easy_install: byte-compiling is disabled, skipping.

ok
test_no_find_links (setuptools.tests.test_easy_install.TestEasyInstallTest) ... ERROR
test_add_from_cwd_site_sets_dirty (setuptools.tests.test_easy_install.TestPTHFileWriter)
a pth file manager should set dirty ... /var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py:1557: UserWarning: Unbuilt egg for Unknown [unknown version] (/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3)
  Environment.add(self, dist)
ok
test_add_from_site_is_ignored (setuptools.tests.test_easy_install.TestPTHFileWriter) ... /var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py:1557: 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) ... ERROR
test_setup_requires_overrides_version_conflict (setuptools.tests.test_easy_install.TestSetupRequires) ... ERROR
test_local_index (setuptools.tests.test_easy_install.TestUserInstallTest) ... ERROR
test_multiproc_atexit (setuptools.tests.test_easy_install.TestUserInstallTest) ... INFO:test_easy_install:this should not break
ok
test_setup_requires (setuptools.tests.test_easy_install.TestUserInstallTest)
Regression test for Distribute issue #318 ... ERROR
test_user_install_implied (setuptools.tests.test_easy_install.TestUserInstallTest) ... ERROR
test_user_install_not_implied_without_usersite_enabled (setuptools.tests.test_easy_install.TestUserInstallTest) ... ok
test_egg_base_installed_egg_info (setuptools.tests.test_egg_info.TestEggInfo) ... FAIL
test_version_10_format (setuptools.tests.test_egg_info.TestEggInfo) ... skipped 'No SVN to text, in the first place'
test_version_10_format_legacy_parser (setuptools.tests.test_egg_info.TestEggInfo) ... ok
test_no_tags (setuptools.tests.test_egg_info.TestSvnDummy) ... skipped 'No SVN to text, in the first place'
test_sources (setuptools.tests.test_egg_info.TestSvnDummy) ... skipped 'No SVN to text, in the first place'
test_svn_tags (setuptools.tests.test_egg_info.TestSvnDummy) ... skipped 'No SVN to text, in the first place'
test_sources (setuptools.tests.test_egg_info.TestSvnDummyLegacy) ... ok

======================================================================
ERROR: test_develop (setuptools.tests.test_develop.TestDevelopTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_develop.py", line 76, in test_develop
    cmd.ensure_finalized()
  File "/usr/lib64/python3.3/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/develop.py", line 50, in finalize_options
    easy_install.finalize_options(self)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 318, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

======================================================================
ERROR: test_no_find_links (setuptools.tests.test_easy_install.TestEasyInstallTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_easy_install.py", line 91, in test_no_find_links
    cmd.ensure_finalized()
  File "/usr/lib64/python3.3/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 318, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

======================================================================
ERROR: test_setup_requires_honors_fetch_params (setuptools.tests.test_easy_install.TestSetupRequires)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_easy_install.py", line 283, in test_setup_requires_honors_fetch_params
    easy_install_pkg.main, ei_params)
  File "/usr/lib64/python3.3/unittest/case.py", line 570, in assertRaises
    return context.handle('assertRaises', callableObj, args, kwargs)
  File "/usr/lib64/python3.3/unittest/case.py", line 135, in handle
    callable_obj(*args, **kwargs)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 2152, in main
    lambda: setup(
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 2138, in with_ei_usage
    return f()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 2155, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python3.3/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.3/distutils/dist.py", line 930, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.3/distutils/dist.py", line 948, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib64/python3.3/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 318, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

======================================================================
ERROR: test_setup_requires_overrides_version_conflict (setuptools.tests.test_easy_install.TestSetupRequires)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_easy_install.py", line 333, in test_setup_requires_overrides_version_conflict
    run_setup(test_setup_py, ['--name'])
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 180, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 211, in run
    return func()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 179, in runner
    _execfile(setup_script, ns)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 44, in _execfile
    exec(code, globals, locals)
  File "/var/tmp/portage/dev-python/setuptools-9.1/temp/tmpxqxew6/test_pkg/setup.py", line 2, in <module>
  File "/usr/lib64/python3.3/distutils/core.py", line 109, in setup
    _setup_distribution = dist = klass(attrs)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/dist.py", line 266, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/dist.py", line 312, in fetch_build_eggs
    replace_conflicting=True,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 746, in resolve
    env = Environment(self.entries)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()
Comment 1 Patrick Lauer gentoo-dev 2014-12-31 04:05:22 UTC
======================================================================
ERROR: test_local_index (setuptools.tests.test_easy_install.TestUserInstallTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_easy_install.py", line 209, in test_local_index
    cmd.ensure_finalized()
  File "/usr/lib64/python3.3/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 318, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

======================================================================
ERROR: test_setup_requires (setuptools.tests.test_easy_install.TestUserInstallTest)
Regression test for Distribute issue #318
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_easy_install.py", line 243, in test_setup_requires
    run_setup(test_setup_py, ['install'])
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 180, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 211, in run
    return func()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 179, in runner
    _execfile(setup_script, ns)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/sandbox.py", line 44, in _execfile
    exec(code, globals, locals)
  File "/var/tmp/portage/dev-python/setuptools-9.1/temp/tmp_c_ft7/test_pkg/setup.py", line 2, in <module>
  File "/usr/lib64/python3.3/distutils/core.py", line 109, in setup
    _setup_distribution = dist = klass(attrs)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/dist.py", line 266, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/dist.py", line 312, in fetch_build_eggs
    replace_conflicting=True,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 746, in resolve
    env = Environment(self.entries)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

======================================================================
ERROR: test_user_install_implied (setuptools.tests.test_easy_install.TestUserInstallTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_easy_install.py", line 163, in test_user_install_implied
    cmd.ensure_finalized()
  File "/usr/lib64/python3.3/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 318, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()

======================================================================
FAIL: test_egg_base_installed_egg_info (setuptools.tests.test_egg_info.TestEggInfo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/tests/test_egg_info.py", line 125, in test_egg_base_installed_egg_info
    raise AssertionError(data)
AssertionError: /var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py:2449: PEP440Warning: 'ssl-fetch (Git)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    zip_safe=False,
  File "/usr/lib64/python3.3/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.3/distutils/dist.py", line 930, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.3/distutils/dist.py", line 949, in run_command
    cmd_obj.run()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/install.py", line 103, in do_egg_install
    cmd.ensure_finalized()  # finalize before bdist_egg munges install cmd
  File "/usr/lib64/python3.3/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/command/easy_install.py", line 318, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 933, in __init__
    self.scan(search_path)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 963, in scan
    self.add(dist)
  File "/var/tmp/portage/dev-python/setuptools-9.1/work/setuptools-9.1-python3_3/pkg_resources/__init__.py", line 983, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()


----------------------------------------------------------------------
Ran 130 tests in 2.867s

FAILED (failures=1, errors=7, skipped=9)
 * ERROR: dev-python/setuptools-9.1::gentoo failed (test phase):
 *   (no error message)
Comment 2 Patrick Lauer gentoo-dev 2014-12-31 04:05:32 UTC
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r1, 3.18.0-gentoo x86_64)
=================================================================
System uname: Linux-3.18.0-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     7919228 total,    520556 free
KiB Swap:   16777208 total,  16736880 free
Timestamp of tree: Unknown
sh bash 4.3_p30-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30-r1
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openvg pam pango pcre pdf phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg tcl tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xa xcb xcomposite xinerama xml xscreensaver xv xvfb xvid 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" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="vesa" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 3 Mike Gilbert gentoo-dev 2014-12-31 04:11:17 UTC
I cannot reproduce this.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2015-01-01 02:47:03 UTC
(In reply to Mike Gilbert from comment #3)
> I cannot reproduce this.

nor I
Comment 5 Patrick Lauer gentoo-dev 2015-01-18 03:23:13 UTC
+  18 Jan 2015; Patrick Lauer <patrick@gentoo.org> setuptools-12.0.1.ebuild:
+  Disable test phase that never passes #534058 etc.
Comment 6 Mike Gilbert gentoo-dev 2015-01-18 13:38:58 UTC
It works fine here.

+  18 Jan 2015; Mike Gilbert <floppym@gentoo.org> setuptools-12.0.1.ebuild:
+  Re-enable tests; patrick is the only one experiencing bug 534058.
Comment 7 Mike Gilbert gentoo-dev 2015-01-18 15:16:53 UTC
Arfrever found a related bug uptream. Added to URL.
Comment 8 Mike Gilbert gentoo-dev 2015-01-18 15:19:16 UTC
<Arfrever> The problem should be reproducible when at least one of the following packages was installed with FEATURES="test": ipdb, isodate, urwid, zope.testing
Comment 9 tka 2015-01-20 13:00:49 UTC
Created attachment 394406 [details]
Build log with failing tests

I can reproduce it with setuptools-12.0.3. See the attached log.


# emerge --info =dev-python/setuptools-12.0.3
Portage 2.2.15 (python 3.3.5-final-0, hardened/linux/amd64/no-multilib, gcc-4.9.2, glibc-2.20-r1, 3.18.3 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.3-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16401160 total,  13908704 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of tree: Tue, 20 Jan 2015 12:00:01 +0000
sh bash 4.3_p33
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.4, 4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: science gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig foomaticdb gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify lzma mad matroska mmap mmx mmxext modules mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre png policykit ppds readline sasl sdl session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vorbis wayland x264 xattr xcb xml xtpax xv xvid 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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="battery brightness logout menu power trash" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 10 Mike Gilbert gentoo-dev 2015-01-22 00:50:24 UTC
Created attachment 394558 [details, diff]
Cleanup egg-info files

Here's a workaround for distutils-r1.eclass. It removes any stray egg-info files/directories left over from the test phase.

You will need to re-install any packages which have previously installed un-versioned egg-infos in site-packages.

For example:

nose-1.3.4-py3.4.egg-info - good
nose.egg-info - bad
Comment 11 Mike Gilbert gentoo-dev 2015-01-25 05:33:14 UTC
*** Bug 537538 has been marked as a duplicate of this bug. ***
Comment 12 Patrick Lauer gentoo-dev 2015-01-26 07:31:44 UTC
(In reply to Mike Gilbert from comment #10)
> Created attachment 394558 [details, diff] [details, diff]
> Cleanup egg-info files
> 
> Here's a workaround for distutils-r1.eclass. It removes any stray egg-info
> files/directories left over from the test phase.
> 
> You will need to re-install any packages which have previously installed
> un-versioned egg-infos in site-packages.
> 
> For example:
> 
> nose-1.3.4-py3.4.egg-info - good
> nose.egg-info - bad


Looks good to me. Applying patch and re-merging nose (only one with unversioned eggy file) setuptools test phase works again.
Comment 13 Patrick Lauer gentoo-dev 2015-01-31 02:50:38 UTC
+  31 Jan 2015; Patrick Lauer <patrick@gentoo.org> distutils-r1.eclass:
+  Fix for setuptools failures #534058 etc.