warning: src/lxml/xmlerror.pxi:657:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:658:69: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:659:20: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:664:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:665:73: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:666:20: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:671:22: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:672:73: local variable 'args' referenced before assignment warning: src/lxml/xmlerror.pxi:673:20: local variable 'args' referenced before assignment Building lxml version 4.6.5. Building with Cython 0.29.26. Building against libxml2 2.9.12 and libxslt 1.1.34 Compiling src/lxml/etree.pyx because it changed. Compiling src/lxml/objectify.pyx because it changed. Compiling src/lxml/builder.py because it changed. Compiling src/lxml/_elementpath.py because it changed. Compiling src/lxml/html/diff.py because it changed. Compiling src/lxml/html/clean.py because it changed. Compiling src/lxml/sax.py because it changed. [1/7] Cythonizing src/lxml/_elementpath.py [2/7] Cythonizing src/lxml/builder.py [3/7] Cythonizing src/lxml/etree.pyx [4/7] Cythonizing src/lxml/html/clean.py [5/7] Cythonizing src/lxml/html/diff.py [6/7] Cythonizing src/lxml/objectify.pyx [7/7] Cythonizing src/lxml/sax.py running build running build_py creating build creating build/lib.linux-riscv64-3.10 creating build/lib.linux-riscv64-3.10/lxml copying src/lxml/usedoctest.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/sax.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/cssselect.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/builder.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/_elementpath.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/__init__.py -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-riscv64-3.10/lxml creating build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/__init__.py -> build/lib.linux-riscv64-3.10/lxml/includes creating build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-riscv64-3.10/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-riscv64-3.10/lxml/html creating build/lib.linux-riscv64-3.10/lxml/isoschematron copying src/lxml/isoschematron/__init__.py -> build/lib.linux-riscv64-3.10/lxml/isoschematron copying src/lxml/etree.h -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/etree_api.h -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/lxml.etree.h -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-riscv64-3.10/lxml copying src/lxml/includes/xslt.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/__init__.pxd -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-riscv64-3.10/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-riscv64-3.10/lxml/includes creating build/lib.linux-riscv64-3.10/lxml/isoschematron/resources creating build/lib.linux-riscv64-3.10/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-riscv64-3.10/lxml/isoschematron/resources/rng creating build/lib.linux-riscv64-3.10/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-riscv64-3.10/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-riscv64-3.10/lxml/isoschematron/resources/xsl creating build/lib.linux-riscv64-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-riscv64-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-riscv64-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-riscv64-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-riscv64-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-riscv64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-riscv64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-riscv64-3.10 creating build/temp.linux-riscv64-3.10/src creating build/temp.linux-riscv64-3.10/src/lxml gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc/lxml -Isrc/lxml/includes -I/usr/include/libxml2 -Isrc -I/usr/include/python3.10 -c src/lxml/etree.c -o build/temp.linux-riscv64-3.10/src/lxml/etree.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/etree.o -L/usr/lib -lxslt -lexslt -lxml2 -lrt -lz -lm -o build/lib.linux-riscv64-3.10/lxml/etree.cpython-310-riscv64-linux-gnu.so building 'lxml.objectify' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc/lxml/includes -I/usr/include/libxml2 -Isrc -I/usr/include/python3.10 -c src/lxml/objectify.c -o build/temp.linux-riscv64-3.10/src/lxml/objectify.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/objectify.o -L/usr/lib -lxslt -lexslt -lxml2 -lrt -lz -lm -o build/lib.linux-riscv64-3.10/lxml/objectify.cpython-310-riscv64-linux-gnu.so building 'lxml.builder' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/builder.c -o build/temp.linux-riscv64-3.10/src/lxml/builder.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/builder.o -L/usr/lib -o build/lib.linux-riscv64-3.10/lxml/builder.cpython-310-riscv64-linux-gnu.so building 'lxml._elementpath' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/_elementpath.c -o build/temp.linux-riscv64-3.10/src/lxml/_elementpath.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/_elementpath.o -L/usr/lib -o build/lib.linux-riscv64-3.10/lxml/_elementpath.cpython-310-riscv64-linux-gnu.so building 'lxml.html.diff' extension creating build/temp.linux-riscv64-3.10/src/lxml/html gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/html/diff.c -o build/temp.linux-riscv64-3.10/src/lxml/html/diff.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/html/diff.o -L/usr/lib -o build/lib.linux-riscv64-3.10/lxml/html/diff.cpython-310-riscv64-linux-gnu.so building 'lxml.html.clean' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/html/clean.c -o build/temp.linux-riscv64-3.10/src/lxml/html/clean.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/html/clean.o -L/usr/lib -o build/lib.linux-riscv64-3.10/lxml/html/clean.cpython-310-riscv64-linux-gnu.so building 'lxml.sax' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/sax.c -o build/temp.linux-riscv64-3.10/src/lxml/sax.o -w gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/sax.o -L/usr/lib -o build/lib.linux-riscv64-3.10/lxml/sax.cpython-310-riscv64-linux-gnu.so rm -fr doc/html/api rm -f doc/api/lxml*.rst rm -fr doc/api/_build python3 setup.py build_ext -i --with-cython --warnings -j7 /usr/bin/make -C doc/s5 clean /usr/bin/make -C doc/s5 slides make[1]: Entering directory '/build/python-lxml/src/lxml-4.6.5/doc/s5' rm -f *~ lxml-ep2008.html make[1]: Entering directory '/build/python-lxml/src/lxml-4.6.5/doc/s5' python rst2s5.py --current-slide --language=en lxml-ep2008.txt lxml-ep2008.html make[1]: Leaving directory '/build/python-lxml/src/lxml-4.6.5/doc/s5' rm -f doc/html/*.html Generating API docs ... Traceback (most recent call last): File "/build/python-lxml/src/lxml-4.6.5/doc/s5/rst2s5.py", line 45, in from pygments.formatters import HtmlFormatter ModuleNotFoundError: No module named 'pygments' make[1]: *** [Makefile:8: lxml-ep2008.html] Error 1 make[1]: Leaving directory '/build/python-lxml/src/lxml-4.6.5/doc/s5' make: *** [Makefile:144: s5] Error 2 make: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/usr/bin/sphinx-apidoc", line 33, in sys.exit(load_entry_point('Sphinx==4.3.2', 'console_scripts', 'sphinx-apidoc')()) File "/usr/bin/sphinx-apidoc", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3.10/site-packages/sphinx/ext/apidoc.py", line 30, in from sphinx.cmd.quickstart import EXTENSIONS File "/usr/lib/python3.10/site-packages/sphinx/cmd/quickstart.py", line 38, in from sphinx.util.console import bold, color_terminal, colorize, nocolor, red # type: ignore File "/usr/lib/python3.10/site-packages/sphinx/util/__init__.py", line 35, in from sphinx.util.nodes import (caption_ref_re, explicit_title_re, # noqa File "/usr/lib/python3.10/site-packages/sphinx/util/nodes.py", line 18, in from docutils.parsers.rst import Directive File "/usr/lib/python3.10/site-packages/docutils/parsers/rst/__init__.py", line 75, in from docutils.parsers.rst import roles, states File "/usr/lib/python3.10/site-packages/docutils/parsers/rst/roles.py", line 78, in from docutils.utils.code_analyzer import Lexer, LexerError File "/usr/lib/python3.10/site-packages/docutils/utils/code_analyzer.py", line 12, in from pkg_resources import DistributionNotFound as ResourceError File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3257, in def _initialize_master_working_set(): File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3231, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3269, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 573, in _build_master ws.require(__requires__) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 891, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'Pygments>=2.0' distribution was not found and is required by Sphinx not generating Sphinx autodoc API rst files Building lxml version 4.6.5. Building with Cython 0.29.26. Building against libxml2 2.9.12 and libxslt 1.1.34 running build_ext building 'lxml.objectify' extension building 'lxml.etree' extension building 'lxml._elementpath' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc/lxml/includes -I/usr/include/libxml2 -Isrc -I/usr/include/python3.10 -c src/lxml/objectify.c -o build/temp.linux-riscv64-3.10/src/lxml/objectify.o building 'lxml.html.diff' extension building 'lxml.builder' extension building 'lxml.sax' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/_elementpath.c -o build/temp.linux-riscv64-3.10/src/lxml/_elementpath.o building 'lxml.html.clean' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/html/diff.c -o build/temp.linux-riscv64-3.10/src/lxml/html/diff.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/builder.c -o build/temp.linux-riscv64-3.10/src/lxml/builder.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc/lxml -Isrc/lxml/includes -I/usr/include/libxml2 -Isrc -I/usr/include/python3.10 -c src/lxml/etree.c -o build/temp.linux-riscv64-3.10/src/lxml/etree.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/html/clean.c -o build/temp.linux-riscv64-3.10/src/lxml/html/clean.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/sax.c -o build/temp.linux-riscv64-3.10/src/lxml/sax.o In file included from src/lxml/objectify.c:763: src/lxml/includes/etree_defs.h:266:14: warning: ‘lxml_unpack_xmldoc_capsule’ defined but not used [-Wunused-function] 266 | static void* lxml_unpack_xmldoc_capsule(PyObject* capsule, int* is_owned) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_f_4lxml_5etree_11_BaseParser__parseUnicodeDoc’: src/lxml/etree.c:118546:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 118546 | __pyx_v_py_buffer_len = PyUnicode_GET_DATA_SIZE(__pyx_v_utext); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:118546:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 118546 | __pyx_v_py_buffer_len = PyUnicode_GET_DATA_SIZE(__pyx_v_utext); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:118546:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 118546 | __pyx_v_py_buffer_len = PyUnicode_GET_DATA_SIZE(__pyx_v_utext); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:118555:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 118555 | __pyx_v_c_text = PyUnicode_AS_DATA(__pyx_v_utext); | ^~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_f_4lxml_5etree_11_FeedParser_feed’: src/lxml/etree.c:120848:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 120848 | __pyx_v_c_data = PyUnicode_AS_DATA(__pyx_v_data); | ^~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:120857:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 120857 | __pyx_v_py_buffer_len = PyUnicode_GET_DATA_SIZE(__pyx_v_data); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:120857:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 120857 | __pyx_v_py_buffer_len = PyUnicode_GET_DATA_SIZE(__pyx_v_data); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:120857:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 120857 | __pyx_v_py_buffer_len = PyUnicode_GET_DATA_SIZE(__pyx_v_data); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/builder.o -L/usr/lib -o /build/python-lxml/src/lxml-4.6.5/src/lxml/builder.cpython-310-riscv64-linux-gnu.so src/lxml/etree.c: In function ‘__pyx_f_4lxml_5etree__parseDoc’: src/lxml/etree.c:124976:7: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 124976 | __pyx_v_c_len = PyUnicode_GET_DATA_SIZE(__pyx_v_text); | ^~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:124976:7: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 124976 | __pyx_v_c_len = PyUnicode_GET_DATA_SIZE(__pyx_v_text); | ^~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/lxml/etree.c:124976:7: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 124976 | __pyx_v_c_len = PyUnicode_GET_DATA_SIZE(__pyx_v_text); | ^~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from src/lxml/etree.c:99: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_4data’: src/lxml/etree.c:136840:66: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxData’ from incompatible pointer type [-Wincompatible-pointer-types] 136840 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxData(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_data); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(3, 832, __pyx_L1_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__SaxParserTarget * src/lxml/etree.c:136216:105: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 136216 | static int __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxData(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_data) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_6start’: src/lxml/etree.c:137001:67: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxStart’ from incompatible pointer type [-Wincompatible-pointer-types] 137001 | __pyx_t_3 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxStart(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_tag, __pyx_v_attrs, __pyx_v_nsmap); if (unlikely(!__pyx_t_3)) __PYX_ERR(3, 841, __pyx_L1_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__SaxParserTarget * src/lxml/etree.c:135815:112: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 135815 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxStart(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_tag, PyObject *__pyx_v_attrib, PyObject *__pyx_v_nsmap) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_8end’: src/lxml/etree.c:137072:65: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxEnd’ from incompatible pointer type [-Wincompatible-pointer-types] 137072 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxEnd(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_tag); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 848, __pyx_L1_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__SaxParserTarget * src/lxml/etree.c:136115:110: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 136115 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxEnd(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_tag) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_10pi’: src/lxml/etree.c:137273:64: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxPi’ from incompatible pointer type [-Wincompatible-pointer-types] 137273 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxPi(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_target, __pyx_v_data); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 859, __pyx_L1_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__SaxParserTarget * src/lxml/etree.c:136265:109: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 136265 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxPi(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_target, PyObject *__pyx_v_data) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_11TreeBuilder_12comment’: src/lxml/etree.c:137336:69: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxComment’ from incompatible pointer type [-Wincompatible-pointer-types] 137336 | __pyx_t_1 = __pyx_f_4lxml_5etree_11TreeBuilder__handleSaxComment(((struct __pyx_obj_4lxml_5etree__SaxParserTarget *)__pyx_v_self), __pyx_v_comment); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 867, __pyx_L1_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__SaxParserTarget * src/lxml/etree.c:136471:114: note: expected ‘struct __pyx_obj_4lxml_5etree_TreeBuilder *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__SaxParserTarget *’ 136471 | static PyObject *__pyx_f_4lxml_5etree_11TreeBuilder__handleSaxComment(struct __pyx_obj_4lxml_5etree_TreeBuilder *__pyx_v_self, PyObject *__pyx_v_comment) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/sax.o -L/usr/lib -o /build/python-lxml/src/lxml-4.6.5/src/lxml/sax.cpython-310-riscv64-linux-gnu.so gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/_elementpath.o -L/usr/lib -o /build/python-lxml/src/lxml-4.6.5/src/lxml/_elementpath.cpython-310-riscv64-linux-gnu.so src/lxml/etree.c: In function ‘__pyx_pf_4lxml_5etree_4XSLT_18__call__’: src/lxml/etree.c:202225:73: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_12_XSLTContext__copy’ from incompatible pointer type [-Wincompatible-pointer-types] 202225 | __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_ERR(4, 549, __pyx_L9_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__BaseContext * src/lxml/etree.c:199908:138: note: expected ‘struct __pyx_obj_4lxml_5etree__XSLTContext *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__BaseContext *’ 199908 | 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/etree.c: In function ‘__pyx_f_4lxml_5etree__copyXSLT’: src/lxml/etree.c:204050:71: warning: passing argument 1 of ‘__pyx_f_4lxml_5etree_12_XSLTContext__copy’ from incompatible pointer type [-Wincompatible-pointer-types] 204050 | __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_ERR(4, 690, __pyx_L1_error) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct __pyx_obj_4lxml_5etree__BaseContext * src/lxml/etree.c:199908:138: note: expected ‘struct __pyx_obj_4lxml_5etree__XSLTContext *’ but argument is of type ‘struct __pyx_obj_4lxml_5etree__BaseContext *’ 199908 | static struct __pyx_obj_4lxml_5etree__BaseContext *__pyx_f_4lxml_5etree_12_XSLTContext__copy(struct __pyx_obj_4lxml_5etree__XSLTContext *__pyx_v_self) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/html/clean.o -L/usr/lib -o /build/python-lxml/src/lxml-4.6.5/src/lxml/html/clean.cpython-310-riscv64-linux-gnu.so gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/html/diff.o -L/usr/lib -o /build/python-lxml/src/lxml-4.6.5/src/lxml/html/diff.cpython-310-riscv64-linux-gnu.so gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/objectify.o -L/usr/lib -lxslt -lexslt -lxml2 -lrt -lz -lm -o /build/python-lxml/src/lxml-4.6.5/src/lxml/objectify.cpython-310-riscv64-linux-gnu.so At top level: src/lxml/etree.c:19205:13: warning: ‘__pyx_f_4lxml_5etree_displayNode’ defined but not used [-Wunused-function] 19205 | static void __pyx_f_4lxml_5etree_displayNode(xmlNode *__pyx_v_c_node, PyObject *__pyx_v_indent) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection build/temp.linux-riscv64-3.10/src/lxml/etree.o -L/usr/lib -lxslt -lexslt -lxml2 -lrt -lz -lm -o /build/python-lxml/src/lxml-4.6.5/src/lxml/etree.cpython-310-riscv64-linux-gnu.so ==> ERROR: A failure occurred in build().  Aborting...