New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed the PyPy special cases (for PyPy 4.1) #187

Merged
merged 1 commit into from Feb 25, 2016

Conversation

Projects
None yet
6 participants
@arigo

arigo commented Feb 23, 2016

PyPy trunk (and future PyPy 4.1) contains now https://bitbucket.org/pypy/pypy/commits/3144c72295ae which improves the cpyext compatibility. It removes the need for these few hacks (which never fully worked, as discussed on pypy-dev).

@scoder

This comment has been minimized.

Show comment
Hide comment
@scoder

scoder Feb 25, 2016

Member

Thanks for working on this.

Member

scoder commented Feb 25, 2016

Thanks for working on this.

scoder added a commit that referenced this pull request Feb 25, 2016

Merge pull request #187 from arigo/master
Removed the PyPy special cases (for PyPy 4.1)

@scoder scoder merged commit 3585b57 into lxml:master Feb 25, 2016

1 check failed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
@tebanep

This comment has been minimized.

Show comment
Hide comment
@tebanep

tebanep commented Feb 26, 2016

+1

@SimonSapin

This comment has been minimized.

Show comment
Hide comment
@SimonSapin

SimonSapin Mar 10, 2016

Contributor

@scoder Could you publish an lxml version with this change on PyPI? Thanks!

Contributor

SimonSapin commented Mar 10, 2016

@scoder Could you publish an lxml version with this change on PyPI? Thanks!

@tebanep

This comment has been minimized.

Show comment
Hide comment
@tebanep

tebanep Mar 11, 2016

it would be great as PyPy has now released a new version: 5.0. It has the required functionality to be compatible with the next release of lxml out of the box.

http://morepypy.blogspot.com.co/

tebanep commented Mar 11, 2016

it would be great as PyPy has now released a new version: 5.0. It has the required functionality to be compatible with the next release of lxml out of the box.

http://morepypy.blogspot.com.co/

@ruipacheco

This comment has been minimized.

Show comment
Hide comment
@ruipacheco

ruipacheco Mar 12, 2016

What's the state for this change? I'm still getting errors building lxml with Pypy 5.0

ruipacheco commented Mar 12, 2016

What's the state for this change? I'm still getting errors building lxml with Pypy 5.0

@arigo

This comment has been minimized.

Show comment
Hide comment
@arigo

arigo Mar 13, 2016

Works for me on "master" revision 0334372, in a fresh virtualenv in which I first did pip install cython, on a 64-bit Linux. Please give some more details, either here or in a PyPy bug report.

arigo commented Mar 13, 2016

Works for me on "master" revision 0334372, in a fresh virtualenv in which I first did pip install cython, on a 64-bit Linux. Please give some more details, either here or in a PyPy bug report.

@ruipacheco

This comment has been minimized.

Show comment
Hide comment
@ruipacheco

ruipacheco Mar 13, 2016

I'm trying to install pyquery which depends on lxml with pypy 5.0 on the latest OSX. I installed pypy via Macports, if it matters:

