2023-09-08T15:16:35,587 Created temporary directory: /tmp/pip-build-tracker-604_nsp0 2023-09-08T15:16:35,588 Initialized build tracking at /tmp/pip-build-tracker-604_nsp0 2023-09-08T15:16:35,589 Created build tracker: /tmp/pip-build-tracker-604_nsp0 2023-09-08T15:16:35,589 Entered build tracker: /tmp/pip-build-tracker-604_nsp0 2023-09-08T15:16:35,590 Created temporary directory: /tmp/pip-wheel-ehd70zvy 2023-09-08T15:16:35,593 Created temporary directory: /tmp/pip-ephem-wheel-cache-cre956tu 2023-09-08T15:16:35,615 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T15:16:35,618 2 location(s) to search for versions of flowparser: 2023-09-08T15:16:35,618 * https://pypi.org/simple/flowparser/ 2023-09-08T15:16:35,618 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:35,619 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T15:16:35,620 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T15:16:35,622 Found index url https://pypi.org/simple/ 2023-09-08T15:16:35,835 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T15:16:35,838 Found link https://files.pythonhosted.org/packages/11/aa/7d4a218679556380ef171424ee54200ceddee29dabf8294a09c5d0bce3ab/FlowParser-0.1.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1 2023-09-08T15:16:35,839 Found link https://files.pythonhosted.org/packages/12/1a/67079e4bb8b3bad52c99b9df846a7948df576c520c06308acfea2b45479e/FlowParser-0.1.1.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.1 2023-09-08T15:16:35,839 Found link https://files.pythonhosted.org/packages/9d/a2/18b9f92ab0bd2d8d8cdef8686affab2de153337abc9743db29249a0d7fd0/FlowParser-0.1.2.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.2 2023-09-08T15:16:35,840 Found link https://files.pythonhosted.org/packages/2e/c3/5892c823fa87bffb8d0ea939d072ad5bebdee64c52f7987672a281f3f0d7/FlowParser-0.1.3.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.3 2023-09-08T15:16:35,840 Found link https://files.pythonhosted.org/packages/1e/42/d69f16e26a7a126fae88f8bcf9cecf29817fcc39c5de4d0ca4b2a50fdfa7/FlowParser-0.1.4.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.4 2023-09-08T15:16:35,841 Found link https://files.pythonhosted.org/packages/fd/8b/926e0236022f0032a9703a63303d60d56980378f2300fbeff5b7feb9e224/FlowParser-0.1.5.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.5 2023-09-08T15:16:35,842 Found link https://files.pythonhosted.org/packages/a8/47/8f7f6cebd9404dba3eef70b00b2e1d67b0e164ff6ec4c5f5012ecda8aebd/FlowParser-0.1.6.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.6 2023-09-08T15:16:35,843 Found link https://files.pythonhosted.org/packages/ee/58/8f5551ee1a32d0a3050a5a4704e8c8aee9982eb063c341e89db071d9df70/FlowParser-0.1.7.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.7 2023-09-08T15:16:35,844 Found link https://files.pythonhosted.org/packages/98/09/cfd95fa4e2483238f3b6cb9db61f8ead33d4b8ea0977e65443b6a42b776c/FlowParser-0.1.8.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.8 2023-09-08T15:16:35,844 Found link https://files.pythonhosted.org/packages/eb/d8/475b84c53c13dee0a850e7b3f6e456b8466e9ba1871de7ac9a8bbfeedf48/FlowParser-0.1.9.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.9 2023-09-08T15:16:35,845 Found link https://files.pythonhosted.org/packages/04/a6/453c18d85fe72c7d6f5ff943e88e5efa73d350e2f1d9c5d55112e476b751/FlowParser-0.1.10.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.10 2023-09-08T15:16:35,846 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:35,847 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:35,848 Found index url https://www.piwheels.org/simple/ 2023-09-08T15:16:36,146 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T15:16:36,147 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:36,148 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T15:16:36,168 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T15:16:36,186 Collecting flowparser==0.1 2023-09-08T15:16:36,188 Created temporary directory: /tmp/pip-unpack-bpecvb67 2023-09-08T15:16:36,397 Downloading FlowParser-0.1.tar.gz (31 kB) 2023-09-08T15:16:36,469 Added flowparser==0.1 from https://files.pythonhosted.org/packages/11/aa/7d4a218679556380ef171424ee54200ceddee29dabf8294a09c5d0bce3ab/FlowParser-0.1.tar.gz to build tracker '/tmp/pip-build-tracker-604_nsp0' 2023-09-08T15:16:36,470 Running setup.py (path:/tmp/pip-wheel-ehd70zvy/flowparser_c7e80de1fcd34f8b867066f2ecfacef4/setup.py) egg_info for package flowparser 2023-09-08T15:16:36,471 Created temporary directory: /tmp/pip-pip-egg-info-kv8fz30d 2023-09-08T15:16:36,471 Preparing metadata (setup.py): started 2023-09-08T15:16:36,473 Running command python setup.py egg_info 2023-09-08T15:16:37,645 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T15:16:37,648 Source in /tmp/pip-wheel-ehd70zvy/flowparser_c7e80de1fcd34f8b867066f2ecfacef4 has version 0.1, which satisfies requirement flowparser==0.1 from https://files.pythonhosted.org/packages/11/aa/7d4a218679556380ef171424ee54200ceddee29dabf8294a09c5d0bce3ab/FlowParser-0.1.tar.gz 2023-09-08T15:16:37,649 Removed flowparser==0.1 from https://files.pythonhosted.org/packages/11/aa/7d4a218679556380ef171424ee54200ceddee29dabf8294a09c5d0bce3ab/FlowParser-0.1.tar.gz from build tracker '/tmp/pip-build-tracker-604_nsp0' 2023-09-08T15:16:37,654 Created temporary directory: /tmp/pip-unpack-hydjudvo 2023-09-08T15:16:37,655 Created temporary directory: /tmp/pip-unpack-yvwc3djm 2023-09-08T15:16:37,658 Building wheels for collected packages: flowparser 2023-09-08T15:16:37,663 Created temporary directory: /tmp/pip-wheel-sshja6kj 2023-09-08T15:16:37,664 Building wheel for flowparser (setup.py): started 2023-09-08T15:16:37,665 Destination directory: /tmp/pip-wheel-sshja6kj 2023-09-08T15:16:37,666 Running command python setup.py bdist_wheel 2023-09-08T15:16:41,075 fparser.c:24:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,076 24 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:41,077 | ^ 2023-09-08T15:16:41,077 | {{ } } 2023-09-08T15:16:41,078 fparser.c:40:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,079 40 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:41,080 | ^ 2023-09-08T15:16:41,081 | {{ } } 2023-09-08T15:16:41,082 fparser.c:58:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,082 58 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:41,083 | ^ 2023-09-08T15:16:41,084 | {{ } } 2023-09-08T15:16:41,085 fparser.c:75:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,085 75 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:41,086 | ^ 2023-09-08T15:16:41,087 | {{ } } 2023-09-08T15:16:41,088 fparser.c: In function ‘fparser_dealloc’: 2023-09-08T15:16:41,089 fparser.c:132:12: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T15:16:41,090 132 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T15:16:41,091 | ^~ 2023-09-08T15:16:41,094 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T15:16:41,095 fparser.c:403:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T15:16:41,096 403 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T15:16:41,097 | ^~ 2023-09-08T15:16:41,097 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T15:16:41,098 fparser.c:447:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T15:16:41,099 447 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:16:41,099 | ^~ 2023-09-08T15:16:41,100 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T15:16:41,101 fparser.c:465:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T15:16:41,101 465 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:16:41,102 | ^~ 2023-09-08T15:16:41,102 fparser.c: At top level: 2023-09-08T15:16:41,103 fparser.c:468:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,104 468 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:16:41,104 | ^ 2023-09-08T15:16:41,105 fparser.c:471:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,105 471 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T15:16:41,106 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,106 fparser.c:471:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T15:16:41,107 fparser.c:474:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,107 474 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:41,108 | ^ 2023-09-08T15:16:41,108 fparser.c:474:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T15:16:41,139 fparser.c:489:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T15:16:41,140 489 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T15:16:41,141 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,142 | Py_TPFLAGS_HAVE_GC 2023-09-08T15:16:41,143 fparser.c:490:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,143 490 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T15:16:41,144 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,145 fparser.c:490:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T15:16:41,146 fparser.c:496:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,146 496 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:41,147 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,148 fparser.c:496:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T15:16:41,148 fparser.c:468:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,149 468 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:16:41,150 | ^ 2023-09-08T15:16:41,165 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T15:16:41,166 from fparser.c:1: 2023-09-08T15:16:41,167 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T15:16:41,168 fparser.c:605:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:41,169 605 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:16:41,169 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,170 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:41,170 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:41,171 | ^~~~ 2023-09-08T15:16:41,171 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:41,171 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:41,172 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:41,172 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:41,173 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:41,173 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,174 fparser.c:605:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:41,175 605 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:16:41,175 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,185 fparser.c:607:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:41,186 607 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T15:16:41,186 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,187 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:41,188 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:41,188 | ^~~~ 2023-09-08T15:16:41,189 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:41,190 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:41,190 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:41,191 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:41,192 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:41,192 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,193 fparser.c:606:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:41,193 606 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T15:16:41,194 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,204 fparser.c: In function ‘fparser_get_info’: 2023-09-08T15:16:41,205 fparser.c:747:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:41,206 747 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T15:16:41,206 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:41,207 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:41,208 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:41,208 | ^~~~ 2023-09-08T15:16:41,209 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:41,210 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:41,210 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:41,211 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:41,212 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:41,213 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,213 fparser.c:746:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:41,214 746 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T15:16:41,214 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,215 fparser.c: At top level: 2023-09-08T15:16:41,215 fparser.c:818:19: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,216 818 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T15:16:41,216 | ^ 2023-09-08T15:16:41,217 fparser.c:830:16: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,217 830 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:16:41,218 | ^ 2023-09-08T15:16:41,219 fparser.c:832:18: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,219 832 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:16:41,220 | ^ 2023-09-08T15:16:41,220 fparser.c:834:23: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,221 834 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:16:41,222 | ^ 2023-09-08T15:16:41,223 fparser.c:836:24: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,224 836 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:16:41,224 | ^ 2023-09-08T15:16:41,225 fparser.c:839:25: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,225 839 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:16:41,226 | ^ 2023-09-08T15:16:41,227 fparser.c:846:16: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,227 846 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:16:41,228 | ^ 2023-09-08T15:16:41,229 fparser.c:848:18: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,229 848 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:16:41,230 | ^ 2023-09-08T15:16:41,230 fparser.c:850:23: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,231 850 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:16:41,231 | ^ 2023-09-08T15:16:41,232 fparser.c:852:24: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,232 852 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:16:41,232 | ^ 2023-09-08T15:16:41,233 fparser.c:855:25: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:41,233 855 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:16:41,234 | ^ 2023-09-08T15:16:41,235 fparser.c:865:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,235 865 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:16:41,236 | ^ 2023-09-08T15:16:41,236 fparser.c:868:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,237 868 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T15:16:41,238 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,244 fparser.c:868:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T15:16:41,245 fparser.c:871:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,245 871 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:41,246 | ^ 2023-09-08T15:16:41,247 fparser.c:871:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:16:41,247 fparser.c:878:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,248 878 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:16:41,249 | ^ 2023-09-08T15:16:41,249 fparser.c:878:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T15:16:41,250 fparser.c:889:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,251 889 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T15:16:41,251 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,252 fparser.c:889:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T15:16:41,253 fparser.c:895:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,254 895 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:41,254 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,255 fparser.c:895:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T15:16:41,255 fparser.c:896:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,256 896 | tcp_flow_methods /* tp_methods */ 2023-09-08T15:16:41,256 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,257 fparser.c:896:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T15:16:41,257 fparser.c:865:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,258 865 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:16:41,258 | ^ 2023-09-08T15:16:41,259 fparser.c:899:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,260 899 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:16:41,260 | ^ 2023-09-08T15:16:41,261 fparser.c:902:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,261 902 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T15:16:41,262 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,262 fparser.c:902:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T15:16:41,263 fparser.c:905:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,264 905 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:41,265 | ^ 2023-09-08T15:16:41,266 fparser.c:905:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:16:41,267 fparser.c:912:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,267 912 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:16:41,268 | ^ 2023-09-08T15:16:41,269 fparser.c:912:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T15:16:41,270 fparser.c:923:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,270 923 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T15:16:41,271 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,271 fparser.c:923:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T15:16:41,272 fparser.c:929:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,272 929 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:41,273 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,274 fparser.c:929:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T15:16:41,274 fparser.c:930:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,275 930 | udp_flow_methods /* tp_methods */ 2023-09-08T15:16:41,276 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,277 fparser.c:930:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T15:16:41,277 fparser.c:899:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,278 899 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:16:41,278 | ^ 2023-09-08T15:16:41,279 fparser.c:933:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,281 933 | PyTypeObject fparser_type = { 2023-09-08T15:16:41,282 | ^ 2023-09-08T15:16:41,283 fparser.c:936:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,284 936 | "fparser.FParser", /*tp_name*/ 2023-09-08T15:16:41,284 | ^~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,285 fparser.c:936:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T15:16:41,286 fparser.c:939:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,286 939 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:41,287 | ^ 2023-09-08T15:16:41,287 fparser.c:939:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T15:16:41,288 fparser.c:957:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,289 957 | "Internal fparser object.", /* tp_doc */ 2023-09-08T15:16:41,289 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,290 fparser.c:957:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T15:16:41,290 fparser.c:964:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,291 964 | fparser_methods, /* tp_methods */ 2023-09-08T15:16:41,292 | ^~~~~~~~~~~~~~~ 2023-09-08T15:16:41,293 fparser.c:964:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T15:16:41,293 fparser.c:974:5: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyObject * (*)(PyTypeObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _typeobject *, struct _object *, struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:41,294 974 | fparser_new, /* tp_new */ 2023-09-08T15:16:41,295 | ^~~~~~~~~~~ 2023-09-08T15:16:41,296 fparser.c:974:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T15:16:41,296 fparser.c:933:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:41,297 933 | PyTypeObject fparser_type = { 2023-09-08T15:16:41,298 | ^ 2023-09-08T15:16:41,298 fparser.c: In function ‘initfparser’: 2023-09-08T15:16:41,299 fparser.c:980:9: error: implicit declaration of function ‘Py_InitModule3’ [-Werror=implicit-function-declaration] 2023-09-08T15:16:41,300 980 | m = Py_InitModule3("fparser", fparser_module_methods, FP_DOCSTRING); 2023-09-08T15:16:41,300 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:41,301 fparser.c:980:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T15:16:41,302 980 | m = Py_InitModule3("fparser", fparser_module_methods, FP_DOCSTRING); 2023-09-08T15:16:41,303 | ^ 2023-09-08T15:16:41,303 fparser.c:982:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:41,304 982 | return; 2023-09-08T15:16:41,305 | ^~~~~~ 2023-09-08T15:16:41,306 fparser.c:977:16: note: declared here 2023-09-08T15:16:41,306 977 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:41,307 | ^~~~~~~~~~~ 2023-09-08T15:16:41,308 fparser.c:986:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:41,308 986 | return; 2023-09-08T15:16:41,309 | ^~~~~~ 2023-09-08T15:16:41,310 fparser.c:977:16: note: declared here 2023-09-08T15:16:41,311 977 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:41,312 | ^~~~~~~~~~~ 2023-09-08T15:16:41,312 fparser.c:990:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:41,313 990 | return; 2023-09-08T15:16:41,314 | ^~~~~~ 2023-09-08T15:16:41,315 fparser.c:977:16: note: declared here 2023-09-08T15:16:41,315 977 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:41,316 | ^~~~~~~~~~~ 2023-09-08T15:16:41,317 fparser.c:994:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:41,318 994 | return; 2023-09-08T15:16:41,318 | ^~~~~~ 2023-09-08T15:16:41,319 fparser.c:977:16: note: declared here 2023-09-08T15:16:41,320 977 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:41,320 | ^~~~~~~~~~~ 2023-09-08T15:16:41,321 fparser.c:998:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:41,322 998 | return; 2023-09-08T15:16:41,323 | ^~~~~~ 2023-09-08T15:16:41,324 fparser.c:977:16: note: declared here 2023-09-08T15:16:41,324 977 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:41,325 | ^~~~~~~~~~~ 2023-09-08T15:16:41,326 fparser.c:1048:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T15:16:41,327 1048 | PyEval_InitThreads(); 2023-09-08T15:16:41,328 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,329 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T15:16:41,330 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T15:16:41,331 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T15:16:41,332 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:41,333 cc1: all warnings being treated as errors 2023-09-08T15:16:41,333 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T15:16:41,451 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T15:16:41,464 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T15:16:41,464 exec(compile('"'"''"'"''"'"' 2023-09-08T15:16:41,464 # This is -- a caller that pip uses to run setup.py 2023-09-08T15:16:41,464 # 2023-09-08T15:16:41,464 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T15:16:41,464 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T15:16:41,464 # - It provides a clear error message when setuptools is not installed. 2023-09-08T15:16:41,464 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T15:16:41,464 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T15:16:41,464 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T15:16:41,464 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T15:16:41,464 import os, sys, tokenize 2023-09-08T15:16:41,464 2023-09-08T15:16:41,464 try: 2023-09-08T15:16:41,464 import setuptools 2023-09-08T15:16:41,464 except ImportError as error: 2023-09-08T15:16:41,464 print( 2023-09-08T15:16:41,464 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T15:16:41,464 "the build environment.", 2023-09-08T15:16:41,464 file=sys.stderr, 2023-09-08T15:16:41,464 ) 2023-09-08T15:16:41,464 sys.exit(1) 2023-09-08T15:16:41,464 2023-09-08T15:16:41,464 __file__ = %r 2023-09-08T15:16:41,464 sys.argv[0] = __file__ 2023-09-08T15:16:41,464 2023-09-08T15:16:41,464 if os.path.exists(__file__): 2023-09-08T15:16:41,464 filename = __file__ 2023-09-08T15:16:41,464 with tokenize.open(__file__) as f: 2023-09-08T15:16:41,464 setup_py_code = f.read() 2023-09-08T15:16:41,464 else: 2023-09-08T15:16:41,464 filename = "" 2023-09-08T15:16:41,464 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T15:16:41,464 2023-09-08T15:16:41,464 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T15:16:41,464 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ehd70zvy/flowparser_c7e80de1fcd34f8b867066f2ecfacef4/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-sshja6kj[/] 2023-09-08T15:16:41,464 [bold magenta]cwd[/]: /tmp/pip-wheel-ehd70zvy/flowparser_c7e80de1fcd34f8b867066f2ecfacef4/ 2023-09-08T15:16:41,465 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T15:16:41,466 ERROR: Failed building wheel for flowparser 2023-09-08T15:16:41,468 Running setup.py clean for flowparser 2023-09-08T15:16:41,469 Running command python setup.py clean 2023-09-08T15:16:42,444 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T15:16:42,444 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T15:16:42,445 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T15:16:42,553 Failed to build flowparser 2023-09-08T15:16:42,555 ERROR: Failed to build one or more wheels 2023-09-08T15:16:42,556 Exception information: 2023-09-08T15:16:42,556 Traceback (most recent call last): 2023-09-08T15:16:42,556 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T15:16:42,556 status = run_func(*args) 2023-09-08T15:16:42,556 ^^^^^^^^^^^^^^^ 2023-09-08T15:16:42,556 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T15:16:42,556 return func(self, options, args) 2023-09-08T15:16:42,556 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:16:42,556 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T15:16:42,556 raise CommandError("Failed to build one or more wheels") 2023-09-08T15:16:42,556 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T15:16:42,559 Removed build tracker: '/tmp/pip-build-tracker-604_nsp0'