Open crypt0-kn1ght opened 1 year ago
Another error:
sudo pip install pdfminer==20140328 Collecting pdfminer==20140328 Downloading pdfminer-20140328.tar.gz (4.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.1/4.1 MB 50.5 MB/s eta 0:00:00 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Another one:
sudo pip install futures==3.2.0
ERROR: Ignored the following versions that require a different python version: 3.1.1.post1 Requires-Python >=2.6, <3; 3.2.0 Requires-Python >=2.6, <3; 3.3.0 Requires-Python >=2.6, <3; 3.4.0 Requires-Python >=2.6, <3
ERROR: Could not find a version that satisfies the requirement futures==3.2.0 (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
ERROR: No matching distribution found for futures==3.2.0
And another one:
sudo pip install lxml==3.4.4
Collecting lxml==3.4.4
Downloading lxml-3.4.4.tar.gz (3.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 55.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: lxml
Building wheel for lxml (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [632 lines of output]
Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.35
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/sax.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/init.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/builder.py -> build/lib.linux-x86_64-3.10/lxml
creating build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/init.py -> build/lib.linux-x86_64-3.10/lxml/includes
creating build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/init.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.10/lxml/html
creating build/lib.linux-x86_64-3.10/lxml/isoschematron
copying src/lxml/isoschematron/init.py -> build/lib.linux-x86_64-3.10/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.10/lxml/includes
creating build/lib.linux-x86_64-3.10/lxml/isoschematron/resources
creating build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/rng
creating build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl
creating build/lib.linux-x86_64-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-x86_64-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-x86_64-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-x86_64-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-x86_64-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-x86_64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/lxml
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/libxml2 -I/tmp/pip-install-mrchib21/lxml_fcea666d85f8493e907f006046d9af9d/src/lxml/includes -I/usr/include/python3.10 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.10/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeDocument’:
src/lxml/lxml.etree.c:180871:5: error: lvalue required as increment operand
180871 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:180873:5: error: lvalue required as decrement operand
180873 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeElement’:
src/lxml/lxml.etree.c:180987:5: error: lvalue required as increment operand
180987 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:180989:5: error: lvalue required as decrement operand
180989 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeLogEntry’:
src/lxml/lxml.etree.c:181611:5: error: lvalue required as increment operand
181611 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:181613:5: error: lvalue required as decrement operand
181613 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeMultiTagMatcher’:
src/lxml/lxml.etree.c:183847:5: error: lvalue required as increment operand
183847 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:183849:5: error: lvalue required as decrement operand
183849 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeParserContext’:
src/lxml/lxml.etree.c:187684:5: error: lvalue required as increment operand
187684 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:187686:5: error: lvalue required as decrement operand
187686 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeParserSchemaValidationContext’:
src/lxml/lxml.etree.c:188037:5: error: lvalue required as increment operand
188037 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:188039:5: error: lvalue required as decrement operand
188039 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_XMLSchema’:
src/lxml/lxml.etree.c:188268:5: error: lvalue required as increment operand
188268 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:188270:5: error: lvalue required as decrement operand
188270 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeParserDictionaryContext’:
src/lxml/lxml.etree.c:188378:5: error: lvalue required as increment operand
188378 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:188380:5: error: lvalue required as decrement operand
188380 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeIncrementalFileWriter’:
src/lxml/lxml.etree.c:189810:5: error: lvalue required as increment operand
189810 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:189812:5: error: lvalue required as decrement operand
189812 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeXPathEvaluatorBase’:
src/lxml/lxml.etree.c:191118:5: error: lvalue required as increment operand
191118 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:191120:5: error: lvalue required as decrement operand
191120 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_XPath’:
src/lxml/lxml.etree.c:191418:5: error: lvalue required as increment operand
191418 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:191420:5: error: lvalue required as decrement operand
191420 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_XSLTAccessControl’:
src/lxml/lxml.etree.c:191697:5: error: lvalue required as increment operand
191697 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:191699:5: error: lvalue required as decrement operand
191699 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_XSLT’:
src/lxml/lxml.etree.c:192007:5: error: lvalue required as increment operand
192007 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:192009:5: error: lvalue required as decrement operand
192009 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_DTD’:
src/lxml/lxml.etree.c:192987:5: error: lvalue required as increment operand
192987 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:192989:5: error: lvalue required as decrement operand
192989 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_RelaxNG’:
src/lxml/lxml.etree.c:193103:5: error: lvalue required as increment operand
193103 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:193105:5: error: lvalue required as decrement operand
193105 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_Schematron’:
src/lxml/lxml.etree.c:193196:5: error: lvalue required as increment operand
193196 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:193198:5: error: lvalue required as decrement operand
193198 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘PyInit_etree’:
src/lxml/lxml.etree.c:196539:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196539 | pyx_type_4lxml_5etreeTempStore.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196549:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196549 | __pyx_type_4lxml_5etreeExceptionContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196562:19: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196562 | LxmlDocumentType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196567:18: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196567 | LxmlElementType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196656:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196656 | pyx_type_4lxml_5etree__BaseParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196660:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196660 | pyx_type_4lxml_5etree_QName.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196667:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196667 | pyx_type_4lxml_5etree__LogEntry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196679:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196679 | pyx_type_4lxml_5etreeBaseErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196688:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196688 | __pyx_type_4lxml_5etreeListErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196693:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196693 | pyx_type_4lxml_5etree__ErrorLogContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196705:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196705 | pyx_type_4lxml_5etreeErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196714:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196714 | __pyx_type_4lxml_5etreeDomainErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196723:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196723 | pyx_type_4lxml_5etree__RotatingErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196733:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196733 | pyx_type_4lxml_5etree_PyErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196738:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196738 | pyx_type_4lxml_5etree_DocInfo.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196745:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196745 | pyx_type_4lxml5etreeContentOnlyElement.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196782:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196782 | pyx_type_4lxml_5etreeComment.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196790:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196790 | __pyx_type_4lxml_5etreeProcessingInstruction.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196798:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196798 | pyx_type_4lxml_5etreeEntity.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196805:22: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196805 | LxmlElementTreeType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196810:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196810 | pyx_type_4lxml_5etreeAttrib.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196814:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196814 | pyx_type_4lxml_5etree__AttribIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196819:28: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196819 | LxmlElementTagMatcherType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196828:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196828 | LxmlElementIteratorType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196844:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196844 | pyx_type_4lxml_5etreeMultiTagMatcher.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196851:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196851 | __pyx_type_4lxml_5etreeElementMatchIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196859:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196859 | pyx_type_4lxml_5etree_ElementChildIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196867:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196867 | __pyx_type_4lxml_5etree_SiblingsIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196875:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196875 | pyx_type_4lxml_5etree_AncestorsIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196883:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196883 | pyx_type_4lxml_5etree_ElementDepthFirstIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196888:46: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196888 | __pyx_type_4lxml_5etree_ElementTextIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196892:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196892 | pyx_type_4lxml_5etree_CDATA.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196902:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196902 | pyx_type_4lxml_5etree__ReadOnlyProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196929:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196929 | pyx_type_4lxml_5etreeReadOnlyPIProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196936:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196936 | __pyx_type_4lxml_5etreeReadOnlyEntityProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196943:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196943 | pyx_type_4lxml_5etree__ReadOnlyElementProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196947:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196947 | pyx_type_4lxml_5etreeOpaqueNodeWrapper.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196954:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196954 | __pyx_type_4lxml_5etreeOpaqueDocumentWrapper.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196961:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196961 | pyx_type_4lxml_5etree__ModifyContentOnlyProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196968:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196968 | pyx_type_4lxml_5etreeModifyContentOnlyPIProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196975:56: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196975 | __pyx_type_4lxml_5etreeModifyContentOnlyEntityProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196983:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196983 | pyx_type_4lxml_5etreeAppendOnlyElementProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196988:22: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196988 | LxmlElementBaseType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197005:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197005 | pyx_type_4lxml_5etree_CommentBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197013:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197013 | pyx_type_4lxml_5etree_PIBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197021:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197021 | pyx_type_4lxml_5etree_EntityBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197026:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197026 | LxmlElementClassLookupType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197033:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197033 | LxmlFallbackElementClassLookupType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197039:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197039 | __pyx_type_4lxml_5etree_ElementDefaultClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197046:59: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197046 | pyx_type_4lxml_5etree_AttributeBasedElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197054:56: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197054 | pyx_type_4lxml_5etree_ParserBasedElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197062:51: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197062 | __pyx_type_4lxml_5etree_CustomElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197070:51: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197070 | pyx_type_4lxml_5etree_PythonElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197078:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197078 | pyx_type_4lxml_5etree__NamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197085:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197085 | pyx_type_4lxml_5etreeClassNamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197092:54: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197092 | __pyx_type_4lxml_5etree_ElementNamespaceClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197100:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197100 | pyx_type_4lxml_5etreeFunctionNamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197107:58: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197107 | __pyx_type_4lxml_5etreeXPathFunctionNamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197111:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197111 | pyx_type_4lxml_5etree__InputDocument.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197114:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197114 | pyx_type_4lxml_5etree_Resolver.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197120:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197120 | pyx_type_4lxml_5etree__ResolverRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197128:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197128 | pyx_type_4lxml_5etreeResolverContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197142:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197142 | __pyx_type_4lxml_5etreeParserContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197158:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197158 | pyx_type_4lxml_5etree__SaxParserContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197170:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197170 | pyx_type_4lxml_5etreeTargetParserContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197180:57: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197180 | __pyx_type_4lxml_5etreeParserSchemaValidationContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197187:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197187 | pyx_type_4lxml_5etree__Validator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197196:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197196 | pyx_type_4lxml_5etree_XMLSchema.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197225:51: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197225 | pyx_type_4lxml_5etree__ParserDictionaryContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197236:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197236 | pyx_type_4lxml_5etreeFileReaderContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197245:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197245 | __pyx_type_4lxml_5etreeFeedParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197253:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197253 | pyx_type_4lxml_5etree_XMLParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197261:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197261 | __pyx_type_4lxml_5etree_XMLPullParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197269:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197269 | pyx_type_4lxml_5etree_ETCompatXMLParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197277:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197277 | pyx_type_4lxml_5etree_HTMLParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197285:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197285 | __pyx_type_4lxml_5etree_HTMLPullParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197297:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197297 | pyx_type_4lxml_5etreeSaxParserTarget.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197302:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197302 | __pyx_type_4lxml_5etreeParseEventsIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197314:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197314 | pyx_type_4lxml_5etree_TreeBuilder.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197328:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197328 | __pyx_type_4lxml_5etreePythonSaxParserTarget.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197336:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197336 | pyx_type_4lxml_5etree__FilelikeWriter.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197340:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197340 | pyx_type_4lxml_5etree_xmlfile.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197345:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197345 | pyx_type_4lxml_5etree_htmlfile.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197359:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197359 | __pyx_type_4lxml_5etreeIncrementalFileWriter.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197363:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197363 | pyx_type_4lxml_5etree__FileWriterElement.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197369:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197369 | pyx_type_4lxml_5etree_iterparse.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197377:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197377 | pyx_type_4lxml_5etree_iterwalk.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197385:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197385 | __pyx_type_4lxml_5etreeIDDict.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197390:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197390 | pyx_type_4lxml_5etree_XInclude.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197408:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197408 | __pyx_type_4lxml_5etreeExsltRegExp.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197434:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197434 | pyx_type_4lxml_5etree__BaseContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197439:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197439 | pyx_type_4lxml_5etreeElementUnicodeResult.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197452:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197452 | __pyx_type_4lxml_5etreeXPathContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197464:46: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197464 | pyx_type_4lxml_5etree__XPathEvaluatorBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197472:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197472 | pyx_type_4lxml_5etree_XPathElementEvaluator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197490:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197490 | pyx_type_4lxml_5etree_XPathDocumentEvaluator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197508:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197508 | __pyx_type_4lxml_5etree_XPath.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197527:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197527 | pyx_type_4lxml_5etree_ETXPath.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197536:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197536 | pyx_type_4lxml_5etree__XSLTResolverContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197544:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197544 | pyx_type_4lxml_5etree_XSLTAccessControl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197555:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197555 | pyx_type_4lxml_5etree__XSLTContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197559:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197559 | pyx_type_4lxml_5etreeXSLTQuotedStringParam.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197564:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197564 | __pyx_type_4lxml_5etree_XSLT.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197583:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197583 | pyx_type_4lxml_5etreeXSLTResultTree.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197591:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197591 | __pyx_type_4lxml_5etreeXSLTProcessingInstruction.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197598:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197598 | pyx_type_4lxml_5etree_XSLTExtension.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197603:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197603 | __pyx_type_4lxml_5etreeDTDElementContentDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197606:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197606 | pyx_type_4lxml_5etree__DTDAttributeDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197609:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197609 | pyx_type_4lxml_5etreeDTDElementDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197612:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197612 | __pyx_type_4lxml_5etreeDTDEntityDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197618:30: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197618 | pyx_type_4lxml_5etree_DTD.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197636:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197636 | __pyx_type_4lxml_5etree_RelaxNG.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197654:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197654 | pyx_type_4lxml_5etree_Schematron.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197669:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197669 | pyx_type_4lxml_5etree__MemDebug.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197672:57: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197672 | pyx_type_4lxml_5etree_pyx_scope_struct__itervalues.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197675:62: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197675 | pyx_type_4lxml_5etree_pyx_scope_struct_1_iterattributes.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197678:60: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197678 | pyx_type_4lxml_5etree_pyx_scope_struct_2_iterelements.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197681:60: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197681 | pyx_type_4lxml_5etree_pyx_scope_struct_3_iterentities.tp_print = 0;
| ^
src/lxml/lxml.etree.c: In function ‘Pyx_ExceptionSave’:
src/lxml/lxml.etree.c:202895:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202895 | type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202896:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202896 | value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202897:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202897 | tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c: In function ‘Pyx_ExceptionReset’:
src/lxml/lxml.etree.c:202909:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202909 | tmp_type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202910:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202910 | tmp_value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202911:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202911 | tmp_tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c:202912:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202912 | tstate->exc_type = type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202913:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202913 | tstate->exc_value = value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202914:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202914 | tstate->exc_traceback = tb;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c: In function ‘Pyx_GetException’:
src/lxml/lxml.etree.c:202957:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202957 | tmp_type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202958:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202958 | tmp_value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202959:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202959 | tmp_tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c:202960:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202960 | tstate->exc_type = local_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202961:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202961 | tstate->exc_value = local_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202962:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202962 | tstate->exc_traceback = local_tb;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSwap’:
src/lxml/lxml.etree.c:203161:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
203161 | tmp_type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:203162:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
203162 | tmp_value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:203163:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
203163 | tmp_tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c:203164:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
203164 | tstate->exc_type = type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:203165:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
203165 | tstate->exc_value = value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:203166:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
203166 | tstate->exc_traceback = tb;
| ^~~~~
| curexc_traceback
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lxml Running setup.py clean for lxml Failed to build lxml Installing collected packages: lxml Attempting uninstall: lxml Found existing installation: lxml 4.8.0 Uninstalling lxml-4.8.0: Successfully uninstalled lxml-4.8.0 Running setup.py install for lxml ... error error: subprocess-exited-with-error
× Running setup.py install for lxml did not run successfully.
│ exit code: 1
╰─> [632 lines of output]
Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.35
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/lxml
copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/sax.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/init.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/cssselect.py -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/builder.py -> build/lib.linux-x86_64-3.10/lxml
creating build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/init.py -> build/lib.linux-x86_64-3.10/lxml/includes
creating build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/diff.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/clean.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/init.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/defs.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-3.10/lxml/html
copying src/lxml/html/builder.py -> build/lib.linux-x86_64-3.10/lxml/html
creating build/lib.linux-x86_64-3.10/lxml/isoschematron
copying src/lxml/isoschematron/init.py -> build/lib.linux-x86_64-3.10/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-3.10/lxml
copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-3.10/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-3.10/lxml/includes
creating build/lib.linux-x86_64-3.10/lxml/isoschematron/resources
creating build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/rng
creating build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl
creating build/lib.linux-x86_64-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-x86_64-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-x86_64-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-x86_64-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-x86_64-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-x86_64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/lxml
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/libxml2 -I/tmp/pip-install-mrchib21/lxml_fcea666d85f8493e907f006046d9af9d/src/lxml/includes -I/usr/include/python3.10 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.10/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeDocument’:
src/lxml/lxml.etree.c:180871:5: error: lvalue required as increment operand
180871 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:180873:5: error: lvalue required as decrement operand
180873 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeElement’:
src/lxml/lxml.etree.c:180987:5: error: lvalue required as increment operand
180987 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:180989:5: error: lvalue required as decrement operand
180989 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeLogEntry’:
src/lxml/lxml.etree.c:181611:5: error: lvalue required as increment operand
181611 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:181613:5: error: lvalue required as decrement operand
181613 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeMultiTagMatcher’:
src/lxml/lxml.etree.c:183847:5: error: lvalue required as increment operand
183847 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:183849:5: error: lvalue required as decrement operand
183849 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeParserContext’:
src/lxml/lxml.etree.c:187684:5: error: lvalue required as increment operand
187684 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:187686:5: error: lvalue required as decrement operand
187686 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeParserSchemaValidationContext’:
src/lxml/lxml.etree.c:188037:5: error: lvalue required as increment operand
188037 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:188039:5: error: lvalue required as decrement operand
188039 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_XMLSchema’:
src/lxml/lxml.etree.c:188268:5: error: lvalue required as increment operand
188268 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:188270:5: error: lvalue required as decrement operand
188270 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeParserDictionaryContext’:
src/lxml/lxml.etree.c:188378:5: error: lvalue required as increment operand
188378 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:188380:5: error: lvalue required as decrement operand
188380 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeIncrementalFileWriter’:
src/lxml/lxml.etree.c:189810:5: error: lvalue required as increment operand
189810 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:189812:5: error: lvalue required as decrement operand
189812 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etreeXPathEvaluatorBase’:
src/lxml/lxml.etree.c:191118:5: error: lvalue required as increment operand
191118 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:191120:5: error: lvalue required as decrement operand
191120 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_XPath’:
src/lxml/lxml.etree.c:191418:5: error: lvalue required as increment operand
191418 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:191420:5: error: lvalue required as decrement operand
191420 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_XSLTAccessControl’:
src/lxml/lxml.etree.c:191697:5: error: lvalue required as increment operand
191697 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:191699:5: error: lvalue required as decrement operand
191699 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_XSLT’:
src/lxml/lxml.etree.c:192007:5: error: lvalue required as increment operand
192007 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:192009:5: error: lvalue required as decrement operand
192009 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_DTD’:
src/lxml/lxml.etree.c:192987:5: error: lvalue required as increment operand
192987 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:192989:5: error: lvalue required as decrement operand
192989 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_RelaxNG’:
src/lxml/lxml.etree.c:193103:5: error: lvalue required as increment operand
193103 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:193105:5: error: lvalue required as decrement operand
193105 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘pyx_tp_dealloc_4lxml_5etree_Schematron’:
src/lxml/lxml.etree.c:193196:5: error: lvalue required as increment operand
193196 | ++Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c:193198:5: error: lvalue required as decrement operand
193198 | --Py_REFCNT(o);
| ^~
src/lxml/lxml.etree.c: In function ‘PyInit_etree’:
src/lxml/lxml.etree.c:196539:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196539 | pyx_type_4lxml_5etreeTempStore.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196549:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196549 | __pyx_type_4lxml_5etreeExceptionContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196562:19: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196562 | LxmlDocumentType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196567:18: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196567 | LxmlElementType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196656:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196656 | pyx_type_4lxml_5etree__BaseParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196660:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196660 | pyx_type_4lxml_5etree_QName.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196667:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196667 | pyx_type_4lxml_5etree__LogEntry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196679:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196679 | pyx_type_4lxml_5etreeBaseErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196688:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196688 | __pyx_type_4lxml_5etreeListErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196693:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196693 | pyx_type_4lxml_5etree__ErrorLogContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196705:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196705 | pyx_type_4lxml_5etreeErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196714:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196714 | __pyx_type_4lxml_5etreeDomainErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196723:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196723 | pyx_type_4lxml_5etree__RotatingErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196733:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196733 | pyx_type_4lxml_5etree_PyErrorLog.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196738:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196738 | pyx_type_4lxml_5etree_DocInfo.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196745:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196745 | pyx_type_4lxml5etreeContentOnlyElement.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196782:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196782 | pyx_type_4lxml_5etreeComment.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196790:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196790 | __pyx_type_4lxml_5etreeProcessingInstruction.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196798:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196798 | pyx_type_4lxml_5etreeEntity.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196805:22: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196805 | LxmlElementTreeType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196810:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196810 | pyx_type_4lxml_5etreeAttrib.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196814:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196814 | pyx_type_4lxml_5etree__AttribIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196819:28: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196819 | LxmlElementTagMatcherType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196828:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196828 | LxmlElementIteratorType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196844:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196844 | pyx_type_4lxml_5etreeMultiTagMatcher.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196851:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196851 | __pyx_type_4lxml_5etreeElementMatchIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196859:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196859 | pyx_type_4lxml_5etree_ElementChildIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196867:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196867 | __pyx_type_4lxml_5etree_SiblingsIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196875:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196875 | pyx_type_4lxml_5etree_AncestorsIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196883:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196883 | pyx_type_4lxml_5etree_ElementDepthFirstIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196888:46: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196888 | __pyx_type_4lxml_5etree_ElementTextIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196892:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196892 | pyx_type_4lxml_5etree_CDATA.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196902:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196902 | pyx_type_4lxml_5etree__ReadOnlyProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196929:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196929 | pyx_type_4lxml_5etreeReadOnlyPIProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196936:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196936 | __pyx_type_4lxml_5etreeReadOnlyEntityProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196943:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196943 | pyx_type_4lxml_5etree__ReadOnlyElementProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196947:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196947 | pyx_type_4lxml_5etreeOpaqueNodeWrapper.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196954:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196954 | __pyx_type_4lxml_5etreeOpaqueDocumentWrapper.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196961:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196961 | pyx_type_4lxml_5etree__ModifyContentOnlyProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196968:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196968 | pyx_type_4lxml_5etreeModifyContentOnlyPIProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196975:56: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196975 | __pyx_type_4lxml_5etreeModifyContentOnlyEntityProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196983:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196983 | pyx_type_4lxml_5etreeAppendOnlyElementProxy.tp_print = 0;
| ^
src/lxml/lxml.etree.c:196988:22: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
196988 | LxmlElementBaseType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197005:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197005 | pyx_type_4lxml_5etree_CommentBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197013:33: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197013 | pyx_type_4lxml_5etree_PIBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197021:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197021 | pyx_type_4lxml_5etree_EntityBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197026:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197026 | LxmlElementClassLookupType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197033:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197033 | LxmlFallbackElementClassLookupType.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197039:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197039 | __pyx_type_4lxml_5etree_ElementDefaultClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197046:59: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197046 | pyx_type_4lxml_5etree_AttributeBasedElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197054:56: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197054 | pyx_type_4lxml_5etree_ParserBasedElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197062:51: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197062 | __pyx_type_4lxml_5etree_CustomElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197070:51: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197070 | pyx_type_4lxml_5etree_PythonElementClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197078:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197078 | pyx_type_4lxml_5etree__NamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197085:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197085 | pyx_type_4lxml_5etreeClassNamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197092:54: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197092 | __pyx_type_4lxml_5etree_ElementNamespaceClassLookup.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197100:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197100 | pyx_type_4lxml_5etreeFunctionNamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197107:58: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197107 | __pyx_type_4lxml_5etreeXPathFunctionNamespaceRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197111:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197111 | pyx_type_4lxml_5etree__InputDocument.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197114:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197114 | pyx_type_4lxml_5etree_Resolver.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197120:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197120 | pyx_type_4lxml_5etree__ResolverRegistry.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197128:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197128 | pyx_type_4lxml_5etreeResolverContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197142:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197142 | __pyx_type_4lxml_5etreeParserContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197158:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197158 | pyx_type_4lxml_5etree__SaxParserContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197170:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197170 | pyx_type_4lxml_5etreeTargetParserContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197180:57: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197180 | __pyx_type_4lxml_5etreeParserSchemaValidationContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197187:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197187 | pyx_type_4lxml_5etree__Validator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197196:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197196 | pyx_type_4lxml_5etree_XMLSchema.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197225:51: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197225 | pyx_type_4lxml_5etree__ParserDictionaryContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197236:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197236 | pyx_type_4lxml_5etreeFileReaderContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197245:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197245 | __pyx_type_4lxml_5etreeFeedParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197253:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197253 | pyx_type_4lxml_5etree_XMLParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197261:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197261 | __pyx_type_4lxml_5etree_XMLPullParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197269:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197269 | pyx_type_4lxml_5etree_ETCompatXMLParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197277:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197277 | pyx_type_4lxml_5etree_HTMLParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197285:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197285 | __pyx_type_4lxml_5etree_HTMLPullParser.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197297:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197297 | pyx_type_4lxml_5etreeSaxParserTarget.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197302:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197302 | __pyx_type_4lxml_5etreeParseEventsIterator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197314:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197314 | pyx_type_4lxml_5etree_TreeBuilder.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197328:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197328 | __pyx_type_4lxml_5etreePythonSaxParserTarget.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197336:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197336 | pyx_type_4lxml_5etree__FilelikeWriter.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197340:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197340 | pyx_type_4lxml_5etree_xmlfile.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197345:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197345 | pyx_type_4lxml_5etree_htmlfile.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197359:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197359 | __pyx_type_4lxml_5etreeIncrementalFileWriter.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197363:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197363 | pyx_type_4lxml_5etree__FileWriterElement.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197369:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197369 | pyx_type_4lxml_5etree_iterparse.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197377:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197377 | pyx_type_4lxml_5etree_iterwalk.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197385:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197385 | __pyx_type_4lxml_5etreeIDDict.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197390:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197390 | pyx_type_4lxml_5etree_XInclude.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197408:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197408 | __pyx_type_4lxml_5etreeExsltRegExp.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197434:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197434 | pyx_type_4lxml_5etree__BaseContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197439:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197439 | pyx_type_4lxml_5etreeElementUnicodeResult.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197452:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197452 | __pyx_type_4lxml_5etreeXPathContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197464:46: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197464 | pyx_type_4lxml_5etree__XPathEvaluatorBase.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197472:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197472 | pyx_type_4lxml_5etree_XPathElementEvaluator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197490:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197490 | pyx_type_4lxml_5etree_XPathDocumentEvaluator.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197508:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197508 | __pyx_type_4lxml_5etree_XPath.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197527:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197527 | pyx_type_4lxml_5etree_ETXPath.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197536:47: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197536 | pyx_type_4lxml_5etree__XSLTResolverContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197544:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197544 | pyx_type_4lxml_5etree_XSLTAccessControl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197555:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197555 | pyx_type_4lxml_5etree__XSLTContext.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197559:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197559 | pyx_type_4lxml_5etreeXSLTQuotedStringParam.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197564:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197564 | __pyx_type_4lxml_5etree_XSLT.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197583:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197583 | pyx_type_4lxml_5etreeXSLTResultTree.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197591:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197591 | __pyx_type_4lxml_5etreeXSLTProcessingInstruction.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197598:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197598 | pyx_type_4lxml_5etree_XSLTExtension.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197603:49: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197603 | __pyx_type_4lxml_5etreeDTDElementContentDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197606:44: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197606 | pyx_type_4lxml_5etree__DTDAttributeDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197609:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197609 | pyx_type_4lxml_5etreeDTDElementDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197612:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197612 | __pyx_type_4lxml_5etreeDTDEntityDecl.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197618:30: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197618 | pyx_type_4lxml_5etree_DTD.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197636:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197636 | __pyx_type_4lxml_5etree_RelaxNG.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197654:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197654 | pyx_type_4lxml_5etree_Schematron.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197669:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197669 | pyx_type_4lxml_5etree__MemDebug.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197672:57: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197672 | pyx_type_4lxml_5etree_pyx_scope_struct__itervalues.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197675:62: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197675 | pyx_type_4lxml_5etree_pyx_scope_struct_1_iterattributes.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197678:60: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197678 | pyx_type_4lxml_5etree_pyx_scope_struct_2_iterelements.tp_print = 0;
| ^
src/lxml/lxml.etree.c:197681:60: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
197681 | pyx_type_4lxml_5etree_pyx_scope_struct_3_iterentities.tp_print = 0;
| ^
src/lxml/lxml.etree.c: In function ‘Pyx_ExceptionSave’:
src/lxml/lxml.etree.c:202895:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202895 | type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202896:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202896 | value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202897:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202897 | tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c: In function ‘Pyx_ExceptionReset’:
src/lxml/lxml.etree.c:202909:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202909 | tmp_type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202910:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202910 | tmp_value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202911:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202911 | tmp_tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c:202912:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202912 | tstate->exc_type = type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202913:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202913 | tstate->exc_value = value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202914:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202914 | tstate->exc_traceback = tb;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c: In function ‘Pyx_GetException’:
src/lxml/lxml.etree.c:202957:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202957 | tmp_type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202958:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202958 | tmp_value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202959:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202959 | tmp_tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c:202960:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
202960 | tstate->exc_type = local_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:202961:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
202961 | tstate->exc_value = local_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:202962:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
202962 | tstate->exc_traceback = local_tb;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c: In function ‘__Pyx_ExceptionSwap’:
src/lxml/lxml.etree.c:203161:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
203161 | tmp_type = tstate->exc_type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:203162:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
203162 | tmp_value = tstate->exc_value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:203163:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
203163 | tmp_tb = tstate->exc_traceback;
| ^~~~~
| curexc_traceback
src/lxml/lxml.etree.c:203164:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
203164 | tstate->exc_type = type;
| ^~~~
| curexc_type
src/lxml/lxml.etree.c:203165:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
203165 | tstate->exc_value = value;
| ^~~~~
| curexc_value
src/lxml/lxml.etree.c:203166:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
203166 | tstate->exc_traceback = tb;
| ^~~~~
| curexc_traceback
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. Rolling back uninstall of lxml Moving to /usr/lib/python3/dist-packages/lxml from /usr/lib/python3/dist-packages/~xml Moving to /usr/lib/python3/dist-packages/lxml-4.8.0.egg-info from /usr/lib/python3/dist-packages/~xml-4.8.0.egg-info error: legacy-install-failure
× Encountered error while trying to install package. ╰─> lxml
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Another one:
sudo pip install msgpack==0.5.6
Collecting msgpack==0.5.6
Downloading msgpack-0.5.6.tar.gz (138 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.3/138.3 kB 15.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: msgpack
Building wheel for msgpack (setup.py) ... done
Created wheel for msgpack: filename=msgpack-0.5.6-cp310-cp310-linux_x86_64.whl size=13862 sha256=e634abe5d498068263eab81187ec71ce07fe6dc0837d691f88d8b0048c4a7f56
Stored in directory: /root/.cache/pip/wheels/f6/9c/0f/1dccb1579d112ab24c117771dfd92d7db2345d9ef1e0b4d741
Successfully built msgpack
Installing collected packages: msgpack
Attempting uninstall: msgpack
Found existing installation: msgpack 1.0.3
Uninstalling msgpack-1.0.3:
Successfully uninstalled msgpack-1.0.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
crackmapexec 5.2.2 requires bs4<0.0.2,>=0.0.1, which is not installed.
crackmapexec 5.2.2 requires msgpack<2.0.0,>=1.0.0, but you have msgpack 0.5.6 which is incompatible.
crackmapexec 5.2.2 requires neo4j<5.0.0,>=4.1.1, but you have neo4j 1.7.0.dev0 which is incompatible.
crackmapexec 5.2.2 requires pylnk3<0.4.0,>=0.3.0, but you have pylnk3 0.4.2 which is incompatible.
Successfully installed msgpack-0.5.6
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Another one:
sudo pip install halberd==0.2.4
Collecting halberd==0.2.4
Downloading halberd-0.2.4.tar.gz (214 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.9/214.9 kB 15.0 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Another one:
sudo pip install markdown==2.6.1 Collecting markdown==2.6.1 Downloading Markdown-2.6.1.zip (409 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 409.8/409.8 kB 23.9 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Building wheels for collected packages: markdown Building wheel for markdown (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [79 lines of output]
/tmp/pip-install-dxuldbv0/markdown_168a7f3e0b5247c297c4c49a595aa6c4/setup.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
import imp
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/markdown
copying markdown/main.py -> build/lib/markdown
copying markdown/postprocessors.py -> build/lib/markdown
copying markdown/blockparser.py -> build/lib/markdown
copying markdown/odict.py -> build/lib/markdown
copying markdown/init.py -> build/lib/markdown
copying markdown/version.py -> build/lib/markdown
copying markdown/treeprocessors.py -> build/lib/markdown
copying markdown/inlinepatterns.py -> build/lib/markdown
copying markdown/util.py -> build/lib/markdown
copying markdown/preprocessors.py -> build/lib/markdown
copying markdown/blockprocessors.py -> build/lib/markdown
copying markdown/serializers.py -> build/lib/markdown
creating build/lib/markdown/extensions
copying markdown/extensions/tables.py -> build/lib/markdown/extensions
copying markdown/extensions/meta.py -> build/lib/markdown/extensions
copying markdown/extensions/extra.py -> build/lib/markdown/extensions
copying markdown/extensions/fenced_code.py -> build/lib/markdown/extensions
copying markdown/extensions/nl2br.py -> build/lib/markdown/extensions
copying markdown/extensions/abbr.py -> build/lib/markdown/extensions
copying markdown/extensions/admonition.py -> build/lib/markdown/extensions
copying markdown/extensions/smart_strong.py -> build/lib/markdown/extensions
copying markdown/extensions/init.py -> build/lib/markdown/extensions
copying markdown/extensions/headerid.py -> build/lib/markdown/extensions
copying markdown/extensions/def_list.py -> build/lib/markdown/extensions
copying markdown/extensions/footnotes.py -> build/lib/markdown/extensions
copying markdown/extensions/sane_lists.py -> build/lib/markdown/extensions
copying markdown/extensions/wikilinks.py -> build/lib/markdown/extensions
copying markdown/extensions/smarty.py -> build/lib/markdown/extensions
copying markdown/extensions/toc.py -> build/lib/markdown/extensions
copying markdown/extensions/codehilite.py -> build/lib/markdown/extensions
copying markdown/extensions/attr_list.py -> build/lib/markdown/extensions
running build_scripts
creating build/scripts-3.10
copying and adjusting bin/markdown_py -> build/scripts-3.10
changing mode of build/scripts-3.10/markdown_py from 644 to 755
running build_docs
creating build/docs
copying docs/change_log.txt -> build/docs
Converting docs/change_log.txt -> build/docs/change_log.html
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for markdown Running setup.py clean for markdown Failed to build markdown Installing collected packages: markdown Attempting uninstall: markdown Found existing installation: Markdown 3.3.6 Uninstalling Markdown-3.3.6: Successfully uninstalled Markdown-3.3.6 Running setup.py install for markdown ... error error: subprocess-exited-with-error
× Running setup.py install for markdown did not run successfully.
│ exit code: 1
╰─> [78 lines of output]
/tmp/pip-install-dxuldbv0/markdown_168a7f3e0b5247c297c4c49a595aa6c4/setup.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
import imp
running install
running build
running build_py
creating build/lib
creating build/lib/markdown
copying markdown/main.py -> build/lib/markdown
copying markdown/postprocessors.py -> build/lib/markdown
copying markdown/blockparser.py -> build/lib/markdown
copying markdown/odict.py -> build/lib/markdown
copying markdown/init.py -> build/lib/markdown
copying markdown/version.py -> build/lib/markdown
copying markdown/treeprocessors.py -> build/lib/markdown
copying markdown/inlinepatterns.py -> build/lib/markdown
copying markdown/util.py -> build/lib/markdown
copying markdown/preprocessors.py -> build/lib/markdown
copying markdown/blockprocessors.py -> build/lib/markdown
copying markdown/serializers.py -> build/lib/markdown
creating build/lib/markdown/extensions
copying markdown/extensions/tables.py -> build/lib/markdown/extensions
copying markdown/extensions/meta.py -> build/lib/markdown/extensions
copying markdown/extensions/extra.py -> build/lib/markdown/extensions
copying markdown/extensions/fenced_code.py -> build/lib/markdown/extensions
copying markdown/extensions/nl2br.py -> build/lib/markdown/extensions
copying markdown/extensions/abbr.py -> build/lib/markdown/extensions
copying markdown/extensions/admonition.py -> build/lib/markdown/extensions
copying markdown/extensions/smart_strong.py -> build/lib/markdown/extensions
copying markdown/extensions/init.py -> build/lib/markdown/extensions
copying markdown/extensions/headerid.py -> build/lib/markdown/extensions
copying markdown/extensions/def_list.py -> build/lib/markdown/extensions
copying markdown/extensions/footnotes.py -> build/lib/markdown/extensions
copying markdown/extensions/sane_lists.py -> build/lib/markdown/extensions
copying markdown/extensions/wikilinks.py -> build/lib/markdown/extensions
copying markdown/extensions/smarty.py -> build/lib/markdown/extensions
copying markdown/extensions/toc.py -> build/lib/markdown/extensions
copying markdown/extensions/codehilite.py -> build/lib/markdown/extensions
copying markdown/extensions/attr_list.py -> build/lib/markdown/extensions
running build_scripts
creating build/scripts-3.10
copying and adjusting bin/markdown_py -> build/scripts-3.10
changing mode of build/scripts-3.10/markdown_py from 644 to 755
running build_docs
Converting docs/change_log.txt -> build/docs/change_log.html
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. Rolling back uninstall of Markdown Moving to /usr/lib/python3/dist-packages/Markdown-3.3.6.egg-info from /usr/lib/python3/dist-packages/~arkdown-3.3.6.egg-info Moving to /usr/lib/python3/dist-packages/markdown from /usr/lib/python3/dist-packages/~arkdown error: legacy-install-failure
× Encountered error while trying to install package. ╰─> markdown
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Another one:
sudo pip install ruamel.ordereddict==0.4.8 Collecting ruamel.ordereddict==0.4.8 Downloading ruamel.ordereddict-0.4.8.tar.gz (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.0/49.0 kB 8.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Building wheels for collected packages: ruamel.ordereddict Building wheel for ruamel.ordereddict (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [541 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/ruamel
creating build/lib.linux-x86_64-3.10/ruamel/ordereddict
copying ./init.py -> build/lib.linux-x86_64-3.10/ruamel/ordereddict
running build_ext
building '_ordereddict' extension
creating build/temp.linux-x86_64-3.10
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c ordereddict.c -o build/temp.linux-x86_64-3.10/ordereddict.o
ordereddict.c: In function ‘lookdict_string’:
ordereddict.c:320:10: warning: implicit declaration of function ‘PyString_CheckExact’; did you mean ‘PyLong_CheckExact’? [-Wimplicit-function-declaration]
320 | if (!PyString_CheckExact(key)) {
| ^~~~~~~
| PyLong_CheckExact
ordereddict.c:334:36: warning: implicit declaration of function ‘_PyString_Eq’ [-Wimplicit-function-declaration]
334 | if (ep->me_hash == hash && _PyString_Eq(ep->me_key, key))
| ^~~~
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dump_ordereddict_head’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:365:9: note: in expansion of macro ‘PySortedDict_CheckExact’
365 | if (PySortedDict_CheckExact(mp))
| ^~~~~~~
ordereddict.c: In function ‘PyOrderedDict_GetItem’:
ordereddict.c:733:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
733 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:733:23: note: each undeclared identifier is reported only once for each function it appears in
ordereddict.c:733:39: error: expected expression before ‘)’ token
733 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c:744:14: error: ‘_PyThreadState_Current’ undeclared (first use in this function); did you mean ‘PyThreadState_Next’?
744 | tstate = _PyThreadState_Current;
| ^~~~~~
| PyThreadState_Next
ordereddict.c: In function ‘PyOrderedDict_SetItem’:
ordereddict.c:786:18: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
786 | hash = ((PyStringObject )key)->ob_shash;
| ^~~~~~
| PySliceObject
ordereddict.c:786:34: error: expected expression before ‘)’ token
786 | hash = ((PyStringObject )key)->ob_shash;
| ^
ordereddict.c: In function ‘PyOrderedDict_InsertItem’:
ordereddict.c:848:18: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
848 | hash = ((PyStringObject )key)->ob_shash;
| ^~~~~~
| PySliceObject
ordereddict.c:848:34: error: expected expression before ‘)’ token
848 | hash = ((PyStringObject )key)->ob_shash;
| ^
ordereddict.c: In function ‘PyOrderedDict_DelItem’:
ordereddict.c:911:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
911 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:911:39: error: expected expression before ‘)’ token
911 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘ordereddict_print’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1113:9: note: in expansion of macro ‘PySortedDict_CheckExact’
1113 | if (PySortedDict_CheckExact(mp))
| ^~~~~~~
ordereddict.c: In function ‘ordereddict_repr’:
ordereddict.c:1168:24: warning: implicit declaration of function ‘PyString_FromFormat’; did you mean ‘PyBytes_FromFormat’? [-Wimplicit-function-declaration]
1168 | return i > 0 ? PyString_FromFormat("%sdict([...])", typestr) : NULL;
| ^~~~~~~
| PyBytes_FromFormat
ordereddict.c:1168:70: warning: pointer/integer type mismatch in conditional expression
1168 | return i > 0 ? PyString_FromFormat("%sdict([...])", typestr) : NULL;
| ^
ordereddict.c:1172:16: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1172 | result = PyString_FromFormat("%sdict([])", typestr);
| ^
ordereddict.c:1180:13: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration]
1180 | comma = PyString_FromString(", ");
| ^~~~~~~
| PyLong_FromString
ordereddict.c:1180:11: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1180 | comma = PyString_FromString(", ");
| ^
ordereddict.c:1183:14: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1183 | rightpar = PyString_FromString(")");
| ^
ordereddict.c:1194:11: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1194 | s = PyString_FromString("(");
| ^
ordereddict.c:1195:9: warning: implicit declaration of function ‘PyString_ConcatAndDel’; did you mean ‘PyBytes_ConcatAndDel’? [-Wimplicit-function-declaration]
1195 | PyString_ConcatAndDel(&s, PyObject_Repr(key));
| ^~~~~
| PyBytes_ConcatAndDel
ordereddict.c:1196:9: warning: implicit declaration of function ‘PyString_Concat’; did you mean ‘PySequence_Concat’? [-Wimplicit-function-declaration]
1196 | PyString_Concat(&s, comma);
| ^~~~~~~
| PySequence_Concat
ordereddict.c:1210:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1210 | s = PyString_FromFormat("%sdict([", typestr);
| ^
ordereddict.c:1219:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1219 | s = PyString_FromString("])");
| ^
ordereddict.c:1229:14: warning: implicit declaration of function ‘_PyString_Join’ [-Wimplicit-function-declaration]
1229 | result = _PyString_Join(comma, pieces);
| ^~~~~~
ordereddict.c:1229:12: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1229 | result = _PyString_Join(comma, pieces);
| ^
In file included from /usr/include/python3.10/Python.h:106,
from ordereddict.c:22:
ordereddict.c: In function ‘dict_subscript’:
ordereddict.c:1255:34: warning: passing argument 1 of ‘PySlice_Unpack’ from incompatible pointer type [-Wincompatible-pointer-types]
1255 | if (PySlice_GetIndicesEx((PySliceObject)key, mp->ma_used,
/usr/include/python3.10/sliceobject.h:51:21: note: in definition of macro ‘PySlice_GetIndicesEx’
51 | PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
| ^~~~~
/usr/include/python3.10/sliceobject.h:55:42: note: expected ‘PyObject ’ {aka ‘struct _object ’} but argument is of type ‘PySliceObject ’
55 | PyAPI_FUNC(int) PySlice_Unpack(PyObject slice,
| ~~^~~~~
ordereddict.c:1269:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
1269 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:1269:39: error: expected expression before ‘)’ token
1269 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.h:154:43: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
154 | #define PyOrderedDict_CheckExact(op) ((op)->ob_type == &PyOrderedDict_Type)
| ^~
ordereddict.c:1279:14: note: in expansion of macro ‘PyOrderedDict_CheckExact’
1279 | if (!PyOrderedDict_CheckExact(mp) && !PySortedDict_CheckExact(mp)) {
| ^~~~~~~~
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1279:47: note: in expansion of macro ‘PySortedDict_CheckExact’
1279 | if (!PyOrderedDict_CheckExact(mp) && !PySortedDict_CheckExact(mp)) {
| ^~~~~~~
ordereddict.c:1285:21: warning: implicit declaration of function ‘PyString_InternFromString’; did you mean ‘PyUnicode_InternFromString’? [-Wimplicit-function-declaration]
1285 | PyString_InternFromString("missing");
| ^~~~~~~~~
| PyUnicode_InternFromString
ordereddict.c:1284:29: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1284 | missing_str =
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_ass_slice’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1313:9: note: in expansion of macro ‘PySortedDict_CheckExact’
1313 | if (PySortedDict_CheckExact(self)) {
| ^~~~~~~
ordereddict.c:1349:15: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1349 | if (s > sizeof(recycle_on_stack)) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_ass_subscript’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1404:13: note: in expansion of macro ‘PySortedDict_CheckExact’
1404 | if (PySortedDict_CheckExact(self)) {
| ^~~~~~~
In file included from /usr/include/python3.10/Python.h:106,
from ordereddict.c:22:
ordereddict.c:1409:34: warning: passing argument 1 of ‘PySlice_Unpack’ from incompatible pointer type [-Wincompatible-pointer-types]
1409 | if (PySlice_GetIndicesEx((PySliceObject)item, self->ma_used,
/usr/include/python3.10/sliceobject.h:51:21: note: in definition of macro ‘PySlice_GetIndicesEx’
51 | PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
| ^~~~~
/usr/include/python3.10/sliceobject.h:55:42: note: expected ‘PyObject ’ {aka ‘struct _object ’} but argument is of type ‘PySliceObject ’
55 | PyAPI_FUNC(int) PySlice_Unpack(PyObject slice,
| ~~^~~~~
ordereddict.c: In function ‘dict_compare’:
ordereddict.c:2195:15: warning: implicit declaration of function ‘PyObject_Compare’; did you mean ‘PyObject_RichCompare’? [-Wimplicit-function-declaration]
2195 | res = PyObject_Compare(adiff, bdiff);
| ^~~~
| PyObject_RichCompare
ordereddict.c: In function ‘dict_contains’:
ordereddict.c:2277:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2277 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2277:39: error: expected expression before ‘)’ token
2277 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_has_key’:
ordereddict.c:2298:9: error: ‘Py_Py3kWarningFlag’ undeclared (first use in this function); did you mean ‘Py_BytesWarningFlag’?
2298 | if (Py_Py3kWarningFlag &&
| ^~~~~~
| Py_BytesWarningFlag
ordereddict.c: In function ‘dict_get’:
ordereddict.c:2330:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2330 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2330:39: error: expected expression before ‘)’ token
2330 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_setdefault’:
ordereddict.c:2359:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2359 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2359:39: error: expected expression before ‘)’ token
2359 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_pop’:
ordereddict.c:2405:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2405 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2405:39: error: expected expression before ‘)’ token
2405 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_index’:
ordereddict.c:2543:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2543 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2543:39: error: expected expression before ‘)’ token
2543 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c:2558:20: warning: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Wimplicit-function-declaration]
2558 | return PyInt_FromSize_t(index);
| ^~~~
| PyLong_FromSize_t
ordereddict.c:2558:20: warning: returning ‘int’ from a function with return type ‘PyObject ’ {aka ‘struct _object ’} makes pointer from integer without a cast [-Wint-conversion]
2558 | return PyInt_FromSize_t(index);
| ^~~~~~~
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_setkeys’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2606:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2606 | if (PySortedDict_CheckExact(mp)) {
| ^~~~~~~
ordereddict.c:2669:27: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2669 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2669:43: error: expected expression before ‘)’ token
2669 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_rename’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2777:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2777 | if (PySortedDict_CheckExact(mp)) {
| ^~~~~~~
ordereddict.c:2786:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2786 | (hash = ((PyStringObject ) oldkey)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2786:39: error: expected expression before ‘)’ token
2786 | (hash = ((PyStringObject ) oldkey)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_reduce’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2824:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2824 | if (PySortedDict_CheckExact(self)) {
| ^~~~~~~
ordereddict.c:2827:52: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
2827 | result = Py_BuildValue("O(()OOOi)NNO", self->ob_type,
| ^~
ordereddict.c:2833:50: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
2833 | result = Py_BuildValue("O(()ii)NNO", self->ob_type, RELAXED(self), KVIO(self), dict, dict, it);
| ^~
ordereddict.c: In function ‘ordereddict_getstate’:
ordereddict.c:2842:12: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration]
2842 | return PyInt_FromLong(mp->od_state);
| ^~~~~~
| PyLong_FromLong
ordereddict.c:2842:12: warning: returning ‘int’ from a function with return type ‘PyObject ’ {aka ‘struct _object ’} makes pointer from integer without a cast [-Wint-conversion]
2842 | return PyInt_FromLong(mp->od_state);
| ^~~~~~~~
In file included from ordereddict.c:23:
ordereddict.c: In function ‘ordereddict_dump’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2850:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2850 | if (PySortedDict_CheckExact(mp))
| ^~~~~~~
ordereddict.c: In function ‘PyOrderedDict_Contains’:
ordereddict.c:3030:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
3030 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:3030:39: error: expected expression before ‘)’ token
3030 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: At top level:
ordereddict.c:3229:35: warning: missing braces around initializer [-Wmissing-braces]
3229 | PyTypeObject PyOrderedDict_Type = {
| ^
ordereddict.c:3232:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3232 | "_ordereddict.ordereddict",
| ^~~~~~
ordereddict.c:3232:5: note: (near initialization for ‘PyOrderedDict_Type.tp_basicsize’)
ordereddict.c:3235:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3235 | (destructor)dict_dealloc, / tp_dealloc /
| ^
ordereddict.c:3235:5: note: (near initialization for ‘PyOrderedDict_Type.tp_vectorcall_offset’)
ordereddict.c:3236:5: warning: initialization of ‘PyObject ()(PyObject , char )’ {aka ‘struct _object ()(struct _object , char )’} from ‘long int’ makes pointer from integer without a cast [-Wint-conversion]
3236 | (printfunc)ordereddict_print, / tp_print /
| ^
ordereddict.c:3236:5: note: (near initialization for ‘PyOrderedDict_Type.tp_getattr’)
ordereddict.c:3239:6: error: ‘cmpfunc’ undeclared here (not in a function)
3239 | (cmpfunc)dict_compare, / tp_compare /
| ^~~
ordereddict.c:3239:14: error: expected ‘}’ before ‘dict_compare’
3239 | (cmpfunc)dict_compare, / tp_compare /
| ^~~~
ordereddict.c:3229:35: note: to match this ‘{’
3229 | PyTypeObject PyOrderedDict_Type = {
| ^
ordereddict.c:3229:35: warning: missing braces around initializer [-Wmissing-braces]
ordereddict.c:3279:34: warning: missing braces around initializer [-Wmissing-braces]
3279 | PyTypeObject PySortedDict_Type = {
| ^
ordereddict.c:3282:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3282 | "_ordereddict.sorteddict",
| ^~~~~~~~~
ordereddict.c:3282:5: note: (near initialization for ‘PySortedDict_Type.tp_basicsize’)
ordereddict.c:3285:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3285 | (destructor)dict_dealloc, / tp_dealloc /
| ^
ordereddict.c:3285:5: note: (near initialization for ‘PySortedDict_Type.tp_vectorcall_offset’)
ordereddict.c:3286:5: warning: initialization of ‘PyObject ()(PyObject , char )’ {aka ‘struct _object ()(struct _object , char )’} from ‘long int’ makes pointer from integer without a cast [-Wint-conversion]
3286 | (printfunc)ordereddict_print, / tp_print /
| ^
ordereddict.c:3286:5: note: (near initialization for ‘PySortedDict_Type.tp_getattr’)
ordereddict.c:3289:14: error: expected ‘}’ before ‘dict_compare’
3289 | (cmpfunc)dict_compare, / tp_compare /
| ^~~~
ordereddict.c:3279:34: note: to match this ‘{’
3279 | PyTypeObject PySortedDict_Type = {
| ^
ordereddict.c:3279:34: warning: missing braces around initializer [-Wmissing-braces]
ordereddict.c: In function ‘dictiter_len’:
ordereddict.c:3389:12: warning: returning ‘int’ from a function with return type ‘PyObject ’ {aka ‘struct _object ’} makes pointer from integer without a cast [-Wint-conversion]
3389 | return PyInt_FromSize_t(len);
| ^~~~~
ordereddict.c: At top level:
ordereddict.c:3435:42: warning: missing braces around initializer [-Wmissing-braces]
3435 | PyTypeObject PyOrderedDictIterKey_Type = {
| ^
ordereddict.c:3438:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3438 | "_ordereddict.keyiterator", / tp_name /
| ^~~~~~
ordereddict.c:3438:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_basicsize’)
ordereddict.c:3442:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3442 | (destructor)dictiter_dealloc, / tp_dealloc /
| ^
ordereddict.c:3442:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_vectorcall_offset’)
ordereddict.c:3454:5: warning: initialization of ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} from incompatible pointer type ‘PyObject ()(PyObject , PyObject )’ {aka ‘struct _object ()(struct _object , struct _object )’} [-Wincompatible-pointer-types]
3454 | PyObject_GenericGetAttr, / tp_getattro /
| ^~~~~~~
ordereddict.c:3454:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_setattro’)
ordereddict.c:3464:5: warning: initialization of ‘struct PyMethodDef ’ from incompatible pointer type ‘PyObject ()(PyObject )’ {aka ‘struct _object ()(struct _object )’} [-Wincompatible-pointer-types]
3464 | (iternextfunc)dictiter_iternextkey, / tp_iternext /
| ^
ordereddict.c:3464:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_methods’)
ordereddict.c:3465:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
3465 | dictiter_methods, / tp_methods /
| ^~~~
ordereddict.c:3465:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_members’)
ordereddict.c:3435:42: warning: missing braces around initializer [-Wmissing-braces]
3435 | PyTypeObject PyOrderedDictIterKey_Type = {
| ^
ordereddict.c:3503:44: warning: missing braces around initializer [-Wmissing-braces]
3503 | PyTypeObject PyOrderedDictIterValue_Type = {
| ^
ordereddict.c:3506:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3506 | "_ordereddict.valueiterator", / tp_name /
| ^~~~~~~~
ordereddict.c:3506:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_basicsize’)
ordereddict.c:3510:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3510 | (destructor)dictiter_dealloc, / tp_dealloc /
| ^
ordereddict.c:3510:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_vectorcall_offset’)
ordereddict.c:3522:5: warning: initialization of ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} from incompatible pointer type ‘PyObject ()(PyObject , PyObject )’ {aka ‘struct _object ()(struct _object , struct _object )’} [-Wincompatible-pointer-types]
3522 | PyObject_GenericGetAttr, / tp_getattro /
| ^~~~~~~
ordereddict.c:3522:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_setattro’)
ordereddict.c:3532:5: warning: initialization of ‘struct PyMethodDef ’ from incompatible pointer type ‘PyObject ()(PyObject )’ {aka ‘struct _object ()(struct _object )’} [-Wincompatible-pointer-types]
3532 | (iternextfunc)dictiter_iternextvalue, / tp_iternext /
| ^
ordereddict.c:3532:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_methods’)
ordereddict.c:3533:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
3533 | dictiter_methods, / tp_methods /
| ^~~~
ordereddict.c:3533:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_members’)
ordereddict.c:3503:44: warning: missing braces around initializer [-Wmissing-braces]
3503 | PyTypeObject PyOrderedDictIterValue_Type = {
| ^
ordereddict.c:3587:43: warning: missing braces around initializer [-Wmissing-braces]
3587 | PyTypeObject PyOrderedDictIterItem_Type = {
| ^
ordereddict.c:3590:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3590 | "_ordereddict.itemiterator", / tp_name /
| ^~~~~~~
ordereddict.c:3590:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_basicsize’)
ordereddict.c:3594:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3594 | (destructor)dictiter_dealloc, / tp_dealloc /
| ^
ordereddict.c:3594:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_vectorcall_offset’)
ordereddict.c:3606:5: warning: initialization of ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} from incompatible pointer type ‘PyObject ()(PyObject , PyObject )’ {aka ‘struct _object ()(struct _object , struct _object )’} [-Wincompatible-pointer-types]
3606 | PyObject_GenericGetAttr, / tp_getattro /
| ^~~~~~~
ordereddict.c:3606:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_setattro’)
ordereddict.c:3616:5: warning: initialization of ‘struct PyMethodDef ’ from incompatible pointer type ‘PyObject ()(PyObject )’ {aka ‘struct _object ()(struct _object )’} [-Wincompatible-pointer-types]
3616 | (iternextfunc)dictiter_iternextitem, / tp_iternext /
| ^
ordereddict.c:3616:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_methods’)
ordereddict.c:3617:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
3617 | dictiter_methods, / tp_methods /
| ^~~~
ordereddict.c:3617:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_members’)
ordereddict.c:3587:43: warning: missing braces around initializer [-Wmissing-braces]
3587 | PyTypeObject PyOrderedDictIterItem_Type = {
| ^
ordereddict.c: In function ‘init_ordereddict’:
ordereddict.c:3666:15: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
3666 | dummy = PyString_FromString("~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3682:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3682 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3684:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3684 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3690:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration]
3690 | m = Py_InitModule3("_ordereddict",
| ^~~~~~
ordereddict.c:3690:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
3690 | m = Py_InitModule3("_ordereddict",
| ^
ordereddict.c:3696:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3696 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3699:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3699 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3707:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3707 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
In file included from /usr/include/python3.10/Python.h:51,
from ordereddict.c:22:
At top level:
ordereddict.c:3274:14: warning: ‘sorteddict_doc’ defined but not used [-Wunused-const-variable=]
3274 | PyDoc_STRVAR(sorteddict_doc,
| ^~~~~~
/usr/include/python3.10/pymacro.h:70:43: note: in definition of macro ‘PyDoc_VAR’
70 | #define PyDoc_VAR(name) static const char name[]
| ^~~~
ordereddict.c:3274:1: note: in expansion of macro ‘PyDoc_STRVAR’
3274 | PyDoc_STRVAR(sorteddict_doc,
| ^~~~
ordereddict.c:3212:1: warning: ‘dict_iter’ defined but not used [-Wunused-function]
3212 | dict_iter(PyOrderedDictObject dict)
| ^~~~~
ordereddict.c:3205:1: warning: ‘dict_nohash’ defined but not used [-Wunused-function]
3205 | dict_nohash(PyObject self)
| ^~~
ordereddict.c:3176:1: warning: ‘sorteddict_init’ defined but not used [-Wunused-function]
3176 | sorteddict_init(PyObject self, PyObject args, PyObject kwds)
| ^~~~~~~
ordereddict.c:3144:1: warning: ‘ordereddict_init’ defined but not used [-Wunused-function]
3144 | ordereddict_init(PyObject self, PyObject args, PyObject kwds)
| ^~~~
ordereddict.c:3122:1: warning: ‘sorteddict_new’ defined but not used [-Wunused-function]
3122 | sorteddict_new(PyTypeObject type, PyObject args, PyObject kwds)
| ^~~~~~
ordereddict.c:3101:1: warning: ‘dict_new’ defined but not used [-Wunused-function]
3101 | dict_new(PyTypeObject type, PyObject args, PyObject kwds)
| ^~~~
ordereddict.c:3087:26: warning: ‘dict_as_sequence’ defined but not used [-Wunused-variable]
3087 | static PySequenceMethods dict_as_sequence = {
| ^~~~
ordereddict.c:2939:20: warning: ‘ordereddict_methods’ defined but not used [-Wunused-variable]
2939 | static PyMethodDef ordereddict_methods[] = {
| ^~~~~~~
ordereddict.c:2504:1: warning: ‘dict_tp_clear’ defined but not used [-Wunused-function]
2504 | dict_tp_clear(PyObject op)
| ^~~~~
ordereddict.c:2490:1: warning: ‘dict_traverse’ defined but not used [-Wunused-function]
2490 | dict_traverse(PyObject op, visitproc visit, void arg)
| ^~~~~
ordereddict.c:2252:1: warning: ‘dict_richcompare’ defined but not used [-Wunused-function]
2252 | dict_richcompare(PyObject v, PyObject w, int op)
| ^~~~
ordereddict.c:2161:1: warning: ‘dict_compare’ defined but not used [-Wunused-function]
2161 | dict_compare(PyOrderedDictObject a, PyOrderedDictObject b)
| ^~~~
ordereddict.c:1493:25: warning: ‘dict_as_mapping’ defined but not used [-Wunused-variable]
1493 | static PyMappingMethods dict_as_mapping = {
| ^~~~~~~
ordereddict.c:1155:1: warning: ‘ordereddict_repr’ defined but not used [-Wunused-function]
1155 | ordereddict_repr(PyOrderedDictObject mp)
| ^~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ruamel.ordereddict Running setup.py clean for ruamel.ordereddict Failed to build ruamel.ordereddict Installing collected packages: ruamel.ordereddict Running setup.py install for ruamel.ordereddict ... error error: subprocess-exited-with-error
× Running setup.py install for ruamel.ordereddict did not run successfully.
│ exit code: 1
╰─> [541 lines of output]
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/ruamel
creating build/lib.linux-x86_64-3.10/ruamel/ordereddict
copying ./init.py -> build/lib.linux-x86_64-3.10/ruamel/ordereddict
running build_ext
building '_ordereddict' extension
creating build/temp.linux-x86_64-3.10
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c ordereddict.c -o build/temp.linux-x86_64-3.10/ordereddict.o
ordereddict.c: In function ‘lookdict_string’:
ordereddict.c:320:10: warning: implicit declaration of function ‘PyString_CheckExact’; did you mean ‘PyLong_CheckExact’? [-Wimplicit-function-declaration]
320 | if (!PyString_CheckExact(key)) {
| ^~~~~~~
| PyLong_CheckExact
ordereddict.c:334:36: warning: implicit declaration of function ‘_PyString_Eq’ [-Wimplicit-function-declaration]
334 | if (ep->me_hash == hash && _PyString_Eq(ep->me_key, key))
| ^~~~
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dump_ordereddict_head’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:365:9: note: in expansion of macro ‘PySortedDict_CheckExact’
365 | if (PySortedDict_CheckExact(mp))
| ^~~~~~~
ordereddict.c: In function ‘PyOrderedDict_GetItem’:
ordereddict.c:733:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
733 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:733:23: note: each undeclared identifier is reported only once for each function it appears in
ordereddict.c:733:39: error: expected expression before ‘)’ token
733 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c:744:14: error: ‘_PyThreadState_Current’ undeclared (first use in this function); did you mean ‘PyThreadState_Next’?
744 | tstate = _PyThreadState_Current;
| ^~~~~~
| PyThreadState_Next
ordereddict.c: In function ‘PyOrderedDict_SetItem’:
ordereddict.c:786:18: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
786 | hash = ((PyStringObject )key)->ob_shash;
| ^~~~~~
| PySliceObject
ordereddict.c:786:34: error: expected expression before ‘)’ token
786 | hash = ((PyStringObject )key)->ob_shash;
| ^
ordereddict.c: In function ‘PyOrderedDict_InsertItem’:
ordereddict.c:848:18: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
848 | hash = ((PyStringObject )key)->ob_shash;
| ^~~~~~
| PySliceObject
ordereddict.c:848:34: error: expected expression before ‘)’ token
848 | hash = ((PyStringObject )key)->ob_shash;
| ^
ordereddict.c: In function ‘PyOrderedDict_DelItem’:
ordereddict.c:911:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
911 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:911:39: error: expected expression before ‘)’ token
911 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘ordereddict_print’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1113:9: note: in expansion of macro ‘PySortedDict_CheckExact’
1113 | if (PySortedDict_CheckExact(mp))
| ^~~~~~~
ordereddict.c: In function ‘ordereddict_repr’:
ordereddict.c:1168:24: warning: implicit declaration of function ‘PyString_FromFormat’; did you mean ‘PyBytes_FromFormat’? [-Wimplicit-function-declaration]
1168 | return i > 0 ? PyString_FromFormat("%sdict([...])", typestr) : NULL;
| ^~~~~~~
| PyBytes_FromFormat
ordereddict.c:1168:70: warning: pointer/integer type mismatch in conditional expression
1168 | return i > 0 ? PyString_FromFormat("%sdict([...])", typestr) : NULL;
| ^
ordereddict.c:1172:16: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1172 | result = PyString_FromFormat("%sdict([])", typestr);
| ^
ordereddict.c:1180:13: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration]
1180 | comma = PyString_FromString(", ");
| ^~~~~~~
| PyLong_FromString
ordereddict.c:1180:11: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1180 | comma = PyString_FromString(", ");
| ^
ordereddict.c:1183:14: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1183 | rightpar = PyString_FromString(")");
| ^
ordereddict.c:1194:11: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1194 | s = PyString_FromString("(");
| ^
ordereddict.c:1195:9: warning: implicit declaration of function ‘PyString_ConcatAndDel’; did you mean ‘PyBytes_ConcatAndDel’? [-Wimplicit-function-declaration]
1195 | PyString_ConcatAndDel(&s, PyObject_Repr(key));
| ^~~~~
| PyBytes_ConcatAndDel
ordereddict.c:1196:9: warning: implicit declaration of function ‘PyString_Concat’; did you mean ‘PySequence_Concat’? [-Wimplicit-function-declaration]
1196 | PyString_Concat(&s, comma);
| ^~~~~~~
| PySequence_Concat
ordereddict.c:1210:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1210 | s = PyString_FromFormat("%sdict([", typestr);
| ^
ordereddict.c:1219:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1219 | s = PyString_FromString("])");
| ^
ordereddict.c:1229:14: warning: implicit declaration of function ‘_PyString_Join’ [-Wimplicit-function-declaration]
1229 | result = _PyString_Join(comma, pieces);
| ^~~~~~
ordereddict.c:1229:12: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1229 | result = _PyString_Join(comma, pieces);
| ^
In file included from /usr/include/python3.10/Python.h:106,
from ordereddict.c:22:
ordereddict.c: In function ‘dict_subscript’:
ordereddict.c:1255:34: warning: passing argument 1 of ‘PySlice_Unpack’ from incompatible pointer type [-Wincompatible-pointer-types]
1255 | if (PySlice_GetIndicesEx((PySliceObject)key, mp->ma_used,
/usr/include/python3.10/sliceobject.h:51:21: note: in definition of macro ‘PySlice_GetIndicesEx’
51 | PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
| ^~~~~
/usr/include/python3.10/sliceobject.h:55:42: note: expected ‘PyObject ’ {aka ‘struct _object ’} but argument is of type ‘PySliceObject ’
55 | PyAPI_FUNC(int) PySlice_Unpack(PyObject slice,
| ~~^~~~~
ordereddict.c:1269:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
1269 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:1269:39: error: expected expression before ‘)’ token
1269 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.h:154:43: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
154 | #define PyOrderedDict_CheckExact(op) ((op)->ob_type == &PyOrderedDict_Type)
| ^~
ordereddict.c:1279:14: note: in expansion of macro ‘PyOrderedDict_CheckExact’
1279 | if (!PyOrderedDict_CheckExact(mp) && !PySortedDict_CheckExact(mp)) {
| ^~~~~~~~
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1279:47: note: in expansion of macro ‘PySortedDict_CheckExact’
1279 | if (!PyOrderedDict_CheckExact(mp) && !PySortedDict_CheckExact(mp)) {
| ^~~~~~~
ordereddict.c:1285:21: warning: implicit declaration of function ‘PyString_InternFromString’; did you mean ‘PyUnicode_InternFromString’? [-Wimplicit-function-declaration]
1285 | PyString_InternFromString("missing");
| ^~~~~~~~~
| PyUnicode_InternFromString
ordereddict.c:1284:29: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1284 | missing_str =
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_ass_slice’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1313:9: note: in expansion of macro ‘PySortedDict_CheckExact’
1313 | if (PySortedDict_CheckExact(self)) {
| ^~~~~~~
ordereddict.c:1349:15: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1349 | if (s > sizeof(recycle_on_stack)) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_ass_subscript’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:1404:13: note: in expansion of macro ‘PySortedDict_CheckExact’
1404 | if (PySortedDict_CheckExact(self)) {
| ^~~~~~~
In file included from /usr/include/python3.10/Python.h:106,
from ordereddict.c:22:
ordereddict.c:1409:34: warning: passing argument 1 of ‘PySlice_Unpack’ from incompatible pointer type [-Wincompatible-pointer-types]
1409 | if (PySlice_GetIndicesEx((PySliceObject)item, self->ma_used,
/usr/include/python3.10/sliceobject.h:51:21: note: in definition of macro ‘PySlice_GetIndicesEx’
51 | PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
| ^~~~~
/usr/include/python3.10/sliceobject.h:55:42: note: expected ‘PyObject ’ {aka ‘struct _object ’} but argument is of type ‘PySliceObject ’
55 | PyAPI_FUNC(int) PySlice_Unpack(PyObject slice,
| ~~^~~~~
ordereddict.c: In function ‘dict_compare’:
ordereddict.c:2195:15: warning: implicit declaration of function ‘PyObject_Compare’; did you mean ‘PyObject_RichCompare’? [-Wimplicit-function-declaration]
2195 | res = PyObject_Compare(adiff, bdiff);
| ^~~~
| PyObject_RichCompare
ordereddict.c: In function ‘dict_contains’:
ordereddict.c:2277:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2277 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2277:39: error: expected expression before ‘)’ token
2277 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_has_key’:
ordereddict.c:2298:9: error: ‘Py_Py3kWarningFlag’ undeclared (first use in this function); did you mean ‘Py_BytesWarningFlag’?
2298 | if (Py_Py3kWarningFlag &&
| ^~~~~~
| Py_BytesWarningFlag
ordereddict.c: In function ‘dict_get’:
ordereddict.c:2330:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2330 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2330:39: error: expected expression before ‘)’ token
2330 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_setdefault’:
ordereddict.c:2359:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2359 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2359:39: error: expected expression before ‘)’ token
2359 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_pop’:
ordereddict.c:2405:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2405 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2405:39: error: expected expression before ‘)’ token
2405 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: In function ‘dict_index’:
ordereddict.c:2543:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2543 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2543:39: error: expected expression before ‘)’ token
2543 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c:2558:20: warning: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Wimplicit-function-declaration]
2558 | return PyInt_FromSize_t(index);
| ^~~~
| PyLong_FromSize_t
ordereddict.c:2558:20: warning: returning ‘int’ from a function with return type ‘PyObject ’ {aka ‘struct _object ’} makes pointer from integer without a cast [-Wint-conversion]
2558 | return PyInt_FromSize_t(index);
| ^~~~~~~
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_setkeys’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2606:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2606 | if (PySortedDict_CheckExact(mp)) {
| ^~~~~~~
ordereddict.c:2669:27: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2669 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2669:43: error: expected expression before ‘)’ token
2669 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_rename’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2777:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2777 | if (PySortedDict_CheckExact(mp)) {
| ^~~~~~~
ordereddict.c:2786:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
2786 | (hash = ((PyStringObject ) oldkey)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:2786:39: error: expected expression before ‘)’ token
2786 | (hash = ((PyStringObject ) oldkey)->ob_shash) == -1) {
| ^
In file included from ordereddict.c:23:
ordereddict.c: In function ‘dict_reduce’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2824:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2824 | if (PySortedDict_CheckExact(self)) {
| ^~~~~~~
ordereddict.c:2827:52: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
2827 | result = Py_BuildValue("O(()OOOi)NNO", self->ob_type,
| ^~
ordereddict.c:2833:50: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
2833 | result = Py_BuildValue("O(()ii)NNO", self->ob_type, RELAXED(self), KVIO(self), dict, dict, it);
| ^~
ordereddict.c: In function ‘ordereddict_getstate’:
ordereddict.c:2842:12: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration]
2842 | return PyInt_FromLong(mp->od_state);
| ^~~~~~
| PyLong_FromLong
ordereddict.c:2842:12: warning: returning ‘int’ from a function with return type ‘PyObject ’ {aka ‘struct _object ’} makes pointer from integer without a cast [-Wint-conversion]
2842 | return PyInt_FromLong(mp->od_state);
| ^~~~~~~~
In file included from ordereddict.c:23:
ordereddict.c: In function ‘ordereddict_dump’:
ordereddict.h:155:42: error: ‘PyOrderedDictObject’ {aka ‘struct _ordereddictobject’} has no member named ‘ob_type’
155 | #define PySortedDict_CheckExact(op) ((op)->ob_type == &PySortedDict_Type)
| ^~
ordereddict.c:2850:9: note: in expansion of macro ‘PySortedDict_CheckExact’
2850 | if (PySortedDict_CheckExact(mp))
| ^~~~~~~
ordereddict.c: In function ‘PyOrderedDict_Contains’:
ordereddict.c:3030:23: error: ‘PyStringObject’ undeclared (first use in this function); did you mean ‘PySliceObject’?
3030 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^~~~~~
| PySliceObject
ordereddict.c:3030:39: error: expected expression before ‘)’ token
3030 | (hash = ((PyStringObject ) key)->ob_shash) == -1) {
| ^
ordereddict.c: At top level:
ordereddict.c:3229:35: warning: missing braces around initializer [-Wmissing-braces]
3229 | PyTypeObject PyOrderedDict_Type = {
| ^
ordereddict.c:3232:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3232 | "_ordereddict.ordereddict",
| ^~~~~~
ordereddict.c:3232:5: note: (near initialization for ‘PyOrderedDict_Type.tp_basicsize’)
ordereddict.c:3235:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3235 | (destructor)dict_dealloc, / tp_dealloc /
| ^
ordereddict.c:3235:5: note: (near initialization for ‘PyOrderedDict_Type.tp_vectorcall_offset’)
ordereddict.c:3236:5: warning: initialization of ‘PyObject ()(PyObject , char )’ {aka ‘struct _object ()(struct _object , char )’} from ‘long int’ makes pointer from integer without a cast [-Wint-conversion]
3236 | (printfunc)ordereddict_print, / tp_print /
| ^
ordereddict.c:3236:5: note: (near initialization for ‘PyOrderedDict_Type.tp_getattr’)
ordereddict.c:3239:6: error: ‘cmpfunc’ undeclared here (not in a function)
3239 | (cmpfunc)dict_compare, / tp_compare /
| ^~~
ordereddict.c:3239:14: error: expected ‘}’ before ‘dict_compare’
3239 | (cmpfunc)dict_compare, / tp_compare /
| ^~~~
ordereddict.c:3229:35: note: to match this ‘{’
3229 | PyTypeObject PyOrderedDict_Type = {
| ^
ordereddict.c:3229:35: warning: missing braces around initializer [-Wmissing-braces]
ordereddict.c:3279:34: warning: missing braces around initializer [-Wmissing-braces]
3279 | PyTypeObject PySortedDict_Type = {
| ^
ordereddict.c:3282:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3282 | "_ordereddict.sorteddict",
| ^~~~~~~~~
ordereddict.c:3282:5: note: (near initialization for ‘PySortedDict_Type.tp_basicsize’)
ordereddict.c:3285:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3285 | (destructor)dict_dealloc, / tp_dealloc /
| ^
ordereddict.c:3285:5: note: (near initialization for ‘PySortedDict_Type.tp_vectorcall_offset’)
ordereddict.c:3286:5: warning: initialization of ‘PyObject ()(PyObject , char )’ {aka ‘struct _object ()(struct _object , char )’} from ‘long int’ makes pointer from integer without a cast [-Wint-conversion]
3286 | (printfunc)ordereddict_print, / tp_print /
| ^
ordereddict.c:3286:5: note: (near initialization for ‘PySortedDict_Type.tp_getattr’)
ordereddict.c:3289:14: error: expected ‘}’ before ‘dict_compare’
3289 | (cmpfunc)dict_compare, / tp_compare /
| ^~~~
ordereddict.c:3279:34: note: to match this ‘{’
3279 | PyTypeObject PySortedDict_Type = {
| ^
ordereddict.c:3279:34: warning: missing braces around initializer [-Wmissing-braces]
ordereddict.c: In function ‘dictiter_len’:
ordereddict.c:3389:12: warning: returning ‘int’ from a function with return type ‘PyObject ’ {aka ‘struct _object ’} makes pointer from integer without a cast [-Wint-conversion]
3389 | return PyInt_FromSize_t(len);
| ^~~~~
ordereddict.c: At top level:
ordereddict.c:3435:42: warning: missing braces around initializer [-Wmissing-braces]
3435 | PyTypeObject PyOrderedDictIterKey_Type = {
| ^
ordereddict.c:3438:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3438 | "_ordereddict.keyiterator", / tp_name /
| ^~~~~~
ordereddict.c:3438:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_basicsize’)
ordereddict.c:3442:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3442 | (destructor)dictiter_dealloc, / tp_dealloc /
| ^
ordereddict.c:3442:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_vectorcall_offset’)
ordereddict.c:3454:5: warning: initialization of ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} from incompatible pointer type ‘PyObject ()(PyObject , PyObject )’ {aka ‘struct _object ()(struct _object , struct _object )’} [-Wincompatible-pointer-types]
3454 | PyObject_GenericGetAttr, / tp_getattro /
| ^~~~~~~
ordereddict.c:3454:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_setattro’)
ordereddict.c:3464:5: warning: initialization of ‘struct PyMethodDef ’ from incompatible pointer type ‘PyObject ()(PyObject )’ {aka ‘struct _object ()(struct _object )’} [-Wincompatible-pointer-types]
3464 | (iternextfunc)dictiter_iternextkey, / tp_iternext /
| ^
ordereddict.c:3464:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_methods’)
ordereddict.c:3465:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
3465 | dictiter_methods, / tp_methods /
| ^~~~
ordereddict.c:3465:5: note: (near initialization for ‘PyOrderedDictIterKey_Type.tp_members’)
ordereddict.c:3435:42: warning: missing braces around initializer [-Wmissing-braces]
3435 | PyTypeObject PyOrderedDictIterKey_Type = {
| ^
ordereddict.c:3503:44: warning: missing braces around initializer [-Wmissing-braces]
3503 | PyTypeObject PyOrderedDictIterValue_Type = {
| ^
ordereddict.c:3506:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3506 | "_ordereddict.valueiterator", / tp_name /
| ^~~~~~~~
ordereddict.c:3506:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_basicsize’)
ordereddict.c:3510:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3510 | (destructor)dictiter_dealloc, / tp_dealloc /
| ^
ordereddict.c:3510:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_vectorcall_offset’)
ordereddict.c:3522:5: warning: initialization of ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} from incompatible pointer type ‘PyObject ()(PyObject , PyObject )’ {aka ‘struct _object ()(struct _object , struct _object )’} [-Wincompatible-pointer-types]
3522 | PyObject_GenericGetAttr, / tp_getattro /
| ^~~~~~~
ordereddict.c:3522:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_setattro’)
ordereddict.c:3532:5: warning: initialization of ‘struct PyMethodDef ’ from incompatible pointer type ‘PyObject ()(PyObject )’ {aka ‘struct _object ()(struct _object )’} [-Wincompatible-pointer-types]
3532 | (iternextfunc)dictiter_iternextvalue, / tp_iternext /
| ^
ordereddict.c:3532:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_methods’)
ordereddict.c:3533:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
3533 | dictiter_methods, / tp_methods /
| ^~~~
ordereddict.c:3533:5: note: (near initialization for ‘PyOrderedDictIterValue_Type.tp_members’)
ordereddict.c:3503:44: warning: missing braces around initializer [-Wmissing-braces]
3503 | PyTypeObject PyOrderedDictIterValue_Type = {
| ^
ordereddict.c:3587:43: warning: missing braces around initializer [-Wmissing-braces]
3587 | PyTypeObject PyOrderedDictIterItem_Type = {
| ^
ordereddict.c:3590:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
3590 | "_ordereddict.itemiterator", / tp_name /
| ^~~~~~~
ordereddict.c:3590:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_basicsize’)
ordereddict.c:3594:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
3594 | (destructor)dictiter_dealloc, / tp_dealloc /
| ^
ordereddict.c:3594:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_vectorcall_offset’)
ordereddict.c:3606:5: warning: initialization of ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} from incompatible pointer type ‘PyObject ()(PyObject , PyObject )’ {aka ‘struct _object ()(struct _object , struct _object )’} [-Wincompatible-pointer-types]
3606 | PyObject_GenericGetAttr, / tp_getattro /
| ^~~~~~~
ordereddict.c:3606:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_setattro’)
ordereddict.c:3616:5: warning: initialization of ‘struct PyMethodDef ’ from incompatible pointer type ‘PyObject ()(PyObject )’ {aka ‘struct _object ()(struct _object )’} [-Wincompatible-pointer-types]
3616 | (iternextfunc)dictiter_iternextitem, / tp_iternext /
| ^
ordereddict.c:3616:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_methods’)
ordereddict.c:3617:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
3617 | dictiter_methods, / tp_methods /
| ^~~~
ordereddict.c:3617:5: note: (near initialization for ‘PyOrderedDictIterItem_Type.tp_members’)
ordereddict.c:3587:43: warning: missing braces around initializer [-Wmissing-braces]
3587 | PyTypeObject PyOrderedDictIterItem_Type = {
| ^
ordereddict.c: In function ‘init_ordereddict’:
ordereddict.c:3666:15: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
3666 | dummy = PyString_FromString("~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3682:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3682 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3684:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3684 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3690:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration]
3690 | m = Py_InitModule3("_ordereddict",
| ^~~~~~
ordereddict.c:3690:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
3690 | m = Py_InitModule3("_ordereddict",
| ^
ordereddict.c:3696:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3696 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3699:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3699 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
ordereddict.c:3707:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
3707 | return;
| ^~
ordereddict.c:3661:1: note: declared here
3661 | init_ordereddict(void)
| ^~~~
In file included from /usr/include/python3.10/Python.h:51,
from ordereddict.c:22:
At top level:
ordereddict.c:3274:14: warning: ‘sorteddict_doc’ defined but not used [-Wunused-const-variable=]
3274 | PyDoc_STRVAR(sorteddict_doc,
| ^~~~~~
/usr/include/python3.10/pymacro.h:70:43: note: in definition of macro ‘PyDoc_VAR’
70 | #define PyDoc_VAR(name) static const char name[]
| ^~~~
ordereddict.c:3274:1: note: in expansion of macro ‘PyDoc_STRVAR’
3274 | PyDoc_STRVAR(sorteddict_doc,
| ^~~~
ordereddict.c:3212:1: warning: ‘dict_iter’ defined but not used [-Wunused-function]
3212 | dict_iter(PyOrderedDictObject dict)
| ^~~~~
ordereddict.c:3205:1: warning: ‘dict_nohash’ defined but not used [-Wunused-function]
3205 | dict_nohash(PyObject self)
| ^~~
ordereddict.c:3176:1: warning: ‘sorteddict_init’ defined but not used [-Wunused-function]
3176 | sorteddict_init(PyObject self, PyObject args, PyObject kwds)
| ^~~~~~~
ordereddict.c:3144:1: warning: ‘ordereddict_init’ defined but not used [-Wunused-function]
3144 | ordereddict_init(PyObject self, PyObject args, PyObject kwds)
| ^~~~
ordereddict.c:3122:1: warning: ‘sorteddict_new’ defined but not used [-Wunused-function]
3122 | sorteddict_new(PyTypeObject type, PyObject args, PyObject kwds)
| ^~~~~~
ordereddict.c:3101:1: warning: ‘dict_new’ defined but not used [-Wunused-function]
3101 | dict_new(PyTypeObject type, PyObject args, PyObject kwds)
| ^~~~
ordereddict.c:3087:26: warning: ‘dict_as_sequence’ defined but not used [-Wunused-variable]
3087 | static PySequenceMethods dict_as_sequence = {
| ^~~~
ordereddict.c:2939:20: warning: ‘ordereddict_methods’ defined but not used [-Wunused-variable]
2939 | static PyMethodDef ordereddict_methods[] = {
| ^~~~~~~
ordereddict.c:2504:1: warning: ‘dict_tp_clear’ defined but not used [-Wunused-function]
2504 | dict_tp_clear(PyObject op)
| ^~~~~
ordereddict.c:2490:1: warning: ‘dict_traverse’ defined but not used [-Wunused-function]
2490 | dict_traverse(PyObject op, visitproc visit, void arg)
| ^~~~~
ordereddict.c:2252:1: warning: ‘dict_richcompare’ defined but not used [-Wunused-function]
2252 | dict_richcompare(PyObject v, PyObject w, int op)
| ^~~~
ordereddict.c:2161:1: warning: ‘dict_compare’ defined but not used [-Wunused-function]
2161 | dict_compare(PyOrderedDictObject a, PyOrderedDictObject b)
| ^~~~
ordereddict.c:1493:25: warning: ‘dict_as_mapping’ defined but not used [-Wunused-variable]
1493 | static PyMappingMethods dict_as_mapping = {
| ^~~~~~~
ordereddict.c:1155:1: warning: ‘ordereddict_repr’ defined but not used [-Wunused-function]
1155 | ordereddict_repr(PyOrderedDictObject mp)
| ^~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> ruamel.ordereddict
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Another one:
sudo pip install PyYAML==3.12 Collecting PyYAML==3.12 Downloading PyYAML-3.12.zip (375 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 375.8/375.8 kB 32.7 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Building wheels for collected packages: PyYAML Building wheel for PyYAML (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [719 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.10 creating build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/scanner.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/loader.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/resolver.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/nodes.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/tokens.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/dumper.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/representer.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/emitter.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/cyaml.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/parser.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/events.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/init.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/reader.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/composer.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/error.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/serializer.py -> build/lib.linux-x86_64-3.10/yaml running build_ext creating build/temp.linux-x86_64-3.10 checking if libyaml is compilable x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-3.10/check_libyaml.c -o build/temp.linux-x86_64-3.10/check_libyaml.o checking if libyaml is linkable x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-3.10/check_libyaml.o -lyaml -o build/temp.linux-x86_64-3.10/check_libyaml skipping 'ext/_yaml.c' Cython extension (up-to-date) building '_yaml' extension creating build/temp.linux-x86_64-3.10/ext x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c ext/_yaml.c -o build/temp.linux-x86_64-3.10/ext/_yaml.o In file included from ext/_yaml.c:271: ext/_yaml.h:10: warning: "PyString_CheckExact" redefined 10 | #define PyString_CheckExact PyBytes_CheckExact |
---|
ext/_yaml.c:139: note: this is the location of the previous definition
139 | #define PyString_CheckExact PyUnicode_CheckExact
|
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’:
ext/_yaml.c:1410:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1410 | __pyx_v_value = yaml_get_version_string();
| ^
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
ext/_yaml.c:2577:52: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types]
2577 | yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *, char *, size_t, size_t *) {aka int (*)(void *, char *, long unsigned int, long unsigned int *)}
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:1374:30: note: expected ‘int (*)(void *, unsigned char *, size_t, size_t *)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int, long unsigned int *)’} but argument is of type ‘int (*)(void *, char *, size_t, size_t *)’ {aka ‘int (*)(void *, char *, long unsigned int, long unsigned int *)’}
1374 | yaml_read_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.10/bytesobject.h:62,
from /usr/include/python3.10/Python.h:82,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/bytesobject.h:32:57: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign]
32 | #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
33 | (((PyBytesObject *)(op))->ob_sval))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:11:29: note: in expansion of macro ‘PyBytes_AS_STRING’
11 | #define PyString_AS_STRING PyBytes_AS_STRING
| ^~~~~~~~~~~~~~~~~
ext/_yaml.c:2818:59: note: in expansion of macro ‘PyString_AS_STRING’
2818 | yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
| ^~~~~~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:1348:30: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
1348 | const unsigned char *input, size_t size);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’:
ext/_yaml.c:4572:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
4572 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:4584:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
4584 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5444:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5444 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5518:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5518 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5592:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5592 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5604:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5604 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5716:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
5716 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’:
ext/_yaml.c:7424:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7424 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7436:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7436 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7655:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7655 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7749:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7749 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7790:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7790 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7811:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
7811 | __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_yaml.c:8179:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8179 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:8220:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8220 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:8449:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8449 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:8490:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8490 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’:
ext/_yaml.c:10094:75: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10094 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:10378:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10378 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:10434:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10434 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:10490:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10490 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’:
ext/_yaml.c:11109:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
11109 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_yaml.c:11310:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11310 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_sequence_node’:
ext/_yaml.c:11841:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11841 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_mapping_node’:
ext/_yaml.c:12435:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
12435 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_input_handler’:
ext/_yaml.c:13141:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
13141 | __pyx_t_3 = (((__pyx_v_parser->stream_cache_len - __pyx_v_parser->stream_cache_pos) < __pyx_v_size) != 0);
| ^
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter___init__’:
ext/_yaml.c:13630:53: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types]
13630 | yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *, char *, size_t) {aka int (*)(void *, char *, long unsigned int)}
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:1844:31: note: expected ‘int (*)(void *, unsigned char *, size_t)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int)’} but argument is of type ‘int (*)(void *, char *, size_t)’ {aka ‘int (*)(void *, char *, long unsigned int)’}
1844 | yaml_write_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__object_to_event’:
ext/_yaml.c:15002:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
15002 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
| ^
ext/_yaml.c:15117:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
15117 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
| ^
ext/_yaml.c:15454:62: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
15454 | __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor);
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:16169:63: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:16169:79: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:16169:92: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:582:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
582 | const yaml_char_t *value, int length,
| ~~~~~~~~~~~~~~~~~~~^~~~~
ext/_yaml.c:16603:71: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
16603 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:16603:87: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
16603 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:17037:70: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
17037 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:17037:86: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
17037 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter_12serialize’:
ext/_yaml.c:18516:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
18516 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
| ^
ext/_yaml.c:18631:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
18631 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
| ^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__serialize_node’:
ext/_yaml.c:19491:65: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
19491 | __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor);
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:20240:68: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:20240:84: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:20240:97: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:582:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
582 | const yaml_char_t *value, int length,
| ~~~~~~~~~~~~~~~~~~~^~~~~
ext/_yaml.c:20605:76: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
20605 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:20605:92: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
20605 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:21113:75: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
21113 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:21113:91: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
21113 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c: In function ‘__pyx_tp_dealloc_5_yaml_CParser’:
ext/_yaml.c:21786:5: error: lvalue required as increment operand
21786 | ++Py_REFCNT(o);
| ^~
ext/_yaml.c:21788:5: error: lvalue required as decrement operand
21788 | --Py_REFCNT(o);
| ^~
ext/_yaml.c: In function ‘__pyx_tp_dealloc_5_yaml_CEmitter’:
ext/_yaml.c:21954:5: error: lvalue required as increment operand
21954 | ++Py_REFCNT(o);
| ^~
ext/_yaml.c:21956:5: error: lvalue required as decrement operand
21956 | --Py_REFCNT(o);
| ^~
ext/_yaml.c: In function ‘PyInit__yaml’:
ext/_yaml.c:23103:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23103 | __pyx_type_5_yaml_Mark.tp_print = 0;
| ^
ext/_yaml.c:23119:28: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23119 | __pyx_type_5_yaml_CParser.tp_print = 0;
| ^
ext/_yaml.c:23129:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23129 | __pyx_type_5_yaml_CEmitter.tp_print = 0;
| ^
ext/_yaml.c: In function ‘__Pyx_ParseOptionalKeywords’:
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function ‘__Pyx__ExceptionSave’:
ext/_yaml.c:24143:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24143 | *type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24144:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24144 | *value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24145:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24145 | *tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c: In function ‘__Pyx__ExceptionReset’:
ext/_yaml.c:24152:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24152 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24153:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24153 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24154:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24154 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c:24155:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24155 | tstate->exc_type = type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24156:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24156 | tstate->exc_value = value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24157:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24157 | tstate->exc_traceback = tb;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c: In function ‘__Pyx__GetException’:
ext/_yaml.c:24212:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24212 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24213:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24213 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24214:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24214 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c:24215:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24215 | tstate->exc_type = local_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24216:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24216 | tstate->exc_value = local_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24217:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24217 | tstate->exc_traceback = local_tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for PyYAML Running setup.py clean for PyYAML Failed to build PyYAML Installing collected packages: PyYAML Attempting uninstall: PyYAML Found existing installation: PyYAML 5.4.1 Uninstalling PyYAML-5.4.1: Successfully uninstalled PyYAML-5.4.1 Running setup.py install for PyYAML ... error error: subprocess-exited-with-error
× Running setup.py install for PyYAML did not run successfully. │ exit code: 1 ╰─> [719 lines of output] running install running build running build_py creating build creating build/lib.linux-x86_64-3.10 creating build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/scanner.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/loader.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/resolver.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/nodes.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/tokens.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/dumper.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/representer.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/emitter.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/cyaml.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/parser.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/events.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/init.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/reader.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/composer.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/error.py -> build/lib.linux-x86_64-3.10/yaml copying lib3/yaml/serializer.py -> build/lib.linux-x86_64-3.10/yaml running build_ext creating build/temp.linux-x86_64-3.10 checking if libyaml is compilable x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-3.10/check_libyaml.c -o build/temp.linux-x86_64-3.10/check_libyaml.o checking if libyaml is linkable x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-3.10/check_libyaml.o -lyaml -o build/temp.linux-x86_64-3.10/check_libyaml skipping 'ext/_yaml.c' Cython extension (up-to-date) building '_yaml' extension creating build/temp.linux-x86_64-3.10/ext x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c ext/_yaml.c -o build/temp.linux-x86_64-3.10/ext/_yaml.o In file included from ext/_yaml.c:271: ext/_yaml.h:10: warning: "PyString_CheckExact" redefined 10 | #define PyString_CheckExact PyBytes_CheckExact |
---|
ext/_yaml.c:139: note: this is the location of the previous definition
139 | #define PyString_CheckExact PyUnicode_CheckExact
|
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’:
ext/_yaml.c:1410:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1410 | __pyx_v_value = yaml_get_version_string();
| ^
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
ext/_yaml.c:2577:52: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types]
2577 | yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *, char *, size_t, size_t *) {aka int (*)(void *, char *, long unsigned int, long unsigned int *)}
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:1374:30: note: expected ‘int (*)(void *, unsigned char *, size_t, size_t *)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int, long unsigned int *)’} but argument is of type ‘int (*)(void *, char *, size_t, size_t *)’ {aka ‘int (*)(void *, char *, long unsigned int, long unsigned int *)’}
1374 | yaml_read_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/python3.10/bytesobject.h:62,
from /usr/include/python3.10/Python.h:82,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/bytesobject.h:32:57: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign]
32 | #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| char *
33 | (((PyBytesObject *)(op))->ob_sval))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:11:29: note: in expansion of macro ‘PyBytes_AS_STRING’
11 | #define PyString_AS_STRING PyBytes_AS_STRING
| ^~~~~~~~~~~~~~~~~
ext/_yaml.c:2818:59: note: in expansion of macro ‘PyString_AS_STRING’
2818 | yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
| ^~~~~~~~~~~~~~~~~~
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:1348:30: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
1348 | const unsigned char *input, size_t size);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’:
ext/_yaml.c:4572:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
4572 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:4584:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
4584 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5444:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5444 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5518:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5518 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5592:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5592 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5604:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
5604 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:5716:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
5716 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’:
ext/_yaml.c:7424:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7424 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7436:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7436 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7655:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7655 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7749:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7749 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7790:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
7790 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:7811:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
7811 | __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_yaml.c:8179:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8179 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:8220:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8220 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:8449:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8449 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:8490:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
8490 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’:
ext/_yaml.c:10094:75: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10094 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:10378:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10378 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:10434:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10434 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c:10490:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
10490 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’:
ext/_yaml.c:11109:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
11109 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
455 | const char *string, /* UTF-8 encoded string */
| ~~~~~~~~~~~~^~~~~~
ext/_yaml.c:11310:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11310 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_sequence_node’:
ext/_yaml.c:11841:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
11841 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_mapping_node’:
ext/_yaml.c:12435:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
12435 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| yaml_char_t * {aka unsigned char *}
In file included from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
138 | const char *u /* UTF-8 encoded string */
| ~~~~~~~~~~~~^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_input_handler’:
ext/_yaml.c:13141:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
13141 | __pyx_t_3 = (((__pyx_v_parser->stream_cache_len - __pyx_v_parser->stream_cache_pos) < __pyx_v_size) != 0);
| ^
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter___init__’:
ext/_yaml.c:13630:53: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types]
13630 | yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *, char *, size_t) {aka int (*)(void *, char *, long unsigned int)}
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:1844:31: note: expected ‘int (*)(void *, unsigned char *, size_t)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int)’} but argument is of type ‘int (*)(void *, char *, size_t)’ {aka ‘int (*)(void *, char *, long unsigned int)’}
1844 | yaml_write_handler_t *handler, void *data);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__object_to_event’:
ext/_yaml.c:15002:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
15002 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
| ^
ext/_yaml.c:15117:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
15117 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
| ^
ext/_yaml.c:15454:62: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
15454 | __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor);
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:16169:63: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:16169:79: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:16169:92: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:582:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
582 | const yaml_char_t *value, int length,
| ~~~~~~~~~~~~~~~~~~~^~~~~
ext/_yaml.c:16603:71: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
16603 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:16603:87: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
16603 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:17037:70: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
17037 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:17037:86: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
17037 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter_12serialize’:
ext/_yaml.c:18516:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
18516 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
| ^
ext/_yaml.c:18631:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
18631 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
| ^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__serialize_node’:
ext/_yaml.c:19491:65: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
19491 | __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor);
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:20240:68: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:20240:84: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:581:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
581 | const yaml_char_t *anchor, const yaml_char_t *tag,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:20240:97: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
| ^~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:582:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
582 | const yaml_char_t *value, int length,
| ~~~~~~~~~~~~~~~~~~~^~~~~
ext/_yaml.c:20605:76: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
20605 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:20605:92: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
20605 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:604:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c:21113:75: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
21113 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
ext/_yaml.c:21113:91: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
21113 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
| ^~~~~~~~~~~
| |
| char *
In file included from ext/_yaml.h:2,
from ext/_yaml.c:271:
/usr/include/yaml.h:636:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
| ~~~~~~~~~~~~~~~~~~~^~~
ext/_yaml.c: In function ‘__pyx_tp_dealloc_5_yaml_CParser’:
ext/_yaml.c:21786:5: error: lvalue required as increment operand
21786 | ++Py_REFCNT(o);
| ^~
ext/_yaml.c:21788:5: error: lvalue required as decrement operand
21788 | --Py_REFCNT(o);
| ^~
ext/_yaml.c: In function ‘__pyx_tp_dealloc_5_yaml_CEmitter’:
ext/_yaml.c:21954:5: error: lvalue required as increment operand
21954 | ++Py_REFCNT(o);
| ^~
ext/_yaml.c:21956:5: error: lvalue required as decrement operand
21956 | --Py_REFCNT(o);
| ^~
ext/_yaml.c: In function ‘PyInit__yaml’:
ext/_yaml.c:23103:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23103 | __pyx_type_5_yaml_Mark.tp_print = 0;
| ^
ext/_yaml.c:23119:28: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23119 | __pyx_type_5_yaml_CParser.tp_print = 0;
| ^
ext/_yaml.c:23129:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
23129 | __pyx_type_5_yaml_CEmitter.tp_print = 0;
| ^
ext/_yaml.c: In function ‘__Pyx_ParseOptionalKeywords’:
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24087 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from ext/_yaml.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c: In function ‘__Pyx__ExceptionSave’:
ext/_yaml.c:24143:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24143 | *type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24144:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24144 | *value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24145:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24145 | *tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c: In function ‘__Pyx__ExceptionReset’:
ext/_yaml.c:24152:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24152 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24153:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24153 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24154:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24154 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c:24155:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24155 | tstate->exc_type = type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24156:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24156 | tstate->exc_value = value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24157:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24157 | tstate->exc_traceback = tb;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c: In function ‘__Pyx__GetException’:
ext/_yaml.c:24212:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24212 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24213:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24213 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24214:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24214 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
ext/_yaml.c:24215:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24215 | tstate->exc_type = local_type;
| ^~~~~~~~
| curexc_type
ext/_yaml.c:24216:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24216 | tstate->exc_value = local_value;
| ^~~~~~~~~
| curexc_value
ext/_yaml.c:24217:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24217 | tstate->exc_traceback = local_tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. Rolling back uninstall of PyYAML Moving to /usr/lib/python3/dist-packages/PyYAML-5.4.1.egg-info from /usr/lib/python3/dist-packages/~yYAML-5.4.1.egg-info Moving to /usr/lib/python3/dist-packages/_yaml from /usr/lib/python3/dist-packages/~yaml Moving to /usr/lib/python3/dist-packages/yaml from /usr/lib/python3/dist-packages/~aml error: legacy-install-failure
× Encountered error while trying to install package. ╰─> PyYAML
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Another one:
sudo pip install acora==2.1
Collecting acora==2.1
Downloading acora-2.1.tar.gz (196 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 196.6/196.6 kB 15.1 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: acora
Building wheel for acora (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [140 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/acora
copying acora/_acora.py -> build/lib.linux-x86_64-3.10/acora
copying acora/init.py -> build/lib.linux-x86_64-3.10/acora
running build_ext
building 'acora._acora' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/acora
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c acora/_acora.c -o build/temp.linux-x86_64-3.10/acora/_acora.o
acora/_acora.c: In function ‘PyInit__acora’:
acora/_acora.c:10881:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
10881 | pyx_type_5acora_6_acoraMachineState.tp_print = 0;
| ^
acora/_acora.c:10889:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
10889 | pyx_type_5acora_6_acoraMachine.tp_print = 0;
| ^
acora/_acora.c: In function ‘Pyx_ParseOptionalKeywords’:
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11260:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11260:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c: In function ‘Pyx_decode_c_bytes’:
acora/_acora.c:12947:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
12947 | return PyUnicode_FromUnicode(NULL, 0);
| ^~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for acora Running setup.py clean for acora Failed to build acora Installing collected packages: acora Running setup.py install for acora ... error error: subprocess-exited-with-error
× Running setup.py install for acora did not run successfully.
│ exit code: 1
╰─> [140 lines of output]
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/acora
copying acora/_acora.py -> build/lib.linux-x86_64-3.10/acora
copying acora/init.py -> build/lib.linux-x86_64-3.10/acora
running build_ext
building 'acora._acora' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/acora
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c acora/_acora.c -o build/temp.linux-x86_64-3.10/acora/_acora.o
acora/_acora.c: In function ‘PyInit__acora’:
acora/_acora.c:10881:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
10881 | pyx_type_5acora_6_acoraMachineState.tp_print = 0;
| ^
acora/_acora.c:10889:37: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
10889 | pyx_type_5acora_6_acoraMachine.tp_print = 0;
| ^
acora/_acora.c: In function ‘Pyx_ParseOptionalKeywords’:
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11260:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11260:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11260:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11260 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c:11276:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode(
| ^~~~~~~
acora/_acora.c:11276:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
11276 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~
acora/_acora.c: In function ‘Pyx_decode_c_bytes’:
acora/_acora.c:12947:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
12947 | return PyUnicode_FromUnicode(NULL, 0);
| ^~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from acora/_acora.c:16:
/usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> acora
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Another one:
sudo pip install esmre==0.3.1 Collecting esmre==0.3.1 Downloading esmre-0.3.1.tar.gz (24 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from esmre==0.3.1) (58.0.0) Building wheels for collected packages: esmre Building wheel for esmre (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [87 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
copying src/esmre.py -> build/lib.linux-x86_64-3.10
running build_ext
building 'esm' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/ac_heap.c -o build/temp.linux-x86_64-3.10/src/ac_heap.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/ac_list.c -o build/temp.linux-x86_64-3.10/src/ac_list.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/aho_corasick.c -o build/temp.linux-x86_64-3.10/src/aho_corasick.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/esm.c -o build/temp.linux-x86_64-3.10/src/esm.o
src/esm.c: In function ‘esm_Index_dealloc’:
src/esm.c:38:9: error: ‘esm_IndexObject’ has no member named ‘ob_type’
38 | self->ob_type->tp_free((PyObject) self);
| ^~
src/esm.c: At top level:
src/esm.c:184:37: warning: missing braces around initializer [-Wmissing-braces]
184 | static PyTypeObject esm_IndexType = {
| ^
src/esm.c:187:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
187 | "esm.Index", /tp_name/
| ^~~
src/esm.c:187:5: note: (near initialization for ‘esm_IndexType.tp_basicsize’)
src/esm.c:190:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
190 | (destructor) esm_Index_dealloc, /tp_dealloc/
| ^
src/esm.c:190:5: note: (near initialization for ‘esm_IndexType.tp_vectorcall_offset’)
In file included from /usr/include/python3.10/Python.h:74,
from src/esm.c:19:
/usr/include/python3.10/object.h:392:29: warning: initialization of ‘const char ’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion]
392 | #define Py_TPFLAGS_DEFAULT ( \
| ^
src/esm.c:205:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’
205 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /tp_flags/
| ^~~~~~
/usr/include/python3.10/object.h:392:29: note: (near initialization for ‘esm_IndexType.tp_doc’)
392 | #define Py_TPFLAGS_DEFAULT ( \
| ^
src/esm.c:205:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’
205 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /tp_flags/
| ^~~~~~
src/esm.c:206:5: warning: initialization of ‘int ()(PyObject , int ()(PyObject , void ), void )’ {aka ‘int ()(struct _object , int ()(struct _object , void ), void )’} from incompatible pointer type ‘char ’ [-Wincompatible-pointer-types]
206 | "Index() -> new efficient string matching index", / tp_doc /
| ^~~~~~~~~~~~
src/esm.c:206:5: note: (near initialization for ‘esm_IndexType.tp_traverse’)
src/esm.c:213:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
213 | esm_Index_methods, / tp_methods /
| ^~~~~
src/esm.c:213:5: note: (near initialization for ‘esm_IndexType.tp_members’)
src/esm.c:214:5: warning: initialization of ‘struct PyGetSetDef ’ from incompatible pointer type ‘PyMemberDef ’ [-Wincompatible-pointer-types]
214 | esm_Index_members, / tp_members /
| ^~~~~
src/esm.c:214:5: note: (near initialization for ‘esm_IndexType.tp_getset’)
src/esm.c:221:5: warning: initialization of ‘PyObject ()(PyTypeObject , Py_ssize_t)’ {aka ‘struct _object ()(struct _typeobject , long int)’} from incompatible pointer type ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} [-Wincompatible-pointer-types]
221 | (initproc) esm_Index_init, / tp_init /
| ^
src/esm.c:221:5: note: (near initialization for ‘esm_IndexType.tp_alloc’)
src/esm.c:223:5: warning: initialization of ‘void ()(void )’ from incompatible pointer type ‘PyObject ()(PyTypeObject , PyObject , PyObject )’ {aka ‘struct _object ()(struct _typeobject , struct _object , struct _object )’} [-Wincompatible-pointer-types]
223 | esm_Index_new, / tp_new /
| ^~~~~
src/esm.c:223:5: note: (near initialization for ‘esm_IndexType.tp_free’)
src/esm.c:184:37: warning: missing braces around initializer [-Wmissing-braces]
184 | static PyTypeObject esm_IndexType = {
| ^
src/esm.c: In function ‘initesm’:
src/esm.c:239:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
239 | return;
| ^~
src/esm.c:234:1: note: declared here
234 | initesm(void)
| ^~~
src/esm.c:241:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration]
241 | m = Py_InitModule3("esm", esm_methods,
| ^~~~~~
src/esm.c:241:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
241 | m = Py_InitModule3("esm", esm_methods,
| ^
src/esm.c:245:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
245 | return;
| ^~
src/esm.c:234:1: note: declared here
234 | initesm(void)
| ^~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for esmre Running setup.py clean for esmre Failed to build esmre Installing collected packages: esmre Running setup.py install for esmre ... error error: subprocess-exited-with-error
× Running setup.py install for esmre did not run successfully.
│ exit code: 1
╰─> [87 lines of output]
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
copying src/esmre.py -> build/lib.linux-x86_64-3.10
running build_ext
building 'esm' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/ac_heap.c -o build/temp.linux-x86_64-3.10/src/ac_heap.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/ac_list.c -o build/temp.linux-x86_64-3.10/src/ac_list.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/aho_corasick.c -o build/temp.linux-x86_64-3.10/src/aho_corasick.o
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c src/esm.c -o build/temp.linux-x86_64-3.10/src/esm.o
src/esm.c: In function ‘esm_Index_dealloc’:
src/esm.c:38:9: error: ‘esm_IndexObject’ has no member named ‘ob_type’
38 | self->ob_type->tp_free((PyObject) self);
| ^~
src/esm.c: At top level:
src/esm.c:184:37: warning: missing braces around initializer [-Wmissing-braces]
184 | static PyTypeObject esm_IndexType = {
| ^
src/esm.c:187:5: warning: initialization of ‘long int’ from ‘char ’ makes integer from pointer without a cast [-Wint-conversion]
187 | "esm.Index", /tp_name/
| ^~~
src/esm.c:187:5: note: (near initialization for ‘esm_IndexType.tp_basicsize’)
src/esm.c:190:5: warning: initialization of ‘long int’ from ‘void ()(PyObject )’ {aka ‘void ()(struct _object )’} makes integer from pointer without a cast [-Wint-conversion]
190 | (destructor) esm_Index_dealloc, /tp_dealloc/
| ^
src/esm.c:190:5: note: (near initialization for ‘esm_IndexType.tp_vectorcall_offset’)
In file included from /usr/include/python3.10/Python.h:74,
from src/esm.c:19:
/usr/include/python3.10/object.h:392:29: warning: initialization of ‘const char ’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion]
392 | #define Py_TPFLAGS_DEFAULT ( \
| ^
src/esm.c:205:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’
205 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /tp_flags/
| ^~~~~~
/usr/include/python3.10/object.h:392:29: note: (near initialization for ‘esm_IndexType.tp_doc’)
392 | #define Py_TPFLAGS_DEFAULT ( \
| ^
src/esm.c:205:5: note: in expansion of macro ‘Py_TPFLAGS_DEFAULT’
205 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /tp_flags/
| ^~~~~~
src/esm.c:206:5: warning: initialization of ‘int ()(PyObject , int ()(PyObject , void ), void )’ {aka ‘int ()(struct _object , int ()(struct _object , void ), void )’} from incompatible pointer type ‘char ’ [-Wincompatible-pointer-types]
206 | "Index() -> new efficient string matching index", / tp_doc /
| ^~~~~~~~~~~~
src/esm.c:206:5: note: (near initialization for ‘esm_IndexType.tp_traverse’)
src/esm.c:213:5: warning: initialization of ‘struct PyMemberDef ’ from incompatible pointer type ‘PyMethodDef ’ [-Wincompatible-pointer-types]
213 | esm_Index_methods, / tp_methods /
| ^~~~~
src/esm.c:213:5: note: (near initialization for ‘esm_IndexType.tp_members’)
src/esm.c:214:5: warning: initialization of ‘struct PyGetSetDef ’ from incompatible pointer type ‘PyMemberDef ’ [-Wincompatible-pointer-types]
214 | esm_Index_members, / tp_members /
| ^~~~~
src/esm.c:214:5: note: (near initialization for ‘esm_IndexType.tp_getset’)
src/esm.c:221:5: warning: initialization of ‘PyObject ()(PyTypeObject , Py_ssize_t)’ {aka ‘struct _object ()(struct _typeobject , long int)’} from incompatible pointer type ‘int ()(PyObject , PyObject , PyObject )’ {aka ‘int ()(struct _object , struct _object , struct _object )’} [-Wincompatible-pointer-types]
221 | (initproc) esm_Index_init, / tp_init /
| ^
src/esm.c:221:5: note: (near initialization for ‘esm_IndexType.tp_alloc’)
src/esm.c:223:5: warning: initialization of ‘void ()(void )’ from incompatible pointer type ‘PyObject ()(PyTypeObject , PyObject , PyObject )’ {aka ‘struct _object ()(struct _typeobject , struct _object , struct _object )’} [-Wincompatible-pointer-types]
223 | esm_Index_new, / tp_new /
| ^~~~~
src/esm.c:223:5: note: (near initialization for ‘esm_IndexType.tp_free’)
src/esm.c:184:37: warning: missing braces around initializer [-Wmissing-braces]
184 | static PyTypeObject esm_IndexType = {
| ^
src/esm.c: In function ‘initesm’:
src/esm.c:239:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
239 | return;
| ^~
src/esm.c:234:1: note: declared here
234 | initesm(void)
| ^~~
src/esm.c:241:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration]
241 | m = Py_InitModule3("esm", esm_methods,
| ^~~~~~
src/esm.c:241:7: warning: assignment to ‘PyObject ’ {aka ‘struct _object ’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
241 | m = Py_InitModule3("esm", esm_methods,
| ^
src/esm.c:245:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
245 | return;
| ^~
src/esm.c:234:1: note: declared here
234 | initesm(void)
| ^~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> esmre
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
Hi @crypt0-kn1ght ,
The code in w3af is no longer maintained - it only supports python2 (which is end-of-life) and most of the dependencies are out of date. You can check out the project at https://github.com/w4af/w4af - that supports modern versions of python and has working dependencies.
Got this error while installing one of the dependencies:
sudo pip install pybloomfiltermmap==0.3.14 Collecting pybloomfiltermmap==0.3.14 Using cached pybloomfiltermmap-0.3.14.tar.gz (446 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-_m9j90ty/pybloomfiltermmap_cc2bda64f4894514bb2752d3362782e5/setup.py", line 31
print "info: Building from Cython"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.