2021-07-09T10:31:04,567 Created temporary directory: /tmp/pip-ephem-wheel-cache-b3ntoet4 2021-07-09T10:31:04,570 Created temporary directory: /tmp/pip-req-tracker-fwto7sqq 2021-07-09T10:31:04,571 Initialized build tracking at /tmp/pip-req-tracker-fwto7sqq 2021-07-09T10:31:04,571 Created build tracker: /tmp/pip-req-tracker-fwto7sqq 2021-07-09T10:31:04,571 Entered build tracker: /tmp/pip-req-tracker-fwto7sqq 2021-07-09T10:31:04,572 Created temporary directory: /tmp/pip-wheel-spnoepsq 2021-07-09T10:31:04,608 1 location(s) to search for versions of pylognorm: 2021-07-09T10:31:04,608 * https://pypi.org/simple/pylognorm/ 2021-07-09T10:31:04,609 Fetching project page and analyzing links: https://pypi.org/simple/pylognorm/ 2021-07-09T10:31:04,609 Getting page https://pypi.org/simple/pylognorm/ 2021-07-09T10:31:04,611 Found index url https://pypi.org/simple 2021-07-09T10:31:04,704 Found link https://files.pythonhosted.org/packages/63/12/22aafb479b1316591492361b7537003e4ed9cf8a936589fcecdbfded653e/pylognorm-0.1.1.tar.gz#sha256=6185b2ae5e157c503cc061090fedb9f776589657791e6c744d9cde605882a3a1 (from https://pypi.org/simple/pylognorm/), version: 0.1.1 2021-07-09T10:31:04,705 Found link https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz#sha256=0766de8b88b9da5d4aa61acc08d313c47ae28c9a7beee3c39cf508d3a70af4a8 (from https://pypi.org/simple/pylognorm/), version: 0.1.2 2021-07-09T10:31:04,705 Found link https://files.pythonhosted.org/packages/b6/63/88552cedf8f08de4bab937497fbf4dcaec944a6b48ffebe944e450eda944/pylognorm-0.1.3.tar.gz#sha256=ef0699f356235d1e7ffdb54f8322e9ba157f144b2c287cd45ed9ed9f716139b0 (from https://pypi.org/simple/pylognorm/), version: 0.1.3 2021-07-09T10:31:04,705 Found link https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz#sha256=6291cb2cb9c1346f37bc2ed50e69d366f59143e523124f584eae48389ad931ed (from https://pypi.org/simple/pylognorm/), version: 0.2.0 2021-07-09T10:31:04,706 Found link https://files.pythonhosted.org/packages/8c/14/acf079eb998fd93161bc33d19ef4da5ee705eeffa071e36b9b8ea5ee6641/pylognorm-0.2.1.tar.gz#sha256=e1cab31a14618bdc7996e607f385a41aec66bab58df987bb899e748dd5ef6219 (from https://pypi.org/simple/pylognorm/), version: 0.2.1 2021-07-09T10:31:04,706 Found link https://files.pythonhosted.org/packages/a6/93/7e330ff2afc05a8b89cb5accc2fb70daf517e30e6d4f74b24ebec0c19495/pylognorm-0.2.2.tar.gz#sha256=f2c12e9572c696d33a5b16d5f096a877905591b6c84286f5bb0836934dff1fcb (from https://pypi.org/simple/pylognorm/), version: 0.2.2 2021-07-09T10:31:04,706 Found link https://files.pythonhosted.org/packages/3d/e7/ccd89cebcb74691efcc4acb40252a39b857adf36fb472049b8d3e663c62c/pylognorm-0.2.3.tar.gz#sha256=8b3fc7bcdc65f6e0e5797b7bedd1c0fc07c2780b342e8153deb356bce7f6da60 (from https://pypi.org/simple/pylognorm/), version: 0.2.3 2021-07-09T10:31:04,706 Skipping link: not a file: https://pypi.org/simple/pylognorm/ 2021-07-09T10:31:04,724 Given no hashes to check 1 links for project 'pylognorm': discarding no candidates 2021-07-09T10:31:04,741 Collecting pylognorm==0.2.0 2021-07-09T10:31:04,743 Created temporary directory: /tmp/pip-unpack-x4u0zoud 2021-07-09T10:31:04,917 Downloading pylognorm-0.2.0.tar.gz (32 kB) 2021-07-09T10:31:04,985 Added pylognorm==0.2.0 from https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz#sha256=6291cb2cb9c1346f37bc2ed50e69d366f59143e523124f584eae48389ad931ed to build tracker '/tmp/pip-req-tracker-fwto7sqq' 2021-07-09T10:31:04,986 Running setup.py (path:/tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/setup.py) egg_info for package pylognorm 2021-07-09T10:31:04,987 Created temporary directory: /tmp/pip-pip-egg-info-jmwhlwh1 2021-07-09T10:31:04,987 Running command python setup.py egg_info 2021-07-09T10:31:06,457 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/pylognorm/bindings/liblognorm.pyx 2021-07-09T10:31:06,457 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T10:31:06,570 Error compiling Cython file: 2021-07-09T10:31:06,570 ------------------------------------------------------------ 2021-07-09T10:31:06,570 ... 2021-07-09T10:31:06,570 from os import path 2021-07-09T10:31:06,571 from liblognorm cimport * 2021-07-09T10:31:06,571 ^ 2021-07-09T10:31:06,571 ------------------------------------------------------------ 2021-07-09T10:31:06,571 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:31:06,698 Error compiling Cython file: 2021-07-09T10:31:06,698 ------------------------------------------------------------ 2021-07-09T10:31:06,698 ... 2021-07-09T10:31:06,698 return self.cnormalizer.normalize(logline) 2021-07-09T10:31:06,699 cdef class CEEvent(object): 2021-07-09T10:31:06,699 cdef ee_event *event 2021-07-09T10:31:06,699 ^ 2021-07-09T10:31:06,699 ------------------------------------------------------------ 2021-07-09T10:31:06,699 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2021-07-09T10:31:06,700 Error compiling Cython file: 2021-07-09T10:31:06,700 ------------------------------------------------------------ 2021-07-09T10:31:06,700 ... 2021-07-09T10:31:06,700 cdef class CEEvent(object): 2021-07-09T10:31:06,700 cdef ee_event *event 2021-07-09T10:31:06,701 cdef _set(self, ee_event *event): 2021-07-09T10:31:06,701 ^ 2021-07-09T10:31:06,701 ------------------------------------------------------------ 2021-07-09T10:31:06,701 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2021-07-09T10:31:06,701 Error compiling Cython file: 2021-07-09T10:31:06,701 ------------------------------------------------------------ 2021-07-09T10:31:06,702 ... 2021-07-09T10:31:06,702 return py_str_obj 2021-07-09T10:31:06,702 cdef class CLogNormalizer(object): 2021-07-09T10:31:06,702 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:06,702 ^ 2021-07-09T10:31:06,703 ------------------------------------------------------------ 2021-07-09T10:31:06,703 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2021-07-09T10:31:06,703 Error compiling Cython file: 2021-07-09T10:31:06,703 ------------------------------------------------------------ 2021-07-09T10:31:06,703 ... 2021-07-09T10:31:06,704 cdef class CLogNormalizer(object): 2021-07-09T10:31:06,704 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:06,704 cdef ee_ctx cee_ctx 2021-07-09T10:31:06,704 ^ 2021-07-09T10:31:06,704 ------------------------------------------------------------ 2021-07-09T10:31:06,704 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2021-07-09T10:31:06,707 Error compiling Cython file: 2021-07-09T10:31:06,707 ------------------------------------------------------------ 2021-07-09T10:31:06,707 ... 2021-07-09T10:31:06,707 finally: 2021-07-09T10:31:06,708 free(extra_data_cstr) 2021-07-09T10:31:06,708 return py_str_obj 2021-07-09T10:31:06,708 cdef object _format(self, format_kind fmt): 2021-07-09T10:31:06,708 cdef es_str_t *es_out = NULL 2021-07-09T10:31:06,708 ^ 2021-07-09T10:31:06,708 ------------------------------------------------------------ 2021-07-09T10:31:06,709 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:06,709 Error compiling Cython file: 2021-07-09T10:31:06,709 ------------------------------------------------------------ 2021-07-09T10:31:06,709 ... 2021-07-09T10:31:06,710 es_deleteStr(es_out) 2021-07-09T10:31:06,710 free(cstr) 2021-07-09T10:31:06,710 return py_str_obj 2021-07-09T10:31:06,710 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:06,710 cdef es_str_t *es_out = NULL 2021-07-09T10:31:06,710 ^ 2021-07-09T10:31:06,710 ------------------------------------------------------------ 2021-07-09T10:31:06,711 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:06,711 Error compiling Cython file: 2021-07-09T10:31:06,711 ------------------------------------------------------------ 2021-07-09T10:31:06,711 ... 2021-07-09T10:31:06,711 free(cstr) 2021-07-09T10:31:06,711 return py_str_obj 2021-07-09T10:31:06,712 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:06,712 cdef es_str_t *es_out = NULL 2021-07-09T10:31:06,712 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:06,712 ^ 2021-07-09T10:31:06,712 ------------------------------------------------------------ 2021-07-09T10:31:06,712 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:06,721 Error compiling Cython file: 2021-07-09T10:31:06,721 ------------------------------------------------------------ 2021-07-09T10:31:06,721 ... 2021-07-09T10:31:06,722 def normalize(self, object data): 2021-07-09T10:31:06,722 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:06,722 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:06,722 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:06,722 ^ 2021-07-09T10:31:06,722 ------------------------------------------------------------ 2021-07-09T10:31:06,722 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:06,723 Error compiling Cython file: 2021-07-09T10:31:06,723 ------------------------------------------------------------ 2021-07-09T10:31:06,723 ... 2021-07-09T10:31:06,723 def normalize(self, object data): 2021-07-09T10:31:06,723 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:06,723 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:06,724 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:06,724 cdef ee_event *event = NULL 2021-07-09T10:31:06,724 ^ 2021-07-09T10:31:06,724 ------------------------------------------------------------ 2021-07-09T10:31:06,724 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2021-07-09T10:31:06,814 Error compiling Cython file: 2021-07-09T10:31:06,814 ------------------------------------------------------------ 2021-07-09T10:31:06,814 ... 2021-07-09T10:31:06,814 fmt_xml, 2021-07-09T10:31:06,814 fmt_rfc5424 2021-07-09T10:31:06,815 def lib_version(): 2021-07-09T10:31:06,815 cdef char* version = ln_version() 2021-07-09T10:31:06,815 ^ 2021-07-09T10:31:06,815 ------------------------------------------------------------ 2021-07-09T10:31:06,815 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2021-07-09T10:31:06,815 Error compiling Cython file: 2021-07-09T10:31:06,816 ------------------------------------------------------------ 2021-07-09T10:31:06,816 ... 2021-07-09T10:31:06,816 fmt_xml, 2021-07-09T10:31:06,816 fmt_rfc5424 2021-07-09T10:31:06,816 def lib_version(): 2021-07-09T10:31:06,816 cdef char* version = ln_version() 2021-07-09T10:31:06,816 ^ 2021-07-09T10:31:06,817 ------------------------------------------------------------ 2021-07-09T10:31:06,817 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,817 Error compiling Cython file: 2021-07-09T10:31:06,817 ------------------------------------------------------------ 2021-07-09T10:31:06,817 ... 2021-07-09T10:31:06,817 fmt_rfc5424 2021-07-09T10:31:06,818 def lib_version(): 2021-07-09T10:31:06,818 cdef char* version = ln_version() 2021-07-09T10:31:06,818 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:06,818 ^ 2021-07-09T10:31:06,818 ------------------------------------------------------------ 2021-07-09T10:31:06,819 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:31:06,819 Error compiling Cython file: 2021-07-09T10:31:06,819 ------------------------------------------------------------ 2021-07-09T10:31:06,819 ... 2021-07-09T10:31:06,819 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:06,819 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:06,820 cdef char *cstr 2021-07-09T10:31:06,820 if PyByteArray_Check(obj): 2021-07-09T10:31:06,820 ^ 2021-07-09T10:31:06,820 ------------------------------------------------------------ 2021-07-09T10:31:06,820 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:31:06,820 Error compiling Cython file: 2021-07-09T10:31:06,821 ------------------------------------------------------------ 2021-07-09T10:31:06,821 ... 2021-07-09T10:31:06,821 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:06,821 cdef char *cstr 2021-07-09T10:31:06,821 if PyByteArray_Check(obj): 2021-07-09T10:31:06,821 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:06,821 ^ 2021-07-09T10:31:06,822 ------------------------------------------------------------ 2021-07-09T10:31:06,822 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:31:06,822 Error compiling Cython file: 2021-07-09T10:31:06,822 ------------------------------------------------------------ 2021-07-09T10:31:06,822 ... 2021-07-09T10:31:06,823 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:06,823 cdef char *cstr 2021-07-09T10:31:06,823 if PyByteArray_Check(obj): 2021-07-09T10:31:06,823 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:06,823 ^ 2021-07-09T10:31:06,823 ------------------------------------------------------------ 2021-07-09T10:31:06,823 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,824 Error compiling Cython file: 2021-07-09T10:31:06,824 ------------------------------------------------------------ 2021-07-09T10:31:06,824 ... 2021-07-09T10:31:06,824 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:06,824 cdef char *cstr 2021-07-09T10:31:06,824 if PyByteArray_Check(obj): 2021-07-09T10:31:06,824 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:06,825 elif PyBytes_Check(obj): 2021-07-09T10:31:06,825 ^ 2021-07-09T10:31:06,825 ------------------------------------------------------------ 2021-07-09T10:31:06,825 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:31:06,825 Error compiling Cython file: 2021-07-09T10:31:06,825 ------------------------------------------------------------ 2021-07-09T10:31:06,825 ... 2021-07-09T10:31:06,826 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:06,826 cdef char *cstr 2021-07-09T10:31:06,826 if PyByteArray_Check(obj): 2021-07-09T10:31:06,826 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:06,826 elif PyBytes_Check(obj): 2021-07-09T10:31:06,826 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:06,826 ^ 2021-07-09T10:31:06,826 ------------------------------------------------------------ 2021-07-09T10:31:06,827 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:31:06,827 Error compiling Cython file: 2021-07-09T10:31:06,827 ------------------------------------------------------------ 2021-07-09T10:31:06,827 ... 2021-07-09T10:31:06,827 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:06,827 cdef char *cstr 2021-07-09T10:31:06,827 if PyByteArray_Check(obj): 2021-07-09T10:31:06,828 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:06,828 elif PyBytes_Check(obj): 2021-07-09T10:31:06,828 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:06,828 ^ 2021-07-09T10:31:06,828 ------------------------------------------------------------ 2021-07-09T10:31:06,828 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,828 Error compiling Cython file: 2021-07-09T10:31:06,829 ------------------------------------------------------------ 2021-07-09T10:31:06,829 ... 2021-07-09T10:31:06,829 cdef _set(self, ee_event *event): 2021-07-09T10:31:06,829 self.event = event 2021-07-09T10:31:06,829 def __dealoc__(self): 2021-07-09T10:31:06,829 ee_deleteEvent(self.event) 2021-07-09T10:31:06,830 ^ 2021-07-09T10:31:06,830 ------------------------------------------------------------ 2021-07-09T10:31:06,830 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:31:06,830 Error compiling Cython file: 2021-07-09T10:31:06,830 ------------------------------------------------------------ 2021-07-09T10:31:06,830 ... 2021-07-09T10:31:06,830 cdef char *cstr = NULL 2021-07-09T10:31:06,831 cdef object py_str_obj = None 2021-07-09T10:31:06,831 try: 2021-07-09T10:31:06,831 if fmt == fmt_json: 2021-07-09T10:31:06,831 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:06,831 ^ 2021-07-09T10:31:06,831 ------------------------------------------------------------ 2021-07-09T10:31:06,831 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:31:06,832 Error compiling Cython file: 2021-07-09T10:31:06,832 ------------------------------------------------------------ 2021-07-09T10:31:06,832 ... 2021-07-09T10:31:06,832 elif fmt == fmt_rfc5424: 2021-07-09T10:31:06,832 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:06,832 else: 2021-07-09T10:31:06,832 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:06,833 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,833 ^ 2021-07-09T10:31:06,833 ------------------------------------------------------------ 2021-07-09T10:31:06,833 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2021-07-09T10:31:06,833 Error compiling Cython file: 2021-07-09T10:31:06,833 ------------------------------------------------------------ 2021-07-09T10:31:06,834 ... 2021-07-09T10:31:06,834 elif fmt == fmt_rfc5424: 2021-07-09T10:31:06,834 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:06,834 else: 2021-07-09T10:31:06,834 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:06,834 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,834 ^ 2021-07-09T10:31:06,834 ------------------------------------------------------------ 2021-07-09T10:31:06,835 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:06,835 Error compiling Cython file: 2021-07-09T10:31:06,835 ------------------------------------------------------------ 2021-07-09T10:31:06,835 ... 2021-07-09T10:31:06,835 elif fmt == fmt_rfc5424: 2021-07-09T10:31:06,835 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:06,836 else: 2021-07-09T10:31:06,836 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:06,836 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,836 ^ 2021-07-09T10:31:06,836 ------------------------------------------------------------ 2021-07-09T10:31:06,836 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,837 Error compiling Cython file: 2021-07-09T10:31:06,837 ------------------------------------------------------------ 2021-07-09T10:31:06,837 ... 2021-07-09T10:31:06,837 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:06,837 else: 2021-07-09T10:31:06,837 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:06,837 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,838 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:06,838 ^ 2021-07-09T10:31:06,838 ------------------------------------------------------------ 2021-07-09T10:31:06,838 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:31:06,838 Error compiling Cython file: 2021-07-09T10:31:06,838 ------------------------------------------------------------ 2021-07-09T10:31:06,838 ... 2021-07-09T10:31:06,839 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:06,839 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,839 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:06,839 finally: 2021-07-09T10:31:06,839 es_deleteStr(es_out) 2021-07-09T10:31:06,839 ^ 2021-07-09T10:31:06,839 ------------------------------------------------------------ 2021-07-09T10:31:06,840 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2021-07-09T10:31:06,840 Error compiling Cython file: 2021-07-09T10:31:06,840 ------------------------------------------------------------ 2021-07-09T10:31:06,840 ... 2021-07-09T10:31:06,840 cdef es_str_t *es_out = NULL 2021-07-09T10:31:06,840 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:06,840 cdef char *cstr = NULL 2021-07-09T10:31:06,840 cdef object py_str_obj = None 2021-07-09T10:31:06,841 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:06,841 ^ 2021-07-09T10:31:06,841 ------------------------------------------------------------ 2021-07-09T10:31:06,841 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:31:06,841 Error compiling Cython file: 2021-07-09T10:31:06,842 ------------------------------------------------------------ 2021-07-09T10:31:06,842 ... 2021-07-09T10:31:06,842 cdef object py_str_obj = None 2021-07-09T10:31:06,842 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:06,842 try: 2021-07-09T10:31:06,842 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:06,842 ^ 2021-07-09T10:31:06,843 ------------------------------------------------------------ 2021-07-09T10:31:06,843 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2021-07-09T10:31:06,843 Error compiling Cython file: 2021-07-09T10:31:06,843 ------------------------------------------------------------ 2021-07-09T10:31:06,843 ... 2021-07-09T10:31:06,844 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:06,844 try: 2021-07-09T10:31:06,844 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:06,844 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,844 ^ 2021-07-09T10:31:06,844 ------------------------------------------------------------ 2021-07-09T10:31:06,844 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:06,845 Error compiling Cython file: 2021-07-09T10:31:06,845 ------------------------------------------------------------ 2021-07-09T10:31:06,845 ... 2021-07-09T10:31:06,845 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:06,845 try: 2021-07-09T10:31:06,845 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:06,846 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:06,846 ^ 2021-07-09T10:31:06,846 ------------------------------------------------------------ 2021-07-09T10:31:06,846 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,846 Error compiling Cython file: 2021-07-09T10:31:06,846 ------------------------------------------------------------ 2021-07-09T10:31:06,847 ... 2021-07-09T10:31:06,847 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:06,847 cdef ee_ctx cee_ctx 2021-07-09T10:31:06,847 def __cinit__(self): 2021-07-09T10:31:06,847 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:06,847 ^ 2021-07-09T10:31:06,847 ------------------------------------------------------------ 2021-07-09T10:31:06,848 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:31:06,848 Error compiling Cython file: 2021-07-09T10:31:06,848 ------------------------------------------------------------ 2021-07-09T10:31:06,848 ... 2021-07-09T10:31:06,848 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:06,848 cdef ee_ctx cee_ctx 2021-07-09T10:31:06,849 def __cinit__(self): 2021-07-09T10:31:06,849 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:06,849 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:06,849 ^ 2021-07-09T10:31:06,849 ------------------------------------------------------------ 2021-07-09T10:31:06,849 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:31:06,850 Error compiling Cython file: 2021-07-09T10:31:06,850 ------------------------------------------------------------ 2021-07-09T10:31:06,850 ... 2021-07-09T10:31:06,850 cdef ee_ctx cee_ctx 2021-07-09T10:31:06,850 def __cinit__(self): 2021-07-09T10:31:06,850 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:06,850 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:06,850 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:31:06,851 ^ 2021-07-09T10:31:06,851 ------------------------------------------------------------ 2021-07-09T10:31:06,851 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:31:06,851 Error compiling Cython file: 2021-07-09T10:31:06,851 ------------------------------------------------------------ 2021-07-09T10:31:06,851 ... 2021-07-09T10:31:06,852 def __init__(self): 2021-07-09T10:31:06,852 pass 2021-07-09T10:31:06,852 def __dealoc__(self): 2021-07-09T10:31:06,852 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:06,852 ^ 2021-07-09T10:31:06,852 ------------------------------------------------------------ 2021-07-09T10:31:06,852 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:31:06,853 Error compiling Cython file: 2021-07-09T10:31:06,853 ------------------------------------------------------------ 2021-07-09T10:31:06,853 ... 2021-07-09T10:31:06,853 def __init__(self): 2021-07-09T10:31:06,853 pass 2021-07-09T10:31:06,853 def __dealoc__(self): 2021-07-09T10:31:06,853 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:06,853 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:31:06,854 ^ 2021-07-09T10:31:06,854 ------------------------------------------------------------ 2021-07-09T10:31:06,854 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:31:06,854 Error compiling Cython file: 2021-07-09T10:31:06,854 ------------------------------------------------------------ 2021-07-09T10:31:06,854 ... 2021-07-09T10:31:06,855 def load_rules(self, object filename): 2021-07-09T10:31:06,855 cdef char* cstr_filename 2021-07-09T10:31:06,855 if PyByteArray_Check(filename): 2021-07-09T10:31:06,855 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:06,855 ^ 2021-07-09T10:31:06,855 ------------------------------------------------------------ 2021-07-09T10:31:06,855 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,856 Error compiling Cython file: 2021-07-09T10:31:06,856 ------------------------------------------------------------ 2021-07-09T10:31:06,856 ... 2021-07-09T10:31:06,856 cdef char* cstr_filename 2021-07-09T10:31:06,856 if PyByteArray_Check(filename): 2021-07-09T10:31:06,856 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:06,856 elif PyBytes_Check(filename): 2021-07-09T10:31:06,857 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:06,857 ^ 2021-07-09T10:31:06,857 ------------------------------------------------------------ 2021-07-09T10:31:06,857 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:06,857 Error compiling Cython file: 2021-07-09T10:31:06,857 ------------------------------------------------------------ 2021-07-09T10:31:06,857 ... 2021-07-09T10:31:06,858 elif PyBytes_Check(filename): 2021-07-09T10:31:06,858 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:06,858 else: 2021-07-09T10:31:06,858 raise Exception( 2021-07-09T10:31:06,858 'Unable to convert to cstr: {}'.format(type(filename))) 2021-07-09T10:31:06,858 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2021-07-09T10:31:06,858 ^ 2021-07-09T10:31:06,858 ------------------------------------------------------------ 2021-07-09T10:31:06,859 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:31:06,859 Error compiling Cython file: 2021-07-09T10:31:06,859 ------------------------------------------------------------ 2021-07-09T10:31:06,859 ... 2021-07-09T10:31:06,859 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:06,859 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:06,859 cdef ee_event *event = NULL 2021-07-09T10:31:06,859 cdef CEEvent event_wrapper = None 2021-07-09T10:31:06,860 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:31:06,860 ^ 2021-07-09T10:31:06,860 ------------------------------------------------------------ 2021-07-09T10:31:06,860 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2021-07-09T10:31:07,039 running egg_info 2021-07-09T10:31:07,041 creating /tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info 2021-07-09T10:31:07,042 writing /tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info/PKG-INFO 2021-07-09T10:31:07,045 writing dependency_links to /tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info/dependency_links.txt 2021-07-09T10:31:07,047 writing top-level names to /tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info/top_level.txt 2021-07-09T10:31:07,049 writing manifest file '/tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:31:07,196 reading manifest file '/tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:31:07,198 reading manifest template 'MANIFEST.in' 2021-07-09T10:31:07,201 writing manifest file '/tmp/pip-pip-egg-info-jmwhlwh1/pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:31:07,332 Source in /tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0 has version 0.2.0, which satisfies requirement pylognorm==0.2.0 from https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz#sha256=6291cb2cb9c1346f37bc2ed50e69d366f59143e523124f584eae48389ad931ed 2021-07-09T10:31:07,333 Removed pylognorm==0.2.0 from https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz#sha256=6291cb2cb9c1346f37bc2ed50e69d366f59143e523124f584eae48389ad931ed from build tracker '/tmp/pip-req-tracker-fwto7sqq' 2021-07-09T10:31:07,336 Created temporary directory: /tmp/pip-unpack-jxw62icg 2021-07-09T10:31:07,337 Building wheels for collected packages: pylognorm 2021-07-09T10:31:07,341 Created temporary directory: /tmp/pip-wheel-x0xbr8v9 2021-07-09T10:31:07,341 Building wheel for pylognorm (setup.py): started 2021-07-09T10:31:07,341 Destination directory: /tmp/pip-wheel-x0xbr8v9 2021-07-09T10:31:07,342 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-x0xbr8v9 2021-07-09T10:31:08,762 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/pylognorm/bindings/liblognorm.pyx 2021-07-09T10:31:08,763 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T10:31:08,870 Error compiling Cython file: 2021-07-09T10:31:08,870 ------------------------------------------------------------ 2021-07-09T10:31:08,870 ... 2021-07-09T10:31:08,870 from os import path 2021-07-09T10:31:08,870 from liblognorm cimport * 2021-07-09T10:31:08,870 ^ 2021-07-09T10:31:08,871 ------------------------------------------------------------ 2021-07-09T10:31:08,871 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:31:08,989 Error compiling Cython file: 2021-07-09T10:31:08,989 ------------------------------------------------------------ 2021-07-09T10:31:08,989 ... 2021-07-09T10:31:08,989 return self.cnormalizer.normalize(logline) 2021-07-09T10:31:08,989 cdef class CEEvent(object): 2021-07-09T10:31:08,990 cdef ee_event *event 2021-07-09T10:31:08,990 ^ 2021-07-09T10:31:08,990 ------------------------------------------------------------ 2021-07-09T10:31:08,990 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2021-07-09T10:31:08,990 Error compiling Cython file: 2021-07-09T10:31:08,990 ------------------------------------------------------------ 2021-07-09T10:31:08,991 ... 2021-07-09T10:31:08,991 cdef class CEEvent(object): 2021-07-09T10:31:08,991 cdef ee_event *event 2021-07-09T10:31:08,991 cdef _set(self, ee_event *event): 2021-07-09T10:31:08,991 ^ 2021-07-09T10:31:08,992 ------------------------------------------------------------ 2021-07-09T10:31:08,992 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2021-07-09T10:31:08,992 Error compiling Cython file: 2021-07-09T10:31:08,992 ------------------------------------------------------------ 2021-07-09T10:31:08,992 ... 2021-07-09T10:31:08,992 return py_str_obj 2021-07-09T10:31:08,993 cdef class CLogNormalizer(object): 2021-07-09T10:31:08,993 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:08,993 ^ 2021-07-09T10:31:08,993 ------------------------------------------------------------ 2021-07-09T10:31:08,993 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2021-07-09T10:31:08,994 Error compiling Cython file: 2021-07-09T10:31:08,994 ------------------------------------------------------------ 2021-07-09T10:31:08,994 ... 2021-07-09T10:31:08,994 cdef class CLogNormalizer(object): 2021-07-09T10:31:08,994 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:08,995 cdef ee_ctx cee_ctx 2021-07-09T10:31:08,995 ^ 2021-07-09T10:31:08,995 ------------------------------------------------------------ 2021-07-09T10:31:08,995 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2021-07-09T10:31:08,998 Error compiling Cython file: 2021-07-09T10:31:08,998 ------------------------------------------------------------ 2021-07-09T10:31:08,998 ... 2021-07-09T10:31:08,998 finally: 2021-07-09T10:31:08,998 free(extra_data_cstr) 2021-07-09T10:31:08,998 return py_str_obj 2021-07-09T10:31:08,999 cdef object _format(self, format_kind fmt): 2021-07-09T10:31:08,999 cdef es_str_t *es_out = NULL 2021-07-09T10:31:08,999 ^ 2021-07-09T10:31:08,999 ------------------------------------------------------------ 2021-07-09T10:31:08,999 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,000 Error compiling Cython file: 2021-07-09T10:31:09,000 ------------------------------------------------------------ 2021-07-09T10:31:09,000 ... 2021-07-09T10:31:09,000 es_deleteStr(es_out) 2021-07-09T10:31:09,000 free(cstr) 2021-07-09T10:31:09,001 return py_str_obj 2021-07-09T10:31:09,001 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:09,001 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,001 ^ 2021-07-09T10:31:09,001 ------------------------------------------------------------ 2021-07-09T10:31:09,001 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,002 Error compiling Cython file: 2021-07-09T10:31:09,002 ------------------------------------------------------------ 2021-07-09T10:31:09,002 ... 2021-07-09T10:31:09,002 free(cstr) 2021-07-09T10:31:09,002 return py_str_obj 2021-07-09T10:31:09,002 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:09,002 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,002 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:09,003 ^ 2021-07-09T10:31:09,003 ------------------------------------------------------------ 2021-07-09T10:31:09,003 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,012 Error compiling Cython file: 2021-07-09T10:31:09,012 ------------------------------------------------------------ 2021-07-09T10:31:09,012 ... 2021-07-09T10:31:09,012 def normalize(self, object data): 2021-07-09T10:31:09,012 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:09,013 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:09,013 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:09,013 ^ 2021-07-09T10:31:09,013 ------------------------------------------------------------ 2021-07-09T10:31:09,013 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,013 Error compiling Cython file: 2021-07-09T10:31:09,014 ------------------------------------------------------------ 2021-07-09T10:31:09,014 ... 2021-07-09T10:31:09,014 def normalize(self, object data): 2021-07-09T10:31:09,014 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:09,014 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:09,014 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:09,014 cdef ee_event *event = NULL 2021-07-09T10:31:09,015 ^ 2021-07-09T10:31:09,015 ------------------------------------------------------------ 2021-07-09T10:31:09,015 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2021-07-09T10:31:09,104 Error compiling Cython file: 2021-07-09T10:31:09,104 ------------------------------------------------------------ 2021-07-09T10:31:09,105 ... 2021-07-09T10:31:09,105 fmt_xml, 2021-07-09T10:31:09,105 fmt_rfc5424 2021-07-09T10:31:09,105 def lib_version(): 2021-07-09T10:31:09,105 cdef char* version = ln_version() 2021-07-09T10:31:09,105 ^ 2021-07-09T10:31:09,105 ------------------------------------------------------------ 2021-07-09T10:31:09,106 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2021-07-09T10:31:09,106 Error compiling Cython file: 2021-07-09T10:31:09,106 ------------------------------------------------------------ 2021-07-09T10:31:09,106 ... 2021-07-09T10:31:09,106 fmt_xml, 2021-07-09T10:31:09,106 fmt_rfc5424 2021-07-09T10:31:09,107 def lib_version(): 2021-07-09T10:31:09,107 cdef char* version = ln_version() 2021-07-09T10:31:09,107 ^ 2021-07-09T10:31:09,107 ------------------------------------------------------------ 2021-07-09T10:31:09,107 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,108 Error compiling Cython file: 2021-07-09T10:31:09,108 ------------------------------------------------------------ 2021-07-09T10:31:09,108 ... 2021-07-09T10:31:09,108 fmt_rfc5424 2021-07-09T10:31:09,108 def lib_version(): 2021-07-09T10:31:09,108 cdef char* version = ln_version() 2021-07-09T10:31:09,109 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:09,109 ^ 2021-07-09T10:31:09,109 ------------------------------------------------------------ 2021-07-09T10:31:09,109 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:31:09,109 Error compiling Cython file: 2021-07-09T10:31:09,109 ------------------------------------------------------------ 2021-07-09T10:31:09,110 ... 2021-07-09T10:31:09,110 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:09,110 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,110 cdef char *cstr 2021-07-09T10:31:09,110 if PyByteArray_Check(obj): 2021-07-09T10:31:09,110 ^ 2021-07-09T10:31:09,110 ------------------------------------------------------------ 2021-07-09T10:31:09,111 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:31:09,111 Error compiling Cython file: 2021-07-09T10:31:09,111 ------------------------------------------------------------ 2021-07-09T10:31:09,111 ... 2021-07-09T10:31:09,111 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,112 cdef char *cstr 2021-07-09T10:31:09,112 if PyByteArray_Check(obj): 2021-07-09T10:31:09,112 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,112 ^ 2021-07-09T10:31:09,112 ------------------------------------------------------------ 2021-07-09T10:31:09,112 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:31:09,113 Error compiling Cython file: 2021-07-09T10:31:09,113 ------------------------------------------------------------ 2021-07-09T10:31:09,113 ... 2021-07-09T10:31:09,113 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,113 cdef char *cstr 2021-07-09T10:31:09,113 if PyByteArray_Check(obj): 2021-07-09T10:31:09,113 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,114 ^ 2021-07-09T10:31:09,114 ------------------------------------------------------------ 2021-07-09T10:31:09,114 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,114 Error compiling Cython file: 2021-07-09T10:31:09,114 ------------------------------------------------------------ 2021-07-09T10:31:09,114 ... 2021-07-09T10:31:09,115 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,115 cdef char *cstr 2021-07-09T10:31:09,115 if PyByteArray_Check(obj): 2021-07-09T10:31:09,115 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,115 elif PyBytes_Check(obj): 2021-07-09T10:31:09,115 ^ 2021-07-09T10:31:09,115 ------------------------------------------------------------ 2021-07-09T10:31:09,116 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:31:09,116 Error compiling Cython file: 2021-07-09T10:31:09,116 ------------------------------------------------------------ 2021-07-09T10:31:09,116 ... 2021-07-09T10:31:09,116 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,116 cdef char *cstr 2021-07-09T10:31:09,116 if PyByteArray_Check(obj): 2021-07-09T10:31:09,116 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,117 elif PyBytes_Check(obj): 2021-07-09T10:31:09,117 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:09,117 ^ 2021-07-09T10:31:09,117 ------------------------------------------------------------ 2021-07-09T10:31:09,117 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:31:09,117 Error compiling Cython file: 2021-07-09T10:31:09,117 ------------------------------------------------------------ 2021-07-09T10:31:09,118 ... 2021-07-09T10:31:09,118 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,118 cdef char *cstr 2021-07-09T10:31:09,118 if PyByteArray_Check(obj): 2021-07-09T10:31:09,118 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,118 elif PyBytes_Check(obj): 2021-07-09T10:31:09,118 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:09,118 ^ 2021-07-09T10:31:09,119 ------------------------------------------------------------ 2021-07-09T10:31:09,119 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,119 Error compiling Cython file: 2021-07-09T10:31:09,119 ------------------------------------------------------------ 2021-07-09T10:31:09,119 ... 2021-07-09T10:31:09,120 cdef _set(self, ee_event *event): 2021-07-09T10:31:09,120 self.event = event 2021-07-09T10:31:09,120 def __dealoc__(self): 2021-07-09T10:31:09,120 ee_deleteEvent(self.event) 2021-07-09T10:31:09,120 ^ 2021-07-09T10:31:09,120 ------------------------------------------------------------ 2021-07-09T10:31:09,120 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:31:09,121 Error compiling Cython file: 2021-07-09T10:31:09,121 ------------------------------------------------------------ 2021-07-09T10:31:09,121 ... 2021-07-09T10:31:09,121 cdef char *cstr = NULL 2021-07-09T10:31:09,121 cdef object py_str_obj = None 2021-07-09T10:31:09,121 try: 2021-07-09T10:31:09,121 if fmt == fmt_json: 2021-07-09T10:31:09,122 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,122 ^ 2021-07-09T10:31:09,122 ------------------------------------------------------------ 2021-07-09T10:31:09,122 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:31:09,122 Error compiling Cython file: 2021-07-09T10:31:09,122 ------------------------------------------------------------ 2021-07-09T10:31:09,123 ... 2021-07-09T10:31:09,123 elif fmt == fmt_rfc5424: 2021-07-09T10:31:09,123 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,123 else: 2021-07-09T10:31:09,123 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,123 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,123 ^ 2021-07-09T10:31:09,124 ------------------------------------------------------------ 2021-07-09T10:31:09,124 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2021-07-09T10:31:09,124 Error compiling Cython file: 2021-07-09T10:31:09,124 ------------------------------------------------------------ 2021-07-09T10:31:09,124 ... 2021-07-09T10:31:09,124 elif fmt == fmt_rfc5424: 2021-07-09T10:31:09,124 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,125 else: 2021-07-09T10:31:09,125 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,125 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,125 ^ 2021-07-09T10:31:09,125 ------------------------------------------------------------ 2021-07-09T10:31:09,125 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:09,126 Error compiling Cython file: 2021-07-09T10:31:09,126 ------------------------------------------------------------ 2021-07-09T10:31:09,126 ... 2021-07-09T10:31:09,126 elif fmt == fmt_rfc5424: 2021-07-09T10:31:09,126 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,126 else: 2021-07-09T10:31:09,126 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,126 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,127 ^ 2021-07-09T10:31:09,127 ------------------------------------------------------------ 2021-07-09T10:31:09,127 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,127 Error compiling Cython file: 2021-07-09T10:31:09,127 ------------------------------------------------------------ 2021-07-09T10:31:09,127 ... 2021-07-09T10:31:09,127 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,128 else: 2021-07-09T10:31:09,128 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,128 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,128 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:09,128 ^ 2021-07-09T10:31:09,128 ------------------------------------------------------------ 2021-07-09T10:31:09,129 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:31:09,129 Error compiling Cython file: 2021-07-09T10:31:09,129 ------------------------------------------------------------ 2021-07-09T10:31:09,129 ... 2021-07-09T10:31:09,129 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,129 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,130 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:09,130 finally: 2021-07-09T10:31:09,130 es_deleteStr(es_out) 2021-07-09T10:31:09,130 ^ 2021-07-09T10:31:09,130 ------------------------------------------------------------ 2021-07-09T10:31:09,130 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2021-07-09T10:31:09,130 Error compiling Cython file: 2021-07-09T10:31:09,131 ------------------------------------------------------------ 2021-07-09T10:31:09,131 ... 2021-07-09T10:31:09,131 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,131 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:09,131 cdef char *cstr = NULL 2021-07-09T10:31:09,131 cdef object py_str_obj = None 2021-07-09T10:31:09,131 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,132 ^ 2021-07-09T10:31:09,132 ------------------------------------------------------------ 2021-07-09T10:31:09,132 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:31:09,132 Error compiling Cython file: 2021-07-09T10:31:09,132 ------------------------------------------------------------ 2021-07-09T10:31:09,132 ... 2021-07-09T10:31:09,132 cdef object py_str_obj = None 2021-07-09T10:31:09,133 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,133 try: 2021-07-09T10:31:09,133 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:09,133 ^ 2021-07-09T10:31:09,133 ------------------------------------------------------------ 2021-07-09T10:31:09,133 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2021-07-09T10:31:09,134 Error compiling Cython file: 2021-07-09T10:31:09,134 ------------------------------------------------------------ 2021-07-09T10:31:09,134 ... 2021-07-09T10:31:09,134 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,134 try: 2021-07-09T10:31:09,135 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:09,135 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,135 ^ 2021-07-09T10:31:09,135 ------------------------------------------------------------ 2021-07-09T10:31:09,135 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:09,135 Error compiling Cython file: 2021-07-09T10:31:09,135 ------------------------------------------------------------ 2021-07-09T10:31:09,136 ... 2021-07-09T10:31:09,136 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,136 try: 2021-07-09T10:31:09,136 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:09,136 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,136 ^ 2021-07-09T10:31:09,136 ------------------------------------------------------------ 2021-07-09T10:31:09,137 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,137 Error compiling Cython file: 2021-07-09T10:31:09,137 ------------------------------------------------------------ 2021-07-09T10:31:09,137 ... 2021-07-09T10:31:09,137 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:09,138 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,138 def __cinit__(self): 2021-07-09T10:31:09,138 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:09,138 ^ 2021-07-09T10:31:09,138 ------------------------------------------------------------ 2021-07-09T10:31:09,138 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:31:09,139 Error compiling Cython file: 2021-07-09T10:31:09,139 ------------------------------------------------------------ 2021-07-09T10:31:09,139 ... 2021-07-09T10:31:09,139 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:09,139 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,139 def __cinit__(self): 2021-07-09T10:31:09,139 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:09,140 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:09,140 ^ 2021-07-09T10:31:09,140 ------------------------------------------------------------ 2021-07-09T10:31:09,140 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:31:09,140 Error compiling Cython file: 2021-07-09T10:31:09,140 ------------------------------------------------------------ 2021-07-09T10:31:09,141 ... 2021-07-09T10:31:09,141 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,141 def __cinit__(self): 2021-07-09T10:31:09,141 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:09,141 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:09,141 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:31:09,141 ^ 2021-07-09T10:31:09,141 ------------------------------------------------------------ 2021-07-09T10:31:09,142 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:31:09,142 Error compiling Cython file: 2021-07-09T10:31:09,142 ------------------------------------------------------------ 2021-07-09T10:31:09,142 ... 2021-07-09T10:31:09,142 def __init__(self): 2021-07-09T10:31:09,142 pass 2021-07-09T10:31:09,143 def __dealoc__(self): 2021-07-09T10:31:09,143 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:09,143 ^ 2021-07-09T10:31:09,143 ------------------------------------------------------------ 2021-07-09T10:31:09,143 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:31:09,143 Error compiling Cython file: 2021-07-09T10:31:09,143 ------------------------------------------------------------ 2021-07-09T10:31:09,143 ... 2021-07-09T10:31:09,144 def __init__(self): 2021-07-09T10:31:09,144 pass 2021-07-09T10:31:09,144 def __dealoc__(self): 2021-07-09T10:31:09,144 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:09,144 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:31:09,144 ^ 2021-07-09T10:31:09,144 ------------------------------------------------------------ 2021-07-09T10:31:09,145 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:31:09,145 Error compiling Cython file: 2021-07-09T10:31:09,145 ------------------------------------------------------------ 2021-07-09T10:31:09,145 ... 2021-07-09T10:31:09,145 def load_rules(self, object filename): 2021-07-09T10:31:09,145 cdef char* cstr_filename 2021-07-09T10:31:09,146 if PyByteArray_Check(filename): 2021-07-09T10:31:09,146 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:09,146 ^ 2021-07-09T10:31:09,146 ------------------------------------------------------------ 2021-07-09T10:31:09,146 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,146 Error compiling Cython file: 2021-07-09T10:31:09,146 ------------------------------------------------------------ 2021-07-09T10:31:09,147 ... 2021-07-09T10:31:09,147 cdef char* cstr_filename 2021-07-09T10:31:09,147 if PyByteArray_Check(filename): 2021-07-09T10:31:09,147 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:09,147 elif PyBytes_Check(filename): 2021-07-09T10:31:09,147 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:09,147 ^ 2021-07-09T10:31:09,147 ------------------------------------------------------------ 2021-07-09T10:31:09,148 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,148 Error compiling Cython file: 2021-07-09T10:31:09,148 ------------------------------------------------------------ 2021-07-09T10:31:09,148 ... 2021-07-09T10:31:09,148 elif PyBytes_Check(filename): 2021-07-09T10:31:09,148 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:09,148 else: 2021-07-09T10:31:09,148 raise Exception( 2021-07-09T10:31:09,149 'Unable to convert to cstr: {}'.format(type(filename))) 2021-07-09T10:31:09,149 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2021-07-09T10:31:09,149 ^ 2021-07-09T10:31:09,149 ------------------------------------------------------------ 2021-07-09T10:31:09,149 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:31:09,149 Error compiling Cython file: 2021-07-09T10:31:09,149 ------------------------------------------------------------ 2021-07-09T10:31:09,150 ... 2021-07-09T10:31:09,150 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:09,150 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:09,150 cdef ee_event *event = NULL 2021-07-09T10:31:09,150 cdef CEEvent event_wrapper = None 2021-07-09T10:31:09,150 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:31:09,150 ^ 2021-07-09T10:31:09,150 ------------------------------------------------------------ 2021-07-09T10:31:09,151 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2021-07-09T10:31:09,354 running bdist_wheel 2021-07-09T10:31:09,357 running build 2021-07-09T10:31:09,357 running build_py 2021-07-09T10:31:09,494 creating build 2021-07-09T10:31:09,494 creating build/lib.linux-armv7l-3.9 2021-07-09T10:31:09,495 creating build/lib.linux-armv7l-3.9/pylognorm 2021-07-09T10:31:09,496 copying pylognorm/__init__.py -> build/lib.linux-armv7l-3.9/pylognorm 2021-07-09T10:31:09,498 creating build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:31:09,499 copying pylognorm/bindings/__init__.py -> build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:31:09,501 creating build/lib.linux-armv7l-3.9/pylognorm/tests 2021-07-09T10:31:09,502 copying pylognorm/tests/bindings_test.py -> build/lib.linux-armv7l-3.9/pylognorm/tests 2021-07-09T10:31:09,504 copying pylognorm/tests/__init__.py -> build/lib.linux-armv7l-3.9/pylognorm/tests 2021-07-09T10:31:09,505 running egg_info 2021-07-09T10:31:09,507 writing pylognorm.egg-info/PKG-INFO 2021-07-09T10:31:09,509 writing dependency_links to pylognorm.egg-info/dependency_links.txt 2021-07-09T10:31:09,511 writing top-level names to pylognorm.egg-info/top_level.txt 2021-07-09T10:31:09,518 reading manifest file 'pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:31:09,520 reading manifest template 'MANIFEST.in' 2021-07-09T10:31:09,523 writing manifest file 'pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:31:09,525 copying pylognorm/bindings/liblognorm.c -> build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:31:09,528 copying pylognorm/bindings/liblognorm.pyx -> build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:31:09,531 running build_ext 2021-07-09T10:31:09,536 cythoning pylognorm/bindings/liblognorm.pyx to pylognorm/bindings/liblognorm.c 2021-07-09T10:31:09,644 Error compiling Cython file: 2021-07-09T10:31:09,644 ------------------------------------------------------------ 2021-07-09T10:31:09,644 ... 2021-07-09T10:31:09,645 from os import path 2021-07-09T10:31:09,645 from liblognorm cimport * 2021-07-09T10:31:09,645 ^ 2021-07-09T10:31:09,645 ------------------------------------------------------------ 2021-07-09T10:31:09,645 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:31:09,762 Error compiling Cython file: 2021-07-09T10:31:09,762 ------------------------------------------------------------ 2021-07-09T10:31:09,763 ... 2021-07-09T10:31:09,763 return self.cnormalizer.normalize(logline) 2021-07-09T10:31:09,763 cdef class CEEvent(object): 2021-07-09T10:31:09,763 cdef ee_event *event 2021-07-09T10:31:09,763 ^ 2021-07-09T10:31:09,764 ------------------------------------------------------------ 2021-07-09T10:31:09,764 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2021-07-09T10:31:09,764 Error compiling Cython file: 2021-07-09T10:31:09,764 ------------------------------------------------------------ 2021-07-09T10:31:09,764 ... 2021-07-09T10:31:09,765 cdef class CEEvent(object): 2021-07-09T10:31:09,765 cdef ee_event *event 2021-07-09T10:31:09,765 cdef _set(self, ee_event *event): 2021-07-09T10:31:09,765 ^ 2021-07-09T10:31:09,765 ------------------------------------------------------------ 2021-07-09T10:31:09,765 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2021-07-09T10:31:09,766 Error compiling Cython file: 2021-07-09T10:31:09,766 ------------------------------------------------------------ 2021-07-09T10:31:09,766 ... 2021-07-09T10:31:09,766 return py_str_obj 2021-07-09T10:31:09,766 cdef class CLogNormalizer(object): 2021-07-09T10:31:09,767 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:09,767 ^ 2021-07-09T10:31:09,767 ------------------------------------------------------------ 2021-07-09T10:31:09,767 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2021-07-09T10:31:09,767 Error compiling Cython file: 2021-07-09T10:31:09,767 ------------------------------------------------------------ 2021-07-09T10:31:09,768 ... 2021-07-09T10:31:09,768 cdef class CLogNormalizer(object): 2021-07-09T10:31:09,768 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:09,768 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,768 ^ 2021-07-09T10:31:09,769 ------------------------------------------------------------ 2021-07-09T10:31:09,769 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2021-07-09T10:31:09,771 Error compiling Cython file: 2021-07-09T10:31:09,771 ------------------------------------------------------------ 2021-07-09T10:31:09,772 ... 2021-07-09T10:31:09,772 finally: 2021-07-09T10:31:09,772 free(extra_data_cstr) 2021-07-09T10:31:09,772 return py_str_obj 2021-07-09T10:31:09,772 cdef object _format(self, format_kind fmt): 2021-07-09T10:31:09,772 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,772 ^ 2021-07-09T10:31:09,772 ------------------------------------------------------------ 2021-07-09T10:31:09,773 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,773 Error compiling Cython file: 2021-07-09T10:31:09,773 ------------------------------------------------------------ 2021-07-09T10:31:09,774 ... 2021-07-09T10:31:09,774 es_deleteStr(es_out) 2021-07-09T10:31:09,774 free(cstr) 2021-07-09T10:31:09,774 return py_str_obj 2021-07-09T10:31:09,774 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:09,774 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,774 ^ 2021-07-09T10:31:09,774 ------------------------------------------------------------ 2021-07-09T10:31:09,775 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,775 Error compiling Cython file: 2021-07-09T10:31:09,775 ------------------------------------------------------------ 2021-07-09T10:31:09,775 ... 2021-07-09T10:31:09,775 free(cstr) 2021-07-09T10:31:09,775 return py_str_obj 2021-07-09T10:31:09,776 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:09,776 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,776 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:09,776 ^ 2021-07-09T10:31:09,776 ------------------------------------------------------------ 2021-07-09T10:31:09,776 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,783 Error compiling Cython file: 2021-07-09T10:31:09,783 ------------------------------------------------------------ 2021-07-09T10:31:09,784 ... 2021-07-09T10:31:09,784 def normalize(self, object data): 2021-07-09T10:31:09,784 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:09,784 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:09,784 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:09,784 ^ 2021-07-09T10:31:09,785 ------------------------------------------------------------ 2021-07-09T10:31:09,785 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:09,785 Error compiling Cython file: 2021-07-09T10:31:09,785 ------------------------------------------------------------ 2021-07-09T10:31:09,785 ... 2021-07-09T10:31:09,785 def normalize(self, object data): 2021-07-09T10:31:09,786 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:09,786 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:09,786 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:09,786 cdef ee_event *event = NULL 2021-07-09T10:31:09,786 ^ 2021-07-09T10:31:09,786 ------------------------------------------------------------ 2021-07-09T10:31:09,786 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2021-07-09T10:31:09,848 Error compiling Cython file: 2021-07-09T10:31:09,848 ------------------------------------------------------------ 2021-07-09T10:31:09,848 ... 2021-07-09T10:31:09,848 fmt_xml, 2021-07-09T10:31:09,848 fmt_rfc5424 2021-07-09T10:31:09,849 def lib_version(): 2021-07-09T10:31:09,849 cdef char* version = ln_version() 2021-07-09T10:31:09,849 ^ 2021-07-09T10:31:09,849 ------------------------------------------------------------ 2021-07-09T10:31:09,849 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2021-07-09T10:31:09,850 Error compiling Cython file: 2021-07-09T10:31:09,850 ------------------------------------------------------------ 2021-07-09T10:31:09,850 ... 2021-07-09T10:31:09,850 fmt_xml, 2021-07-09T10:31:09,850 fmt_rfc5424 2021-07-09T10:31:09,851 def lib_version(): 2021-07-09T10:31:09,851 cdef char* version = ln_version() 2021-07-09T10:31:09,851 ^ 2021-07-09T10:31:09,851 ------------------------------------------------------------ 2021-07-09T10:31:09,851 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,851 Error compiling Cython file: 2021-07-09T10:31:09,851 ------------------------------------------------------------ 2021-07-09T10:31:09,852 ... 2021-07-09T10:31:09,852 fmt_rfc5424 2021-07-09T10:31:09,852 def lib_version(): 2021-07-09T10:31:09,852 cdef char* version = ln_version() 2021-07-09T10:31:09,852 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:09,852 ^ 2021-07-09T10:31:09,852 ------------------------------------------------------------ 2021-07-09T10:31:09,853 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:31:09,853 Error compiling Cython file: 2021-07-09T10:31:09,853 ------------------------------------------------------------ 2021-07-09T10:31:09,853 ... 2021-07-09T10:31:09,853 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:09,854 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,854 cdef char *cstr 2021-07-09T10:31:09,854 if PyByteArray_Check(obj): 2021-07-09T10:31:09,854 ^ 2021-07-09T10:31:09,854 ------------------------------------------------------------ 2021-07-09T10:31:09,854 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:31:09,854 Error compiling Cython file: 2021-07-09T10:31:09,855 ------------------------------------------------------------ 2021-07-09T10:31:09,855 ... 2021-07-09T10:31:09,855 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,855 cdef char *cstr 2021-07-09T10:31:09,855 if PyByteArray_Check(obj): 2021-07-09T10:31:09,855 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,856 ^ 2021-07-09T10:31:09,856 ------------------------------------------------------------ 2021-07-09T10:31:09,856 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:31:09,856 Error compiling Cython file: 2021-07-09T10:31:09,856 ------------------------------------------------------------ 2021-07-09T10:31:09,856 ... 2021-07-09T10:31:09,857 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,857 cdef char *cstr 2021-07-09T10:31:09,857 if PyByteArray_Check(obj): 2021-07-09T10:31:09,857 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,857 ^ 2021-07-09T10:31:09,857 ------------------------------------------------------------ 2021-07-09T10:31:09,857 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,858 Error compiling Cython file: 2021-07-09T10:31:09,858 ------------------------------------------------------------ 2021-07-09T10:31:09,858 ... 2021-07-09T10:31:09,858 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,858 cdef char *cstr 2021-07-09T10:31:09,858 if PyByteArray_Check(obj): 2021-07-09T10:31:09,858 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,859 elif PyBytes_Check(obj): 2021-07-09T10:31:09,859 ^ 2021-07-09T10:31:09,859 ------------------------------------------------------------ 2021-07-09T10:31:09,859 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:31:09,859 Error compiling Cython file: 2021-07-09T10:31:09,859 ------------------------------------------------------------ 2021-07-09T10:31:09,859 ... 2021-07-09T10:31:09,860 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,860 cdef char *cstr 2021-07-09T10:31:09,860 if PyByteArray_Check(obj): 2021-07-09T10:31:09,860 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,860 elif PyBytes_Check(obj): 2021-07-09T10:31:09,860 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:09,860 ^ 2021-07-09T10:31:09,860 ------------------------------------------------------------ 2021-07-09T10:31:09,861 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:31:09,861 Error compiling Cython file: 2021-07-09T10:31:09,861 ------------------------------------------------------------ 2021-07-09T10:31:09,861 ... 2021-07-09T10:31:09,861 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:09,861 cdef char *cstr 2021-07-09T10:31:09,861 if PyByteArray_Check(obj): 2021-07-09T10:31:09,862 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:09,862 elif PyBytes_Check(obj): 2021-07-09T10:31:09,862 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:09,862 ^ 2021-07-09T10:31:09,862 ------------------------------------------------------------ 2021-07-09T10:31:09,862 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,863 Error compiling Cython file: 2021-07-09T10:31:09,863 ------------------------------------------------------------ 2021-07-09T10:31:09,863 ... 2021-07-09T10:31:09,863 cdef _set(self, ee_event *event): 2021-07-09T10:31:09,863 self.event = event 2021-07-09T10:31:09,863 def __dealoc__(self): 2021-07-09T10:31:09,864 ee_deleteEvent(self.event) 2021-07-09T10:31:09,864 ^ 2021-07-09T10:31:09,864 ------------------------------------------------------------ 2021-07-09T10:31:09,864 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:31:09,864 Error compiling Cython file: 2021-07-09T10:31:09,864 ------------------------------------------------------------ 2021-07-09T10:31:09,864 ... 2021-07-09T10:31:09,865 cdef char *cstr = NULL 2021-07-09T10:31:09,865 cdef object py_str_obj = None 2021-07-09T10:31:09,865 try: 2021-07-09T10:31:09,865 if fmt == fmt_json: 2021-07-09T10:31:09,865 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,865 ^ 2021-07-09T10:31:09,865 ------------------------------------------------------------ 2021-07-09T10:31:09,866 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:31:09,866 Error compiling Cython file: 2021-07-09T10:31:09,866 ------------------------------------------------------------ 2021-07-09T10:31:09,866 ... 2021-07-09T10:31:09,866 elif fmt == fmt_rfc5424: 2021-07-09T10:31:09,866 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,866 else: 2021-07-09T10:31:09,866 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,867 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,867 ^ 2021-07-09T10:31:09,867 ------------------------------------------------------------ 2021-07-09T10:31:09,867 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2021-07-09T10:31:09,867 Error compiling Cython file: 2021-07-09T10:31:09,867 ------------------------------------------------------------ 2021-07-09T10:31:09,868 ... 2021-07-09T10:31:09,868 elif fmt == fmt_rfc5424: 2021-07-09T10:31:09,868 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,868 else: 2021-07-09T10:31:09,868 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,868 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,868 ^ 2021-07-09T10:31:09,869 ------------------------------------------------------------ 2021-07-09T10:31:09,869 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:09,869 Error compiling Cython file: 2021-07-09T10:31:09,869 ------------------------------------------------------------ 2021-07-09T10:31:09,869 ... 2021-07-09T10:31:09,869 elif fmt == fmt_rfc5424: 2021-07-09T10:31:09,869 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,870 else: 2021-07-09T10:31:09,870 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,870 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,870 ^ 2021-07-09T10:31:09,870 ------------------------------------------------------------ 2021-07-09T10:31:09,870 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,871 Error compiling Cython file: 2021-07-09T10:31:09,871 ------------------------------------------------------------ 2021-07-09T10:31:09,871 ... 2021-07-09T10:31:09,871 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:09,871 else: 2021-07-09T10:31:09,871 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,871 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,872 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:09,872 ^ 2021-07-09T10:31:09,872 ------------------------------------------------------------ 2021-07-09T10:31:09,872 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:31:09,872 Error compiling Cython file: 2021-07-09T10:31:09,872 ------------------------------------------------------------ 2021-07-09T10:31:09,872 ... 2021-07-09T10:31:09,873 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:09,873 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,873 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:09,873 finally: 2021-07-09T10:31:09,873 es_deleteStr(es_out) 2021-07-09T10:31:09,873 ^ 2021-07-09T10:31:09,873 ------------------------------------------------------------ 2021-07-09T10:31:09,874 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2021-07-09T10:31:09,874 Error compiling Cython file: 2021-07-09T10:31:09,874 ------------------------------------------------------------ 2021-07-09T10:31:09,874 ... 2021-07-09T10:31:09,874 cdef es_str_t *es_out = NULL 2021-07-09T10:31:09,874 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:09,874 cdef char *cstr = NULL 2021-07-09T10:31:09,874 cdef object py_str_obj = None 2021-07-09T10:31:09,875 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,875 ^ 2021-07-09T10:31:09,875 ------------------------------------------------------------ 2021-07-09T10:31:09,875 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:31:09,875 Error compiling Cython file: 2021-07-09T10:31:09,875 ------------------------------------------------------------ 2021-07-09T10:31:09,876 ... 2021-07-09T10:31:09,876 cdef object py_str_obj = None 2021-07-09T10:31:09,876 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,876 try: 2021-07-09T10:31:09,876 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:09,876 ^ 2021-07-09T10:31:09,876 ------------------------------------------------------------ 2021-07-09T10:31:09,877 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2021-07-09T10:31:09,877 Error compiling Cython file: 2021-07-09T10:31:09,877 ------------------------------------------------------------ 2021-07-09T10:31:09,877 ... 2021-07-09T10:31:09,877 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,878 try: 2021-07-09T10:31:09,878 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:09,878 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,878 ^ 2021-07-09T10:31:09,878 ------------------------------------------------------------ 2021-07-09T10:31:09,878 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:09,879 Error compiling Cython file: 2021-07-09T10:31:09,879 ------------------------------------------------------------ 2021-07-09T10:31:09,879 ... 2021-07-09T10:31:09,879 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:09,879 try: 2021-07-09T10:31:09,879 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:09,879 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:09,880 ^ 2021-07-09T10:31:09,880 ------------------------------------------------------------ 2021-07-09T10:31:09,880 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,880 Error compiling Cython file: 2021-07-09T10:31:09,880 ------------------------------------------------------------ 2021-07-09T10:31:09,880 ... 2021-07-09T10:31:09,881 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:09,881 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,881 def __cinit__(self): 2021-07-09T10:31:09,881 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:09,881 ^ 2021-07-09T10:31:09,881 ------------------------------------------------------------ 2021-07-09T10:31:09,882 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:31:09,882 Error compiling Cython file: 2021-07-09T10:31:09,882 ------------------------------------------------------------ 2021-07-09T10:31:09,882 ... 2021-07-09T10:31:09,882 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:09,882 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,882 def __cinit__(self): 2021-07-09T10:31:09,882 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:09,883 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:09,883 ^ 2021-07-09T10:31:09,883 ------------------------------------------------------------ 2021-07-09T10:31:09,883 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:31:09,883 Error compiling Cython file: 2021-07-09T10:31:09,883 ------------------------------------------------------------ 2021-07-09T10:31:09,883 ... 2021-07-09T10:31:09,884 cdef ee_ctx cee_ctx 2021-07-09T10:31:09,884 def __cinit__(self): 2021-07-09T10:31:09,884 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:09,884 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:09,884 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:31:09,884 ^ 2021-07-09T10:31:09,884 ------------------------------------------------------------ 2021-07-09T10:31:09,884 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:31:09,885 Error compiling Cython file: 2021-07-09T10:31:09,885 ------------------------------------------------------------ 2021-07-09T10:31:09,885 ... 2021-07-09T10:31:09,885 def __init__(self): 2021-07-09T10:31:09,885 pass 2021-07-09T10:31:09,885 def __dealoc__(self): 2021-07-09T10:31:09,886 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:09,886 ^ 2021-07-09T10:31:09,886 ------------------------------------------------------------ 2021-07-09T10:31:09,886 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:31:09,886 Error compiling Cython file: 2021-07-09T10:31:09,886 ------------------------------------------------------------ 2021-07-09T10:31:09,886 ... 2021-07-09T10:31:09,886 def __init__(self): 2021-07-09T10:31:09,887 pass 2021-07-09T10:31:09,887 def __dealoc__(self): 2021-07-09T10:31:09,887 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:09,887 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:31:09,887 ^ 2021-07-09T10:31:09,887 ------------------------------------------------------------ 2021-07-09T10:31:09,887 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:31:09,888 Error compiling Cython file: 2021-07-09T10:31:09,888 ------------------------------------------------------------ 2021-07-09T10:31:09,888 ... 2021-07-09T10:31:09,888 def load_rules(self, object filename): 2021-07-09T10:31:09,888 cdef char* cstr_filename 2021-07-09T10:31:09,889 if PyByteArray_Check(filename): 2021-07-09T10:31:09,889 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:09,889 ^ 2021-07-09T10:31:09,889 ------------------------------------------------------------ 2021-07-09T10:31:09,889 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,889 Error compiling Cython file: 2021-07-09T10:31:09,889 ------------------------------------------------------------ 2021-07-09T10:31:09,890 ... 2021-07-09T10:31:09,890 cdef char* cstr_filename 2021-07-09T10:31:09,890 if PyByteArray_Check(filename): 2021-07-09T10:31:09,890 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:09,890 elif PyBytes_Check(filename): 2021-07-09T10:31:09,890 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:09,890 ^ 2021-07-09T10:31:09,890 ------------------------------------------------------------ 2021-07-09T10:31:09,891 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:09,891 Error compiling Cython file: 2021-07-09T10:31:09,891 ------------------------------------------------------------ 2021-07-09T10:31:09,891 ... 2021-07-09T10:31:09,891 elif PyBytes_Check(filename): 2021-07-09T10:31:09,891 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:09,891 else: 2021-07-09T10:31:09,891 raise Exception( 2021-07-09T10:31:09,892 'Unable to convert to cstr: {}'.format(type(filename))) 2021-07-09T10:31:09,892 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2021-07-09T10:31:09,892 ^ 2021-07-09T10:31:09,892 ------------------------------------------------------------ 2021-07-09T10:31:09,892 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:31:09,892 Error compiling Cython file: 2021-07-09T10:31:09,892 ------------------------------------------------------------ 2021-07-09T10:31:09,893 ... 2021-07-09T10:31:09,893 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:09,893 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:09,893 cdef ee_event *event = NULL 2021-07-09T10:31:09,893 cdef CEEvent event_wrapper = None 2021-07-09T10:31:09,893 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:31:09,893 ^ 2021-07-09T10:31:09,893 ------------------------------------------------------------ 2021-07-09T10:31:09,894 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2021-07-09T10:31:09,952 building 'pylognorm.bindings.liblognorm' extension 2021-07-09T10:31:09,953 creating build/temp.linux-armv7l-3.9 2021-07-09T10:31:09,953 creating build/temp.linux-armv7l-3.9/pylognorm 2021-07-09T10:31:09,954 creating build/temp.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:31:09,954 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c pylognorm/bindings/liblognorm.c -o build/temp.linux-armv7l-3.9/pylognorm/bindings/liblognorm.o 2021-07-09T10:31:10,011 pylognorm/bindings/liblognorm.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 2021-07-09T10:31:10,012 1 | #error Do not use this file, it is the result of a failed Cython compilation. 2021-07-09T10:31:10,012 | ^~~~~ 2021-07-09T10:31:10,016 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-09T10:31:10,171 Building wheel for pylognorm (setup.py): finished with status 'error' 2021-07-09T10:31:10,171 ERROR: Failed building wheel for pylognorm 2021-07-09T10:31:10,172 Running setup.py clean for pylognorm 2021-07-09T10:31:10,172 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2021-07-09T10:31:11,588 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-spnoepsq/pylognorm_bdd70d669b9d4ee7b278e0689be439d0/pylognorm/bindings/liblognorm.pyx 2021-07-09T10:31:11,588 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T10:31:11,696 Error compiling Cython file: 2021-07-09T10:31:11,696 ------------------------------------------------------------ 2021-07-09T10:31:11,696 ... 2021-07-09T10:31:11,697 from os import path 2021-07-09T10:31:11,697 from liblognorm cimport * 2021-07-09T10:31:11,697 ^ 2021-07-09T10:31:11,697 ------------------------------------------------------------ 2021-07-09T10:31:11,697 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:31:11,817 Error compiling Cython file: 2021-07-09T10:31:11,817 ------------------------------------------------------------ 2021-07-09T10:31:11,817 ... 2021-07-09T10:31:11,817 return self.cnormalizer.normalize(logline) 2021-07-09T10:31:11,817 cdef class CEEvent(object): 2021-07-09T10:31:11,818 cdef ee_event *event 2021-07-09T10:31:11,818 ^ 2021-07-09T10:31:11,818 ------------------------------------------------------------ 2021-07-09T10:31:11,818 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2021-07-09T10:31:11,819 Error compiling Cython file: 2021-07-09T10:31:11,819 ------------------------------------------------------------ 2021-07-09T10:31:11,819 ... 2021-07-09T10:31:11,819 cdef class CEEvent(object): 2021-07-09T10:31:11,819 cdef ee_event *event 2021-07-09T10:31:11,819 cdef _set(self, ee_event *event): 2021-07-09T10:31:11,820 ^ 2021-07-09T10:31:11,820 ------------------------------------------------------------ 2021-07-09T10:31:11,820 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2021-07-09T10:31:11,820 Error compiling Cython file: 2021-07-09T10:31:11,820 ------------------------------------------------------------ 2021-07-09T10:31:11,821 ... 2021-07-09T10:31:11,821 return py_str_obj 2021-07-09T10:31:11,821 cdef class CLogNormalizer(object): 2021-07-09T10:31:11,821 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:11,821 ^ 2021-07-09T10:31:11,821 ------------------------------------------------------------ 2021-07-09T10:31:11,822 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2021-07-09T10:31:11,822 Error compiling Cython file: 2021-07-09T10:31:11,822 ------------------------------------------------------------ 2021-07-09T10:31:11,822 ... 2021-07-09T10:31:11,822 cdef class CLogNormalizer(object): 2021-07-09T10:31:11,823 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:11,823 cdef ee_ctx cee_ctx 2021-07-09T10:31:11,823 ^ 2021-07-09T10:31:11,823 ------------------------------------------------------------ 2021-07-09T10:31:11,823 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2021-07-09T10:31:11,826 Error compiling Cython file: 2021-07-09T10:31:11,826 ------------------------------------------------------------ 2021-07-09T10:31:11,826 ... 2021-07-09T10:31:11,826 finally: 2021-07-09T10:31:11,826 free(extra_data_cstr) 2021-07-09T10:31:11,827 return py_str_obj 2021-07-09T10:31:11,827 cdef object _format(self, format_kind fmt): 2021-07-09T10:31:11,827 cdef es_str_t *es_out = NULL 2021-07-09T10:31:11,827 ^ 2021-07-09T10:31:11,827 ------------------------------------------------------------ 2021-07-09T10:31:11,827 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:11,828 Error compiling Cython file: 2021-07-09T10:31:11,828 ------------------------------------------------------------ 2021-07-09T10:31:11,828 ... 2021-07-09T10:31:11,829 es_deleteStr(es_out) 2021-07-09T10:31:11,829 free(cstr) 2021-07-09T10:31:11,829 return py_str_obj 2021-07-09T10:31:11,829 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:11,829 cdef es_str_t *es_out = NULL 2021-07-09T10:31:11,829 ^ 2021-07-09T10:31:11,829 ------------------------------------------------------------ 2021-07-09T10:31:11,830 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:11,830 Error compiling Cython file: 2021-07-09T10:31:11,830 ------------------------------------------------------------ 2021-07-09T10:31:11,830 ... 2021-07-09T10:31:11,830 free(cstr) 2021-07-09T10:31:11,830 return py_str_obj 2021-07-09T10:31:11,830 cdef object _format_csv(self, char *extra_data): 2021-07-09T10:31:11,831 cdef es_str_t *es_out = NULL 2021-07-09T10:31:11,831 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:11,831 ^ 2021-07-09T10:31:11,831 ------------------------------------------------------------ 2021-07-09T10:31:11,831 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:11,840 Error compiling Cython file: 2021-07-09T10:31:11,840 ------------------------------------------------------------ 2021-07-09T10:31:11,840 ... 2021-07-09T10:31:11,840 def normalize(self, object data): 2021-07-09T10:31:11,841 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:11,841 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:11,841 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:11,841 ^ 2021-07-09T10:31:11,841 ------------------------------------------------------------ 2021-07-09T10:31:11,841 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2021-07-09T10:31:11,842 Error compiling Cython file: 2021-07-09T10:31:11,842 ------------------------------------------------------------ 2021-07-09T10:31:11,842 ... 2021-07-09T10:31:11,842 def normalize(self, object data): 2021-07-09T10:31:11,842 return self._normalize(_object_to_cstr(data)) 2021-07-09T10:31:11,842 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:11,842 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:11,843 cdef ee_event *event = NULL 2021-07-09T10:31:11,843 ^ 2021-07-09T10:31:11,843 ------------------------------------------------------------ 2021-07-09T10:31:11,843 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2021-07-09T10:31:11,933 Error compiling Cython file: 2021-07-09T10:31:11,933 ------------------------------------------------------------ 2021-07-09T10:31:11,933 ... 2021-07-09T10:31:11,934 fmt_xml, 2021-07-09T10:31:11,934 fmt_rfc5424 2021-07-09T10:31:11,934 def lib_version(): 2021-07-09T10:31:11,934 cdef char* version = ln_version() 2021-07-09T10:31:11,934 ^ 2021-07-09T10:31:11,934 ------------------------------------------------------------ 2021-07-09T10:31:11,935 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2021-07-09T10:31:11,935 Error compiling Cython file: 2021-07-09T10:31:11,935 ------------------------------------------------------------ 2021-07-09T10:31:11,935 ... 2021-07-09T10:31:11,935 fmt_xml, 2021-07-09T10:31:11,935 fmt_rfc5424 2021-07-09T10:31:11,936 def lib_version(): 2021-07-09T10:31:11,936 cdef char* version = ln_version() 2021-07-09T10:31:11,936 ^ 2021-07-09T10:31:11,936 ------------------------------------------------------------ 2021-07-09T10:31:11,936 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,937 Error compiling Cython file: 2021-07-09T10:31:11,937 ------------------------------------------------------------ 2021-07-09T10:31:11,937 ... 2021-07-09T10:31:11,937 fmt_rfc5424 2021-07-09T10:31:11,937 def lib_version(): 2021-07-09T10:31:11,937 cdef char* version = ln_version() 2021-07-09T10:31:11,937 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:11,938 ^ 2021-07-09T10:31:11,938 ------------------------------------------------------------ 2021-07-09T10:31:11,938 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:31:11,938 Error compiling Cython file: 2021-07-09T10:31:11,938 ------------------------------------------------------------ 2021-07-09T10:31:11,939 ... 2021-07-09T10:31:11,939 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:31:11,939 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:11,939 cdef char *cstr 2021-07-09T10:31:11,939 if PyByteArray_Check(obj): 2021-07-09T10:31:11,939 ^ 2021-07-09T10:31:11,939 ------------------------------------------------------------ 2021-07-09T10:31:11,940 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:31:11,940 Error compiling Cython file: 2021-07-09T10:31:11,940 ------------------------------------------------------------ 2021-07-09T10:31:11,940 ... 2021-07-09T10:31:11,940 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:11,941 cdef char *cstr 2021-07-09T10:31:11,941 if PyByteArray_Check(obj): 2021-07-09T10:31:11,941 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:11,941 ^ 2021-07-09T10:31:11,941 ------------------------------------------------------------ 2021-07-09T10:31:11,941 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:31:11,942 Error compiling Cython file: 2021-07-09T10:31:11,942 ------------------------------------------------------------ 2021-07-09T10:31:11,942 ... 2021-07-09T10:31:11,942 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:11,942 cdef char *cstr 2021-07-09T10:31:11,942 if PyByteArray_Check(obj): 2021-07-09T10:31:11,942 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:11,943 ^ 2021-07-09T10:31:11,943 ------------------------------------------------------------ 2021-07-09T10:31:11,943 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,943 Error compiling Cython file: 2021-07-09T10:31:11,943 ------------------------------------------------------------ 2021-07-09T10:31:11,943 ... 2021-07-09T10:31:11,944 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:11,944 cdef char *cstr 2021-07-09T10:31:11,944 if PyByteArray_Check(obj): 2021-07-09T10:31:11,944 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:11,944 elif PyBytes_Check(obj): 2021-07-09T10:31:11,944 ^ 2021-07-09T10:31:11,944 ------------------------------------------------------------ 2021-07-09T10:31:11,944 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:31:11,945 Error compiling Cython file: 2021-07-09T10:31:11,945 ------------------------------------------------------------ 2021-07-09T10:31:11,945 ... 2021-07-09T10:31:11,945 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:11,945 cdef char *cstr 2021-07-09T10:31:11,945 if PyByteArray_Check(obj): 2021-07-09T10:31:11,945 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:11,945 elif PyBytes_Check(obj): 2021-07-09T10:31:11,946 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:11,946 ^ 2021-07-09T10:31:11,946 ------------------------------------------------------------ 2021-07-09T10:31:11,946 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:31:11,946 Error compiling Cython file: 2021-07-09T10:31:11,946 ------------------------------------------------------------ 2021-07-09T10:31:11,946 ... 2021-07-09T10:31:11,947 cdef char * _object_to_cstr(object obj): 2021-07-09T10:31:11,947 cdef char *cstr 2021-07-09T10:31:11,947 if PyByteArray_Check(obj): 2021-07-09T10:31:11,947 cstr = PyByteArray_AsString(obj) 2021-07-09T10:31:11,947 elif PyBytes_Check(obj): 2021-07-09T10:31:11,947 cstr = PyBytes_AsString(obj) 2021-07-09T10:31:11,947 ^ 2021-07-09T10:31:11,947 ------------------------------------------------------------ 2021-07-09T10:31:11,948 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,948 Error compiling Cython file: 2021-07-09T10:31:11,948 ------------------------------------------------------------ 2021-07-09T10:31:11,948 ... 2021-07-09T10:31:11,948 cdef _set(self, ee_event *event): 2021-07-09T10:31:11,949 self.event = event 2021-07-09T10:31:11,949 def __dealoc__(self): 2021-07-09T10:31:11,949 ee_deleteEvent(self.event) 2021-07-09T10:31:11,949 ^ 2021-07-09T10:31:11,949 ------------------------------------------------------------ 2021-07-09T10:31:11,949 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:31:11,950 Error compiling Cython file: 2021-07-09T10:31:11,950 ------------------------------------------------------------ 2021-07-09T10:31:11,950 ... 2021-07-09T10:31:11,950 cdef char *cstr = NULL 2021-07-09T10:31:11,950 cdef object py_str_obj = None 2021-07-09T10:31:11,950 try: 2021-07-09T10:31:11,950 if fmt == fmt_json: 2021-07-09T10:31:11,950 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:11,951 ^ 2021-07-09T10:31:11,951 ------------------------------------------------------------ 2021-07-09T10:31:11,951 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:31:11,951 Error compiling Cython file: 2021-07-09T10:31:11,951 ------------------------------------------------------------ 2021-07-09T10:31:11,951 ... 2021-07-09T10:31:11,951 elif fmt == fmt_rfc5424: 2021-07-09T10:31:11,952 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:11,952 else: 2021-07-09T10:31:11,952 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:11,952 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,952 ^ 2021-07-09T10:31:11,952 ------------------------------------------------------------ 2021-07-09T10:31:11,952 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2021-07-09T10:31:11,953 Error compiling Cython file: 2021-07-09T10:31:11,953 ------------------------------------------------------------ 2021-07-09T10:31:11,953 ... 2021-07-09T10:31:11,953 elif fmt == fmt_rfc5424: 2021-07-09T10:31:11,953 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:11,953 else: 2021-07-09T10:31:11,953 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:11,954 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,954 ^ 2021-07-09T10:31:11,954 ------------------------------------------------------------ 2021-07-09T10:31:11,954 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:11,954 Error compiling Cython file: 2021-07-09T10:31:11,954 ------------------------------------------------------------ 2021-07-09T10:31:11,954 ... 2021-07-09T10:31:11,955 elif fmt == fmt_rfc5424: 2021-07-09T10:31:11,955 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:11,955 else: 2021-07-09T10:31:11,955 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:11,955 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,955 ^ 2021-07-09T10:31:11,955 ------------------------------------------------------------ 2021-07-09T10:31:11,956 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,956 Error compiling Cython file: 2021-07-09T10:31:11,956 ------------------------------------------------------------ 2021-07-09T10:31:11,956 ... 2021-07-09T10:31:11,956 ee_fmtEventToJSON(self.event, &es_out) 2021-07-09T10:31:11,956 else: 2021-07-09T10:31:11,956 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:11,957 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,957 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:11,957 ^ 2021-07-09T10:31:11,957 ------------------------------------------------------------ 2021-07-09T10:31:11,957 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:31:11,957 Error compiling Cython file: 2021-07-09T10:31:11,958 ------------------------------------------------------------ 2021-07-09T10:31:11,958 ... 2021-07-09T10:31:11,958 raise Exception('Unknown format: {}'.format(fmt)) 2021-07-09T10:31:11,958 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,958 py_str_obj = PyUnicode_FromString(cstr) 2021-07-09T10:31:11,958 finally: 2021-07-09T10:31:11,958 es_deleteStr(es_out) 2021-07-09T10:31:11,958 ^ 2021-07-09T10:31:11,959 ------------------------------------------------------------ 2021-07-09T10:31:11,959 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2021-07-09T10:31:11,959 Error compiling Cython file: 2021-07-09T10:31:11,959 ------------------------------------------------------------ 2021-07-09T10:31:11,959 ... 2021-07-09T10:31:11,959 cdef es_str_t *es_out = NULL 2021-07-09T10:31:11,960 cdef es_str_t *es_extra_data = NULL 2021-07-09T10:31:11,960 cdef char *cstr = NULL 2021-07-09T10:31:11,960 cdef object py_str_obj = None 2021-07-09T10:31:11,960 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:11,960 ^ 2021-07-09T10:31:11,960 ------------------------------------------------------------ 2021-07-09T10:31:11,960 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:31:11,961 Error compiling Cython file: 2021-07-09T10:31:11,961 ------------------------------------------------------------ 2021-07-09T10:31:11,961 ... 2021-07-09T10:31:11,961 cdef object py_str_obj = None 2021-07-09T10:31:11,961 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:11,961 try: 2021-07-09T10:31:11,962 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:11,962 ^ 2021-07-09T10:31:11,962 ------------------------------------------------------------ 2021-07-09T10:31:11,962 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2021-07-09T10:31:11,962 Error compiling Cython file: 2021-07-09T10:31:11,962 ------------------------------------------------------------ 2021-07-09T10:31:11,963 ... 2021-07-09T10:31:11,963 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:11,963 try: 2021-07-09T10:31:11,963 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:11,963 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,963 ^ 2021-07-09T10:31:11,963 ------------------------------------------------------------ 2021-07-09T10:31:11,964 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2021-07-09T10:31:11,964 Error compiling Cython file: 2021-07-09T10:31:11,964 ------------------------------------------------------------ 2021-07-09T10:31:11,964 ... 2021-07-09T10:31:11,964 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2021-07-09T10:31:11,965 try: 2021-07-09T10:31:11,965 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2021-07-09T10:31:11,965 cstr = es_str2cstr(es_out, NULL) 2021-07-09T10:31:11,965 ^ 2021-07-09T10:31:11,965 ------------------------------------------------------------ 2021-07-09T10:31:11,965 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,965 Error compiling Cython file: 2021-07-09T10:31:11,966 ------------------------------------------------------------ 2021-07-09T10:31:11,966 ... 2021-07-09T10:31:11,966 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:11,966 cdef ee_ctx cee_ctx 2021-07-09T10:31:11,966 def __cinit__(self): 2021-07-09T10:31:11,966 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:11,967 ^ 2021-07-09T10:31:11,967 ------------------------------------------------------------ 2021-07-09T10:31:11,967 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:31:11,967 Error compiling Cython file: 2021-07-09T10:31:11,967 ------------------------------------------------------------ 2021-07-09T10:31:11,967 ... 2021-07-09T10:31:11,967 cdef ln_ctx normalizer_ctx 2021-07-09T10:31:11,967 cdef ee_ctx cee_ctx 2021-07-09T10:31:11,968 def __cinit__(self): 2021-07-09T10:31:11,968 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:11,968 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:11,968 ^ 2021-07-09T10:31:11,968 ------------------------------------------------------------ 2021-07-09T10:31:11,968 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:31:11,969 Error compiling Cython file: 2021-07-09T10:31:11,969 ------------------------------------------------------------ 2021-07-09T10:31:11,969 ... 2021-07-09T10:31:11,969 cdef ee_ctx cee_ctx 2021-07-09T10:31:11,969 def __cinit__(self): 2021-07-09T10:31:11,969 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:31:11,969 self.cee_ctx = ee_initCtx() 2021-07-09T10:31:11,970 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:31:11,970 ^ 2021-07-09T10:31:11,970 ------------------------------------------------------------ 2021-07-09T10:31:11,970 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:31:11,970 Error compiling Cython file: 2021-07-09T10:31:11,970 ------------------------------------------------------------ 2021-07-09T10:31:11,970 ... 2021-07-09T10:31:11,971 def __init__(self): 2021-07-09T10:31:11,971 pass 2021-07-09T10:31:11,971 def __dealoc__(self): 2021-07-09T10:31:11,971 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:11,971 ^ 2021-07-09T10:31:11,971 ------------------------------------------------------------ 2021-07-09T10:31:11,972 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:31:11,972 Error compiling Cython file: 2021-07-09T10:31:11,972 ------------------------------------------------------------ 2021-07-09T10:31:11,972 ... 2021-07-09T10:31:11,972 def __init__(self): 2021-07-09T10:31:11,972 pass 2021-07-09T10:31:11,972 def __dealoc__(self): 2021-07-09T10:31:11,972 ee_exitCtx(self.cee_ctx) 2021-07-09T10:31:11,973 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:31:11,973 ^ 2021-07-09T10:31:11,973 ------------------------------------------------------------ 2021-07-09T10:31:11,973 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:31:11,973 Error compiling Cython file: 2021-07-09T10:31:11,973 ------------------------------------------------------------ 2021-07-09T10:31:11,973 ... 2021-07-09T10:31:11,974 def load_rules(self, object filename): 2021-07-09T10:31:11,974 cdef char* cstr_filename 2021-07-09T10:31:11,974 if PyByteArray_Check(filename): 2021-07-09T10:31:11,974 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:11,974 ^ 2021-07-09T10:31:11,974 ------------------------------------------------------------ 2021-07-09T10:31:11,974 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,975 Error compiling Cython file: 2021-07-09T10:31:11,975 ------------------------------------------------------------ 2021-07-09T10:31:11,975 ... 2021-07-09T10:31:11,975 cdef char* cstr_filename 2021-07-09T10:31:11,975 if PyByteArray_Check(filename): 2021-07-09T10:31:11,975 cstr_filename = PyByteArray_AsString(filename) 2021-07-09T10:31:11,976 elif PyBytes_Check(filename): 2021-07-09T10:31:11,976 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:11,976 ^ 2021-07-09T10:31:11,976 ------------------------------------------------------------ 2021-07-09T10:31:11,976 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:31:11,976 Error compiling Cython file: 2021-07-09T10:31:11,976 ------------------------------------------------------------ 2021-07-09T10:31:11,976 ... 2021-07-09T10:31:11,977 elif PyBytes_Check(filename): 2021-07-09T10:31:11,977 cstr_filename = PyBytes_AsString(filename) 2021-07-09T10:31:11,977 else: 2021-07-09T10:31:11,977 raise Exception( 2021-07-09T10:31:11,977 'Unable to convert to cstr: {}'.format(type(filename))) 2021-07-09T10:31:11,977 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2021-07-09T10:31:11,977 ^ 2021-07-09T10:31:11,977 ------------------------------------------------------------ 2021-07-09T10:31:11,978 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:31:11,978 Error compiling Cython file: 2021-07-09T10:31:11,978 ------------------------------------------------------------ 2021-07-09T10:31:11,978 ... 2021-07-09T10:31:11,978 cdef CEEvent _normalize(self, char *data): 2021-07-09T10:31:11,978 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2021-07-09T10:31:11,978 cdef ee_event *event = NULL 2021-07-09T10:31:11,978 cdef CEEvent event_wrapper = None 2021-07-09T10:31:11,979 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:31:11,979 ^ 2021-07-09T10:31:11,979 ------------------------------------------------------------ 2021-07-09T10:31:11,979 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2021-07-09T10:31:12,160 running clean 2021-07-09T10:31:12,162 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-09T10:31:12,165 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-09T10:31:12,169 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-09T10:31:12,170 'build/scripts-3.9' does not exist -- can't clean it 2021-07-09T10:31:12,170 removing 'build' 2021-07-09T10:31:12,293 Failed to build pylognorm 2021-07-09T10:31:12,294 ERROR: Failed to build one or more wheels 2021-07-09T10:31:12,295 Exception information: 2021-07-09T10:31:12,295 Traceback (most recent call last): 2021-07-09T10:31:12,295 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-09T10:31:12,295 status = self.run(options, args) 2021-07-09T10:31:12,295 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-09T10:31:12,295 return func(self, options, args) 2021-07-09T10:31:12,295 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-09T10:31:12,295 raise CommandError( 2021-07-09T10:31:12,295 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-09T10:31:12,298 Removed build tracker: '/tmp/pip-req-tracker-fwto7sqq'