$ pypy
Python 2.7.10 (246c9cf22037b11dc0e8c29ce3f291d3b8c5935a, Mar 11 2016, 22:54:35)
[PyPy 5.0.0 with GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>> 

I create an empty virtualenv:

$ virtualenv -p /opt/local/bin/pypy .venv_pypy
Running virtualenv with interpreter /opt/local/bin/pypy
New pypy executable in /Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy
Installing setuptools, pip, wheel...done.

And then try to install PyQuery and it fails with the same error I had before:

$ pip install pyquery
Collecting pyquery
  Using cached pyquery-1.2.11-py2-none-any.whl
Collecting lxml>=2.1 (from pyquery)
  Using cached lxml-3.5.0.tar.gz
Collecting cssselect>0.7.9 (from pyquery)
Building wheels for collected packages: lxml
  Running setup.py bdist_wheel for lxml ... error
  Complete output from command /Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/tmp07paafpip-wheel- --python-tag pp250:
  Building lxml version 3.5.0.
  Building without Cython.
  Using build configuration of libxslt 1.1.28
  Building against libxml2/libxslt in the following directory: /opt/local/lib
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.11-x86_64-2.7
  creating build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/cssselect.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/sax.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/clean.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/defs.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/diff.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
  copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
  copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
  copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
  copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
  copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  running build_ext
  building 'lxml.etree' extension
  creating build/temp.macosx-10.11-x86_64-2.7
  creating build/temp.macosx-10.11-x86_64-2.7/src
  creating build/temp.macosx-10.11-x86_64-2.7/src/lxml
  cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -Isrc/lxml/includes -I/Users/ruipacheco/Projects/repsandsets/.venv_pypy/include -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-x86_64-2.7/src/lxml/lxml.etree.o -w -flat_namespace
  src/lxml/lxml.etree.c:4323:15: error: no member named 'tracing' in 'struct _ts'
        tstate->tracing++;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:4324:15: error: no member named 'use_tracing' in 'struct _ts'
        tstate->use_tracing = 0;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:4325:35: error: no member named 'c_tracefunc' in 'struct _ts'
        if (CYTHON_TRACE && tstate->c_tracefunc)
                            ~~~~~~  ^
  src/lxml/lxml.etree.c:4326:19: error: no member named 'c_tracefunc' in 'struct _ts'
            tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
            ~~~~~~  ^
  src/lxml/lxml.etree.c:4326:39: error: no member named 'c_traceobj' in 'struct _ts'
            tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                ~~~~~~  ^
  src/lxml/lxml.etree.c:4326:58: error: use of undeclared identifier 'PyTrace_RETURN'
            tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                                           ^
  src/lxml/lxml.etree.c:4327:19: error: no member named 'c_profilefunc' in 'struct _ts'
        if (tstate->c_profilefunc)
            ~~~~~~  ^
  src/lxml/lxml.etree.c:4328:19: error: no member named 'c_profilefunc' in 'struct _ts'
            tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
            ~~~~~~  ^
  src/lxml/lxml.etree.c:4328:41: error: no member named 'c_profileobj' in 'struct _ts'
            tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                  ~~~~~~  ^
  src/lxml/lxml.etree.c:4328:62: error: use of undeclared identifier 'PyTrace_RETURN'
            tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                                               ^
  src/lxml/lxml.etree.c:4330:15: error: no member named 'use_tracing' in 'struct _ts'
        tstate->use_tracing = 1;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:4331:15: error: no member named 'tracing' in 'struct _ts'
        tstate->tracing--;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4275:32: note: expanded from macro '__Pyx_TraceCall'
            if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                         ~~~~~~  ^
  src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
    #define unlikely(x) __builtin_expect(!!(x), 0)
                                            ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4275:57: note: expanded from macro '__Pyx_TraceCall'
            if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                                  ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4276:28: note: expanded from macro '__Pyx_TraceCall'
                    (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                     ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'c_tracefunc' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4276:70: note: expanded from macro '__Pyx_TraceCall'
                    (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                                                               ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4284:28: note: expanded from macro '__Pyx_TraceCall'
        if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                     ~~~~~~  ^
  src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
    #define unlikely(x) __builtin_expect(!!(x), 0)
                                            ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4284:53: note: expanded from macro '__Pyx_TraceCall'
        if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                              ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4285:24: note: expanded from macro '__Pyx_TraceCall'
                (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                 ~~~~~~  ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  Compile failed: command 'cc' failed with exit status 1
  creating var
  creating var/folders
  creating var/folders/9d
  creating var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp
  creating var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T
  cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include/libxml2 -c /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.c -o var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.o
  /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  main (int argc, char **argv) {
  ^
  1 warning generated.
  cc -arch x86_64 var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.o -L/opt/local/lib -lxml2 -o a.out
  error: command 'cc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for lxml
  Running setup.py clean for lxml
Failed to build lxml
Installing collected packages: lxml, cssselect, pyquery
  Running setup.py install for lxml ... error
    Complete output from command /Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-SkND3x-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ruipacheco/Projects/repsandsets/.venv_pypy/include/site/python2.7/lxml:
    Building lxml version 3.5.0.
    Building without Cython.
    Using build configuration of libxslt 1.1.28
    Building against libxml2/libxslt in the following directory: /opt/local/lib
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.11-x86_64-2.7
    creating build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/cssselect.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/sax.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/clean.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/defs.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/diff.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
    copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
    copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    creating build/temp.macosx-10.11-x86_64-2.7
    creating build/temp.macosx-10.11-x86_64-2.7/src
    creating build/temp.macosx-10.11-x86_64-2.7/src/lxml
    cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -Isrc/lxml/includes -I/Users/ruipacheco/Projects/repsandsets/.venv_pypy/include -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-x86_64-2.7/src/lxml/lxml.etree.o -w -flat_namespace
    src/lxml/lxml.etree.c:4323:15: error: no member named 'tracing' in 'struct _ts'
          tstate->tracing++;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:4324:15: error: no member named 'use_tracing' in 'struct _ts'
          tstate->use_tracing = 0;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:4325:35: error: no member named 'c_tracefunc' in 'struct _ts'
          if (CYTHON_TRACE && tstate->c_tracefunc)
                              ~~~~~~  ^
    src/lxml/lxml.etree.c:4326:19: error: no member named 'c_tracefunc' in 'struct _ts'
              tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
              ~~~~~~  ^
    src/lxml/lxml.etree.c:4326:39: error: no member named 'c_traceobj' in 'struct _ts'
              tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                  ~~~~~~  ^
    src/lxml/lxml.etree.c:4326:58: error: use of undeclared identifier 'PyTrace_RETURN'
              tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                                             ^
    src/lxml/lxml.etree.c:4327:19: error: no member named 'c_profilefunc' in 'struct _ts'
          if (tstate->c_profilefunc)
              ~~~~~~  ^
    src/lxml/lxml.etree.c:4328:19: error: no member named 'c_profilefunc' in 'struct _ts'
              tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
              ~~~~~~  ^
    src/lxml/lxml.etree.c:4328:41: error: no member named 'c_profileobj' in 'struct _ts'
              tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                    ~~~~~~  ^
    src/lxml/lxml.etree.c:4328:62: error: use of undeclared identifier 'PyTrace_RETURN'
              tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                                                 ^
    src/lxml/lxml.etree.c:4330:15: error: no member named 'use_tracing' in 'struct _ts'
          tstate->use_tracing = 1;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:4331:15: error: no member named 'tracing' in 'struct _ts'
          tstate->tracing--;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4275:32: note: expanded from macro '__Pyx_TraceCall'
              if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                           ~~~~~~  ^
    src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
      #define unlikely(x) __builtin_expect(!!(x), 0)
                                              ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4275:57: note: expanded from macro '__Pyx_TraceCall'
              if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                                    ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4276:28: note: expanded from macro '__Pyx_TraceCall'
                      (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                       ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'c_tracefunc' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4276:70: note: expanded from macro '__Pyx_TraceCall'
                      (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                                                                 ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4284:28: note: expanded from macro '__Pyx_TraceCall'
          if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                       ~~~~~~  ^
    src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
      #define unlikely(x) __builtin_expect(!!(x), 0)
                                              ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4284:53: note: expanded from macro '__Pyx_TraceCall'
          if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                                ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4285:24: note: expanded from macro '__Pyx_TraceCall'
                  (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                   ~~~~~~  ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    Compile failed: command 'cc' failed with exit status 1
    cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include/libxml2 -c /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.c -o var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.o
    /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    main (int argc, char **argv) {
    ^
    1 warning generated.
    cc -arch x86_64 var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.o -L/opt/local/lib -lxml2 -o a.out
    error: command 'cc' failed with exit status 1

    ----------------------------------------
Command "/Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-SkND3x-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ruipacheco/Projects/repsandsets/.venv_pypy/include/site/python2.7/lxml" failed with error code 1 in /private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml

ruipacheco commented Mar 13, 2016

I'm trying to install pyquery which depends on lxml with pypy 5.0 on the latest OSX. I installed pypy via Macports, if it matters:

$ pypy
Python 2.7.10 (246c9cf22037b11dc0e8c29ce3f291d3b8c5935a, Mar 11 2016, 22:54:35)
[PyPy 5.0.0 with GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>> 

I create an empty virtualenv:

$ virtualenv -p /opt/local/bin/pypy .venv_pypy
Running virtualenv with interpreter /opt/local/bin/pypy
New pypy executable in /Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy
Installing setuptools, pip, wheel...done.

And then try to install PyQuery and it fails with the same error I had before:

$ pip install pyquery
Collecting pyquery
  Using cached pyquery-1.2.11-py2-none-any.whl
Collecting lxml>=2.1 (from pyquery)
  Using cached lxml-3.5.0.tar.gz
Collecting cssselect>0.7.9 (from pyquery)
Building wheels for collected packages: lxml
  Running setup.py bdist_wheel for lxml ... error
  Complete output from command /Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/tmp07paafpip-wheel- --python-tag pp250:
  Building lxml version 3.5.0.
  Building without Cython.
  Using build configuration of libxslt 1.1.28
  Building against libxml2/libxslt in the following directory: /opt/local/lib
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.11-x86_64-2.7
  creating build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/cssselect.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/sax.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/clean.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/defs.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/diff.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
  copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
  copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
  copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
  copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
  copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
  copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
  creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  running build_ext
  building 'lxml.etree' extension
  creating build/temp.macosx-10.11-x86_64-2.7
  creating build/temp.macosx-10.11-x86_64-2.7/src
  creating build/temp.macosx-10.11-x86_64-2.7/src/lxml
  cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -Isrc/lxml/includes -I/Users/ruipacheco/Projects/repsandsets/.venv_pypy/include -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-x86_64-2.7/src/lxml/lxml.etree.o -w -flat_namespace
  src/lxml/lxml.etree.c:4323:15: error: no member named 'tracing' in 'struct _ts'
        tstate->tracing++;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:4324:15: error: no member named 'use_tracing' in 'struct _ts'
        tstate->use_tracing = 0;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:4325:35: error: no member named 'c_tracefunc' in 'struct _ts'
        if (CYTHON_TRACE && tstate->c_tracefunc)
                            ~~~~~~  ^
  src/lxml/lxml.etree.c:4326:19: error: no member named 'c_tracefunc' in 'struct _ts'
            tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
            ~~~~~~  ^
  src/lxml/lxml.etree.c:4326:39: error: no member named 'c_traceobj' in 'struct _ts'
            tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                ~~~~~~  ^
  src/lxml/lxml.etree.c:4326:58: error: use of undeclared identifier 'PyTrace_RETURN'
            tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                                           ^
  src/lxml/lxml.etree.c:4327:19: error: no member named 'c_profilefunc' in 'struct _ts'
        if (tstate->c_profilefunc)
            ~~~~~~  ^
  src/lxml/lxml.etree.c:4328:19: error: no member named 'c_profilefunc' in 'struct _ts'
            tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
            ~~~~~~  ^
  src/lxml/lxml.etree.c:4328:41: error: no member named 'c_profileobj' in 'struct _ts'
            tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                  ~~~~~~  ^
  src/lxml/lxml.etree.c:4328:62: error: use of undeclared identifier 'PyTrace_RETURN'
            tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                                               ^
  src/lxml/lxml.etree.c:4330:15: error: no member named 'use_tracing' in 'struct _ts'
        tstate->use_tracing = 1;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:4331:15: error: no member named 'tracing' in 'struct _ts'
        tstate->tracing--;
        ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4275:32: note: expanded from macro '__Pyx_TraceCall'
            if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                         ~~~~~~  ^
  src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
    #define unlikely(x) __builtin_expect(!!(x), 0)
                                            ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4275:57: note: expanded from macro '__Pyx_TraceCall'
            if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                                  ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4276:28: note: expanded from macro '__Pyx_TraceCall'
                    (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                     ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'c_tracefunc' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4276:70: note: expanded from macro '__Pyx_TraceCall'
                    (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                                                               ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4284:28: note: expanded from macro '__Pyx_TraceCall'
        if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                     ~~~~~~  ^
  src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
    #define unlikely(x) __builtin_expect(!!(x), 0)
                                            ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4284:53: note: expanded from macro '__Pyx_TraceCall'
        if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                              ~~~~~~  ^
  src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
    __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  src/lxml/lxml.etree.c:4285:24: note: expanded from macro '__Pyx_TraceCall'
                (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                 ~~~~~~  ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  Compile failed: command 'cc' failed with exit status 1
  creating var
  creating var/folders
  creating var/folders/9d
  creating var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp
  creating var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T
  cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include/libxml2 -c /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.c -o var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.o
  /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  main (int argc, char **argv) {
  ^
  1 warning generated.
  cc -arch x86_64 var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInit5PoWiT.o -L/opt/local/lib -lxml2 -o a.out
  error: command 'cc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for lxml
  Running setup.py clean for lxml
Failed to build lxml
Installing collected packages: lxml, cssselect, pyquery
  Running setup.py install for lxml ... error
    Complete output from command /Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-SkND3x-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ruipacheco/Projects/repsandsets/.venv_pypy/include/site/python2.7/lxml:
    Building lxml version 3.5.0.
    Building without Cython.
    Using build configuration of libxslt 1.1.28
    Building against libxml2/libxslt in the following directory: /opt/local/lib
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.11-x86_64-2.7
    creating build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/cssselect.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/sax.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/builder.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/clean.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/defs.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/diff.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/html
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
    copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron
    copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-x86_64-2.7/lxml
    copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-x86_64-2.7/lxml/includes
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/rng
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl
    creating build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    creating build/temp.macosx-10.11-x86_64-2.7
    creating build/temp.macosx-10.11-x86_64-2.7/src
    creating build/temp.macosx-10.11-x86_64-2.7/src/lxml
    cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -Isrc/lxml/includes -I/Users/ruipacheco/Projects/repsandsets/.venv_pypy/include -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-x86_64-2.7/src/lxml/lxml.etree.o -w -flat_namespace
    src/lxml/lxml.etree.c:4323:15: error: no member named 'tracing' in 'struct _ts'
          tstate->tracing++;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:4324:15: error: no member named 'use_tracing' in 'struct _ts'
          tstate->use_tracing = 0;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:4325:35: error: no member named 'c_tracefunc' in 'struct _ts'
          if (CYTHON_TRACE && tstate->c_tracefunc)
                              ~~~~~~  ^
    src/lxml/lxml.etree.c:4326:19: error: no member named 'c_tracefunc' in 'struct _ts'
              tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
              ~~~~~~  ^
    src/lxml/lxml.etree.c:4326:39: error: no member named 'c_traceobj' in 'struct _ts'
              tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                  ~~~~~~  ^
    src/lxml/lxml.etree.c:4326:58: error: use of undeclared identifier 'PyTrace_RETURN'
              tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result);
                                                             ^
    src/lxml/lxml.etree.c:4327:19: error: no member named 'c_profilefunc' in 'struct _ts'
          if (tstate->c_profilefunc)
              ~~~~~~  ^
    src/lxml/lxml.etree.c:4328:19: error: no member named 'c_profilefunc' in 'struct _ts'
              tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
              ~~~~~~  ^
    src/lxml/lxml.etree.c:4328:41: error: no member named 'c_profileobj' in 'struct _ts'
              tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                    ~~~~~~  ^
    src/lxml/lxml.etree.c:4328:62: error: use of undeclared identifier 'PyTrace_RETURN'
              tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result);
                                                                 ^
    src/lxml/lxml.etree.c:4330:15: error: no member named 'use_tracing' in 'struct _ts'
          tstate->use_tracing = 1;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:4331:15: error: no member named 'tracing' in 'struct _ts'
          tstate->tracing--;
          ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4275:32: note: expanded from macro '__Pyx_TraceCall'
              if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                           ~~~~~~  ^
    src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
      #define unlikely(x) __builtin_expect(!!(x), 0)
                                              ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4275:57: note: expanded from macro '__Pyx_TraceCall'
              if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                                    ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4276:28: note: expanded from macro '__Pyx_TraceCall'
                      (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                       ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'c_tracefunc' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4276:70: note: expanded from macro '__Pyx_TraceCall'
                      (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                                                                 ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'use_tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4284:28: note: expanded from macro '__Pyx_TraceCall'
          if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                       ~~~~~~  ^
    src/lxml/lxml.etree.c:555:43: note: expanded from macro 'unlikely'
      #define unlikely(x) __builtin_expect(!!(x), 0)
                                              ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'tracing' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4284:53: note: expanded from macro '__Pyx_TraceCall'
          if (unlikely(tstate->use_tracing) && !tstate->tracing &&\
                                                ~~~~~~  ^
    src/lxml/lxml.etree.c:8735:3: error: no member named 'c_profilefunc' in 'struct _ts'
      __Pyx_TraceCall("__getitem__", __pyx_f[0], 111, 0, {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;});
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/lxml/lxml.etree.c:4285:24: note: expanded from macro '__Pyx_TraceCall'
                  (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\
                   ~~~~~~  ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    Compile failed: command 'cc' failed with exit status 1
    cc -arch x86_64 -O2 -fPIC -Wimplicit -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include/libxml2 -c /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.c -o var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.o
    /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    main (int argc, char **argv) {
    ^
    1 warning generated.
    cc -arch x86_64 var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/xmlXPathInitfUkpun.o -L/opt/local/lib -lxml2 -o a.out
    error: command 'cc' failed with exit status 1

    ----------------------------------------
Command "/Users/ruipacheco/Projects/repsandsets/.venv_pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-SkND3x-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ruipacheco/Projects/repsandsets/.venv_pypy/include/site/python2.7/lxml" failed with error code 1 in /private/var/folders/9d/x80sw8_x3hd2mp04hxndy2q80000gp/T/pip-build-zluTRO/lxml
@arigo

This comment has been minimized.

Show comment
Hide comment
@arigo

arigo Mar 14, 2016

You need lxml trunk. Your command installs lxml-3.5.0.

arigo commented Mar 14, 2016

You need lxml trunk. Your command installs lxml-3.5.0.

@SimonSapin

This comment has been minimized.

Show comment
Hide comment
@SimonSapin
Contributor

SimonSapin commented Mar 17, 2016

@tebanep

This comment has been minimized.

Show comment
Hide comment
@tebanep

tebanep Mar 18, 2016

Awesome!

On Thu, Mar 17, 2016 at 9:52 AM, Simon Sapin notifications@github.com
wrote:

https://pypi.python.org/pypi/lxml/3.6.0 includes this. Thanks @scoder
https://github.com/scoder !


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#187 (comment)

tebanep commented Mar 18, 2016

Awesome!

On Thu, Mar 17, 2016 at 9:52 AM, Simon Sapin notifications@github.com
wrote:

https://pypi.python.org/pypi/lxml/3.6.0 includes this. Thanks @scoder
https://github.com/scoder !


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#187 (comment)

@arigo

This comment has been minimized.

Show comment
Hide comment
@arigo

arigo Mar 18, 2016

lxml issues found, you may want to wait until PyPy 5.0.1 (very soon).

arigo commented Mar 18, 2016

lxml issues found, you may want to wait until PyPy 5.0.1 (very soon).

@deronnax

This comment has been minimized.

Show comment
Hide comment
@deronnax

deronnax Jan 16, 2017

is it fixed now in lxml and Pypy last released versions ?

deronnax commented Jan 16, 2017

is it fixed now in lxml and Pypy last released versions ?

@arigo

This comment has been minimized.

Show comment
Hide comment
@arigo

arigo Jan 16, 2017

My comment fixed an lxml issue in PyPy 5.0.1, released last year. PyPy is now at version 5.6. Please an another issue (either here or in PyPy's https://bitbucket.org/pypy/pypy/issues/ ) if there are still problems.

arigo commented Jan 16, 2017

My comment fixed an lxml issue in PyPy 5.0.1, released last year. PyPy is now at version 5.6. Please an another issue (either here or in PyPy's https://bitbucket.org/pypy/pypy/issues/ ) if there are still problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment