Skip to content

Instantly share code, notes, and snippets.

@brantz
Created November 20, 2012 10:19
Show Gist options
  • Save brantz/4117128 to your computer and use it in GitHub Desktop.
Save brantz/4117128 to your computer and use it in GitHub Desktop.
pip install -r requirements.txt
Downloading/unpacking lxml (from -r requirements.txt (line 1))
Downloading lxml-3.0.1.tar.gz (3.2MB): 3.2MB downloaded
Running setup.py egg_info for package lxml
Building lxml version 3.0.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
warning: no previously-included files found matching '*.py'
warning: no files found matching '*.txt' under directory 'src/lxml/tests'
Downloading/unpacking nose (from -r requirements.txt (line 2))
Downloading nose-1.2.1.tar.gz (400kB): 400kB downloaded
Running setup.py egg_info for package nose
no previously-included directories found matching 'doc/.build'
Downloading/unpacking bottle (from -r requirements.txt (line 3))
Downloading bottle-0.11.3.tar.gz (60kB): 60kB downloaded
Running setup.py egg_info for package bottle
Installing collected packages: lxml, nose, bottle
Running setup.py install for lxml
Building lxml version 3.0.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
building 'lxml.etree' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/usr/include/libxml2 -I/private/var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml/src/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.etree.o -flat_namespace
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-flat_namespace'
src/lxml/lxml.etree.c:40783:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->prefix == NULL)) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40783:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->prefix == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40783:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->prefix == NULL)) {
^~
=
src/lxml/lxml.etree.c:40813:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->href == NULL)) {
~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40813:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->href == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40813:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->href == NULL)) {
^~
=
src/lxml/lxml.etree.c:116794:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns_uri == NULL)) {
~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:116794:25: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns_uri == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:116794:25: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns_uri == NULL)) {
^~
=
src/lxml/lxml.etree.c:132608:72: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_self->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L9;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:133997:70: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_stylesheet->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:12128:13: warning: function '__pyx_f_4lxml_5etree_displayNode' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void __pyx_f_4lxml_5etree_displayNode(xmlNode *__pyx_v_c_node, PyObject *__pyx_v_indent) {
^
6 warnings generated.
src/lxml/lxml.etree.c:18219:111: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_text_node = xmlNewCDataBlock(__pyx_v_c_node->doc, (const xmlChar*)PyBytes_AS_STRING(__pyx_t_2), PyBytes_GET_SIZE(__pyx_t_3));
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/bytesobject.h:8:26: note: expanded from macro 'PyBytes_GET_SIZE'
#define PyBytes_GET_SIZE PyString_GET_SIZE
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op) Py_SIZE(op)
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:20501:120: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_tag = xmlDictLookup(__pyx_v_c_doc->dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_tag)), __pyx_t_9);
~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:20561:120: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_tag = xmlDictExists(__pyx_v_c_doc->dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_tag)), __pyx_t_9);
~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:33738:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_text_size = strlen(__pyx_v_msg);
~ ^~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:33747:30: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_element_size = strlen(__pyx_v_c_element);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:33821:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_text_size = strlen(__pyx_v_c_text);
~ ^~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:33830:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_element_size = strlen(__pyx_v_c_element);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:40783:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->prefix == NULL)) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40783:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->prefix == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40783:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->prefix == NULL)) {
^~
=
src/lxml/lxml.etree.c:40813:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->href == NULL)) {
~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40813:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->href == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40813:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->href == NULL)) {
^~
=
src/lxml/lxml.etree.c:54835:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_r = __pyx_t_8;
~ ^~~~~~~~~
src/lxml/lxml.etree.c:56281:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_2 = __pyx_v_self->_tag_count;
~ ~~~~~~~~~~~~~~^~~~~~~~~~
src/lxml/lxml.etree.c:78941:72: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_enc = __pyx_f_4lxml_5etree__findEncodingName(__pyx_v_buffer, __pyx_v_l);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:80380:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_v_c_byte_count = (__pyx_v_c_byte_count + __pyx_v_remaining);
~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:80398:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_v_c_requested = (__pyx_v_c_requested - __pyx_v_remaining);
~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:80823:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_r = fread(__pyx_v_c_buffer, 1, __pyx_v_c_size, ((FILE *)__pyx_v_ctxt));
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:81198:35: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_input->length = PyBytes_GET_SIZE(__pyx_v_data);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/bytesobject.h:8:26: note: expanded from macro 'PyBytes_GET_SIZE'
#define PyBytes_GET_SIZE PyString_GET_SIZE
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op) Py_SIZE(op)
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:85860:24: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_buffer_len = __pyx_v_py_buffer_len;
~ ^~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:86260:80: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_result = htmlCtxtReadMemory(__pyx_v_pctxt, __pyx_v_c_text, __pyx_v_c_len, __pyx_v_c_filename, __pyx_v_c_encoding, __pyx_v_self->_parse_options);
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/lxml/lxml.etree.c:86316:79: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_result = xmlCtxtReadMemory(__pyx_v_pctxt, __pyx_v_c_text, __pyx_v_c_len, __pyx_v_c_filename, __pyx_v_c_encoding, __pyx_v_self->_parse_options);
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/lxml/lxml.etree.c:102254:127: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_prefix = xmlDictExists(__pyx_v_c_dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_prefix_utf)), __pyx_t_8);
~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:107671:81: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_error = __pyx_v_self->_parse_chunk(__pyx_v_pctxt, __pyx_v_c_data, __pyx_v_c_data_len, __pyx_v_done);
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:107833:83: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_error = __pyx_v_self->_parse_chunk(__pyx_v_pctxt, __pyx_v_c_data, __pyx_v_c_data_len, __pyx_v_done);
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:116794:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns_uri == NULL)) {
~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:116794:25: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns_uri == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:116794:25: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns_uri == NULL)) {
^~
=
src/lxml/lxml.etree.c:132608:72: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_self->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L9;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:133776:146: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
(__pyx_v_params[__pyx_v_i]) = ((const char *)xmlDictLookup(__pyx_v_c_dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_k)), __pyx_t_12));
~~~~~~~~~~~~~ ^~~~~~~~~~
src/lxml/lxml.etree.c:133799:146: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
(__pyx_v_params[__pyx_v_i]) = ((const char *)xmlDictLookup(__pyx_v_c_dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_v)), __pyx_t_12));
~~~~~~~~~~~~~ ^~~~~~~~~~
src/lxml/lxml.etree.c:133997:70: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_stylesheet->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:12128:13: warning: function '__pyx_f_4lxml_5etree_displayNode' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void __pyx_f_4lxml_5etree_displayNode(xmlNode *__pyx_v_c_node, PyObject *__pyx_v_indent) {
^
28 warnings generated.
clang -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.macosx-10.8-intel-2.7/lxml/etree.so
building 'lxml.objectify' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/usr/include/libxml2 -I/private/var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml/src/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.objectify.c -o build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.objectify.o -flat_namespace
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-flat_namespace'
src/lxml/lxml.objectify.c:5360:108: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_tag = xmlDictExists(__pyx_v_c_node->doc->dict, (const xmlChar*)PyBytes_AS_STRING(__pyx_v_tag), PyBytes_GET_SIZE(__pyx_v_tag));
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/bytesobject.h:8:26: note: expanded from macro 'PyBytes_GET_SIZE'
#define PyBytes_GET_SIZE PyString_GET_SIZE
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op) Py_SIZE(op)
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.objectify.c:19445:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_t_4 = __pyx_v_istree;
~ ^~~~~~~~~~~~~~
src/lxml/lxml.objectify.c:23044:135: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_t_2 = __pyx_f_4lxml_9objectify__findObjectPath(__pyx_v_root, __pyx_v_self->_c_path, __pyx_v_self->_path_len, __pyx_v_default, __pyx_v_use_default); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
3 warnings generated.
clang -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.objectify.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.macosx-10.8-intel-2.7/lxml/objectify.so
error: could not create '/Library/Python/2.7/site-packages/lxml': Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-WzkCnu-record/install-record.txt --single-version-externally-managed:
Building lxml version 3.0.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
running install
running build
running build_py
creating build
creating build/lib.macosx-10.8-intel-2.7
creating build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.8-intel-2.7/lxml
creating build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.8-intel-2.7/lxml/includes
creating build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.8-intel-2.7/lxml/html
creating build/lib.macosx-10.8-intel-2.7/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.8-intel-2.7/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.8-intel-2.7/lxml
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.8-intel-2.7/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.8-intel-2.7/lxml/includes
creating build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources
creating build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.8-intel-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.8-intel-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.8-intel-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.8-intel-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.8-intel-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.8-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.8-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.8-intel-2.7
creating build/temp.macosx-10.8-intel-2.7/src
creating build/temp.macosx-10.8-intel-2.7/src/lxml
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/usr/include/libxml2 -I/private/var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml/src/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.etree.o -flat_namespace
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-flat_namespace'
src/lxml/lxml.etree.c:40783:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->prefix == NULL)) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40783:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->prefix == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40783:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->prefix == NULL)) {
^~
=
src/lxml/lxml.etree.c:40813:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->href == NULL)) {
~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40813:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->href == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40813:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->href == NULL)) {
^~
=
src/lxml/lxml.etree.c:116794:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns_uri == NULL)) {
~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:116794:25: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns_uri == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:116794:25: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns_uri == NULL)) {
^~
=
src/lxml/lxml.etree.c:132608:72: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_self->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L9;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:133997:70: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_stylesheet->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:12128:13: warning: function '__pyx_f_4lxml_5etree_displayNode' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void __pyx_f_4lxml_5etree_displayNode(xmlNode *__pyx_v_c_node, PyObject *__pyx_v_indent) {
^
6 warnings generated.
src/lxml/lxml.etree.c:18219:111: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_text_node = xmlNewCDataBlock(__pyx_v_c_node->doc, (const xmlChar*)PyBytes_AS_STRING(__pyx_t_2), PyBytes_GET_SIZE(__pyx_t_3));
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/bytesobject.h:8:26: note: expanded from macro 'PyBytes_GET_SIZE'
#define PyBytes_GET_SIZE PyString_GET_SIZE
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op) Py_SIZE(op)
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:20501:120: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_tag = xmlDictLookup(__pyx_v_c_doc->dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_tag)), __pyx_t_9);
~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:20561:120: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_tag = xmlDictExists(__pyx_v_c_doc->dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_tag)), __pyx_t_9);
~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:33738:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_text_size = strlen(__pyx_v_msg);
~ ^~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:33747:30: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_element_size = strlen(__pyx_v_c_element);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:33821:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_text_size = strlen(__pyx_v_c_text);
~ ^~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:33830:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_v_element_size = strlen(__pyx_v_c_element);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:40783:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->prefix == NULL)) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40783:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->prefix == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40783:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->prefix == NULL)) {
^~
=
src/lxml/lxml.etree.c:40813:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns->href == NULL)) {
~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:40813:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns->href == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:40813:33: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns->href == NULL)) {
^~
=
src/lxml/lxml.etree.c:54835:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_r = __pyx_t_8;
~ ^~~~~~~~~
src/lxml/lxml.etree.c:56281:31: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_t_2 = __pyx_v_self->_tag_count;
~ ~~~~~~~~~~~~~~^~~~~~~~~~
src/lxml/lxml.etree.c:78941:72: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_enc = __pyx_f_4lxml_5etree__findEncodingName(__pyx_v_buffer, __pyx_v_l);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:80380:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_v_c_byte_count = (__pyx_v_c_byte_count + __pyx_v_remaining);
~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:80398:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_v_c_requested = (__pyx_v_c_requested - __pyx_v_remaining);
~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:80823:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
__pyx_r = fread(__pyx_v_c_buffer, 1, __pyx_v_c_size, ((FILE *)__pyx_v_ctxt));
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:81198:35: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_input->length = PyBytes_GET_SIZE(__pyx_v_data);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/bytesobject.h:8:26: note: expanded from macro 'PyBytes_GET_SIZE'
#define PyBytes_GET_SIZE PyString_GET_SIZE
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op) Py_SIZE(op)
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:85860:24: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_buffer_len = __pyx_v_py_buffer_len;
~ ^~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:86260:80: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_result = htmlCtxtReadMemory(__pyx_v_pctxt, __pyx_v_c_text, __pyx_v_c_len, __pyx_v_c_filename, __pyx_v_c_encoding, __pyx_v_self->_parse_options);
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/lxml/lxml.etree.c:86316:79: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_result = xmlCtxtReadMemory(__pyx_v_pctxt, __pyx_v_c_text, __pyx_v_c_len, __pyx_v_c_filename, __pyx_v_c_encoding, __pyx_v_self->_parse_options);
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/lxml/lxml.etree.c:102254:127: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_prefix = xmlDictExists(__pyx_v_c_dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_prefix_utf)), __pyx_t_8);
~~~~~~~~~~~~~ ^~~~~~~~~
src/lxml/lxml.etree.c:107671:81: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_error = __pyx_v_self->_parse_chunk(__pyx_v_pctxt, __pyx_v_c_data, __pyx_v_c_data_len, __pyx_v_done);
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:107833:83: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_error = __pyx_v_self->_parse_chunk(__pyx_v_pctxt, __pyx_v_c_data, __pyx_v_c_data_len, __pyx_v_done);
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:116794:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((__pyx_v_c_ns_uri == NULL)) {
~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.etree.c:116794:25: note: remove extraneous parentheses around the comparison to silence this warning
if ((__pyx_v_c_ns_uri == NULL)) {
~ ^ ~
src/lxml/lxml.etree.c:116794:25: note: use '=' to turn this equality comparison into an assignment
if ((__pyx_v_c_ns_uri == NULL)) {
^~
=
src/lxml/lxml.etree.c:132608:72: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_self->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L9;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:133776:146: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
(__pyx_v_params[__pyx_v_i]) = ((const char *)xmlDictLookup(__pyx_v_c_dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_k)), __pyx_t_12));
~~~~~~~~~~~~~ ^~~~~~~~~~
src/lxml/lxml.etree.c:133799:146: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
(__pyx_v_params[__pyx_v_i]) = ((const char *)xmlDictLookup(__pyx_v_c_dict, (const xmlChar*)PyBytes_AS_STRING(((PyObject *)__pyx_v_v)), __pyx_t_12));
~~~~~~~~~~~~~ ^~~~~~~~~~
src/lxml/lxml.etree.c:133997:70: warning: incompatible pointer types passing 'struct __pyx_obj_4lxml_5etree__BaseContext *' to parameter of type 'struct __pyx_obj_4lxml_5etree__XSLTContext *' [-Wincompatible-pointer-types]
__pyx_t_1 = ((PyObject *)__pyx_f_4lxml_5etree_12_XSLTContext__copy(((struct __pyx_obj_4lxml_5etree__BaseContext *)__pyx_v_stylesheet->_context))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lxml/lxml.etree.c:130569:138: note: passing argument to parameter '__pyx_v_self' here
static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) {
^
src/lxml/lxml.etree.c:12128:13: warning: function '__pyx_f_4lxml_5etree_displayNode' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void __pyx_f_4lxml_5etree_displayNode(xmlNode *__pyx_v_c_node, PyObject *__pyx_v_indent) {
^
28 warnings generated.
clang -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.macosx-10.8-intel-2.7/lxml/etree.so
building 'lxml.objectify' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/usr/include/libxml2 -I/private/var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml/src/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.objectify.c -o build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.objectify.o -flat_namespace
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang: warning: argument unused during compilation: '-flat_namespace'
src/lxml/lxml.objectify.c:5360:108: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_v_c_tag = xmlDictExists(__pyx_v_c_node->doc->dict, (const xmlChar*)PyBytes_AS_STRING(__pyx_v_tag), PyBytes_GET_SIZE(__pyx_v_tag));
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/bytesobject.h:8:26: note: expanded from macro 'PyBytes_GET_SIZE'
#define PyBytes_GET_SIZE PyString_GET_SIZE
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/stringobject.h:92:32: note: expanded from macro 'PyString_GET_SIZE'
#define PyString_GET_SIZE(op) Py_SIZE(op)
^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/object.h:116:56: note: expanded from macro 'Py_SIZE'
#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/lxml/lxml.objectify.c:19445:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
__pyx_t_4 = __pyx_v_istree;
~ ^~~~~~~~~~~~~~
src/lxml/lxml.objectify.c:23044:135: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
__pyx_t_2 = __pyx_f_4lxml_9objectify__findObjectPath(__pyx_v_root, __pyx_v_self->_c_path, __pyx_v_self->_path_len, __pyx_v_default, __pyx_v_use_default); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
3 warnings generated.
clang -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.objectify.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.macosx-10.8-intel-2.7/lxml/objectify.so
running install_lib
creating /Library/Python/2.7/site-packages/lxml
error: could not create '/Library/Python/2.7/site-packages/lxml': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-WzkCnu-record/install-record.txt --single-version-externally-managed failed with error code 1 in /var/folders/g7/ycsqpkfj08g0d1508pllzgr00000gn/T/pip-build/lxml
Storing complete log in /Users/brantz/Library/Logs/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment