Skip to content
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

Error install requirements #178

Open
Biggitybaked opened this issue Oct 19, 2021 · 5 comments · May be fixed by #185
Open

Error install requirements #178

Biggitybaked opened this issue Oct 19, 2021 · 5 comments · May be fixed by #185

Comments

@Biggitybaked
Copy link

Building wheels for collected packages: lxml
Building wheel for lxml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /data/data/com.termux/files/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/setup.py'"'"'; file='"'"'/data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /data/data/com.termux/files/usr/tmp/pip-wheel-z9tyc5oc
cwd: /data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/
Complete output (172 lines):
Building lxml version 4.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.34
Building against libxml2/libxslt in the following directory: /data/data/com.termux/files/usr/lib
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.10
creating build/lib.linux-aarch64-3.10/lxml
copying src/lxml/sax.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/builder.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/init.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/cssselect.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-aarch64-3.10/lxml
creating build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/init.py -> build/lib.linux-aarch64-3.10/lxml/includes
creating build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/init.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-aarch64-3.10/lxml/html
creating build/lib.linux-aarch64-3.10/lxml/isoschematron
copying src/lxml/isoschematron/init.py -> build/lib.linux-aarch64-3.10/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/etree_api.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/init.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-aarch64-3.10/lxml/includes
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/rng
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-aarch64-3.10
creating build/temp.linux-aarch64-3.10/src
creating build/temp.linux-aarch64-3.10/src/lxml
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/etree.c -o build/temp.linux-aarch64-3.10/src/lxml/etree.o -w
src/lxml/etree.c:220966:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:220968:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:221965:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:221967:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:222282:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:222284:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:223881:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:223883:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228109:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228111:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228358:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228360:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:230410:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:230412:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232585:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232587:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232898:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232900:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:233474:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
building 'lxml.objectify' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/objectify.c -o build/temp.linux-aarch64-3.10/src/lxml/objectify.o -w
src/lxml/objectify.c:34123:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/objectify.c:34125:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
2 errors generated.
building 'lxml.builder' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/builder.c -o build/temp.linux-aarch64-3.10/src/lxml/builder.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/builder.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/builder.cpython-310.so
building 'lxml._elementpath' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/_elementpath.c -o build/temp.linux-aarch64-3.10/src/lxml/_elementpath.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/_elementpath.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/_elementpath.cpython-310.so
building 'lxml.html.diff' extension
creating build/temp.linux-aarch64-3.10/src/lxml/html
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/html/diff.c -o build/temp.linux-aarch64-3.10/src/lxml/html/diff.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/html/diff.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/html/diff.cpython-310.so
building 'lxml.html.clean' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/html/clean.c -o build/temp.linux-aarch64-3.10/src/lxml/html/clean.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/html/clean.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/html/clean.cpython-310.so
building 'lxml.sax' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/sax.c -o build/temp.linux-aarch64-3.10/src/lxml/sax.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/sax.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/sax.cpython-310.so
Compile failed: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' failed with exit code 1
creating data
creating data/data
creating data/data/com.termux
creating data/data/com.termux/files
creating data/data/com.termux/files/usr
creating data/data/com.termux/files/usr/tmp
cc -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -I/usr/include/libxml2 -c /data/data/com.termux/files/usr/tmp/xmlXPathInit5zcom532.c -o data/data/com.termux/files/usr/tmp/xmlXPathInit5zcom532.o
cc data/data/com.termux/files/usr/tmp/xmlXPathInit5zcom532.o -L/data/data/com.termux/files/usr/lib -lxml2 -o a.out
error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' failed with exit code 1

