2023-09-08T15:16:39,332 Created temporary directory: /tmp/pip-build-tracker-acbo0nyq 2023-09-08T15:16:39,333 Initialized build tracking at /tmp/pip-build-tracker-acbo0nyq 2023-09-08T15:16:39,334 Created build tracker: /tmp/pip-build-tracker-acbo0nyq 2023-09-08T15:16:39,334 Entered build tracker: /tmp/pip-build-tracker-acbo0nyq 2023-09-08T15:16:39,335 Created temporary directory: /tmp/pip-wheel-chienn5c 2023-09-08T15:16:39,338 Created temporary directory: /tmp/pip-ephem-wheel-cache-8xwbz2yg 2023-09-08T15:16:39,359 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T15:16:39,363 2 location(s) to search for versions of flowparser: 2023-09-08T15:16:39,363 * https://pypi.org/simple/flowparser/ 2023-09-08T15:16:39,363 * https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:39,364 Fetching project page and analyzing links: https://pypi.org/simple/flowparser/ 2023-09-08T15:16:39,365 Getting page https://pypi.org/simple/flowparser/ 2023-09-08T15:16:39,366 Found index url https://pypi.org/simple/ 2023-09-08T15:16:39,507 Fetched page https://pypi.org/simple/flowparser/ as application/vnd.pypi.simple.v1+json 2023-09-08T15:16:39,510 Found link https://files.pythonhosted.org/packages/11/aa/7d4a218679556380ef171424ee54200ceddee29dabf8294a09c5d0bce3ab/FlowParser-0.1.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1 2023-09-08T15:16:39,510 Found link https://files.pythonhosted.org/packages/12/1a/67079e4bb8b3bad52c99b9df846a7948df576c520c06308acfea2b45479e/FlowParser-0.1.1.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.1 2023-09-08T15:16:39,511 Found link https://files.pythonhosted.org/packages/9d/a2/18b9f92ab0bd2d8d8cdef8686affab2de153337abc9743db29249a0d7fd0/FlowParser-0.1.2.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.2 2023-09-08T15:16:39,512 Found link https://files.pythonhosted.org/packages/2e/c3/5892c823fa87bffb8d0ea939d072ad5bebdee64c52f7987672a281f3f0d7/FlowParser-0.1.3.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.3 2023-09-08T15:16:39,512 Found link https://files.pythonhosted.org/packages/1e/42/d69f16e26a7a126fae88f8bcf9cecf29817fcc39c5de4d0ca4b2a50fdfa7/FlowParser-0.1.4.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.4 2023-09-08T15:16:39,513 Found link https://files.pythonhosted.org/packages/fd/8b/926e0236022f0032a9703a63303d60d56980378f2300fbeff5b7feb9e224/FlowParser-0.1.5.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.5 2023-09-08T15:16:39,514 Found link https://files.pythonhosted.org/packages/a8/47/8f7f6cebd9404dba3eef70b00b2e1d67b0e164ff6ec4c5f5012ecda8aebd/FlowParser-0.1.6.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.6 2023-09-08T15:16:39,514 Found link https://files.pythonhosted.org/packages/ee/58/8f5551ee1a32d0a3050a5a4704e8c8aee9982eb063c341e89db071d9df70/FlowParser-0.1.7.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.7 2023-09-08T15:16:39,515 Found link https://files.pythonhosted.org/packages/98/09/cfd95fa4e2483238f3b6cb9db61f8ead33d4b8ea0977e65443b6a42b776c/FlowParser-0.1.8.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.8 2023-09-08T15:16:39,516 Found link https://files.pythonhosted.org/packages/eb/d8/475b84c53c13dee0a850e7b3f6e456b8466e9ba1871de7ac9a8bbfeedf48/FlowParser-0.1.9.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.9 2023-09-08T15:16:39,517 Found link https://files.pythonhosted.org/packages/04/a6/453c18d85fe72c7d6f5ff943e88e5efa73d350e2f1d9c5d55112e476b751/FlowParser-0.1.10.tar.gz (from https://pypi.org/simple/flowparser/), version: 0.1.10 2023-09-08T15:16:39,517 Fetching project page and analyzing links: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:39,518 Getting page https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:39,519 Found index url https://www.piwheels.org/simple/ 2023-09-08T15:16:39,793 Fetched page https://www.piwheels.org/simple/flowparser/ as text/html 2023-09-08T15:16:39,794 Skipping link: not a file: https://www.piwheels.org/simple/flowparser/ 2023-09-08T15:16:39,795 Skipping link: not a file: https://pypi.org/simple/flowparser/ 2023-09-08T15:16:39,817 Given no hashes to check 1 links for project 'flowparser': discarding no candidates 2023-09-08T15:16:39,835 Collecting flowparser==0.1.1 2023-09-08T15:16:39,837 Created temporary directory: /tmp/pip-unpack-jfkc4eg0 2023-09-08T15:16:40,053 Downloading FlowParser-0.1.1.tar.gz (31 kB) 2023-09-08T15:16:40,105 Added flowparser==0.1.1 from https://files.pythonhosted.org/packages/12/1a/67079e4bb8b3bad52c99b9df846a7948df576c520c06308acfea2b45479e/FlowParser-0.1.1.tar.gz to build tracker '/tmp/pip-build-tracker-acbo0nyq' 2023-09-08T15:16:40,107 Running setup.py (path:/tmp/pip-wheel-chienn5c/flowparser_bae5838365f745898bdd68be8752710f/setup.py) egg_info for package flowparser 2023-09-08T15:16:40,108 Created temporary directory: /tmp/pip-pip-egg-info-_s4rz_88 2023-09-08T15:16:40,108 Preparing metadata (setup.py): started 2023-09-08T15:16:40,109 Running command python setup.py egg_info 2023-09-08T15:16:41,272 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T15:16:41,275 Source in /tmp/pip-wheel-chienn5c/flowparser_bae5838365f745898bdd68be8752710f has version 0.1.1, which satisfies requirement flowparser==0.1.1 from https://files.pythonhosted.org/packages/12/1a/67079e4bb8b3bad52c99b9df846a7948df576c520c06308acfea2b45479e/FlowParser-0.1.1.tar.gz 2023-09-08T15:16:41,276 Removed flowparser==0.1.1 from https://files.pythonhosted.org/packages/12/1a/67079e4bb8b3bad52c99b9df846a7948df576c520c06308acfea2b45479e/FlowParser-0.1.1.tar.gz from build tracker '/tmp/pip-build-tracker-acbo0nyq' 2023-09-08T15:16:41,280 Created temporary directory: /tmp/pip-unpack-wb1qazjl 2023-09-08T15:16:41,281 Created temporary directory: /tmp/pip-unpack-y7ixp2t4 2023-09-08T15:16:41,284 Building wheels for collected packages: flowparser 2023-09-08T15:16:41,288 Created temporary directory: /tmp/pip-wheel-7w_umrdf 2023-09-08T15:16:41,288 Building wheel for flowparser (setup.py): started 2023-09-08T15:16:41,290 Destination directory: /tmp/pip-wheel-7w_umrdf 2023-09-08T15:16:41,290 Running command python setup.py bdist_wheel 2023-09-08T15:16:44,697 fparser.c:22:51: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,698 22 | static PyTypeObject fparser_flow_id_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:44,698 | ^ 2023-09-08T15:16:44,699 | {{ } } 2023-09-08T15:16:44,699 fparser.c:38:48: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,700 38 | static PyTypeObject fparser_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:44,701 | ^ 2023-09-08T15:16:44,701 | {{ } } 2023-09-08T15:16:44,702 fparser.c:56:52: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,702 56 | static PyTypeObject fparser_cap_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:44,703 | ^ 2023-09-08T15:16:44,703 | {{ } } 2023-09-08T15:16:44,704 fparser.c:73:53: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,705 73 | static PyTypeObject fparser_flow_info_ntuple_type = {0, 0, 0, 0, 0, 0}; 2023-09-08T15:16:44,705 | ^ 2023-09-08T15:16:44,706 | {{ } } 2023-09-08T15:16:44,706 fparser.c: In function ‘fparser_dealloc’: 2023-09-08T15:16:44,707 fparser.c:130:12: error: ‘struct fparser’ has no member named ‘ob_type’ 2023-09-08T15:16:44,708 130 | fparser->ob_type->tp_free((PyObject *) fparser); 2023-09-08T15:16:44,708 | ^~ 2023-09-08T15:16:44,709 fparser.c: In function ‘fparser_flow_iter_dealloc’: 2023-09-08T15:16:44,710 fparser.c:401:9: error: ‘struct fparser_flow_iter’ has no member named ‘ob_type’ 2023-09-08T15:16:44,711 401 | iter->ob_type->tp_free((PyObject *) iter); 2023-09-08T15:16:44,711 | ^~ 2023-09-08T15:16:44,712 fparser.c: In function ‘fparser_tcp_flow_dealloc’: 2023-09-08T15:16:44,712 fparser.c:445:17: error: ‘struct fparser_tcp_flow’ has no member named ‘ob_type’ 2023-09-08T15:16:44,713 445 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:16:44,713 | ^~ 2023-09-08T15:16:44,714 fparser.c: In function ‘fparser_udp_flow_dealloc’: 2023-09-08T15:16:44,714 fparser.c:463:17: error: ‘struct fparser_udp_flow’ has no member named ‘ob_type’ 2023-09-08T15:16:44,715 463 | fparser_flow->ob_type->tp_free((PyObject *) fparser_flow); 2023-09-08T15:16:44,715 | ^~ 2023-09-08T15:16:44,715 fparser.c: At top level: 2023-09-08T15:16:44,716 fparser.c:466:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,716 466 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:16:44,717 | ^ 2023-09-08T15:16:44,717 fparser.c:469:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,717 469 | "fparser._FlowIter", /*tp_name*/ 2023-09-08T15:16:44,718 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,718 fparser.c:469:5: note: (near initialization for ‘fparser_flow_iter_type.tp_basicsize’) 2023-09-08T15:16:44,719 fparser.c:472:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,719 472 | (destructor) fparser_flow_iter_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:44,719 | ^ 2023-09-08T15:16:44,720 fparser.c:472:5: note: (near initialization for ‘fparser_flow_iter_type.tp_vectorcall_offset’) 2023-09-08T15:16:44,738 fparser.c:487:26: error: ‘Py_TPFLAGS_HAVE_ITER’ undeclared here (not in a function); did you mean ‘Py_TPFLAGS_HAVE_GC’? 2023-09-08T15:16:44,739 487 | Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_ITER, 2023-09-08T15:16:44,739 | ^~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,740 | Py_TPFLAGS_HAVE_GC 2023-09-08T15:16:44,740 fparser.c:488:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,741 488 | "Internal iterator over the flows of an fparser.", /* tp_doc */ 2023-09-08T15:16:44,742 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,742 fparser.c:488:5: note: (near initialization for ‘fparser_flow_iter_type.tp_traverse’) 2023-09-08T15:16:44,743 fparser.c:494:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,744 494 | fparser_flow_iter_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:44,744 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,745 fparser.c:494:5: note: (near initialization for ‘fparser_flow_iter_type.tp_methods’) 2023-09-08T15:16:44,745 fparser.c:466:39: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,746 466 | PyTypeObject fparser_flow_iter_type = { 2023-09-08T15:16:44,747 | ^ 2023-09-08T15:16:44,762 In file included from /usr/include/python3.11/Python.h:38, 2023-09-08T15:16:44,762 from fparser.c:1: 2023-09-08T15:16:44,763 fparser.c: In function ‘fparser_flow_get_id’: 2023-09-08T15:16:44,764 fparser.c:603:42: error: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:44,765 603 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:16:44,766 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,766 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:44,766 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:44,767 | ^~~~ 2023-09-08T15:16:44,767 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:44,768 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:44,768 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:44,768 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:44,769 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:44,769 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,769 fparser.c:603:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:44,770 603 | PyStructSequence_SET_ITEM(ntuple, 0, PyString_FromString(src_ip)); 2023-09-08T15:16:44,770 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,781 fparser.c:605:13: error: implicit declaration of function ‘PyInt_FromSize_t’; did you mean ‘PyLong_FromSize_t’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:44,782 605 | PyInt_FromSize_t((size_t) ntohs(py_flow->id->sport))); 2023-09-08T15:16:44,782 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,783 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:44,784 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:44,785 | ^~~~ 2023-09-08T15:16:44,785 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:44,786 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:44,787 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:44,787 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:44,788 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:44,788 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,789 fparser.c:604:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:44,789 604 | PyStructSequence_SET_ITEM(ntuple, 1, 2023-09-08T15:16:44,790 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,801 fparser.c: In function ‘fparser_get_info’: 2023-09-08T15:16:44,802 fparser.c:745:13: error: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Werror=implicit-function-declaration] 2023-09-08T15:16:44,803 745 | PyInt_FromLong((long) fparser->parser->sniffer_data.snaplen)); 2023-09-08T15:16:44,804 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:44,804 /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 2023-09-08T15:16:44,805 24 | #define _Py_CAST(type, expr) ((type)(expr)) 2023-09-08T15:16:44,806 | ^~~~ 2023-09-08T15:16:44,806 /usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro ‘_PyObject_CAST’ 2023-09-08T15:16:44,807 40 | PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value)) 2023-09-08T15:16:44,808 | ^~~~~~~~~~~~~~ 2023-09-08T15:16:44,808 /usr/include/python3.11/structseq.h:38:45: note: in expansion of macro ‘PyTuple_SET_ITEM’ 2023-09-08T15:16:44,809 38 | #define PyStructSequence_SET_ITEM(op, i, v) PyTuple_SET_ITEM(op, i, v) 2023-09-08T15:16:44,809 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,810 fparser.c:744:5: note: in expansion of macro ‘PyStructSequence_SET_ITEM’ 2023-09-08T15:16:44,810 744 | PyStructSequence_SET_ITEM(sniff_ntuple, 2, 2023-09-08T15:16:44,811 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,811 fparser.c: At top level: 2023-09-08T15:16:44,812 fparser.c:816:19: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,812 816 | {"flow_iter", (PyCFunction) fparser_get_flow_iter, METH_KEYWORDS, 2023-09-08T15:16:44,813 | ^ 2023-09-08T15:16:44,813 fparser.c:828:16: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,813 828 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:16:44,814 | ^ 2023-09-08T15:16:44,814 fparser.c:830:18: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,815 830 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:16:44,815 | ^ 2023-09-08T15:16:44,816 fparser.c:832:23: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,817 832 | {"get_encodings", (PyCFunction) fparser_tcp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:16:44,817 | ^ 2023-09-08T15:16:44,818 fparser.c:834:24: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,819 834 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:16:44,819 | ^ 2023-09-08T15:16:44,820 fparser.c:837:25: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,820 837 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:16:44,821 | ^ 2023-09-08T15:16:44,821 fparser.c:844:16: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,822 844 | {"get_id", (PyCFunction) fparser_flow_get_id, METH_NOARGS, 2023-09-08T15:16:44,823 | ^ 2023-09-08T15:16:44,824 fparser.c:846:18: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,824 846 | {"get_info", (PyCFunction) fparser_flow_get_info, METH_NOARGS, 2023-09-08T15:16:44,824 | ^ 2023-09-08T15:16:44,825 fparser.c:848:23: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,825 848 | {"get_encodings", (PyCFunction) fparser_udp_flow_get_encoding_info, METH_NOARGS, 2023-09-08T15:16:44,826 | ^ 2023-09-08T15:16:44,826 fparser.c:850:24: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,826 850 | {"get_id_encoded", (PyCFunction) fparser_flow_get_ip_id_encoded, METH_NOARGS, 2023-09-08T15:16:44,827 | ^ 2023-09-08T15:16:44,827 fparser.c:853:25: error: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Werror=cast-function-type] 2023-09-08T15:16:44,828 853 | {"get_ttl_encoded", (PyCFunction) fparser_flow_get_ttl_encoded, METH_NOARGS, 2023-09-08T15:16:44,828 | ^ 2023-09-08T15:16:44,829 fparser.c:863:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,829 863 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:16:44,830 | ^ 2023-09-08T15:16:44,831 fparser.c:866:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,831 866 | "fparser._TCPFlow", /*tp_name*/ 2023-09-08T15:16:44,832 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,832 fparser.c:866:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_basicsize’) 2023-09-08T15:16:44,833 fparser.c:869:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,833 869 | (destructor) fparser_tcp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:44,834 | ^ 2023-09-08T15:16:44,834 fparser.c:869:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:16:44,835 fparser.c:876:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,836 876 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:16:44,836 | ^ 2023-09-08T15:16:44,837 fparser.c:876:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_as_mapping’) 2023-09-08T15:16:44,837 fparser.c:887:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,838 887 | "Internal fparser TCP flow object.", /* tp_doc */ 2023-09-08T15:16:44,838 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,839 fparser.c:887:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_traverse’) 2023-09-08T15:16:44,839 fparser.c:893:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,840 893 | fparser_tcp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:44,841 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,841 fparser.c:893:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_methods’) 2023-09-08T15:16:44,841 fparser.c:894:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,842 894 | tcp_flow_methods /* tp_methods */ 2023-09-08T15:16:44,842 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,843 fparser.c:894:5: note: (near initialization for ‘fparser_tcp_flow_type.tp_members’) 2023-09-08T15:16:44,843 fparser.c:863:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,843 863 | PyTypeObject fparser_tcp_flow_type = { 2023-09-08T15:16:44,844 | ^ 2023-09-08T15:16:44,844 fparser.c:897:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,845 897 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:16:44,845 | ^ 2023-09-08T15:16:44,846 fparser.c:900:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,846 900 | "fparser._UDPFlow", /*tp_name*/ 2023-09-08T15:16:44,846 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,847 fparser.c:900:5: note: (near initialization for ‘fparser_udp_flow_type.tp_basicsize’) 2023-09-08T15:16:44,847 fparser.c:903:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,848 903 | (destructor) fparser_udp_flow_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:44,848 | ^ 2023-09-08T15:16:44,849 fparser.c:903:5: note: (near initialization for ‘fparser_udp_flow_type.tp_vectorcall_offset’) 2023-09-08T15:16:44,849 fparser.c:910:5: error: initialization of ‘PyMappingMethods *’ from incompatible pointer type ‘PySequenceMethods *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,850 910 | &commmon_sequence_methods, /*tp_as_sequence*/ 2023-09-08T15:16:44,851 | ^ 2023-09-08T15:16:44,851 fparser.c:910:5: note: (near initialization for ‘fparser_udp_flow_type.tp_as_mapping’) 2023-09-08T15:16:44,852 fparser.c:921:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,853 921 | "Internal fparser UDP flow object.", /* tp_doc */ 2023-09-08T15:16:44,853 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,854 fparser.c:921:5: note: (near initialization for ‘fparser_udp_flow_type.tp_traverse’) 2023-09-08T15:16:44,854 fparser.c:927:5: error: initialization of ‘PyMethodDef *’ from incompatible pointer type ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,855 927 | fparser_udp_flow_iternext, /* tp_iternext: next() method */ 2023-09-08T15:16:44,856 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,856 fparser.c:927:5: note: (near initialization for ‘fparser_udp_flow_type.tp_methods’) 2023-09-08T15:16:44,857 fparser.c:928:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,857 928 | udp_flow_methods /* tp_methods */ 2023-09-08T15:16:44,858 | ^~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,858 fparser.c:928:5: note: (near initialization for ‘fparser_udp_flow_type.tp_members’) 2023-09-08T15:16:44,859 fparser.c:897:38: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,859 897 | PyTypeObject fparser_udp_flow_type = { 2023-09-08T15:16:44,859 | ^ 2023-09-08T15:16:44,860 fparser.c:931:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,860 931 | PyTypeObject fparser_type = { 2023-09-08T15:16:44,861 | ^ 2023-09-08T15:16:44,861 fparser.c:934:5: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,861 934 | "fparser.FParser", /*tp_name*/ 2023-09-08T15:16:44,862 | ^~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,862 fparser.c:934:5: note: (near initialization for ‘fparser_type.tp_basicsize’) 2023-09-08T15:16:44,863 fparser.c:937:5: error: initialization of ‘int’ from ‘void (*)(PyObject *)’ {aka ‘void (*)(struct _object *)’} makes integer from pointer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,863 937 | (destructor) fparser_dealloc, /*tp_dealloc*/ 2023-09-08T15:16:44,863 | ^ 2023-09-08T15:16:44,864 fparser.c:937:5: note: (near initialization for ‘fparser_type.tp_vectorcall_offset’) 2023-09-08T15:16:44,864 fparser.c:955:5: error: initialization of ‘int (*)(PyObject *, int (*)(PyObject *, void *), void *)’ {aka ‘int (*)(struct _object *, int (*)(struct _object *, void *), void *)’} from incompatible pointer type ‘char *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,865 955 | "Internal fparser object.", /* tp_doc */ 2023-09-08T15:16:44,865 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,866 fparser.c:955:5: note: (near initialization for ‘fparser_type.tp_traverse’) 2023-09-08T15:16:44,866 fparser.c:962:5: error: initialization of ‘PyMemberDef *’ from incompatible pointer type ‘PyMethodDef *’ [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,867 962 | fparser_methods, /* tp_methods */ 2023-09-08T15:16:44,867 | ^~~~~~~~~~~~~~~ 2023-09-08T15:16:44,868 fparser.c:962:5: note: (near initialization for ‘fparser_type.tp_members’) 2023-09-08T15:16:44,869 fparser.c:972:5: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘PyObject * (*)(PyTypeObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _typeobject *, struct _object *, struct _object *)’} [-Werror=incompatible-pointer-types] 2023-09-08T15:16:44,869 972 | fparser_new, /* tp_new */ 2023-09-08T15:16:44,870 | ^~~~~~~~~~~ 2023-09-08T15:16:44,870 fparser.c:972:5: note: (near initialization for ‘fparser_type.tp_free’) 2023-09-08T15:16:44,871 fparser.c:931:29: error: missing braces around initializer [-Werror=missing-braces] 2023-09-08T15:16:44,871 931 | PyTypeObject fparser_type = { 2023-09-08T15:16:44,872 | ^ 2023-09-08T15:16:44,872 fparser.c: In function ‘initfparser’: 2023-09-08T15:16:44,873 fparser.c:978:9: error: implicit declaration of function ‘Py_InitModule’ [-Werror=implicit-function-declaration] 2023-09-08T15:16:44,873 978 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T15:16:44,874 | ^~~~~~~~~~~~~ 2023-09-08T15:16:44,874 fparser.c:978:7: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 2023-09-08T15:16:44,875 978 | m = Py_InitModule("fparser", fparser_module_methods); 2023-09-08T15:16:44,875 | ^ 2023-09-08T15:16:44,876 fparser.c:980:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:44,877 980 | return; 2023-09-08T15:16:44,878 | ^~~~~~ 2023-09-08T15:16:44,878 fparser.c:975:16: note: declared here 2023-09-08T15:16:44,878 975 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:44,879 | ^~~~~~~~~~~ 2023-09-08T15:16:44,879 fparser.c:984:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:44,880 984 | return; 2023-09-08T15:16:44,880 | ^~~~~~ 2023-09-08T15:16:44,881 fparser.c:975:16: note: declared here 2023-09-08T15:16:44,881 975 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:44,882 | ^~~~~~~~~~~ 2023-09-08T15:16:44,882 fparser.c:988:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:44,883 988 | return; 2023-09-08T15:16:44,884 | ^~~~~~ 2023-09-08T15:16:44,886 fparser.c:975:16: note: declared here 2023-09-08T15:16:44,887 975 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:44,887 | ^~~~~~~~~~~ 2023-09-08T15:16:44,888 fparser.c:992:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:44,888 992 | return; 2023-09-08T15:16:44,889 | ^~~~~~ 2023-09-08T15:16:44,889 fparser.c:975:16: note: declared here 2023-09-08T15:16:44,890 975 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:44,890 | ^~~~~~~~~~~ 2023-09-08T15:16:44,891 fparser.c:996:9: error: ‘return’ with no value, in function returning non-void [-Werror=return-type] 2023-09-08T15:16:44,891 996 | return; 2023-09-08T15:16:44,892 | ^~~~~~ 2023-09-08T15:16:44,892 fparser.c:975:16: note: declared here 2023-09-08T15:16:44,893 975 | PyMODINIT_FUNC initfparser(void) { 2023-09-08T15:16:44,894 | ^~~~~~~~~~~ 2023-09-08T15:16:44,894 fparser.c:1046:5: error: ‘PyEval_InitThreads’ is deprecated [-Werror=deprecated-declarations] 2023-09-08T15:16:44,895 1046 | PyEval_InitThreads(); 2023-09-08T15:16:44,896 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,896 In file included from /usr/include/python3.11/Python.h:95: 2023-09-08T15:16:44,897 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-08T15:16:44,897 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-08T15:16:44,898 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T15:16:44,906 cc1: all warnings being treated as errors 2023-09-08T15:16:44,910 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T15:16:45,052 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T15:16:45,066 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T15:16:45,066 exec(compile('"'"''"'"''"'"' 2023-09-08T15:16:45,066 # This is -- a caller that pip uses to run setup.py 2023-09-08T15:16:45,066 # 2023-09-08T15:16:45,066 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T15:16:45,066 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T15:16:45,066 # - It provides a clear error message when setuptools is not installed. 2023-09-08T15:16:45,066 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T15:16:45,066 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T15:16:45,066 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T15:16:45,066 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T15:16:45,066 import os, sys, tokenize 2023-09-08T15:16:45,066 2023-09-08T15:16:45,066 try: 2023-09-08T15:16:45,066 import setuptools 2023-09-08T15:16:45,066 except ImportError as error: 2023-09-08T15:16:45,066 print( 2023-09-08T15:16:45,066 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T15:16:45,066 "the build environment.", 2023-09-08T15:16:45,066 file=sys.stderr, 2023-09-08T15:16:45,066 ) 2023-09-08T15:16:45,066 sys.exit(1) 2023-09-08T15:16:45,066 2023-09-08T15:16:45,066 __file__ = %r 2023-09-08T15:16:45,066 sys.argv[0] = __file__ 2023-09-08T15:16:45,066 2023-09-08T15:16:45,066 if os.path.exists(__file__): 2023-09-08T15:16:45,066 filename = __file__ 2023-09-08T15:16:45,066 with tokenize.open(__file__) as f: 2023-09-08T15:16:45,066 setup_py_code = f.read() 2023-09-08T15:16:45,066 else: 2023-09-08T15:16:45,066 filename = "" 2023-09-08T15:16:45,066 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T15:16:45,066 2023-09-08T15:16:45,066 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T15:16:45,066 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-chienn5c/flowparser_bae5838365f745898bdd68be8752710f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-7w_umrdf[/] 2023-09-08T15:16:45,066 [bold magenta]cwd[/]: /tmp/pip-wheel-chienn5c/flowparser_bae5838365f745898bdd68be8752710f/ 2023-09-08T15:16:45,067 Building wheel for flowparser (setup.py): finished with status 'error' 2023-09-08T15:16:45,068 ERROR: Failed building wheel for flowparser 2023-09-08T15:16:45,069 Running setup.py clean for flowparser 2023-09-08T15:16:45,070 Running command python setup.py clean 2023-09-08T15:16:46,069 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T15:16:46,069 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T15:16:46,070 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T15:16:46,179 Failed to build flowparser 2023-09-08T15:16:46,180 ERROR: Failed to build one or more wheels 2023-09-08T15:16:46,181 Exception information: 2023-09-08T15:16:46,181 Traceback (most recent call last): 2023-09-08T15:16:46,181 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T15:16:46,181 status = run_func(*args) 2023-09-08T15:16:46,181 ^^^^^^^^^^^^^^^ 2023-09-08T15:16:46,181 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T15:16:46,181 return func(self, options, args) 2023-09-08T15:16:46,181 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T15:16:46,181 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T15:16:46,181 raise CommandError("Failed to build one or more wheels") 2023-09-08T15:16:46,181 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T15:16:46,184 Removed build tracker: '/tmp/pip-build-tracker-acbo0nyq'