[pypy-issue] [issue1503] portability of PyPy binaries
dktc
tracker at bugs.pypy.org
Thu May 30 22:40:24 CEST 2013
New submission from dktc <dkruglyak+pypy at gmail.com>:
Since PyPy takes so much time and resources to build, I want to build/distribute
it centrally
within our environment (all same CentOS 5.8 systems).
I built PyPy 2.0.2 on one of our boxes and then copied the build and virtualenv
directories to
the box where I want to use it. While I was able to run PyPy and install basic
packages with PIP,
I am running into trouble with the ones that compile native code (see log
below).
Any idea what might be missing? The same lxml package installs find on the
initial build box.
====================================
(pypy-2.0.2)[root at localhost ~]# pip install lxml
Downloading/unpacking lxml
Running setup.py egg_info for package lxml
Building lxml version 2.3.4.
Building without Cython.
Using build configuration of libxslt 1.1.17
Building against libxml2/libxslt in the following directory: /usr/lib64
Installing collected packages: lxml
Running setup.py install for lxml
Building lxml version 2.3.4.
Building without Cython.
Using build configuration of libxslt 1.1.17
Building against libxml2/libxslt in the following directory: /usr/lib64
building 'lxml.etree' extension
cc -O2 -fPIC -Wimplicit -I/usr/include/libxml2 -I/opt/pypy-2.0.2/include -c
src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function â__Pyx_PyObject_Popâ:
src/lxml/lxml.etree.c:3684: error: âPyListObjectâ has no member named
âallocatedâ
src/lxml/lxml.etree.c: In function âinitetreeâ:
src/lxml/lxml.etree.c:158525: error: âPyWrapperDescrObjectâ undeclared
(first use in this
function)
src/lxml/lxml.etree.c:158525: error: (Each undeclared identifier is reported
only once
src/lxml/lxml.etree.c:158525: error: for each function it appears in.)
src/lxml/lxml.etree.c:158525: error: expected expression before â)â token
src/lxml/lxml.etree.c:158525: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_2__setitem__â
has an incomplete type
src/lxml/lxml.etree.c:158526: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158527: error: expected expression before â)â token
src/lxml/lxml.etree.c:158533: error: expected expression before â)â token
src/lxml/lxml.etree.c:158533: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_3__delitem__â
has an incomplete type
src/lxml/lxml.etree.c:158534: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158535: error: expected expression before â)â token
src/lxml/lxml.etree.c:158541: error: expected expression before â)â token
src/lxml/lxml.etree.c:158541: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_15__repr__â
has an incomplete type
src/lxml/lxml.etree.c:158542: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158543: error: expected expression before â)â token
src/lxml/lxml.etree.c:158549: error: expected expression before â)â token
src/lxml/lxml.etree.c:158549: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_16__getitem__â
has an incomplete type
src/lxml/lxml.etree.c:158550: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158551: error: expected expression before â)â token
src/lxml/lxml.etree.c:158557: error: expected expression before â)â token
src/lxml/lxml.etree.c:158557: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_17__len__â has
an incomplete type
src/lxml/lxml.etree.c:158558: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158559: error: expected expression before â)â token
src/lxml/lxml.etree.c:158565: error: expected expression before â)â token
src/lxml/lxml.etree.c:158565: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_19__contains__â has an incomplete type
src/lxml/lxml.etree.c:158566: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158567: error: expected expression before â)â token
src/lxml/lxml.etree.c:158573: error: expected expression before â)â token
src/lxml/lxml.etree.c:158573: error:
â__pyx_wrapperbase_4lxml_5etree_8_Element_20__iter__â
has an incomplete type
src/lxml/lxml.etree.c:158574: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158575: error: expected expression before â)â token
src/lxml/lxml.etree.c:158670: error: expected expression before â)â token
src/lxml/lxml.etree.c:158670: error:
â__pyx_wrapperbase_4lxml_5etree_20__ContentOnlyElement_3__setitem__â has an
incomplete type
src/lxml/lxml.etree.c:158671: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158672: error: expected expression before â)â token
src/lxml/lxml.etree.c:158678: error: expected expression before â)â token
src/lxml/lxml.etree.c:158678: error:
â__pyx_wrapperbase_4lxml_5etree_20__ContentOnlyElement_4__getitem__â has an
incomplete type
src/lxml/lxml.etree.c:158679: error: invalid use of undefined type âstruct
wrapperbaseâ
src/lxml/lxml.etree.c:158680: error: expected expression before â)â token
src/lxml/lxml.etree.c:158686: error: expected expression before â)â token
src/lxml/lxml.etree.c:158686: error:
â__pyx_wrapperbase_4lxml_5etree_20__ContentOnlyElement_5__len__â has an
incomplete type
.....................
src/lxml/lxml.etree.c:164363: error: âPyThreadStateâ has no member named
âexc_tracebackâ
src/lxml/lxml.etree.c:164364: error: âPyThreadStateâ has no member named
âexc_typeâ
src/lxml/lxml.etree.c:164365: error: âPyThreadStateâ has no member named
âexc_valueâ
src/lxml/lxml.etree.c:164366: error: âPyThreadStateâ has no member named
âexc_tracebackâ
src/lxml/lxml.etree.c: In function â__Pyx_ExceptionSaveâ:
src/lxml/lxml.etree.c:164530: error: âPyThreadStateâ has no member named
âexc_typeâ
src/lxml/lxml.etree.c:164531: error: âPyThreadStateâ has no member named
âexc_valueâ
src/lxml/lxml.etree.c:164532: error: âPyThreadStateâ has no member named
âexc_tracebackâ
src/lxml/lxml.etree.c: In function â__Pyx_ExceptionResetâ:
src/lxml/lxml.etree.c:164541: error: âPyThreadStateâ has no member named
âexc_typeâ
src/lxml/lxml.etree.c:164542: error: âPyThreadStateâ has no member named
âexc_valueâ
src/lxml/lxml.etree.c:164543: error: âPyThreadStateâ has no member named
âexc_tracebackâ
src/lxml/lxml.etree.c:164544: error: âPyThreadStateâ has no member named
âexc_typeâ
src/lxml/lxml.etree.c:164545: error: âPyThreadStateâ has no member named
âexc_valueâ
src/lxml/lxml.etree.c:164546: error: âPyThreadStateâ has no member named
âexc_tracebackâ
src/lxml/lxml.etree.c: In function â__Pyx_Method_ClassMethodâ:
src/lxml/lxml.etree.c:164833: error: âPyMethodDescrObjectâ undeclared (first use
in this
function)
src/lxml/lxml.etree.c:164833: error: âdescrâ undeclared (first use in this
function)
src/lxml/lxml.etree.c:164833: error: expected expression before â)â token
error: command 'cc' failed with exit status 1
----------------------------------------
Command /opt/pypy-2.0.2/bin/pypy-c -c "import setuptools;__file__='/opt/pypy-
2.0.2/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__,
'exec'))" install --record /tmp/pip-wyYlE9-record/install-record.txt --single-
version-externally-
managed --install-headers /opt/pypy-2.0.2/include/site/python2.7 failed with
error code 1 in
/opt/pypy-2.0.2/build/lxml
Storing complete log in /root/.pip/pip.log
----------
messages: 5792
nosy: pypy-issue
priority: bug
status: unread
title: portability of PyPy binaries
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1503>
________________________________________
More information about the pypy-issue
mailing list