Added setuptools to ebuild in local overlay and argparse installed properly. Here is the error w/o setuptools: * Package: dev-python/argparse-1.2.1 * Repository: gentoo * Maintainer: djc@gentoo.org python@gentoo.org * USE: elibc_glibc kernel_linux userland_GNU x86 * FEATURES: sandbox splitdebug * 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 56: Called src_compile * environment, line 3265: Called distutils_src_compile * environment, line 829: Called python_execute_function 'distutils_building' * environment, line 1874: 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'. * S: '/var/tmp/portage/dev-python/argparse-1.2.1/work/argparse-1.2.1' Reproducible: Always
Hello Darren, have you recently upgraded your default python2 version from 2.6 or previous to 2.7? Did you run python-updater (app-admin/python-updater) afterwards? If not, please run it and retry to emerge __and__ report back. Thanks, Michael
Looks like 2.7.1 has been installed since Dec 14, 2010: 1292327423: ::: completed emerge (1 of 1) dev-lang/python-2.7.1 to / I'm pretty sure I ran python-updater at that time, but here's what I get now: # python-updater -p * Starting Python Updater... * Main active version of Python: 2.7 * Active version of Python 2: 2.7 * Active version of Python 3: (None) * Adding to list: dev-libs/boost:1.42 * check: manual [Added to list manually, see CHECKS in manpage for more information.] * Adding to list: x11-libs/vte:0 * check: manual [Added to list manually, see CHECKS in manpage for more information.] * emerge -Dv1 --keep-going -p dev-libs/boost:1.42 x11-libs/vte:0 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/boost-1.42.0-r2 USE="icu -debug -doc -eselect -mpi -python -static-libs -test -tools" 0 kB [0] [ebuild R ] x11-libs/vte-0.26.2 USE="-debug -doc -glade -gnome (-introspection) -python" 0 kB [?=>1] Total: 2 packages (2 reinstalls), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage [?] indicates that the source repository could not be determined
Sorry for not noticing this, more old bug. *** This bug has been marked as a duplicate of bug 361901 ***