Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mock requires setuptools>=17.1 but 18.4 is installed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Sun Nov 15, 2015 12:37 pm    Post subject: mock requires setuptools>=17.1 but 18.4 is installed Reply with quote

Code:
# emerge -1 =dev-python/mock-1.3.0-r1
Calculating dependencies  . ........ done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/mock-1.3.0-r1::gentoo
 * mock-1.3.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking mock-1.3.0.tar.gz to /var/tmp/portage/dev-python/mock-1.3.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/mock-1.3.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/mock-1.3.0-r1/work/mock-1.3.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/mock-1.3.0-r1/work/mock-1.3.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/mock-1.3.0-r1/work/mock-1.3.0 ...
 * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.4 setup.py build
mock requires setuptools>=17.1. Aborting installation
 * ERROR: dev-python/mock-1.3.0-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3541:  Called distutils-r1_src_compile
 *   environment, line  917:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  348:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3101:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2231:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2229:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  600:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  908:  Called distutils-r1_python_compile
 *   environment, line  787:  Called esetup.py 'build'
 *   environment, line 1397:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 *
 * If you need support, post the output of `emerge --info '=dev-python/mock-1.3.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/mock-1.3.0-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-python/mock-1.3.0-r1:20151115-114945.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/mock-1.3.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/mock-1.3.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/mock-1.3.0-r1/work/mock-1.3.0'
 * S: '/var/tmp/portage/dev-python/mock-1.3.0-r1/work/mock-1.3.0'

>>> Failed to emerge dev-python/mock-1.3.0-r1, Log file:

but setuptools-18.4 is installed:
Code:
# eix setuptools
[I] dev-python/setuptools
     Available versions:  2.2 7.0 ~8.0.1 ~8.2.1 ~9.1 12.0.1 ~12.0.3 ~12.0.5 ~15.0 ~15.2 ~16.0 ~17.0 ~17.1.1 ~18.0.1 ~18.1 ~18.2 ~18.2-r2 ~18.2-r3 ~18.3.2 18.4 ~18.5 **9999 {test PYTHON_TARGETS="pypy pypy3 python2_7 python3_3 python3_4 python3_5"}
     Installed versions:  18.4(10:42:00 PM 11/06/2015)(-test PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5")
     Homepage:            https://pypi.python.org/pypi/setuptools
     Description:         a collection of extensions to Distutils
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Nov 15, 2015 5:15 pm    Post subject: Reply with quote

emc ...

can you post 'emerge --info =dev-python/mock-1.3.0-r1' and pastebin the build.log. Also, does 'python-updater -p' return anything requiring a rebuild?

best ... khay
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Sun Nov 15, 2015 9:13 pm    Post subject: Reply with quote

Funny thing firs i did python-updated and it do some emerge but then I run it again with -p and still I got some packages to upgrage, here is output for second run:
Code:
# python-updater -p
 * Starting Python Updater...
 * Main active version of Python:    3.4
 * Active version of Python 2:       2.7
 * Active version of Python 3:       3.4
 * Globally supported Python ABIs in installed repositories:
 *   emc:                            2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   funtoo-deadbeef:                2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   gentoo:                         2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   mv:                             2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   spring:                         2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   sublime-text:                   2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   sunrise:                        2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   Adding to list: app-editors/sublime-text:3
 *   Adding to list: dev-python/gnome-python-desktop-base:0
 *   Adding to list: games-strategy/freeorion:0
 *   Adding to list: net-misc/dropbox:0
 *   Adding to list: sys-apps/i2c-tools:0
 * emerge -Dv1 --keep-going -p app-editors/sublime-text:3 dev-python/gnome-python-desktop-base:0 games-strategy/freeorion:0 net-misc/dropbox:0 sys-apps/i2c-tools:0


dev-python/mock-1.3.0-r1 build.log
emerge --info of mock
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Thu Nov 26, 2015 10:22 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Nov 26, 2015 11:43 am    Post subject: Reply with quote

emc ... your issue seems to have been fixed, but 1.0.3 (the current release) has the old (and seemingly broken) setup.py.

You could 'ebuild mock-1.3.0-r1.ebuild unpack', replace setup.py with this and 'ebuild mock-1.3.0-r1.ebuild compile' to test. If it successfully builds then you have a bug ... and can 'ebuild mock-1.3.0-r1.ebuild qmerge' and report.

Sorry for not getting back sooner, sometimes I miss a post or two ...

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum