2023-09-08T16:37:01,278 Created temporary directory: /tmp/pip-build-tracker-meaiffk1 2023-09-08T16:37:01,279 Initialized build tracking at /tmp/pip-build-tracker-meaiffk1 2023-09-08T16:37:01,279 Created build tracker: /tmp/pip-build-tracker-meaiffk1 2023-09-08T16:37:01,280 Entered build tracker: /tmp/pip-build-tracker-meaiffk1 2023-09-08T16:37:01,281 Created temporary directory: /tmp/pip-wheel-rbzajhub 2023-09-08T16:37:01,284 Created temporary directory: /tmp/pip-ephem-wheel-cache-ezavtd_d 2023-09-08T16:37:01,305 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:37:01,309 2 location(s) to search for versions of flowparser: 2023-09-08T16:37:01,309 * https://pypi.org/simple/flowparser/ 2023-09-08T16:37:01,309 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:01,309 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:01,310 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T16:37:01,312 Found index url https://pypi.org/simple/ 2023-09-08T16:37:01,454 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:37:01,457 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:01,458 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:01,459 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:01,459 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:01,460 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:01,461 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:01,461 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:01,462 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:01,463 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:01,463 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:01,464 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:01,465 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:01,465 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:01,467 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:37:01,851 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T16:37:01,852 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:01,853 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:01,872 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T16:37:01,890 Collecting flowparser==0.1.4 2023-09-08T16:37:01,893 Created temporary directory: /tmp/pip-unpack-ky7_b9ec 2023-09-08T16:37:02,135 Downloading FlowParser-0.1.4.tar.gz (32 kB) 2023-09-08T16:37:02,188 Added flowparser==0.1.4 from https://files.pythonhosted.org/packages/1e/42/d69f16e26a7a126fae88f8bcf9cecf29817fcc39c5de4d0ca4b2a50fdfa7/FlowParser-0.1.4.tar.gz to build tracker '/tmp/pip-build-tracker-meaiffk1' 2023-09-08T16:37:02,189 Running setup.py (path:/tmp/pip-wheel-rbzajhub/flowparser_cdc94fd4ecfd45aa99e0d8c63c9bf0de/setup.py) egg_info for package flowparser 2023-09-08T16:37:02,190 Created temporary directory: /tmp/pip-pip-egg-info-ojnyxvef 2023-09-08T16:37:02,191 Preparing metadata (setup.py): started 2023-09-08T16:37:02,192 Running command python setup.py egg_info 2023-09-08T16:37:03,389 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:37:03,392 Source in /tmp/pip-wheel-rbzajhub/flowparser_cdc94fd4ecfd45aa99e0d8c63c9bf0de has version 0.1.4, which satisfies requirement flowparser==0.1.4 from https://files.pythonhosted.org/packages/1e/42/d69f16e26a7a126fae88f8bcf9cecf29817fcc39c5de4d0ca4b2a50fdfa7/FlowParser-0.1.4.tar.gz 2023-09-08T16:37:03,393 Removed flowparser==0.1.4 from https://files.pythonhosted.org/packages/1e/42/d69f16e26a7a126fae88f8bcf9cecf29817fcc39c5de4d0ca4b2a50fdfa7/FlowParser-0.1.4.tar.gz from build tracker '/tmp/pip-build-tracker-meaiffk1' 2023-09-08T16:37:03,397 Created temporary directory: /tmp/pip-unpack-x6cd7xvt 2023-09-08T16:37:03,398 Created temporary directory: /tmp/pip-unpack-cvyh3hux 2023-09-08T16:37:03,401 Building wheels for collected packages: flowparser 2023-09-08T16:37:03,405 Created temporary directory: /tmp/pip-wheel-7efnqlf7 2023-09-08T16:37:03,405 Building wheel for flowparser (setup.py): started 2023-09-08T16:37:03,407 Destination directory: /tmp/pip-wheel-7efnqlf7 2023-09-08T16:37:03,407 Running command python setup.py bdist_wheel 2023-09-08T16:37:06,904 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:06,905 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:06,906 | ^ 2023-09-08T16:37:06,906 | {{ } } 2023-09-08T16:37:06,907 fparser.c:39:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:06,907 39 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:06,908 | ^ 2023-09-08T16:37:06,908 | {{ } } 2023-09-08T16:37:06,909 fparser.c:58:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:06,910 58 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:06,910 | ^ 2023-09-08T16:37:06,911 | {{ } } 2023-09-08T16:37:06,911 fparser.c:75:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:06,912 75 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:06,912 | ^ 2023-09-08T16:37:06,913 | {{ } } 2023-09-08T16:37:06,914 fparser.c: In function ‘fparser_dealloc2’: 2023-09-08T16:37:06,914 fparser.c:137:16: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T16:37:06,915 137 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T16:37:06,915 | ^~ 2023-09-08T16:37:06,917 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T16:37:06,917 fparser.c:429:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T16:37:06,918 429 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T16:37:06,919 | ^~ 2023-09-08T16:37:06,919 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T16:37:06,920 fparser.c:474:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:06,920 474 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:06,921 | ^~ 2023-09-08T16:37:06,921 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T16:37:06,922 fparser.c:493:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:06,922 493 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:06,923 | ^~ 2023-09-08T16:37:06,923 fparser.c: At top level: 2023-09-08T16:37:06,923 fparser.c:496:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:06,924 496 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:06,924 | ^ 2023-09-08T16:37:06,925 fparser.c:499:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:06,925 499 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T16:37:06,926 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,926 fparser.c:499:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T16:37:06,926 fparser.c:502: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:06,927 502 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:06,927 | ^ 2023-09-08T16:37:06,928 fparser.c:502:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T16:37:06,946 fparser.c:517:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T16:37:06,947 517 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T16:37:06,947 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,948 | Py_TPFLAGS_HAVE_GC 2023-09-08T16:37:06,949 fparser.c:518: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:06,949 518 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T16:37:06,950 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,951 fparser.c:518:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T16:37:06,951 fparser.c:524:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:06,952 524 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:06,953 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,953 fparser.c:524:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T16:37:06,954 fparser.c:496:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:06,954 496 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:06,955 | ^ 2023-09-08T16:37:06,970 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T16:37:06,971 from fparser.c:1: 2023-09-08T16:37:06,971 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T16:37:06,973 fparser.c:628:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:06,973 628 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:06,973 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,974 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:06,974 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:06,975 | ^~~~ 2023-09-08T16:37:06,975 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:06,975 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:06,976 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:06,976 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:06,977 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:06,977 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,978 fparser.c:628:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:06,978 628 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:06,978 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,990 fparser.c:630:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:06,990 630 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T16:37:06,991 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,992 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:06,992 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:06,993 | ^~~~ 2023-09-08T16:37:06,993 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:06,994 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:06,995 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:06,995 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:06,996 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:06,996 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:06,997 fparser.c:629:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:06,997 629 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T16:37:06,998 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,009 fparser.c: In function ‘fparser_get_info’: 2023-09-08T16:37:07,011 fparser.c:770:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:07,012 770 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T16:37:07,012 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:07,013 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:07,013 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:07,014 | ^~~~ 2023-09-08T16:37:07,015 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:07,015 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:07,016 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:07,016 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:07,017 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:07,017 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,018 fparser.c:769:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:07,018 769 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T16:37:07,019 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,019 fparser.c: At top level: 2023-09-08T16:37:07,020 fparser.c:844: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:07,020 844 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T16:37:07,021 | ^ 2023-09-08T16:37:07,021 fparser.c:856: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:07,022 856 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:07,022 | ^ 2023-09-08T16:37:07,023 fparser.c:858: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:07,023 858 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:07,024 | ^ 2023-09-08T16:37:07,024 fparser.c:860: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:07,025 860 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:07,025 | ^ 2023-09-08T16:37:07,026 fparser.c:862: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:07,026 862 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:07,027 | ^ 2023-09-08T16:37:07,028 fparser.c:865: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:07,028 865 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:07,029 | ^ 2023-09-08T16:37:07,029 fparser.c:872: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:07,030 872 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:07,030 | ^ 2023-09-08T16:37:07,031 fparser.c:874: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:07,031 874 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:07,032 | ^ 2023-09-08T16:37:07,032 fparser.c:876: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:07,032 876 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:07,033 | ^ 2023-09-08T16:37:07,033 fparser.c:878: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:07,034 878 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:07,034 | ^ 2023-09-08T16:37:07,035 fparser.c:881: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:07,035 881 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:07,036 | ^ 2023-09-08T16:37:07,036 fparser.c:891:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:07,036 891 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:07,037 | ^ 2023-09-08T16:37:07,037 fparser.c:894:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:07,038 894 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T16:37:07,038 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,039 fparser.c:894:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T16:37:07,039 fparser.c:897: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:07,040 897 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:07,040 | ^ 2023-09-08T16:37:07,041 fparser.c:897:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:07,041 fparser.c:904:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,042 904 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:07,042 | ^ 2023-09-08T16:37:07,043 fparser.c:904:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T16:37:07,043 fparser.c:915: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:07,044 915 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T16:37:07,044 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,045 fparser.c:915:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T16:37:07,046 fparser.c:921:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,046 921 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:07,046 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,047 fparser.c:921:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T16:37:07,047 fparser.c:922:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,048 922 | tcp_flow_methods /* tp_methods */ 2023-09-08T16:37:07,048 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,049 fparser.c:922:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T16:37:07,049 fparser.c:891:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:07,049 891 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:07,050 | ^ 2023-09-08T16:37:07,050 fparser.c:925:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:07,051 925 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:07,051 | ^ 2023-09-08T16:37:07,052 fparser.c:928:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:07,052 928 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T16:37:07,053 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,053 fparser.c:928:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T16:37:07,053 fparser.c:931: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:07,054 931 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:07,054 | ^ 2023-09-08T16:37:07,055 fparser.c:931:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:07,055 fparser.c:938:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,056 938 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:07,056 | ^ 2023-09-08T16:37:07,057 fparser.c:938:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T16:37:07,057 fparser.c:949: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:07,058 949 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T16:37:07,058 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,059 fparser.c:949:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T16:37:07,060 fparser.c:955:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,060 955 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:07,061 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,061 fparser.c:955:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T16:37:07,062 fparser.c:956:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,063 956 | udp_flow_methods /* tp_methods */ 2023-09-08T16:37:07,063 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,064 fparser.c:956:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T16:37:07,064 fparser.c:925:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:07,065 925 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:07,065 | ^ 2023-09-08T16:37:07,066 fparser.c:959:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:07,066 959 | PyTypeObject fparser_type = { 2023-09-08T16:37:07,066 | ^ 2023-09-08T16:37:07,067 fparser.c:962:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:07,067 962 | "fparser.FParser", /*tp_name*/ 2023-09-08T16:37:07,068 | ^~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,068 fparser.c:962:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T16:37:07,068 fparser.c:965: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:07,069 965 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:07,069 | ^ 2023-09-08T16:37:07,070 fparser.c:965:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T16:37:07,070 fparser.c:983: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:07,071 983 | "Internal fparser object.", /* tp_doc */ 2023-09-08T16:37:07,071 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,072 fparser.c:983:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T16:37:07,072 fparser.c:990:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:07,073 990 | fparser_methods, /* tp_methods */ 2023-09-08T16:37:07,073 | ^~~~~~~~~~~~~~~ 2023-09-08T16:37:07,073 fparser.c:990:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T16:37:07,074 fparser.c:1000: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:07,074 1000 | fparser_new, /* tp_new */ 2023-09-08T16:37:07,075 | ^~~~~~~~~~~ 2023-09-08T16:37:07,075 fparser.c:1000:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T16:37:07,076 fparser.c:959:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:07,076 959 | PyTypeObject fparser_type = { 2023-09-08T16:37:07,077 | ^ 2023-09-08T16:37:07,077 fparser.c: In function ‘initfparser’: 2023-09-08T16:37:07,078 fparser.c:1006:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T16:37:07,078 1006 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:07,079 | ^~~~~~~~~~~~~ 2023-09-08T16:37:07,079 fparser.c:1006:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T16:37:07,080 1006 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:07,080 | ^ 2023-09-08T16:37:07,081 fparser.c:1008:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:07,081 1008 | return; 2023-09-08T16:37:07,082 | ^~~~~~ 2023-09-08T16:37:07,082 fparser.c:1003:16: note: declared here 2023-09-08T16:37:07,083 1003 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:07,083 | ^~~~~~~~~~~ 2023-09-08T16:37:07,083 fparser.c:1012:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:07,084 1012 | return; 2023-09-08T16:37:07,084 | ^~~~~~ 2023-09-08T16:37:07,085 fparser.c:1003:16: note: declared here 2023-09-08T16:37:07,085 1003 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:07,085 | ^~~~~~~~~~~ 2023-09-08T16:37:07,086 fparser.c:1016:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:07,086 1016 | return; 2023-09-08T16:37:07,087 | ^~~~~~ 2023-09-08T16:37:07,087 fparser.c:1003:16: note: declared here 2023-09-08T16:37:07,087 1003 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:07,088 | ^~~~~~~~~~~ 2023-09-08T16:37:07,088 fparser.c:1020:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:07,089 1020 | return; 2023-09-08T16:37:07,089 | ^~~~~~ 2023-09-08T16:37:07,090 fparser.c:1003:16: note: declared here 2023-09-08T16:37:07,091 1003 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:07,091 | ^~~~~~~~~~~ 2023-09-08T16:37:07,092 fparser.c:1024:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:07,092 1024 | return; 2023-09-08T16:37:07,093 | ^~~~~~ 2023-09-08T16:37:07,093 fparser.c:1003:16: note: declared here 2023-09-08T16:37:07,094 1003 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:07,096 | ^~~~~~~~~~~ 2023-09-08T16:37:07,097 fparser.c:1074:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T16:37:07,098 1074 | PyEval_InitThreads(); 2023-09-08T16:37:07,098 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,099 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T16:37:07,100 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T16:37:07,100 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T16:37:07,101 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:07,115 cc1: all warnings being treated as errors 2023-09-08T16:37:07,125 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:37:07,262 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:37:07,275 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:37:07,275 exec(compile('"'"''"'"''"'"' 2023-09-08T16:37:07,275 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:37:07,275 # 2023-09-08T16:37:07,275 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:37:07,275 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:37:07,275 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:37:07,275 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:37:07,275 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:37:07,275 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:37:07,275 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:37:07,275 import os, sys, tokenize 2023-09-08T16:37:07,275 2023-09-08T16:37:07,275 try: 2023-09-08T16:37:07,275 import setuptools 2023-09-08T16:37:07,275 except ImportError as error: 2023-09-08T16:37:07,275 print( 2023-09-08T16:37:07,275 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:37:07,275 "the build environment.", 2023-09-08T16:37:07,275 file=sys.stderr, 2023-09-08T16:37:07,275 ) 2023-09-08T16:37:07,275 sys.exit(1) 2023-09-08T16:37:07,275 2023-09-08T16:37:07,275 __file__ = %r 2023-09-08T16:37:07,275 sys.argv[0] = __file__ 2023-09-08T16:37:07,275 2023-09-08T16:37:07,275 if os.path.exists(__file__): 2023-09-08T16:37:07,275 filename = __file__ 2023-09-08T16:37:07,275 with tokenize.open(__file__) as f: 2023-09-08T16:37:07,275 setup_py_code = f.read() 2023-09-08T16:37:07,275 else: 2023-09-08T16:37:07,275 filename = "" 2023-09-08T16:37:07,275 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:37:07,275 2023-09-08T16:37:07,275 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:37:07,275 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-rbzajhub/flowparser_cdc94fd4ecfd45aa99e0d8c63c9bf0de/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-7efnqlf7[/] 2023-09-08T16:37:07,276 [bold magenta]cwd[/]: /tmp/pip-wheel-rbzajhub/flowparser_cdc94fd4ecfd45aa99e0d8c63c9bf0de/ 2023-09-08T16:37:07,276 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T16:37:07,278 ERROR: Failed building wheel for flowparser 2023-09-08T16:37:07,279 Running setup.py clean for flowparser 2023-09-08T16:37:07,280 Running command python setup.py clean 2023-09-08T16:37:08,305 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T16:37:08,306 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:37:08,306 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:37:08,416 Failed to build flowparser 2023-09-08T16:37:08,417 ERROR: Failed to build one or more wheels 2023-09-08T16:37:08,418 Exception information: 2023-09-08T16:37:08,418 Traceback (most recent call last): 2023-09-08T16:37:08,418 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:37:08,418 status = run_func(*args) 2023-09-08T16:37:08,418 ^^^^^^^^^^^^^^^ 2023-09-08T16:37:08,418 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:37:08,418 return func(self, options, args) 2023-09-08T16:37:08,418 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:37:08,418 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:37:08,418 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:37:08,418 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:37:08,421 Removed build tracker: '/tmp/pip-build-tracker-meaiffk1'