2023-09-08T16:37:31,227 Created temporary directory: /tmp/pip-build-tracker-oc8fpd03 2023-09-08T16:37:31,228 Initialized build tracking at /tmp/pip-build-tracker-oc8fpd03 2023-09-08T16:37:31,228 Created build tracker: /tmp/pip-build-tracker-oc8fpd03 2023-09-08T16:37:31,229 Entered build tracker: /tmp/pip-build-tracker-oc8fpd03 2023-09-08T16:37:31,230 Created temporary directory: /tmp/pip-wheel-02h330bw 2023-09-08T16:37:31,233 Created temporary directory: /tmp/pip-ephem-wheel-cache-vbsoyequ 2023-09-08T16:37:31,254 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:37:31,258 2 location(s) to search for versions of flowparser: 2023-09-08T16:37:31,258 * https://pypi.org/simple/flowparser/ 2023-09-08T16:37:31,258 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:31,259 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:31,260 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T16:37:31,261 Found index url https://pypi.org/simple/ 2023-09-08T16:37:31,401 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:37:31,404 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:31,405 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:31,405 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:31,406 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:31,407 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:31,407 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:31,408 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:31,409 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:31,410 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:31,410 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:31,411 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:31,412 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:31,413 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:31,415 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:37:31,682 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T16:37:31,684 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:31,686 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:31,793 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T16:37:31,819 Collecting flowparser==0.1.10 2023-09-08T16:37:31,822 Created temporary directory: /tmp/pip-unpack-aydm_c6s 2023-09-08T16:37:32,068 Downloading FlowParser-0.1.10.tar.gz (33 kB) 2023-09-08T16:37:32,124 Added flowparser==0.1.10 from https://files.pythonhosted.org/packages/04/a6/453c18d85fe72c7d6f5ff943e88e5efa73d350e2f1d9c5d55112e476b751/FlowParser-0.1.10.tar.gz to build tracker '/tmp/pip-build-tracker-oc8fpd03' 2023-09-08T16:37:32,125 Running setup.py (path:/tmp/pip-wheel-02h330bw/flowparser_bd06925d04134feb808216eac156fdd6/setup.py) egg_info for package flowparser 2023-09-08T16:37:32,126 Created temporary directory: /tmp/pip-pip-egg-info-94upq2ks 2023-09-08T16:37:32,127 Preparing metadata (setup.py): started 2023-09-08T16:37:32,128 Running command python setup.py egg_info 2023-09-08T16:37:33,370 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:37:33,373 Source in /tmp/pip-wheel-02h330bw/flowparser_bd06925d04134feb808216eac156fdd6 has version 0.1.10, which satisfies requirement flowparser==0.1.10 from https://files.pythonhosted.org/packages/04/a6/453c18d85fe72c7d6f5ff943e88e5efa73d350e2f1d9c5d55112e476b751/FlowParser-0.1.10.tar.gz 2023-09-08T16:37:33,374 Removed flowparser==0.1.10 from https://files.pythonhosted.org/packages/04/a6/453c18d85fe72c7d6f5ff943e88e5efa73d350e2f1d9c5d55112e476b751/FlowParser-0.1.10.tar.gz from build tracker '/tmp/pip-build-tracker-oc8fpd03' 2023-09-08T16:37:33,378 Created temporary directory: /tmp/pip-unpack-4iw_la8c 2023-09-08T16:37:33,379 Created temporary directory: /tmp/pip-unpack-f29_jru8 2023-09-08T16:37:33,382 Building wheels for collected packages: flowparser 2023-09-08T16:37:33,385 Created temporary directory: /tmp/pip-wheel-unawnr0t 2023-09-08T16:37:33,386 Building wheel for flowparser (setup.py): started 2023-09-08T16:37:33,387 Destination directory: /tmp/pip-wheel-unawnr0t 2023-09-08T16:37:33,388 Running command python setup.py bdist_wheel 2023-09-08T16:37:37,146 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,146 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:37,147 | ^ 2023-09-08T16:37:37,147 | {{ } } 2023-09-08T16:37:37,148 fparser.c:39:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,149 39 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:37,150 | ^ 2023-09-08T16:37:37,151 | {{ } } 2023-09-08T16:37:37,151 fparser.c:58:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,152 58 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:37,152 | ^ 2023-09-08T16:37:37,153 | {{ } } 2023-09-08T16:37:37,153 fparser.c:75:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,154 75 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:37,155 | ^ 2023-09-08T16:37:37,155 | {{ } } 2023-09-08T16:37:37,157 fparser.c: In function ‘fparser_dealloc2’: 2023-09-08T16:37:37,158 fparser.c:137:16: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T16:37:37,158 137 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T16:37:37,159 | ^~ 2023-09-08T16:37:37,166 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T16:37:37,166 fparser.c:458:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T16:37:37,167 458 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T16:37:37,168 | ^~ 2023-09-08T16:37:37,169 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T16:37:37,170 fparser.c:503:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:37,171 503 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:37,171 | ^~ 2023-09-08T16:37:37,172 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T16:37:37,173 fparser.c:522:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:37,174 522 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:37,174 | ^~ 2023-09-08T16:37:37,174 fparser.c: At top level: 2023-09-08T16:37:37,175 fparser.c:525:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,176 525 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:37,176 | ^ 2023-09-08T16:37:37,177 fparser.c:528:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:37,177 528 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T16:37:37,178 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,178 fparser.c:528:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T16:37:37,179 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:37,180 531 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:37,180 | ^ 2023-09-08T16:37:37,181 fparser.c:531:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T16:37:37,204 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:37,205 546 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T16:37:37,206 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,206 | Py_TPFLAGS_HAVE_GC 2023-09-08T16:37:37,207 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:37,208 547 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T16:37:37,208 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,209 fparser.c:547:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T16:37:37,210 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:37,210 553 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:37,211 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,211 fparser.c:553:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T16:37:37,212 fparser.c:525:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,213 525 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:37,213 | ^ 2023-09-08T16:37:37,233 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T16:37:37,234 from fparser.c:1: 2023-09-08T16:37:37,235 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T16:37:37,237 fparser.c:657:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:37,238 657 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:37,238 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,238 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:37,239 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:37,239 | ^~~~ 2023-09-08T16:37:37,240 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:37,240 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:37,240 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:37,241 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:37,241 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:37,241 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,242 fparser.c:657:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:37,242 657 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:37,243 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,258 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:37,259 659 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T16:37:37,259 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,260 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:37,261 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:37,261 | ^~~~ 2023-09-08T16:37:37,262 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:37,263 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:37,263 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:37,264 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:37,265 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:37,266 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,267 fparser.c:658:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:37,267 658 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T16:37:37,268 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,283 fparser.c: In function ‘fparser_get_info’: 2023-09-08T16:37:37,284 fparser.c:799:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:37,286 799 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T16:37:37,287 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:37,288 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:37,289 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:37,290 | ^~~~ 2023-09-08T16:37:37,291 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:37,292 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:37,293 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:37,294 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:37,296 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:37,350 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,350 fparser.c:798:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:37,351 798 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T16:37:37,351 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,352 fparser.c: At top level: 2023-09-08T16:37:37,352 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:37,353 873 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T16:37:37,354 | ^ 2023-09-08T16:37:37,356 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:37,357 885 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:37,358 | ^ 2023-09-08T16:37:37,358 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:37,359 887 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:37,360 | ^ 2023-09-08T16:37:37,361 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:37,361 889 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:37,362 | ^ 2023-09-08T16:37:37,363 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:37,364 891 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:37,364 | ^ 2023-09-08T16:37:37,365 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:37,366 894 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:37,366 | ^ 2023-09-08T16:37:37,367 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:37,368 901 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:37,368 | ^ 2023-09-08T16:37:37,369 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:37,370 903 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:37,370 | ^ 2023-09-08T16:37:37,371 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:37,371 905 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:37,372 | ^ 2023-09-08T16:37:37,372 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:37,373 907 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:37,373 | ^ 2023-09-08T16:37:37,374 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:37,374 910 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:37,375 | ^ 2023-09-08T16:37:37,376 fparser.c:920:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,377 920 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:37,377 | ^ 2023-09-08T16:37:37,378 fparser.c:923:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:37,379 923 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T16:37:37,380 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,380 fparser.c:923:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T16:37:37,381 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:37,382 926 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:37,383 | ^ 2023-09-08T16:37:37,384 fparser.c:926:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:37,385 fparser.c:933:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:37,386 933 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:37,387 | ^ 2023-09-08T16:37:37,388 fparser.c:933:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T16:37:37,388 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:37,390 944 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T16:37:37,391 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,391 fparser.c:944:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T16:37:37,393 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:37,393 950 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:37,394 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,395 fparser.c:950:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T16:37:37,396 fparser.c:951:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:37,396 951 | tcp_flow_methods /* tp_methods */ 2023-09-08T16:37:37,397 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,398 fparser.c:951:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T16:37:37,398 fparser.c:920:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,399 920 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:37,400 | ^ 2023-09-08T16:37:37,400 fparser.c:954:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,401 954 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:37,402 | ^ 2023-09-08T16:37:37,403 fparser.c:957:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:37,403 957 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T16:37:37,404 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,405 fparser.c:957:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T16:37:37,406 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:37,406 960 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:37,408 | ^ 2023-09-08T16:37:37,408 fparser.c:960:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:37,409 fparser.c:967:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:37,410 967 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:37,411 | ^ 2023-09-08T16:37:37,412 fparser.c:967:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T16:37:37,413 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:37,414 978 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T16:37:37,415 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,416 fparser.c:978:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T16:37:37,417 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:37,418 984 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:37,419 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,420 fparser.c:984:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T16:37:37,421 fparser.c:985:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:37,422 985 | udp_flow_methods /* tp_methods */ 2023-09-08T16:37:37,423 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,424 fparser.c:985:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T16:37:37,425 fparser.c:954:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,425 954 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:37,426 | ^ 2023-09-08T16:37:37,427 fparser.c:988:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,428 988 | PyTypeObject fparser_type = { 2023-09-08T16:37:37,428 | ^ 2023-09-08T16:37:37,430 fparser.c:991:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:37,430 991 | "fparser.FParser", /*tp_name*/ 2023-09-08T16:37:37,431 | ^~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,432 fparser.c:991:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T16:37:37,433 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:37,434 994 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:37,435 | ^ 2023-09-08T16:37:37,435 fparser.c:994:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T16:37:37,436 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:37,437 1012 | "Internal fparser object.", /* tp_doc */ 2023-09-08T16:37:37,438 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,439 fparser.c:1012:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T16:37:37,440 fparser.c:1019:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:37,441 1019 | fparser_methods, /* tp_methods */ 2023-09-08T16:37:37,442 | ^~~~~~~~~~~~~~~ 2023-09-08T16:37:37,443 fparser.c:1019:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T16:37:37,444 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:37,444 1029 | fparser_new, /* tp_new */ 2023-09-08T16:37:37,445 | ^~~~~~~~~~~ 2023-09-08T16:37:37,446 fparser.c:1029:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T16:37:37,447 fparser.c:988:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:37,448 988 | PyTypeObject fparser_type = { 2023-09-08T16:37:37,449 | ^ 2023-09-08T16:37:37,450 fparser.c: In function ‘initfparser’: 2023-09-08T16:37:37,451 fparser.c:1035:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T16:37:37,452 1035 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:37,453 | ^~~~~~~~~~~~~ 2023-09-08T16:37:37,454 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:37,455 1035 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:37,456 | ^ 2023-09-08T16:37:37,457 fparser.c:1037:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:37,458 1037 | return; 2023-09-08T16:37:37,459 | ^~~~~~ 2023-09-08T16:37:37,460 fparser.c:1032:16: note: declared here 2023-09-08T16:37:37,460 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:37,461 | ^~~~~~~~~~~ 2023-09-08T16:37:37,461 fparser.c:1041:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:37,462 1041 | return; 2023-09-08T16:37:37,462 | ^~~~~~ 2023-09-08T16:37:37,463 fparser.c:1032:16: note: declared here 2023-09-08T16:37:37,464 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:37,464 | ^~~~~~~~~~~ 2023-09-08T16:37:37,465 fparser.c:1045:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:37,465 1045 | return; 2023-09-08T16:37:37,466 | ^~~~~~ 2023-09-08T16:37:37,467 fparser.c:1032:16: note: declared here 2023-09-08T16:37:37,467 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:37,468 | ^~~~~~~~~~~ 2023-09-08T16:37:37,468 fparser.c:1049:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:37,469 1049 | return; 2023-09-08T16:37:37,470 | ^~~~~~ 2023-09-08T16:37:37,471 fparser.c:1032:16: note: declared here 2023-09-08T16:37:37,471 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:37,472 | ^~~~~~~~~~~ 2023-09-08T16:37:37,472 fparser.c:1053:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:37,473 1053 | return; 2023-09-08T16:37:37,474 | ^~~~~~ 2023-09-08T16:37:37,474 fparser.c:1032:16: note: declared here 2023-09-08T16:37:37,475 1032 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:37,476 | ^~~~~~~~~~~ 2023-09-08T16:37:37,477 fparser.c:1103:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T16:37:37,478 1103 | PyEval_InitThreads(); 2023-09-08T16:37:37,479 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,480 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T16:37:37,481 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T16:37:37,482 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T16:37:37,483 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:37,484 cc1: all warnings being treated as errors 2023-09-08T16:37:37,485 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:37:37,535 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:37:37,548 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:37:37,548 exec(compile('"'"''"'"''"'"' 2023-09-08T16:37:37,548 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:37:37,548 # 2023-09-08T16:37:37,548 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:37:37,548 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:37:37,548 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:37:37,548 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:37:37,548 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:37:37,548 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:37:37,548 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:37:37,548 import os, sys, tokenize 2023-09-08T16:37:37,548 2023-09-08T16:37:37,548 try: 2023-09-08T16:37:37,548 import setuptools 2023-09-08T16:37:37,548 except ImportError as error: 2023-09-08T16:37:37,548 print( 2023-09-08T16:37:37,548 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:37:37,548 "the build environment.", 2023-09-08T16:37:37,548 file=sys.stderr, 2023-09-08T16:37:37,548 ) 2023-09-08T16:37:37,548 sys.exit(1) 2023-09-08T16:37:37,548 2023-09-08T16:37:37,548 __file__ = %r 2023-09-08T16:37:37,548 sys.argv[0] = __file__ 2023-09-08T16:37:37,548 2023-09-08T16:37:37,548 if os.path.exists(__file__): 2023-09-08T16:37:37,548 filename = __file__ 2023-09-08T16:37:37,548 with tokenize.open(__file__) as f: 2023-09-08T16:37:37,548 setup_py_code = f.read() 2023-09-08T16:37:37,548 else: 2023-09-08T16:37:37,548 filename = "" 2023-09-08T16:37:37,548 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:37:37,548 2023-09-08T16:37:37,548 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:37:37,548 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-02h330bw/flowparser_bd06925d04134feb808216eac156fdd6/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-unawnr0t[/] 2023-09-08T16:37:37,549 [bold magenta]cwd[/]: /tmp/pip-wheel-02h330bw/flowparser_bd06925d04134feb808216eac156fdd6/ 2023-09-08T16:37:37,550 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T16:37:37,551 ERROR: Failed building wheel for flowparser 2023-09-08T16:37:37,552 Running setup.py clean for flowparser 2023-09-08T16:37:37,553 Running command python setup.py clean 2023-09-08T16:37:38,827 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T16:37:38,828 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:37:38,828 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:37:38,937 Failed to build flowparser 2023-09-08T16:37:38,939 ERROR: Failed to build one or more wheels 2023-09-08T16:37:38,940 Exception information: 2023-09-08T16:37:38,940 Traceback (most recent call last): 2023-09-08T16:37:38,940 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:37:38,940 status = run_func(*args) 2023-09-08T16:37:38,940 ^^^^^^^^^^^^^^^ 2023-09-08T16:37:38,940 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:37:38,940 return func(self, options, args) 2023-09-08T16:37:38,940 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:37:38,940 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:37:38,940 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:37:38,940 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:37:38,944 Removed build tracker: '/tmp/pip-build-tracker-oc8fpd03'