Hi, I have written a script to build a custom stage3, I am running it from time to time. All what script is doing is get stage3 and portage, unpack it, chroot into new stage, do some config things, upgrade it to ~arch and then emerge few apps to it, it failed today. Pure, new x86 gentoo, just upgraded to ~x86. It failing on building dev-python/argparse-1.2.1 because it can't make CPYTHON 3.2 module. On the other system, where I have 2.7, 3.1 and 3.2 python, it does not build a module for 3.2 version but 3.1 only, and it works. As a quick fix, I did export USE_PYTHON=2.7 and then emerge -1 argparse, to prevent from installing cpython module for python 3.2 The useful error part: ## CUT HERE * Building of dev-python/argparse-1.2.1 with CPython 2.7... python2.7 setup.py build -b build-2.7 running build running build_py creating build-2.7 creating build-2.7/lib copying argparse.py -> build-2.7/lib warning: build_py: byte-compiling is disabled, skipping. * Building of dev-python/argparse-1.2.1 with CPython 3.2... python3.2 setup.py build -b build-3.2 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 3.2 in distutils_building() function ## CUT HERE Reproducible: Always
I think this is my fault, I did not did python-update, sorry.