running install running install_lib creating /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7 creating /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7/usr creating /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7/usr/lib64 creating /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7/usr/lib64/python2.7 creating /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7/usr/lib64/python2.7/site-packages copying build-2.7/lib/pymtp.py -> /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7/usr/lib64/python2.7/site-packages warning: install_lib: byte-compiling is disabled, skipping. running install_egg_info Writing /var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7/usr/lib64/python2.7/site-packages/PyMTP-0.0.4-py2.7.egg-info * Installation of dev-python/pymtp-0.0.4 with PyPy 1.7 (Python 2.7)... pypy-c1.7 setup.py build -b build-2.7-pypy-1.7 install --no-compile --root=/var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7-pypy-1.7 'import site' failed usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'install' * ERROR: dev-python/pymtp-0.0.4 failed (install phase): * Installation failed with PyPy 1.7 (Python 2.7) in distutils_installation() function
+ 20 Feb 2012; Patrick Lauer <patrick@gentoo.org> pymtp-0.0.4.ebuild: + Restricting pypy #403831
(In reply to comment #0) > * Installation of dev-python/pymtp-0.0.4 with PyPy 1.7 (Python 2.7)... > pypy-c1.7 setup.py build -b build-2.7-pypy-1.7 install --no-compile > --root=/var/tmp/portage/dev-python/pymtp-0.0.4/temp/images/2.7-pypy-1.7 > 'import site' failed This looks like some kind of system issue: I am unable to reproduce it with pypy-1.8-r1 (confirmed creating an mtp instance and calling connect() on it works, although in my case that just means "raises NoDeviceConnected"). I've removed the restriction again, please reopen if you can reproduce this failure.