2023-09-08T16:37:29,252 Created temporary directory: /tmp/pip-build-tracker-i4hu0j9t 2023-09-08T16:37:29,253 Initialized build tracking at /tmp/pip-build-tracker-i4hu0j9t 2023-09-08T16:37:29,254 Created build tracker: /tmp/pip-build-tracker-i4hu0j9t 2023-09-08T16:37:29,254 Entered build tracker: /tmp/pip-build-tracker-i4hu0j9t 2023-09-08T16:37:29,255 Created temporary directory: /tmp/pip-wheel-izynotk6 2023-09-08T16:37:29,258 Created temporary directory: /tmp/pip-ephem-wheel-cache-fbqx023a 2023-09-08T16:37:29,279 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:37:29,283 2 location(s) to search for versions of flowparser: 2023-09-08T16:37:29,283 * https://pypi.org/simple/flowparser/ 2023-09-08T16:37:29,283 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:29,284 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:29,285 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T16:37:29,286 Found index url https://pypi.org/simple/ 2023-09-08T16:37:29,428 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:37:29,431 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-08T16:37:29,432 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-08T16:37:29,433 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-08T16:37:29,434 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-08T16:37:29,435 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-08T16:37:29,436 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-08T16:37:29,437 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-08T16:37:29,438 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-08T16:37:29,439 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-08T16:37:29,441 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-08T16:37:29,442 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-08T16:37:29,443 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:29,444 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:29,446 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:37:29,791 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T16:37:29,793 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:29,793 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:29,813 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T16:37:29,831 Collecting flowparser==0.1.9 2023-09-08T16:37:29,834 Created temporary directory: /tmp/pip-unpack-slgsalo_ 2023-09-08T16:37:30,049 Downloading FlowParser-0.1.9.tar.gz (33 kB) 2023-09-08T16:37:30,118 Added flowparser==0.1.9 from https://files.pythonhosted.org/packages/eb/d8/475b84c53c13dee0a850e7b3f6e456b8466e9ba1871de7ac9a8bbfeedf48/FlowParser-0.1.9.tar.gz to build tracker '/tmp/pip-build-tracker-i4hu0j9t' 2023-09-08T16:37:30,120 Running setup.py (path:/tmp/pip-wheel-izynotk6/flowparser_b3a8743da11d487092b143ff260cc140/setup.py) egg_info for package flowparser 2023-09-08T16:37:30,121 Created temporary directory: /tmp/pip-pip-egg-info-tgec88a0 2023-09-08T16:37:30,122 Preparing metadata (setup.py): started 2023-09-08T16:37:30,123 Running command python setup.py egg_info 2023-09-08T16:37:32,074 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:37:32,077 Source in /tmp/pip-wheel-izynotk6/flowparser_b3a8743da11d487092b143ff260cc140 has version 0.1.9, which satisfies requirement flowparser==0.1.9 from https://files.pythonhosted.org/packages/eb/d8/475b84c53c13dee0a850e7b3f6e456b8466e9ba1871de7ac9a8bbfeedf48/FlowParser-0.1.9.tar.gz 2023-09-08T16:37:32,078 Removed flowparser==0.1.9 from https://files.pythonhosted.org/packages/eb/d8/475b84c53c13dee0a850e7b3f6e456b8466e9ba1871de7ac9a8bbfeedf48/FlowParser-0.1.9.tar.gz from build tracker '/tmp/pip-build-tracker-i4hu0j9t' 2023-09-08T16:37:32,082 Created temporary directory: /tmp/pip-unpack-g6g5icy1 2023-09-08T16:37:32,083 Created temporary directory: /tmp/pip-unpack-etfuuu3q 2023-09-08T16:37:32,086 Building wheels for collected packages: flowparser 2023-09-08T16:37:32,090 Created temporary directory: /tmp/pip-wheel-n5ff1s6m 2023-09-08T16:37:32,090 Building wheel for flowparser (setup.py): started 2023-09-08T16:37:32,092 Destination directory: /tmp/pip-wheel-n5ff1s6m 2023-09-08T16:37:32,092 Running command python setup.py bdist_wheel 2023-09-08T16:37:35,938 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:35,939 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:35,939 | ^ 2023-09-08T16:37:35,940 | {{ } } 2023-09-08T16:37:35,941 fparser.c:39:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:35,942 39 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:35,942 | ^ 2023-09-08T16:37:35,943 | {{ } } 2023-09-08T16:37:35,944 fparser.c:58:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:35,944 58 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:35,945 | ^ 2023-09-08T16:37:35,946 | {{ } } 2023-09-08T16:37:35,946 fparser.c:75:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:35,947 75 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:35,948 | ^ 2023-09-08T16:37:35,948 | {{ } } 2023-09-08T16:37:35,949 fparser.c: In function ‘fparser_dealloc2’: 2023-09-08T16:37:35,950 fparser.c:137:16: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T16:37:35,950 137 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T16:37:35,951 | ^~ 2023-09-08T16:37:35,952 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T16:37:35,953 fparser.c:458:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T16:37:35,954 458 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T16:37:35,954 | ^~ 2023-09-08T16:37:35,954 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T16:37:35,955 fparser.c:503:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:35,955 503 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:35,956 | ^~ 2023-09-08T16:37:35,956 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T16:37:35,956 fparser.c:522:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:35,957 522 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:35,957 | ^~ 2023-09-08T16:37:35,957 fparser.c: At top level: 2023-09-08T16:37:35,958 fparser.c:525:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:35,958 525 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:35,959 | ^ 2023-09-08T16:37:35,959 fparser.c:528:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:35,959 528 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T16:37:35,960 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:35,960 fparser.c:528:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T16:37:35,960 fparser.c:531:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:35,961 531 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:35,961 | ^ 2023-09-08T16:37:35,962 fparser.c:531:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T16:37:35,978 fparser.c:546:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T16:37:35,979 546 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T16:37:35,980 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:35,980 | Py_TPFLAGS_HAVE_GC 2023-09-08T16:37:35,981 fparser.c:547: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-08T16:37:35,982 547 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T16:37:35,983 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:35,983 fparser.c:547:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T16:37:35,984 fparser.c:553:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:35,985 553 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:35,985 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:35,986 fparser.c:553:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T16:37:35,986 fparser.c:525:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:35,987 525 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:35,987 | ^ 2023-09-08T16:37:36,001 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T16:37:36,002 from fparser.c:1: 2023-09-08T16:37:36,002 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T16:37:36,003 fparser.c:657:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:36,004 657 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:36,004 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,005 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:36,005 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:36,005 | ^~~~ 2023-09-08T16:37:36,006 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:36,006 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:36,006 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:36,007 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:36,007 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:36,008 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,008 fparser.c:657:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:36,008 657 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:36,009 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,020 fparser.c:659:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:36,020 659 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T16:37:36,021 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,022 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:36,023 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:36,023 | ^~~~ 2023-09-08T16:37:36,024 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:36,025 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:36,025 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:36,026 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:36,026 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:36,027 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,028 fparser.c:658:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:36,028 658 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T16:37:36,029 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,039 fparser.c: In function ‘fparser_get_info’: 2023-09-08T16:37:36,041 fparser.c:799:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:36,042 799 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T16:37:36,042 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:36,043 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:36,044 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:36,044 | ^~~~ 2023-09-08T16:37:36,045 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:36,046 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:36,046 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:36,047 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:36,048 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:36,048 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,049 fparser.c:798:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:36,049 798 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T16:37:36,049 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,050 fparser.c: At top level: 2023-09-08T16:37:36,050 fparser.c:873: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-08T16:37:36,051 873 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T16:37:36,051 | ^ 2023-09-08T16:37:36,051 fparser.c:885: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-08T16:37:36,052 885 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:36,052 | ^ 2023-09-08T16:37:36,053 fparser.c:887: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-08T16:37:36,053 887 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:36,054 | ^ 2023-09-08T16:37:36,055 fparser.c:889: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-08T16:37:36,055 889 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:36,056 | ^ 2023-09-08T16:37:36,057 fparser.c:891: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-08T16:37:36,057 891 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:36,058 | ^ 2023-09-08T16:37:36,058 fparser.c:894: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-08T16:37:36,059 894 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:36,059 | ^ 2023-09-08T16:37:36,060 fparser.c:901: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-08T16:37:36,061 901 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:36,061 | ^ 2023-09-08T16:37:36,062 fparser.c:903: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-08T16:37:36,062 903 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:36,063 | ^ 2023-09-08T16:37:36,063 fparser.c:905: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-08T16:37:36,064 905 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:36,064 | ^ 2023-09-08T16:37:36,064 fparser.c:907: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-08T16:37:36,065 907 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:36,065 | ^ 2023-09-08T16:37:36,065 fparser.c:910: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-08T16:37:36,066 910 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:36,066 | ^ 2023-09-08T16:37:36,067 fparser.c:920:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:36,068 920 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:36,068 | ^ 2023-09-08T16:37:36,069 fparser.c:923:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,069 923 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T16:37:36,070 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,070 fparser.c:923:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T16:37:36,071 fparser.c:926:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,072 926 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:36,072 | ^ 2023-09-08T16:37:36,073 fparser.c:926:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:36,073 fparser.c:933:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,074 933 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:36,074 | ^ 2023-09-08T16:37:36,075 fparser.c:933:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T16:37:36,075 fparser.c:944: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-08T16:37:36,076 944 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T16:37:36,077 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,077 fparser.c:944:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T16:37:36,078 fparser.c:950:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,078 950 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:36,079 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,079 fparser.c:950:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T16:37:36,080 fparser.c:951:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,080 951 | tcp_flow_methods /* tp_methods */ 2023-09-08T16:37:36,080 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,081 fparser.c:951:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T16:37:36,081 fparser.c:920:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:36,082 920 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:36,082 | ^ 2023-09-08T16:37:36,082 fparser.c:954:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:36,083 954 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:36,083 | ^ 2023-09-08T16:37:36,084 fparser.c:957:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,084 957 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T16:37:36,085 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,085 fparser.c:957:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T16:37:36,086 fparser.c:960:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,087 960 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:36,087 | ^ 2023-09-08T16:37:36,088 fparser.c:960:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:36,088 fparser.c:967:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,089 967 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:36,089 | ^ 2023-09-08T16:37:36,090 fparser.c:967:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T16:37:36,091 fparser.c:978: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-08T16:37:36,091 978 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T16:37:36,092 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,092 fparser.c:978:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T16:37:36,093 fparser.c:984:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,093 984 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:36,094 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,094 fparser.c:984:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T16:37:36,095 fparser.c:985:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,095 985 | udp_flow_methods /* tp_methods */ 2023-09-08T16:37:36,096 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,097 fparser.c:985:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T16:37:36,097 fparser.c:954:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:36,098 954 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:36,098 | ^ 2023-09-08T16:37:36,098 fparser.c:988:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:36,099 988 | PyTypeObject fparser_type = { 2023-09-08T16:37:36,099 | ^ 2023-09-08T16:37:36,099 fparser.c:991:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,100 991 | "fparser.FParser", /*tp_name*/ 2023-09-08T16:37:36,100 | ^~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,100 fparser.c:991:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T16:37:36,101 fparser.c:994:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,101 994 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:36,102 | ^ 2023-09-08T16:37:36,102 fparser.c:994:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T16:37:36,102 fparser.c:1012: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-08T16:37:36,103 1012 | "Internal fparser object.", /* tp_doc */ 2023-09-08T16:37:36,103 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,104 fparser.c:1012:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T16:37:36,104 fparser.c:1019:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:36,105 1019 | fparser_methods, /* tp_methods */ 2023-09-08T16:37:36,105 | ^~~~~~~~~~~~~~~ 2023-09-08T16:37:36,106 fparser.c:1019:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T16:37:36,106 fparser.c:1029: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-08T16:37:36,107 1029 | fparser_new, /* tp_new */ 2023-09-08T16:37:36,108 | ^~~~~~~~~~~ 2023-09-08T16:37:36,108 fparser.c:1029:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T16:37:36,109 fparser.c:988:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:36,109 988 | PyTypeObject fparser_type = { 2023-09-08T16:37:36,110 | ^ 2023-09-08T16:37:36,110 fparser.c: In function ‘initfparser’: 2023-09-08T16:37:36,111 fparser.c:1035:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T16:37:36,112 1035 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:36,112 | ^~~~~~~~~~~~~ 2023-09-08T16:37:36,113 fparser.c:1035:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T16:37:36,114 1035 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:36,116 | ^ 2023-09-08T16:37:36,117 fparser.c:1037:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:36,118 1037 | return; 2023-09-08T16:37:36,119 | ^~~~~~ 2023-09-08T16:37:36,119 fparser.c:1032:16: note: declared here 2023-09-08T16:37:36,120 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:36,120 | ^~~~~~~~~~~ 2023-09-08T16:37:36,121 fparser.c:1041:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:36,121 1041 | return; 2023-09-08T16:37:36,121 | ^~~~~~ 2023-09-08T16:37:36,122 fparser.c:1032:16: note: declared here 2023-09-08T16:37:36,122 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:36,123 | ^~~~~~~~~~~ 2023-09-08T16:37:36,123 fparser.c:1045:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:36,124 1045 | return; 2023-09-08T16:37:36,124 | ^~~~~~ 2023-09-08T16:37:36,125 fparser.c:1032:16: note: declared here 2023-09-08T16:37:36,125 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:36,126 | ^~~~~~~~~~~ 2023-09-08T16:37:36,126 fparser.c:1049:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:36,127 1049 | return; 2023-09-08T16:37:36,127 | ^~~~~~ 2023-09-08T16:37:36,128 fparser.c:1032:16: note: declared here 2023-09-08T16:37:36,128 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:36,129 | ^~~~~~~~~~~ 2023-09-08T16:37:36,129 fparser.c:1053:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:36,130 1053 | return; 2023-09-08T16:37:36,130 | ^~~~~~ 2023-09-08T16:37:36,131 fparser.c:1032:16: note: declared here 2023-09-08T16:37:36,131 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:36,132 | ^~~~~~~~~~~ 2023-09-08T16:37:36,133 fparser.c:1103:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T16:37:36,133 1103 | PyEval_InitThreads(); 2023-09-08T16:37:36,134 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,135 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T16:37:36,135 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T16:37:36,136 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T16:37:36,136 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:36,137 cc1: all warnings being treated as errors 2023-09-08T16:37:36,141 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:37:36,282 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:37:36,296 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:37:36,296 exec(compile('"'"''"'"''"'"' 2023-09-08T16:37:36,296 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:37:36,296 # 2023-09-08T16:37:36,296 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:37:36,296 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:37:36,296 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:37:36,296 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:37:36,296 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:37:36,296 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:37:36,296 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:37:36,296 import os, sys, tokenize 2023-09-08T16:37:36,296 2023-09-08T16:37:36,296 try: 2023-09-08T16:37:36,296 import setuptools 2023-09-08T16:37:36,296 except ImportError as error: 2023-09-08T16:37:36,296 print( 2023-09-08T16:37:36,296 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:37:36,296 "the build environment.", 2023-09-08T16:37:36,296 file=sys.stderr, 2023-09-08T16:37:36,296 ) 2023-09-08T16:37:36,296 sys.exit(1) 2023-09-08T16:37:36,296 2023-09-08T16:37:36,296 __file__ = %r 2023-09-08T16:37:36,296 sys.argv[0] = __file__ 2023-09-08T16:37:36,296 2023-09-08T16:37:36,296 if os.path.exists(__file__): 2023-09-08T16:37:36,296 filename = __file__ 2023-09-08T16:37:36,296 with tokenize.open(__file__) as f: 2023-09-08T16:37:36,296 setup_py_code = f.read() 2023-09-08T16:37:36,296 else: 2023-09-08T16:37:36,296 filename = "" 2023-09-08T16:37:36,296 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:37:36,296 2023-09-08T16:37:36,296 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:37:36,296 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-izynotk6/flowparser_b3a8743da11d487092b143ff260cc140/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-n5ff1s6m[/] 2023-09-08T16:37:36,297 [bold magenta]cwd[/]: /tmp/pip-wheel-izynotk6/flowparser_b3a8743da11d487092b143ff260cc140/ 2023-09-08T16:37:36,297 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T16:37:36,299 ERROR: Failed building wheel for flowparser 2023-09-08T16:37:36,300 Running setup.py clean for flowparser 2023-09-08T16:37:36,301 Running command python setup.py clean 2023-09-08T16:37:37,523 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T16:37:37,524 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:37:37,524 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:37:37,633 Failed to build flowparser 2023-09-08T16:37:37,634 ERROR: Failed to build one or more wheels 2023-09-08T16:37:37,635 Exception information: 2023-09-08T16:37:37,635 Traceback (most recent call last): 2023-09-08T16:37:37,635 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:37:37,635 status = run_func(*args) 2023-09-08T16:37:37,635 ^^^^^^^^^^^^^^^ 2023-09-08T16:37:37,635 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:37:37,635 return func(self, options, args) 2023-09-08T16:37:37,635 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:37:37,635 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:37:37,635 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:37:37,635 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:37:37,639 Removed build tracker: '/tmp/pip-build-tracker-i4hu0j9t'