Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge gentoolkit fails
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
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Wed Oct 10, 2012 10:57 am    Post subject: [SOLVED] emerge gentoolkit fails Reply with quote

I am installing a new system and emerge gentoolkit fails. Any idea how to solve it?

Code:

emerge gentoolkit
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-python/argparse-1.2.1
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
 * argparse-1.2.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                               [ ok ]
>>> Unpacking source...
>>> Unpacking argparse-1.2.1.tar.gz to /var/tmp/portage/dev-python/argparse-1.2.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/argparse-1.2.1/work
>>> Preparing source in /var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1 ...
 * Building of dev-python/argparse-1.2.1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
 * ERROR: dev-python/argparse-1.2.1 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3646:  Called distutils_src_compile
 *   environment, line  982:  Called python_execute_function 'distutils_building'
 *   environment, line 2030:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/argparse-1.2.1'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/argparse-1.2.1'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/argparse-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/argparse-1.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1'
 * S: '/var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1'

>>> Failed to emerge dev-python/argparse-1.2.1, Log file:

>>>  '/var/tmp/portage/dev-python/argparse-1.2.1/temp/build.log'

 * Messages for package dev-python/argparse-1.2.1:

 * ERROR: dev-python/argparse-1.2.1 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3646:  Called distutils_src_compile
 *   environment, line  982:  Called python_execute_function 'distutils_building'
 *   environment, line 2030:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/argparse-1.2.1'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/argparse-1.2.1'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/argparse-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/argparse-1.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1'
 * S: '/var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1'


Last edited by queen on Wed Oct 10, 2012 2:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Oct 10, 2012 12:00 pm    Post subject: Reply with quote

Please post the output of
Code:
eselect python list
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Wed Oct 10, 2012 1:15 pm    Post subject: Reply with quote

John R. Graham wrote:
Please post the output of
Code:
eselect python list
- John


Code:

eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Oct 10, 2012 1:33 pm    Post subject: Reply with quote

Thought so. You need to run
Code:
python-updater
and then retry your emerge of gentoolkit. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Wed Oct 10, 2012 2:22 pm    Post subject: Reply with quote

John R. Graham wrote:
Thought so. You need to run
Code:
python-updater
and then retry your emerge of gentoolkit. :wink:

- John


Thanks. It worked. :D
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