{"action":"opened","issue":{"url":"https://api.github.com/repos/dronekit/dronekit-python/issues/794","repository_url":"https://api.github.com/repos/dronekit/dronekit-python","labels_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/794/comments","events_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/794/events","html_url":"https://github.com/dronekit/dronekit-python/issues/794","id":293780829,"number":794,"title":"filed building wheel for lxml","user":{"login":"moonsummer","id":30172731,"avatar_url":"https://avatars2.githubusercontent.com/u/30172731?v=4","gravatar_id":"","url":"https://api.github.com/users/moonsummer","html_url":"https://github.com/moonsummer","followers_url":"https://api.github.com/users/moonsummer/followers","following_url":"https://api.github.com/users/moonsummer/following{/other_user}","gists_url":"https://api.github.com/users/moonsummer/gists{/gist_id}","starred_url":"https://api.github.com/users/moonsummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonsummer/subscriptions","organizations_url":"https://api.github.com/users/moonsummer/orgs","repos_url":"https://api.github.com/users/moonsummer/repos","events_url":"https://api.github.com/users/moonsummer/events{/privacy}","received_events_url":"https://api.github.com/users/moonsummer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T05:52:07Z","updated_at":"2018-02-02T05:52:07Z","closed_at":null,"author_association":"NONE","body":"\r\nI run this command sudo pip install --upgrade droneapi always appear lxml faild and wait long time install.\r\nshoud I use pip install lxml? \r\n===========================\r\nThe directory '/home/farsight/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\r\nRequirement already up-to-date: droneapi in /usr/local/lib/python2.7/dist-packages\r\nRequirement already up-to-date: pymavlink>=1.1.50 in /usr/local/lib/python2.7/dist-packages (from droneapi)\r\nRequirement already up-to-date: MAVProxy>=1.4.13 in /usr/local/lib/python2.7/dist-packages (from droneapi)\r\nRequirement already up-to-date: protobuf>=2.5.0 in /usr/local/lib/python2.7/dist-packages (from droneapi)\r\nRequirement already up-to-date: requests==2.5.1 in /usr/local/lib/python2.7/dist-packages (from droneapi)\r\nRequirement already up-to-date: future in /usr/local/lib/python2.7/dist-packages (from pymavlink>=1.1.50->droneapi)\r\nCollecting lxml (from pymavlink>=1.1.50->droneapi)\r\n  Using cached lxml-4.1.1.tar.gz\r\nCollecting pyserial>=3.0 (from MAVProxy>=1.4.13->droneapi)\r\n  Using cached pyserial-3.4-py2.py3-none-any.whl\r\nRequirement already up-to-date: six>=1.9 in /usr/local/lib/python2.7/dist-packages (from protobuf>=2.5.0->droneapi)\r\nRequirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (from protobuf>=2.5.0->droneapi)\r\nInstalling collected packages: lxml, pyserial\r\n  Running setup.py install for lxml ... \\\r\n\r\nerror\r\n    Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-1jQTmj/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-Z535dk-record/install-record.txt --single-version-externally-managed --compile:\r\n    Building lxml version 4.1.1.\r\n    Building without Cython.\r\n    Using build configuration of libxslt 1.1.28\r\n    running install\r\n    running build\r\n    running build_py\r\n    creating build\r\n    creating build/lib.linux-armv7l-2.7\r\n    creating build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/sax.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/__init__.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/cssselect.py -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/builder.py -> build/lib.linux-armv7l-2.7/lxml\r\n    creating build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    creating build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/clean.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/diff.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/builder.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    copying src/lxml/html/defs.py -> build/lib.linux-armv7l-2.7/lxml/html\r\n    creating build/lib.linux-armv7l-2.7/lxml/isoschematron\r\n    copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-2.7/lxml/isoschematron\r\n    copying src/lxml/etree.h -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/etree_api.h -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-2.7/lxml\r\n    copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-2.7/lxml/includes\r\n    creating build/lib.linux-armv7l-2.7/lxml/isoschematron/resources\r\n    creating build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/rng\r\n    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/rng\r\n    creating build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl\r\n    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl\r\n    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl\r\n    creating build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1\r\n    running build_ext\r\n    building 'lxml.etree' extension\r\n    creating build/temp.linux-armv7l-2.7\r\n    creating build/temp.linux-armv7l-2.7/src\r\n    creating build/temp.linux-armv7l-2.7/src/lxml\r\n    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DCYTHON_CLINE_IN_TRACEBACK=1 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/etree.c -o build/temp.linux-armv7l-2.7/src/lxml/etree.o -w\r\n    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/lxml/etree.o -lxslt -lexslt -lxml2 -lrt -lz -lm -o build/lib.linux-armv7l-2.7/lxml/etree.so\r\n    /usr/bin/ld: cannot find -lz\r\n    collect2: error: ld returned 1 exit status\r\n    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\nCommand \"/usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-1jQTmj/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-Z535dk-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-1jQTmj/lxml/\r\n"}}
{"actor":{"display_login":"moonsummer"}}