ERROR: Failed building wheel for lxml
Running setup.py clean for lxml
Failed to build lxml
Installing collected packages: lxml, beautifulsoup4, selenium, MechanicalSoup
Running setup.py install for lxml ... error
ERROR: Command errored out with exit status 1:
command: /data/data/com.termux/files/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/setup.py'"'"'; file='"'"'/data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-gmyehxst/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/usr/include/python3.10/lxml
cwd: /data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/
Complete output (166 lines):
Building lxml version 4.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.34
Building against libxml2/libxslt in the following directory: /data/data/com.termux/files/usr/lib
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.10
creating build/lib.linux-aarch64-3.10/lxml
copying src/lxml/sax.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/builder.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/init.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/cssselect.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-aarch64-3.10/lxml
creating build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/init.py -> build/lib.linux-aarch64-3.10/lxml/includes
creating build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/init.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-aarch64-3.10/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-aarch64-3.10/lxml/html
creating build/lib.linux-aarch64-3.10/lxml/isoschematron
copying src/lxml/isoschematron/init.py -> build/lib.linux-aarch64-3.10/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/etree_api.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/lxml.etree.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-aarch64-3.10/lxml
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/init.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-aarch64-3.10/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-aarch64-3.10/lxml/includes
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/rng
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl
creating build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-aarch64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-aarch64-3.10
creating build/temp.linux-aarch64-3.10/src
creating build/temp.linux-aarch64-3.10/src/lxml
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/etree.c -o build/temp.linux-aarch64-3.10/src/lxml/etree.o -w
src/lxml/etree.c:220966:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:220968:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:221965:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:221967:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:222282:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:222284:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:223881:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:223883:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228109:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228111:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228358:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:228360:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:230410:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:230412:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232585:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232587:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232898:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:232900:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/etree.c:233474:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
building 'lxml.objectify' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/objectify.c -o build/temp.linux-aarch64-3.10/src/lxml/objectify.o -w
src/lxml/objectify.c:34123:5: error: expression is not assignable
++Py_REFCNT(o);
^ ~~~~~~~~~~~~
src/lxml/objectify.c:34125:5: error: expression is not assignable
--Py_REFCNT(o);
^ ~~~~~~~~~~~~
2 errors generated.
building 'lxml.builder' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/builder.c -o build/temp.linux-aarch64-3.10/src/lxml/builder.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/builder.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/builder.cpython-310.so
building 'lxml._elementpath' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/_elementpath.c -o build/temp.linux-aarch64-3.10/src/lxml/_elementpath.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/_elementpath.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/_elementpath.cpython-310.so
building 'lxml.html.diff' extension
creating build/temp.linux-aarch64-3.10/src/lxml/html
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/html/diff.c -o build/temp.linux-aarch64-3.10/src/lxml/html/diff.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/html/diff.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/html/diff.cpython-310.so
building 'lxml.html.clean' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/html/clean.c -o build/temp.linux-aarch64-3.10/src/lxml/html/clean.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/html/clean.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/html/clean.cpython-310.so
building 'lxml.sax' extension
aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -Isrc -Isrc/lxml/includes -I/data/data/com.termux/files/usr/include/python3.10 -c src/lxml/sax.c -o build/temp.linux-aarch64-3.10/src/lxml/sax.o -w
aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v5/sysroot/usr/lib build/temp.linux-aarch64-3.10/src/lxml/sax.o -L/data/data/com.termux/files/usr/lib -lpython3.10 -o build/lib.linux-aarch64-3.10/lxml/sax.cpython-310.so
Compile failed: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' failed with exit code 1
cc -I/data/data/com.termux/files/usr/include/libxml2 -I/data/data/com.termux/files/usr/include -I/usr/include/libxml2 -c /data/data/com.termux/files/usr/tmp/xmlXPathInitocph2fd6.c -o data/data/com.termux/files/usr/tmp/xmlXPathInitocph2fd6.o
cc data/data/com.termux/files/usr/tmp/xmlXPathInitocph2fd6.o -L/data/data/com.termux/files/usr/lib -lxml2 -o a.out
error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /data/data/com.termux/files/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/setup.py'"'"'; file='"'"'/data/data/com.termux/files/usr/tmp/pip-install-gs24r0bl/lxml_eed5899a22814c4a97ecf76d1db35930/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-gmyehxst/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/usr/include/python3.10/lxml Check the logs for full command output.

@Ralphaf
Copy link

Ralphaf commented Nov 2, 2021

Yeppp, I have the same problem, even tried re-installing lxml
Even tried with python 2.7, but this still does not work

@harrisonmount
Copy link

any solution here?

@harrisonmount
Copy link

any solution here?

For anyone having this issue
just use a newer version of lxml in the requirements.txt

@IAMDROPPE
Copy link

Edit requirements.txt

beautifulsoup4==4.8.0
certifi==2020.4.5.1
chardet==3.0.4
idna==2.8
lxml==4.8.0
MechanicalSoup==0.11.0
requests==2.28.0
selenium==3.141.0
six==1.16.0
soupsieve==2.0
urllib3==1.26.9
clarifai==2.6.2
instapy==0.6.16

@godxgamer
Copy link

hello i made a complete solution for this on my github check it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants