Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403833 - dev-python/ctypesgen-0_p72 fails to build with pypy
Summary: dev-python/ctypesgen-0_p72 fails to build with pypy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 08:06 UTC by Patrick Lauer
Modified: 2012-02-24 19:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-02-15 08:06:36 UTC
copying build-2.7/lib/ctypesgencore/printer/printer.py -> /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/lib64/python2.7/site-packages/ctypesgencore/printer
copying build-2.7/lib/ctypesgencore/printer/defaultheader.py -> /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/lib64/python2.7/site-packages/ctypesgencore/printer
copying build-2.7/lib/ctypesgencore/printer/preamble.py -> /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/lib64/python2.7/site-packages/ctypesgencore/printer
copying build-2.7/lib/ctypesgencore/printer/test.py -> /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/lib64/python2.7/site-packages/ctypesgencore/printer
copying build-2.7/lib/ctypesgencore/printer/__init__.py -> /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/lib64/python2.7/site-packages/ctypesgencore/printer
warning: install_lib: byte-compiling is disabled, skipping.

running install_scripts
creating /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/bin
copying build-2.7/scripts-2.7/ctypesgen.py -> /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/bin
changing mode of /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/bin/ctypesgen.py to 755
running install_egg_info
Writing /var/tmp/portage/dev-python/ctypesgen-0_p72/temp/images/2.7/usr/lib64/python2.7/site-packages/ctypesgen-0.0-py2.7.egg-info
 * Installation of dev-python/ctypesgen-0_p72 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/ctypesgen-0_p72/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/ctypesgen-0_p72 failed (install phase):
 *   Installation failed with PyPy 1.7 (Python 2.7) in distutils_installation() function
Comment 1 Patrick Lauer gentoo-dev 2012-02-20 15:16:52 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> ctypesgen-0_p72.ebuild:
+  Restricting pypy #403833
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2012-02-24 19:33:51 UTC
(In reply to comment #0)
>  * Installation of dev-python/ctypesgen-0_p72 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/ctypesgen-0_p72/temp/images/2.7-pypy-1.7
> 'import site' failed

Like bug #403831 this looks like a system issue, I am unable to reproduce it. I've reverted the change, please reopen if you can reproduce the original failure somehow.