2023-09-08T15:16:43,209 Created temporary directory: /tmp/pip-build-tracker-qx8tj9kn 2023-09-08T15:16:43,210 Initialized build tracking at /tmp/pip-build-tracker-qx8tj9kn 2023-09-08T15:16:43,210 Created build tracker: /tmp/pip-build-tracker-qx8tj9kn 2023-09-08T15:16:43,211 Entered build tracker: /tmp/pip-build-tracker-qx8tj9kn 2023-09-08T15:16:43,212 Created temporary directory: /tmp/pip-wheel-s8wp1vd4 2023-09-08T15:16:43,215 Created temporary directory: /tmp/pip-ephem-wheel-cache-d0anjqem 2023-09-08T15:16:43,236 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T15:16:43,240 2 location(s) to search for versions of flowparser: 2023-09-08T15:16:43,240 * https://pypi.org/simple/flowparser/ 2023-09-08T15:16:43,240 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:43,241 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T15:16:43,241 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T15:16:43,243 Found index url https://pypi.org/simple/ 2023-09-08T15:16:43,383 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T15:16:43,386 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:43,387 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:43,387 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:43,388 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:43,388 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:43,389 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:43,390 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:43,390 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:43,391 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:43,391 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:43,392 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:43,393 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:43,394 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:43,395 Found index url https://www.piwheels.org/simple/ 2023-09-08T15:16:43,883 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T15:16:43,885 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:43,885 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T15:16:43,905 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T15:16:43,926 Collecting flowparser==0.1.2 2023-09-08T15:16:43,929 Created temporary directory: /tmp/pip-unpack-m1p0_wr0 2023-09-08T15:16:44,166 Downloading FlowParser-0.1.2.tar.gz (31 kB) 2023-09-08T15:16:44,222 Added flowparser==0.1.2 from https://files.pythonhosted.org/packages/9d/a2/18b9f92ab0bd2d8d8cdef8686affab2de153337abc9743db29249a0d7fd0/FlowParser-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-qx8tj9kn' 2023-09-08T15:16:44,224 Running setup.py (path:/tmp/pip-wheel-s8wp1vd4/flowparser_432c476fcfa74a7e9963ca2fbad24a38/setup.py) egg_info for package flowparser 2023-09-08T15:16:44,225 Created temporary directory: /tmp/pip-pip-egg-info-e3017gyc 2023-09-08T15:16:44,225 Preparing metadata (setup.py): started 2023-09-08T15:16:44,226 Running command python setup.py egg_info 2023-09-08T15:16:45,381 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T15:16:45,384 Source in /tmp/pip-wheel-s8wp1vd4/flowparser_432c476fcfa74a7e9963ca2fbad24a38 has version 0.1.2, which satisfies requirement flowparser==0.1.2 from https://files.pythonhosted.org/packages/9d/a2/18b9f92ab0bd2d8d8cdef8686affab2de153337abc9743db29249a0d7fd0/FlowParser-0.1.2.tar.gz 2023-09-08T15:16:45,385 Removed flowparser==0.1.2 from https://files.pythonhosted.org/packages/9d/a2/18b9f92ab0bd2d8d8cdef8686affab2de153337abc9743db29249a0d7fd0/FlowParser-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-qx8tj9kn' 2023-09-08T15:16:45,389 Created temporary directory: /tmp/pip-unpack-vfge5sp_ 2023-09-08T15:16:45,390 Created temporary directory: /tmp/pip-unpack-o2x3h2yy 2023-09-08T15:16:45,392 Building wheels for collected packages: flowparser 2023-09-08T15:16:45,396 Created temporary directory: /tmp/pip-wheel-_vht8onz 2023-09-08T15:16:45,397 Building wheel for flowparser (setup.py): started 2023-09-08T15:16:45,398 Destination directory: /tmp/pip-wheel-_vht8onz 2023-09-08T15:16:45,399 Running command python setup.py bdist_wheel 2023-09-08T15:16:48,763 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,763 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:48,764 | ^ 2023-09-08T15:16:48,764 | {{ } } 2023-09-08T15:16:48,765 fparser.c:38:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,765 38 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:48,766 | ^ 2023-09-08T15:16:48,767 | {{ } } 2023-09-08T15:16:48,767 fparser.c:56:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,768 56 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:48,768 | ^ 2023-09-08T15:16:48,769 | {{ } } 2023-09-08T15:16:48,769 fparser.c:73:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,770 73 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:48,771 | ^ 2023-09-08T15:16:48,771 | {{ } } 2023-09-08T15:16:48,772 fparser.c: In function ‘fparser_dealloc’: 2023-09-08T15:16:48,772 fparser.c:134:12: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T15:16:48,773 134 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T15:16:48,774 | ^~ 2023-09-08T15:16:48,774 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T15:16:48,775 fparser.c:406:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T15:16:48,776 406 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T15:16:48,776 | ^~ 2023-09-08T15:16:48,776 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T15:16:48,777 fparser.c:451:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T15:16:48,777 451 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:16:48,778 | ^~ 2023-09-08T15:16:48,778 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T15:16:48,779 fparser.c:470:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T15:16:48,779 470 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:16:48,780 | ^~ 2023-09-08T15:16:48,780 fparser.c: At top level: 2023-09-08T15:16:48,780 fparser.c:473:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,781 473 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:16:48,781 | ^ 2023-09-08T15:16:48,782 fparser.c:476:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:48,782 476 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T15:16:48,782 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,783 fparser.c:476:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T15:16:48,783 fparser.c:479: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:48,784 479 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:48,784 | ^ 2023-09-08T15:16:48,784 fparser.c:479:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T15:16:48,804 fparser.c:494:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T15:16:48,805 494 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T15:16:48,805 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,806 | Py_TPFLAGS_HAVE_GC 2023-09-08T15:16:48,806 fparser.c:495: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:48,807 495 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T15:16:48,808 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,808 fparser.c:495:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T15:16:48,809 fparser.c:501:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,809 501 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:48,810 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,811 fparser.c:501:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T15:16:48,811 fparser.c:473:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,812 473 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:16:48,812 | ^ 2023-09-08T15:16:48,830 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T15:16:48,830 from fparser.c:1: 2023-09-08T15:16:48,831 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T15:16:48,832 fparser.c:612:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:48,833 612 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:16:48,833 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,834 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:48,834 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:48,834 | ^~~~ 2023-09-08T15:16:48,835 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:48,835 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:48,836 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:48,836 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:48,836 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:48,837 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,837 fparser.c:612:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:48,837 612 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:16:48,838 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,849 fparser.c:614:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:48,849 614 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T15:16:48,850 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,851 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:48,851 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:48,852 | ^~~~ 2023-09-08T15:16:48,852 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:48,853 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:48,854 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:48,854 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:48,855 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:48,855 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,855 fparser.c:613:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:48,856 613 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T15:16:48,856 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,868 fparser.c: In function ‘fparser_get_info’: 2023-09-08T15:16:48,869 fparser.c:754:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:48,870 754 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T15:16:48,871 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:48,871 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:48,872 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:48,872 | ^~~~ 2023-09-08T15:16:48,873 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:48,874 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:48,874 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:48,875 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:48,876 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:48,876 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,876 fparser.c:753:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:48,877 753 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T15:16:48,877 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,878 fparser.c: At top level: 2023-09-08T15:16:48,878 fparser.c:825: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:48,878 825 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T15:16:48,879 | ^ 2023-09-08T15:16:48,879 fparser.c:837: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:48,880 837 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:16:48,880 | ^ 2023-09-08T15:16:48,881 fparser.c:839: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:48,881 839 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:16:48,882 | ^ 2023-09-08T15:16:48,882 fparser.c:841: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:48,883 841 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:16:48,883 | ^ 2023-09-08T15:16:48,884 fparser.c:843: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:48,884 843 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:16:48,885 | ^ 2023-09-08T15:16:48,885 fparser.c:846: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:48,886 846 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:16:48,886 | ^ 2023-09-08T15:16:48,887 fparser.c:853: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:48,887 853 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:16:48,888 | ^ 2023-09-08T15:16:48,889 fparser.c:855: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:48,889 855 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:16:48,889 | ^ 2023-09-08T15:16:48,890 fparser.c:857: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:48,890 857 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:16:48,891 | ^ 2023-09-08T15:16:48,891 fparser.c:859: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:48,892 859 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:16:48,892 | ^ 2023-09-08T15:16:48,892 fparser.c:862: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:48,893 862 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:16:48,893 | ^ 2023-09-08T15:16:48,894 fparser.c:872:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,894 872 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:16:48,895 | ^ 2023-09-08T15:16:48,895 fparser.c:875:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:48,896 875 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T15:16:48,896 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,897 fparser.c:875:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T15:16:48,897 fparser.c:878: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:48,898 878 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:48,898 | ^ 2023-09-08T15:16:48,899 fparser.c:878:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:16:48,899 fparser.c:885:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,900 885 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:16:48,900 | ^ 2023-09-08T15:16:48,901 fparser.c:885:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T15:16:48,901 fparser.c:896: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:48,902 896 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T15:16:48,902 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,903 fparser.c:896:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T15:16:48,903 fparser.c:902:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,904 902 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:48,904 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,905 fparser.c:902:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T15:16:48,905 fparser.c:903:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,906 903 | tcp_flow_methods /* tp_methods */ 2023-09-08T15:16:48,906 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,906 fparser.c:903:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T15:16:48,907 fparser.c:872:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,907 872 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:16:48,908 | ^ 2023-09-08T15:16:48,908 fparser.c:906:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,909 906 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:16:48,909 | ^ 2023-09-08T15:16:48,909 fparser.c:909:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:48,910 909 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T15:16:48,910 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,911 fparser.c:909:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T15:16:48,911 fparser.c:912: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:48,912 912 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:48,912 | ^ 2023-09-08T15:16:48,913 fparser.c:912:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:16:48,913 fparser.c:919:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,913 919 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:16:48,914 | ^ 2023-09-08T15:16:48,914 fparser.c:919:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T15:16:48,915 fparser.c:930: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:48,915 930 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T15:16:48,916 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,916 fparser.c:930:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T15:16:48,917 fparser.c:936:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,917 936 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:48,918 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,918 fparser.c:936:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T15:16:48,919 fparser.c:937:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,920 937 | udp_flow_methods /* tp_methods */ 2023-09-08T15:16:48,920 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,921 fparser.c:937:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T15:16:48,921 fparser.c:906:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,922 906 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:16:48,922 | ^ 2023-09-08T15:16:48,922 fparser.c:940:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,923 940 | PyTypeObject fparser_type = { 2023-09-08T15:16:48,923 | ^ 2023-09-08T15:16:48,924 fparser.c:943:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:48,924 943 | "fparser.FParser", /*tp_name*/ 2023-09-08T15:16:48,924 | ^~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,925 fparser.c:943:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T15:16:48,926 fparser.c:946: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:48,926 946 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:48,927 | ^ 2023-09-08T15:16:48,927 fparser.c:946:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T15:16:48,928 fparser.c:964: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:48,928 964 | "Internal fparser object.", /* tp_doc */ 2023-09-08T15:16:48,929 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,929 fparser.c:964:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T15:16:48,929 fparser.c:971:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:48,930 971 | fparser_methods, /* tp_methods */ 2023-09-08T15:16:48,930 | ^~~~~~~~~~~~~~~ 2023-09-08T15:16:48,931 fparser.c:971:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T15:16:48,931 fparser.c:981: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:48,932 981 | fparser_new, /* tp_new */ 2023-09-08T15:16:48,932 | ^~~~~~~~~~~ 2023-09-08T15:16:48,933 fparser.c:981:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T15:16:48,933 fparser.c:940:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:48,934 940 | PyTypeObject fparser_type = { 2023-09-08T15:16:48,934 | ^ 2023-09-08T15:16:48,935 fparser.c: In function ‘initfparser’: 2023-09-08T15:16:48,935 fparser.c:987:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T15:16:48,936 987 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T15:16:48,936 | ^~~~~~~~~~~~~ 2023-09-08T15:16:48,936 fparser.c:987:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T15:16:48,937 987 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T15:16:48,937 | ^ 2023-09-08T15:16:48,938 fparser.c:989:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:48,938 989 | return; 2023-09-08T15:16:48,939 | ^~~~~~ 2023-09-08T15:16:48,939 fparser.c:984:16: note: declared here 2023-09-08T15:16:48,940 984 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:48,940 | ^~~~~~~~~~~ 2023-09-08T15:16:48,940 fparser.c:993:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:48,941 993 | return; 2023-09-08T15:16:48,941 | ^~~~~~ 2023-09-08T15:16:48,941 fparser.c:984:16: note: declared here 2023-09-08T15:16:48,942 984 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:48,942 | ^~~~~~~~~~~ 2023-09-08T15:16:48,943 fparser.c:997:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:48,943 997 | return; 2023-09-08T15:16:48,944 | ^~~~~~ 2023-09-08T15:16:48,944 fparser.c:984:16: note: declared here 2023-09-08T15:16:48,945 984 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:48,945 | ^~~~~~~~~~~ 2023-09-08T15:16:48,945 fparser.c:1001:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:48,946 1001 | return; 2023-09-08T15:16:48,946 | ^~~~~~ 2023-09-08T15:16:48,947 fparser.c:984:16: note: declared here 2023-09-08T15:16:48,947 984 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:48,948 | ^~~~~~~~~~~ 2023-09-08T15:16:48,948 fparser.c:1005:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:48,949 1005 | return; 2023-09-08T15:16:48,950 | ^~~~~~ 2023-09-08T15:16:48,950 fparser.c:984:16: note: declared here 2023-09-08T15:16:48,951 984 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:48,953 | ^~~~~~~~~~~ 2023-09-08T15:16:48,954 fparser.c:1055:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T15:16:48,955 1055 | PyEval_InitThreads(); 2023-09-08T15:16:48,956 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,956 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T15:16:48,957 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T15:16:48,957 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T15:16:48,958 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:48,973 cc1: all warnings being treated as errors 2023-09-08T15:16:48,977 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T15:16:49,120 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T15:16:49,133 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T15:16:49,133 exec(compile('"'"''"'"''"'"' 2023-09-08T15:16:49,133 # This is -- a caller that pip uses to run setup.py 2023-09-08T15:16:49,133 # 2023-09-08T15:16:49,133 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T15:16:49,133 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T15:16:49,133 # - It provides a clear error message when setuptools is not installed. 2023-09-08T15:16:49,133 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T15:16:49,133 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T15:16:49,133 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T15:16:49,133 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T15:16:49,133 import os, sys, tokenize 2023-09-08T15:16:49,133 2023-09-08T15:16:49,133 try: 2023-09-08T15:16:49,133 import setuptools 2023-09-08T15:16:49,133 except ImportError as error: 2023-09-08T15:16:49,133 print( 2023-09-08T15:16:49,133 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T15:16:49,133 "the build environment.", 2023-09-08T15:16:49,133 file=sys.stderr, 2023-09-08T15:16:49,133 ) 2023-09-08T15:16:49,133 sys.exit(1) 2023-09-08T15:16:49,133 2023-09-08T15:16:49,133 __file__ = %r 2023-09-08T15:16:49,133 sys.argv[0] = __file__ 2023-09-08T15:16:49,133 2023-09-08T15:16:49,133 if os.path.exists(__file__): 2023-09-08T15:16:49,133 filename = __file__ 2023-09-08T15:16:49,133 with tokenize.open(__file__) as f: 2023-09-08T15:16:49,133 setup_py_code = f.read() 2023-09-08T15:16:49,133 else: 2023-09-08T15:16:49,133 filename = "" 2023-09-08T15:16:49,133 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T15:16:49,133 2023-09-08T15:16:49,133 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T15:16:49,133 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-s8wp1vd4/flowparser_432c476fcfa74a7e9963ca2fbad24a38/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-_vht8onz[/] 2023-09-08T15:16:49,134 [bold magenta]cwd[/]: /tmp/pip-wheel-s8wp1vd4/flowparser_432c476fcfa74a7e9963ca2fbad24a38/ 2023-09-08T15:16:49,135 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T15:16:49,136 ERROR: Failed building wheel for flowparser 2023-09-08T15:16:49,137 Running setup.py clean for flowparser 2023-09-08T15:16:49,138 Running command python setup.py clean 2023-09-08T15:16:50,119 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T15:16:50,120 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T15:16:50,120 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T15:16:50,229 Failed to build flowparser 2023-09-08T15:16:50,230 ERROR: Failed to build one or more wheels 2023-09-08T15:16:50,232 Exception information: 2023-09-08T15:16:50,232 Traceback (most recent call last): 2023-09-08T15:16:50,232 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T15:16:50,232 status = run_func(*args) 2023-09-08T15:16:50,232 ^^^^^^^^^^^^^^^ 2023-09-08T15:16:50,232 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T15:16:50,232 return func(self, options, args) 2023-09-08T15:16:50,232 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:16:50,232 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T15:16:50,232 raise CommandError("Failed to build one or more wheels") 2023-09-08T15:16:50,232 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T15:16:50,235 Removed build tracker: '/tmp/pip-build-tracker-qx8tj9kn'