Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618896 - dev-python/paver-1.2.4 build failure with old versions of distribute and six
Summary: dev-python/paver-1.2.4 build failure with old versions of distribute and six
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 06:38 UTC by Frederik Schmid
Modified: 2017-05-23 15:16 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,6.00 KB, application/x-info)
2017-05-19 06:38 UTC, Frederik Schmid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Schmid 2017-05-19 06:38:30 UTC
Created attachment 473194 [details]
emerge --info

* Package:    dev-python/paver-1.2.4
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking Paver-1.2.4.tar.gz to /var/tmp/portage/dev-python/paver-1.2.4/work
>>> Source unpacked in /var/tmp/portage/dev-python/paver-1.2.4/work
>>> Preparing source in /var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
Traceback (most recent call last):
  File "setup.py", line 10, in <module>
    paver.tasks.main()
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/tasks.py", line 878, in main
    _launch_pavement(args)
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/tasks.py", line 858, in _launch_pavement
    _process_commands(args, auto_pending=auto_pending)
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/tasks.py", line 797, in _process_commands
    task, args = _parse_command_line(args)
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/tasks.py", line 716, in _parse_command_line
    task, taskname, args = _preparse(args)
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/tasks.py", line 672, in _preparse
    task = environment.get_task(taskname)
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/tasks.py", line 120, in get_task
    task = finder.get_task(taskname)
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/setuputils.py", line 191, in get_task
    dist = _get_distribution()                                                                                                          
  File "/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4/paver/setuputils.py", line 221, in _get_distribution
    dist = _Distribution(attrs=tasks.environment.options.get('setup', {}))
  File "/usr/lib64/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/dist.py", line 225, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/usr/lib64/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/dist.py", line 257, in finalize_options
    ep.require(installer=self.fetch_build_egg)
  File "/usr/lib64/python2.7/site-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 2029, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib64/python2.7/site-packages/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 592, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.4.1 (/usr/lib64/python2.7/site-packages), Requirement.parse('six>=1.10.0'))
 * ERROR: dev-python/paver-1.2.4::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 3637:  Called distutils-r1_src_compile
 *   environment, line  954:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  318:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3192:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2299:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2297:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  604:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  945:  Called distutils-r1_python_compile
 *   environment, line  820:  Called esetup.py 'build'
 *   environment, line 1432:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/paver-1.2.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/paver-1.2.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/paver-1.2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/paver-1.2.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4'
 * S: '/var/tmp/portage/dev-python/paver-1.2.4/work/Paver-1.2.4'
Comment 1 Mike Gilbert gentoo-dev 2017-05-23 15:02:13 UTC
It looks like you have very old versions of distribute and six installed in /usr/lib64/python2.7/site-packages. You probably installed them via pip or easy_install.

I suggest removing /usr/lib64/python2.7/distribute* and /usr/lib64/python2.7/six*.
Comment 2 Mike Gilbert gentoo-dev 2017-05-23 15:03:08 UTC
(In reply to Mike Gilbert from comment #1)
> I suggest removing /usr/lib64/python2.7/distribute* and
> /usr/lib64/python2.7/six*.

That should be /usr/lib64/python2.7/site-packages/distribute* and /usr/lib64/python2.7/site-packages/six*.
Comment 3 Frederik Schmid 2017-05-23 15:16:18 UTC
That solved it! Thanks a lot!