2023-09-08T15:28:08,589 Created temporary directory: /tmp/pip-build-tracker-iq8lg7z5 2023-09-08T15:28:08,591 Initialized build tracking at /tmp/pip-build-tracker-iq8lg7z5 2023-09-08T15:28:08,591 Created build tracker: /tmp/pip-build-tracker-iq8lg7z5 2023-09-08T15:28:08,591 Entered build tracker: /tmp/pip-build-tracker-iq8lg7z5 2023-09-08T15:28:08,592 Created temporary directory: /tmp/pip-wheel-68gojf81 2023-09-08T15:28:08,595 Created temporary directory: /tmp/pip-ephem-wheel-cache-z9ohwrk6 2023-09-08T15:28:08,618 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T15:28:08,622 2 location(s) to search for versions of flowparser: 2023-09-08T15:28:08,622 * https://pypi.org/simple/flowparser/ 2023-09-08T15:28:08,622 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:28:08,623 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T15:28:08,624 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T15:28:08,625 Found index url https://pypi.org/simple/ 2023-09-08T15:28:08,763 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T15:28:08,766 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:28:08,766 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:28:08,767 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:28:08,768 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:28:08,768 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:28:08,769 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:28:08,770 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:28:08,770 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:28:08,771 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:28:08,772 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:28:08,773 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:28:08,773 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:28:08,774 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:28:08,776 Found index url https://www.piwheels.org/simple/ 2023-09-08T15:28:09,025 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T15:28:09,027 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:28:09,027 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T15:28:09,047 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T15:28:09,065 Collecting flowparser==0.1.3 2023-09-08T15:28:09,067 Created temporary directory: /tmp/pip-unpack-olrk9eza 2023-09-08T15:28:09,296 Downloading FlowParser-0.1.3.tar.gz (31 kB) 2023-09-08T15:28:09,362 Added flowparser==0.1.3 from https://files.pythonhosted.org/packages/2e/c3/5892c823fa87bffb8d0ea939d072ad5bebdee64c52f7987672a281f3f0d7/FlowParser-0.1.3.tar.gz to build tracker '/tmp/pip-build-tracker-iq8lg7z5' 2023-09-08T15:28:09,363 Running setup.py (path:/tmp/pip-wheel-68gojf81/flowparser_550c44819ae04cc492a5916cb06c86e6/setup.py) egg_info for package flowparser 2023-09-08T15:28:09,364 Created temporary directory: /tmp/pip-pip-egg-info-7g1o8s7i 2023-09-08T15:28:09,364 Preparing metadata (setup.py): started 2023-09-08T15:28:09,366 Running command python setup.py egg_info 2023-09-08T15:28:10,510 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T15:28:10,513 Source in /tmp/pip-wheel-68gojf81/flowparser_550c44819ae04cc492a5916cb06c86e6 has version 0.1.3, which satisfies requirement flowparser==0.1.3 from https://files.pythonhosted.org/packages/2e/c3/5892c823fa87bffb8d0ea939d072ad5bebdee64c52f7987672a281f3f0d7/FlowParser-0.1.3.tar.gz 2023-09-08T15:28:10,514 Removed flowparser==0.1.3 from https://files.pythonhosted.org/packages/2e/c3/5892c823fa87bffb8d0ea939d072ad5bebdee64c52f7987672a281f3f0d7/FlowParser-0.1.3.tar.gz from build tracker '/tmp/pip-build-tracker-iq8lg7z5' 2023-09-08T15:28:10,518 Created temporary directory: /tmp/pip-unpack-3g5gvejk 2023-09-08T15:28:10,519 Created temporary directory: /tmp/pip-unpack-f2yn3gik 2023-09-08T15:28:10,522 Building wheels for collected packages: flowparser 2023-09-08T15:28:10,525 Created temporary directory: /tmp/pip-wheel-h6outkmp 2023-09-08T15:28:10,526 Building wheel for flowparser (setup.py): started 2023-09-08T15:28:10,527 Destination directory: /tmp/pip-wheel-h6outkmp 2023-09-08T15:28:10,528 Running command python setup.py bdist_wheel 2023-09-08T15:28:13,931 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:13,931 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:28:13,932 | ^ 2023-09-08T15:28:13,933 | {{ } } 2023-09-08T15:28:13,933 fparser.c:39:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:13,934 39 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:28:13,935 | ^ 2023-09-08T15:28:13,936 | {{ } } 2023-09-08T15:28:13,936 fparser.c:57:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:13,937 57 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:28:13,937 | ^ 2023-09-08T15:28:13,938 | {{ } } 2023-09-08T15:28:13,939 fparser.c:74:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:13,939 74 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:28:13,940 | ^ 2023-09-08T15:28:13,940 | {{ } } 2023-09-08T15:28:13,942 fparser.c: In function ‘fparser_dealloc2’: 2023-09-08T15:28:13,942 fparser.c:136:16: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T15:28:13,943 136 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T15:28:13,944 | ^~ 2023-09-08T15:28:13,949 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T15:28:13,950 fparser.c:428:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T15:28:13,951 428 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T15:28:13,952 | ^~ 2023-09-08T15:28:13,953 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T15:28:13,954 fparser.c:473:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T15:28:13,954 473 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:28:13,955 | ^~ 2023-09-08T15:28:13,956 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T15:28:13,957 fparser.c:492:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T15:28:13,957 492 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:28:13,958 | ^~ 2023-09-08T15:28:13,958 fparser.c: At top level: 2023-09-08T15:28:13,959 fparser.c:495:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:13,959 495 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:28:13,960 | ^ 2023-09-08T15:28:13,960 fparser.c:498:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:28:13,961 498 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T15:28:13,961 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:13,962 fparser.c:498:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T15:28:13,962 fparser.c:501: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:28:13,963 501 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T15:28:13,963 | ^ 2023-09-08T15:28:13,964 fparser.c:501:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T15:28:13,987 fparser.c:516:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T15:28:13,987 516 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T15:28:13,988 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:13,989 | Py_TPFLAGS_HAVE_GC 2023-09-08T15:28:13,989 fparser.c:517: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:28:13,990 517 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T15:28:13,991 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:13,991 fparser.c:517:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T15:28:13,992 fparser.c:523:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:28:13,993 523 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T15:28:13,993 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:13,994 fparser.c:523:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T15:28:13,995 fparser.c:495:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:13,995 495 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:28:13,996 | ^ 2023-09-08T15:28:14,011 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T15:28:14,012 from fparser.c:1: 2023-09-08T15:28:14,013 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T15:28:14,014 fparser.c:627:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T15:28:14,014 627 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:28:14,015 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,015 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:28:14,016 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:28:14,016 | ^~~~ 2023-09-08T15:28:14,016 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:28:14,017 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:28:14,017 | ^~~~~~~~~~~~~~ 2023-09-08T15:28:14,018 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:28:14,018 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:28:14,018 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,019 fparser.c:627:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:28:14,019 627 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:28:14,020 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,030 fparser.c:629:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T15:28:14,031 629 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T15:28:14,032 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,032 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:28:14,033 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:28:14,034 | ^~~~ 2023-09-08T15:28:14,035 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:28:14,035 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:28:14,036 | ^~~~~~~~~~~~~~ 2023-09-08T15:28:14,037 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:28:14,037 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:28:14,038 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,038 fparser.c:628:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:28:14,039 628 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T15:28:14,040 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,049 fparser.c: In function ‘fparser_get_info’: 2023-09-08T15:28:14,050 fparser.c:769:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T15:28:14,051 769 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T15:28:14,052 | ^~~~~~~~~~~~~~ 2023-09-08T15:28:14,052 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:28:14,053 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:28:14,054 | ^~~~ 2023-09-08T15:28:14,054 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:28:14,055 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:28:14,056 | ^~~~~~~~~~~~~~ 2023-09-08T15:28:14,057 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:28:14,058 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:28:14,058 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,059 fparser.c:768:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:28:14,060 768 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T15:28:14,060 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,061 fparser.c: At top level: 2023-09-08T15:28:14,061 fparser.c:840: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:28:14,062 840 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T15:28:14,062 | ^ 2023-09-08T15:28:14,062 fparser.c:852: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:28:14,063 852 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:28:14,063 | ^ 2023-09-08T15:28:14,064 fparser.c:854: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:28:14,064 854 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:28:14,065 | ^ 2023-09-08T15:28:14,066 fparser.c:856: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:28:14,066 856 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:28:14,067 | ^ 2023-09-08T15:28:14,068 fparser.c:858: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:28:14,068 858 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:28:14,069 | ^ 2023-09-08T15:28:14,070 fparser.c:861: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:28:14,070 861 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:28:14,071 | ^ 2023-09-08T15:28:14,071 fparser.c:868: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:28:14,072 868 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:28:14,073 | ^ 2023-09-08T15:28:14,073 fparser.c:870: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:28:14,074 870 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:28:14,074 | ^ 2023-09-08T15:28:14,075 fparser.c:872: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:28:14,075 872 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:28:14,075 | ^ 2023-09-08T15:28:14,076 fparser.c:874: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:28:14,076 874 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:28:14,077 | ^ 2023-09-08T15:28:14,077 fparser.c:877: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:28:14,078 877 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:28:14,078 | ^ 2023-09-08T15:28:14,079 fparser.c:887:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:14,079 887 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:28:14,080 | ^ 2023-09-08T15:28:14,081 fparser.c:890:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:28:14,081 890 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T15:28:14,082 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,082 fparser.c:890:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T15:28:14,083 fparser.c:893: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:28:14,084 893 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:28:14,084 | ^ 2023-09-08T15:28:14,085 fparser.c:893:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:28:14,086 fparser.c:900:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,086 900 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:28:14,087 | ^ 2023-09-08T15:28:14,087 fparser.c:900:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T15:28:14,088 fparser.c:911: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:28:14,088 911 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T15:28:14,089 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,089 fparser.c:911:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T15:28:14,090 fparser.c:917:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,091 917 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:28:14,091 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,092 fparser.c:917:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T15:28:14,092 fparser.c:918:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,092 918 | tcp_flow_methods /* tp_methods */ 2023-09-08T15:28:14,093 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,093 fparser.c:918:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T15:28:14,094 fparser.c:887:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:14,094 887 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:28:14,095 | ^ 2023-09-08T15:28:14,095 fparser.c:921:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:14,096 921 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:28:14,096 | ^ 2023-09-08T15:28:14,097 fparser.c:924:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:28:14,097 924 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T15:28:14,098 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,098 fparser.c:924:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T15:28:14,099 fparser.c:927: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:28:14,099 927 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:28:14,100 | ^ 2023-09-08T15:28:14,101 fparser.c:927:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:28:14,101 fparser.c:934:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,102 934 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:28:14,103 | ^ 2023-09-08T15:28:14,103 fparser.c:934:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T15:28:14,104 fparser.c:945: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:28:14,105 945 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T15:28:14,105 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,106 fparser.c:945:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T15:28:14,106 fparser.c:951:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,107 951 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:28:14,107 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,108 fparser.c:951:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T15:28:14,108 fparser.c:952:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,109 952 | udp_flow_methods /* tp_methods */ 2023-09-08T15:28:14,110 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,110 fparser.c:952:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T15:28:14,111 fparser.c:921:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:14,111 921 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:28:14,111 | ^ 2023-09-08T15:28:14,112 fparser.c:955:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:14,112 955 | PyTypeObject fparser_type = { 2023-09-08T15:28:14,113 | ^ 2023-09-08T15:28:14,113 fparser.c:958:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:28:14,113 958 | "fparser.FParser", /*tp_name*/ 2023-09-08T15:28:14,114 | ^~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,114 fparser.c:958:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T15:28:14,114 fparser.c:961: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:28:14,115 961 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T15:28:14,115 | ^ 2023-09-08T15:28:14,116 fparser.c:961:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T15:28:14,117 fparser.c:979: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:28:14,117 979 | "Internal fparser object.", /* tp_doc */ 2023-09-08T15:28:14,117 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,118 fparser.c:979:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T15:28:14,119 fparser.c:986:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:28:14,119 986 | fparser_methods, /* tp_methods */ 2023-09-08T15:28:14,120 | ^~~~~~~~~~~~~~~ 2023-09-08T15:28:14,121 fparser.c:986:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T15:28:14,122 fparser.c:996: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:28:14,123 996 | fparser_new, /* tp_new */ 2023-09-08T15:28:14,125 | ^~~~~~~~~~~ 2023-09-08T15:28:14,126 fparser.c:996:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T15:28:14,127 fparser.c:955:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:28:14,127 955 | PyTypeObject fparser_type = { 2023-09-08T15:28:14,128 | ^ 2023-09-08T15:28:14,129 fparser.c: In function ‘initfparser’: 2023-09-08T15:28:14,129 fparser.c:1002:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T15:28:14,130 1002 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T15:28:14,131 | ^~~~~~~~~~~~~ 2023-09-08T15:28:14,131 fparser.c:1002:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T15:28:14,132 1002 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T15:28:14,133 | ^ 2023-09-08T15:28:14,133 fparser.c:1004:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:28:14,134 1004 | return; 2023-09-08T15:28:14,135 | ^~~~~~ 2023-09-08T15:28:14,135 fparser.c:999:16: note: declared here 2023-09-08T15:28:14,136 999 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:28:14,136 | ^~~~~~~~~~~ 2023-09-08T15:28:14,137 fparser.c:1008:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:28:14,137 1008 | return; 2023-09-08T15:28:14,138 | ^~~~~~ 2023-09-08T15:28:14,138 fparser.c:999:16: note: declared here 2023-09-08T15:28:14,139 999 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:28:14,139 | ^~~~~~~~~~~ 2023-09-08T15:28:14,140 fparser.c:1012:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:28:14,140 1012 | return; 2023-09-08T15:28:14,141 | ^~~~~~ 2023-09-08T15:28:14,141 fparser.c:999:16: note: declared here 2023-09-08T15:28:14,142 999 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:28:14,142 | ^~~~~~~~~~~ 2023-09-08T15:28:14,143 fparser.c:1016:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:28:14,143 1016 | return; 2023-09-08T15:28:14,144 | ^~~~~~ 2023-09-08T15:28:14,144 fparser.c:999:16: note: declared here 2023-09-08T15:28:14,145 999 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:28:14,145 | ^~~~~~~~~~~ 2023-09-08T15:28:14,146 fparser.c:1020:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:28:14,146 1020 | return; 2023-09-08T15:28:14,147 | ^~~~~~ 2023-09-08T15:28:14,148 fparser.c:999:16: note: declared here 2023-09-08T15:28:14,148 999 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:28:14,149 | ^~~~~~~~~~~ 2023-09-08T15:28:14,150 fparser.c:1070:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T15:28:14,151 1070 | PyEval_InitThreads(); 2023-09-08T15:28:14,152 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,153 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T15:28:14,154 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T15:28:14,155 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T15:28:14,156 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:28:14,157 cc1: all warnings being treated as errors 2023-09-08T15:28:14,158 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T15:28:14,292 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T15:28:14,305 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T15:28:14,305 exec(compile('"'"''"'"''"'"' 2023-09-08T15:28:14,305 # This is -- a caller that pip uses to run setup.py 2023-09-08T15:28:14,305 # 2023-09-08T15:28:14,305 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T15:28:14,305 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T15:28:14,305 # - It provides a clear error message when setuptools is not installed. 2023-09-08T15:28:14,305 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T15:28:14,305 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T15:28:14,305 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T15:28:14,305 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T15:28:14,305 import os, sys, tokenize 2023-09-08T15:28:14,305 2023-09-08T15:28:14,305 try: 2023-09-08T15:28:14,305 import setuptools 2023-09-08T15:28:14,305 except ImportError as error: 2023-09-08T15:28:14,305 print( 2023-09-08T15:28:14,305 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T15:28:14,305 "the build environment.", 2023-09-08T15:28:14,305 file=sys.stderr, 2023-09-08T15:28:14,305 ) 2023-09-08T15:28:14,305 sys.exit(1) 2023-09-08T15:28:14,305 2023-09-08T15:28:14,305 __file__ = %r 2023-09-08T15:28:14,305 sys.argv[0] = __file__ 2023-09-08T15:28:14,305 2023-09-08T15:28:14,305 if os.path.exists(__file__): 2023-09-08T15:28:14,305 filename = __file__ 2023-09-08T15:28:14,305 with tokenize.open(__file__) as f: 2023-09-08T15:28:14,305 setup_py_code = f.read() 2023-09-08T15:28:14,305 else: 2023-09-08T15:28:14,305 filename = "" 2023-09-08T15:28:14,305 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T15:28:14,305 2023-09-08T15:28:14,305 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T15:28:14,305 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-68gojf81/flowparser_550c44819ae04cc492a5916cb06c86e6/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-h6outkmp[/] 2023-09-08T15:28:14,306 [bold magenta]cwd[/]: /tmp/pip-wheel-68gojf81/flowparser_550c44819ae04cc492a5916cb06c86e6/ 2023-09-08T15:28:14,307 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T15:28:14,308 ERROR: Failed building wheel for flowparser 2023-09-08T15:28:14,309 Running setup.py clean for flowparser 2023-09-08T15:28:14,310 Running command python setup.py clean 2023-09-08T15:28:15,288 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T15:28:15,288 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T15:28:15,289 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T15:28:15,397 Failed to build flowparser 2023-09-08T15:28:15,398 ERROR: Failed to build one or more wheels 2023-09-08T15:28:15,400 Exception information: 2023-09-08T15:28:15,400 Traceback (most recent call last): 2023-09-08T15:28:15,400 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T15:28:15,400 status = run_func(*args) 2023-09-08T15:28:15,400 ^^^^^^^^^^^^^^^ 2023-09-08T15:28:15,400 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T15:28:15,400 return func(self, options, args) 2023-09-08T15:28:15,400 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:28:15,400 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T15:28:15,400 raise CommandError("Failed to build one or more wheels") 2023-09-08T15:28:15,400 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T15:28:15,403 Removed build tracker: '/tmp/pip-build-tracker-iq8lg7z5'