2023-09-08T16:37:17,901 Created temporary directory: /tmp/pip-build-tracker-dqxvtvht 2023-09-08T16:37:17,902 Initialized build tracking at /tmp/pip-build-tracker-dqxvtvht 2023-09-08T16:37:17,903 Created build tracker: /tmp/pip-build-tracker-dqxvtvht 2023-09-08T16:37:17,903 Entered build tracker: /tmp/pip-build-tracker-dqxvtvht 2023-09-08T16:37:17,904 Created temporary directory: /tmp/pip-wheel-285bu57k 2023-09-08T16:37:17,907 Created temporary directory: /tmp/pip-ephem-wheel-cache-nevesah3 2023-09-08T16:37:17,928 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:37:17,932 2 location(s) to search for versions of flowparser: 2023-09-08T16:37:17,932 * https://pypi.org/simple/flowparser/ 2023-09-08T16:37:17,932 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:17,933 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:17,934 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T16:37:17,935 Found index url https://pypi.org/simple/ 2023-09-08T16:37:18,075 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:37:18,078 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:18,079 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:18,080 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:18,080 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:18,081 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:18,082 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:18,083 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:18,083 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:18,084 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:18,085 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:18,086 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:18,087 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:18,088 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:18,089 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:37:18,342 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T16:37:18,343 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T16:37:18,344 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T16:37:18,363 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T16:37:18,381 Collecting flowparser==0.1.7 2023-09-08T16:37:18,384 Created temporary directory: /tmp/pip-unpack-o054ru9h 2023-09-08T16:37:18,599 Downloading FlowParser-0.1.7.tar.gz (32 kB) 2023-09-08T16:37:18,651 Added flowparser==0.1.7 from https://files.pythonhosted.org/packages/ee/58/8f5551ee1a32d0a3050a5a4704e8c8aee9982eb063c341e89db071d9df70/FlowParser-0.1.7.tar.gz to build tracker '/tmp/pip-build-tracker-dqxvtvht' 2023-09-08T16:37:18,653 Running setup.py (path:/tmp/pip-wheel-285bu57k/flowparser_8b383c9781814ed19aa7de51e36583ab/setup.py) egg_info for package flowparser 2023-09-08T16:37:18,654 Created temporary directory: /tmp/pip-pip-egg-info-5w0oqz2o 2023-09-08T16:37:18,654 Preparing metadata (setup.py): started 2023-09-08T16:37:18,655 Running command python setup.py egg_info 2023-09-08T16:37:19,854 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:37:19,857 Source in /tmp/pip-wheel-285bu57k/flowparser_8b383c9781814ed19aa7de51e36583ab has version 0.1.7, which satisfies requirement flowparser==0.1.7 from https://files.pythonhosted.org/packages/ee/58/8f5551ee1a32d0a3050a5a4704e8c8aee9982eb063c341e89db071d9df70/FlowParser-0.1.7.tar.gz 2023-09-08T16:37:19,858 Removed flowparser==0.1.7 from https://files.pythonhosted.org/packages/ee/58/8f5551ee1a32d0a3050a5a4704e8c8aee9982eb063c341e89db071d9df70/FlowParser-0.1.7.tar.gz from build tracker '/tmp/pip-build-tracker-dqxvtvht' 2023-09-08T16:37:19,861 Created temporary directory: /tmp/pip-unpack-65_85h33 2023-09-08T16:37:19,863 Created temporary directory: /tmp/pip-unpack-l6epbbcj 2023-09-08T16:37:19,865 Building wheels for collected packages: flowparser 2023-09-08T16:37:19,869 Created temporary directory: /tmp/pip-wheel-ahj9kbxc 2023-09-08T16:37:19,870 Building wheel for flowparser (setup.py): started 2023-09-08T16:37:19,871 Destination directory: /tmp/pip-wheel-ahj9kbxc 2023-09-08T16:37:19,872 Running command python setup.py bdist_wheel 2023-09-08T16:37:23,408 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,409 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:23,409 | ^ 2023-09-08T16:37:23,410 | {{ } } 2023-09-08T16:37:23,411 fparser.c:39:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,412 39 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:23,412 | ^ 2023-09-08T16:37:23,413 | {{ } } 2023-09-08T16:37:23,414 fparser.c:58:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,415 58 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:23,415 | ^ 2023-09-08T16:37:23,416 | {{ } } 2023-09-08T16:37:23,417 fparser.c:75:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,418 75 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T16:37:23,418 | ^ 2023-09-08T16:37:23,419 | {{ } } 2023-09-08T16:37:23,421 fparser.c: In function ‘fparser_dealloc2’: 2023-09-08T16:37:23,422 fparser.c:137:16: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T16:37:23,423 137 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T16:37:23,423 | ^~ 2023-09-08T16:37:23,432 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T16:37:23,433 fparser.c:449:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T16:37:23,434 449 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T16:37:23,434 | ^~ 2023-09-08T16:37:23,435 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T16:37:23,436 fparser.c:494:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:23,436 494 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:23,437 | ^~ 2023-09-08T16:37:23,438 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T16:37:23,438 fparser.c:513:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T16:37:23,439 513 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T16:37:23,439 | ^~ 2023-09-08T16:37:23,440 fparser.c: At top level: 2023-09-08T16:37:23,440 fparser.c:516:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,441 516 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:23,441 | ^ 2023-09-08T16:37:23,441 fparser.c:519:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:23,442 519 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T16:37:23,442 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,443 fparser.c:519:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T16:37:23,443 fparser.c:522: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:23,444 522 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:23,444 | ^ 2023-09-08T16:37:23,445 fparser.c:522:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T16:37:23,468 fparser.c:537:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T16:37:23,469 537 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T16:37:23,469 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,470 | Py_TPFLAGS_HAVE_GC 2023-09-08T16:37:23,470 fparser.c:538: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:23,471 538 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T16:37:23,472 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,472 fparser.c:538:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T16:37:23,473 fparser.c:544:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,473 544 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:23,474 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,475 fparser.c:544:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T16:37:23,475 fparser.c:516:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,476 516 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T16:37:23,477 | ^ 2023-09-08T16:37:23,496 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T16:37:23,496 from fparser.c:1: 2023-09-08T16:37:23,497 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T16:37:23,499 fparser.c:648:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:23,499 648 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:23,500 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,500 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:23,501 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:23,501 | ^~~~ 2023-09-08T16:37:23,501 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:23,502 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:23,502 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:23,503 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:23,503 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:23,503 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,504 fparser.c:648:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:23,504 648 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T16:37:23,505 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,516 fparser.c:650:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:23,516 650 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T16:37:23,517 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,518 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:23,518 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:23,519 | ^~~~ 2023-09-08T16:37:23,520 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:23,521 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:23,521 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:23,522 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:23,523 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:23,523 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,524 fparser.c:649:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:23,524 649 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T16:37:23,525 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,537 fparser.c: In function ‘fparser_get_info’: 2023-09-08T16:37:23,538 fparser.c:790:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T16:37:23,539 790 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T16:37:23,539 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:23,540 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T16:37:23,541 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T16:37:23,541 | ^~~~ 2023-09-08T16:37:23,542 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T16:37:23,542 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T16:37:23,543 | ^~~~~~~~~~~~~~ 2023-09-08T16:37:23,544 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T16:37:23,544 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T16:37:23,545 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,545 fparser.c:789:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T16:37:23,546 789 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T16:37:23,546 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,546 fparser.c: At top level: 2023-09-08T16:37:23,547 fparser.c:864: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:23,547 864 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T16:37:23,548 | ^ 2023-09-08T16:37:23,548 fparser.c:876: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:23,549 876 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:23,549 | ^ 2023-09-08T16:37:23,550 fparser.c:878: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:23,550 878 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:23,551 | ^ 2023-09-08T16:37:23,551 fparser.c:880: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:23,552 880 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:23,553 | ^ 2023-09-08T16:37:23,553 fparser.c:882: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:23,554 882 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:23,554 | ^ 2023-09-08T16:37:23,555 fparser.c:885: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:23,555 885 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:23,556 | ^ 2023-09-08T16:37:23,556 fparser.c:892: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:23,557 892 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T16:37:23,558 | ^ 2023-09-08T16:37:23,559 fparser.c:894: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:23,559 894 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T16:37:23,560 | ^ 2023-09-08T16:37:23,560 fparser.c:896: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:23,560 896 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T16:37:23,561 | ^ 2023-09-08T16:37:23,561 fparser.c:898: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:23,562 898 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T16:37:23,562 | ^ 2023-09-08T16:37:23,563 fparser.c:901: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:23,563 901 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T16:37:23,564 | ^ 2023-09-08T16:37:23,564 fparser.c:911:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,565 911 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:23,565 | ^ 2023-09-08T16:37:23,566 fparser.c:914:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:23,567 914 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T16:37:23,567 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,568 fparser.c:914:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T16:37:23,568 fparser.c:917: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:23,569 917 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:23,570 | ^ 2023-09-08T16:37:23,570 fparser.c:917:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:23,571 fparser.c:924:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,571 924 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:23,572 | ^ 2023-09-08T16:37:23,572 fparser.c:924:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T16:37:23,573 fparser.c:935: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:23,574 935 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T16:37:23,574 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,575 fparser.c:935:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T16:37:23,576 fparser.c:941:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,576 941 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:23,576 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,577 fparser.c:941:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T16:37:23,577 fparser.c:942:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,578 942 | tcp_flow_methods /* tp_methods */ 2023-09-08T16:37:23,578 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,579 fparser.c:942:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T16:37:23,579 fparser.c:911:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,579 911 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T16:37:23,580 | ^ 2023-09-08T16:37:23,580 fparser.c:945:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,581 945 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:23,581 | ^ 2023-09-08T16:37:23,582 fparser.c:948:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:23,582 948 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T16:37:23,583 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,583 fparser.c:948:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T16:37:23,584 fparser.c:951: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:23,584 951 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:23,585 | ^ 2023-09-08T16:37:23,585 fparser.c:951:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T16:37:23,586 fparser.c:958:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,587 958 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T16:37:23,587 | ^ 2023-09-08T16:37:23,588 fparser.c:958:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T16:37:23,589 fparser.c:969: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:23,590 969 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T16:37:23,590 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,591 fparser.c:969:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T16:37:23,591 fparser.c:975:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,592 975 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T16:37:23,592 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,593 fparser.c:975:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T16:37:23,594 fparser.c:976:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,594 976 | udp_flow_methods /* tp_methods */ 2023-09-08T16:37:23,595 | ^~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,596 fparser.c:976:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T16:37:23,596 fparser.c:945:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,596 945 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T16:37:23,597 | ^ 2023-09-08T16:37:23,597 fparser.c:979:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,598 979 | PyTypeObject fparser_type = { 2023-09-08T16:37:23,598 | ^ 2023-09-08T16:37:23,598 fparser.c:982:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T16:37:23,599 982 | "fparser.FParser", /*tp_name*/ 2023-09-08T16:37:23,599 | ^~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,600 fparser.c:982:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T16:37:23,600 fparser.c:985: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:23,601 985 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T16:37:23,601 | ^ 2023-09-08T16:37:23,601 fparser.c:985:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T16:37:23,602 fparser.c:1003: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:23,602 1003 | "Internal fparser object.", /* tp_doc */ 2023-09-08T16:37:23,603 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,604 fparser.c:1003:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T16:37:23,604 fparser.c:1010:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T16:37:23,605 1010 | fparser_methods, /* tp_methods */ 2023-09-08T16:37:23,605 | ^~~~~~~~~~~~~~~ 2023-09-08T16:37:23,606 fparser.c:1010:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T16:37:23,606 fparser.c:1020: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:23,607 1020 | fparser_new, /* tp_new */ 2023-09-08T16:37:23,608 | ^~~~~~~~~~~ 2023-09-08T16:37:23,608 fparser.c:1020:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T16:37:23,609 fparser.c:979:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T16:37:23,609 979 | PyTypeObject fparser_type = { 2023-09-08T16:37:23,610 | ^ 2023-09-08T16:37:23,610 fparser.c: In function ‘initfparser’: 2023-09-08T16:37:23,611 fparser.c:1026:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T16:37:23,611 1026 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:23,612 | ^~~~~~~~~~~~~ 2023-09-08T16:37:23,612 fparser.c:1026:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T16:37:23,613 1026 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T16:37:23,614 | ^ 2023-09-08T16:37:23,614 fparser.c:1028:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:23,615 1028 | return; 2023-09-08T16:37:23,616 | ^~~~~~ 2023-09-08T16:37:23,616 fparser.c:1023:16: note: declared here 2023-09-08T16:37:23,617 1023 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:23,618 | ^~~~~~~~~~~ 2023-09-08T16:37:23,618 fparser.c:1032:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:23,619 1032 | return; 2023-09-08T16:37:23,619 | ^~~~~~ 2023-09-08T16:37:23,620 fparser.c:1023:16: note: declared here 2023-09-08T16:37:23,621 1023 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:23,623 | ^~~~~~~~~~~ 2023-09-08T16:37:23,624 fparser.c:1036:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:23,624 1036 | return; 2023-09-08T16:37:23,625 | ^~~~~~ 2023-09-08T16:37:23,626 fparser.c:1023:16: note: declared here 2023-09-08T16:37:23,626 1023 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:23,627 | ^~~~~~~~~~~ 2023-09-08T16:37:23,627 fparser.c:1040:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:23,628 1040 | return; 2023-09-08T16:37:23,628 | ^~~~~~ 2023-09-08T16:37:23,629 fparser.c:1023:16: note: declared here 2023-09-08T16:37:23,629 1023 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:23,630 | ^~~~~~~~~~~ 2023-09-08T16:37:23,630 fparser.c:1044:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T16:37:23,631 1044 | return; 2023-09-08T16:37:23,632 | ^~~~~~ 2023-09-08T16:37:23,632 fparser.c:1023:16: note: declared here 2023-09-08T16:37:23,633 1023 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T16:37:23,633 | ^~~~~~~~~~~ 2023-09-08T16:37:23,634 fparser.c:1094:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T16:37:23,635 1094 | PyEval_InitThreads(); 2023-09-08T16:37:23,635 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,636 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T16:37:23,637 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T16:37:23,638 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T16:37:23,639 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:37:23,644 cc1: all warnings being treated as errors 2023-09-08T16:37:23,649 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:37:23,792 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:37:23,805 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:37:23,805 exec(compile('"'"''"'"''"'"' 2023-09-08T16:37:23,805 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:37:23,805 # 2023-09-08T16:37:23,805 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:37:23,805 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:37:23,805 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:37:23,805 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:37:23,805 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:37:23,805 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:37:23,805 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:37:23,805 import os, sys, tokenize 2023-09-08T16:37:23,805 2023-09-08T16:37:23,805 try: 2023-09-08T16:37:23,805 import setuptools 2023-09-08T16:37:23,805 except ImportError as error: 2023-09-08T16:37:23,805 print( 2023-09-08T16:37:23,805 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:37:23,805 "the build environment.", 2023-09-08T16:37:23,805 file=sys.stderr, 2023-09-08T16:37:23,805 ) 2023-09-08T16:37:23,805 sys.exit(1) 2023-09-08T16:37:23,805 2023-09-08T16:37:23,805 __file__ = %r 2023-09-08T16:37:23,805 sys.argv[0] = __file__ 2023-09-08T16:37:23,805 2023-09-08T16:37:23,805 if os.path.exists(__file__): 2023-09-08T16:37:23,805 filename = __file__ 2023-09-08T16:37:23,805 with tokenize.open(__file__) as f: 2023-09-08T16:37:23,805 setup_py_code = f.read() 2023-09-08T16:37:23,805 else: 2023-09-08T16:37:23,805 filename = "" 2023-09-08T16:37:23,805 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:37:23,805 2023-09-08T16:37:23,805 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:37:23,805 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-285bu57k/flowparser_8b383c9781814ed19aa7de51e36583ab/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-ahj9kbxc[/] 2023-09-08T16:37:23,805 [bold magenta]cwd[/]: /tmp/pip-wheel-285bu57k/flowparser_8b383c9781814ed19aa7de51e36583ab/ 2023-09-08T16:37:23,806 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T16:37:23,807 ERROR: Failed building wheel for flowparser 2023-09-08T16:37:23,809 Running setup.py clean for flowparser 2023-09-08T16:37:23,810 Running command python setup.py clean 2023-09-08T16:37:24,805 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T16:37:24,805 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:37:24,806 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:37:24,915 Failed to build flowparser 2023-09-08T16:37:24,916 ERROR: Failed to build one or more wheels 2023-09-08T16:37:24,917 Exception information: 2023-09-08T16:37:24,917 Traceback (most recent call last): 2023-09-08T16:37:24,917 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:37:24,917 status = run_func(*args) 2023-09-08T16:37:24,917 ^^^^^^^^^^^^^^^ 2023-09-08T16:37:24,917 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:37:24,917 return func(self, options, args) 2023-09-08T16:37:24,917 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:37:24,917 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:37:24,917 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:37:24,917 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:37:24,920 Removed build tracker: '/tmp/pip-build-tracker-dqxvtvht'