2019-06-29T18:32:58 Created temporary directory: /tmp/pip-ephem-wheel-cache-y8in75w0 2019-06-29T18:32:58 Created temporary directory: /tmp/pip-req-tracker-qugnxrc9 2019-06-29T18:32:58 Created requirements tracker '/tmp/pip-req-tracker-qugnxrc9' 2019-06-29T18:32:58 Created temporary directory: /tmp/pip-wheel-q9wkd2t2 2019-06-29T18:32:58 Collecting pylognorm==0.2.0 2019-06-29T18:32:58 1 location(s) to search for versions of pylognorm: 2019-06-29T18:32:58 * https://pypi.org/simple/pylognorm/ 2019-06-29T18:32:58 Getting page https://pypi.org/simple/pylognorm/ 2019-06-29T18:32:58 Analyzing links from page https://pypi.org/simple/pylognorm/ 2019-06-29T18:32:58 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 2019-06-29T18:32:58 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 2019-06-29T18:32:58 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 2019-06-29T18:32:58 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 2019-06-29T18:32:58 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 2019-06-29T18:32:58 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 2019-06-29T18:32:58 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 2019-06-29T18:32:58 Using version 0.2.0 (newest of versions: 0.2.0) 2019-06-29T18:32:58 Created temporary directory: /tmp/pip-unpack-m3iwu_mo 2019-06-29T18:32:58 Downloading https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz 2019-06-29T18:32:58 Downloading from URL https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz#sha256=6291cb2cb9c1346f37bc2ed50e69d366f59143e523124f584eae48389ad931ed (from https://pypi.org/simple/pylognorm/) 2019-06-29T18:32:58 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-qugnxrc9' 2019-06-29T18:32:58 Running setup.py (path:/tmp/pip-wheel-q9wkd2t2/pylognorm/setup.py) egg_info for package pylognorm 2019-06-29T18:32:58 Running command python setup.py egg_info 2019-06-29T18:33:01 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-q9wkd2t2/pylognorm/pylognorm/bindings/liblognorm.pyx 2019-06-29T18:33:01 tree = Parsing.p_module(s, pxd, full_module_name) 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 from os import path 2019-06-29T18:33:01 from liblognorm cimport * 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 return self.cnormalizer.normalize(logline) 2019-06-29T18:33:01 cdef class CEEvent(object): 2019-06-29T18:33:01 cdef ee_event *event 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 cdef class CEEvent(object): 2019-06-29T18:33:01 cdef ee_event *event 2019-06-29T18:33:01 cdef _set(self, ee_event *event): 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 return py_str_obj 2019-06-29T18:33:01 cdef class CLogNormalizer(object): 2019-06-29T18:33:01 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 cdef class CLogNormalizer(object): 2019-06-29T18:33:01 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:01 cdef ee_ctx cee_ctx 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 finally: 2019-06-29T18:33:01 free(extra_data_cstr) 2019-06-29T18:33:01 return py_str_obj 2019-06-29T18:33:01 cdef object _format(self, format_kind fmt): 2019-06-29T18:33:01 cdef es_str_t *es_out = NULL 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 es_deleteStr(es_out) 2019-06-29T18:33:01 free(cstr) 2019-06-29T18:33:01 return py_str_obj 2019-06-29T18:33:01 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:01 cdef es_str_t *es_out = NULL 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 free(cstr) 2019-06-29T18:33:01 return py_str_obj 2019-06-29T18:33:01 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:01 cdef es_str_t *es_out = NULL 2019-06-29T18:33:01 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 def normalize(self, object data): 2019-06-29T18:33:01 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:01 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:01 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 def normalize(self, object data): 2019-06-29T18:33:01 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:01 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:01 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:01 cdef ee_event *event = NULL 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 fmt_xml, 2019-06-29T18:33:01 fmt_rfc5424 2019-06-29T18:33:01 def lib_version(): 2019-06-29T18:33:01 cdef char* version = ln_version() 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 fmt_xml, 2019-06-29T18:33:01 fmt_rfc5424 2019-06-29T18:33:01 def lib_version(): 2019-06-29T18:33:01 cdef char* version = ln_version() 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 fmt_rfc5424 2019-06-29T18:33:01 def lib_version(): 2019-06-29T18:33:01 cdef char* version = ln_version() 2019-06-29T18:33:01 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:01 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:01 cdef char *cstr 2019-06-29T18:33:01 if PyByteArray_Check(obj): 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:01 cdef char *cstr 2019-06-29T18:33:01 if PyByteArray_Check(obj): 2019-06-29T18:33:01 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:01 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:01 cdef char *cstr 2019-06-29T18:33:01 if PyByteArray_Check(obj): 2019-06-29T18:33:01 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:01 ^ 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:01 Error compiling Cython file: 2019-06-29T18:33:01 ------------------------------------------------------------ 2019-06-29T18:33:01 ... 2019-06-29T18:33:02 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:02 cdef char *cstr 2019-06-29T18:33:02 if PyByteArray_Check(obj): 2019-06-29T18:33:02 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:02 elif PyBytes_Check(obj): 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:02 cdef char *cstr 2019-06-29T18:33:02 if PyByteArray_Check(obj): 2019-06-29T18:33:02 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:02 elif PyBytes_Check(obj): 2019-06-29T18:33:02 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:02 cdef char *cstr 2019-06-29T18:33:02 if PyByteArray_Check(obj): 2019-06-29T18:33:02 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:02 elif PyBytes_Check(obj): 2019-06-29T18:33:02 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef _set(self, ee_event *event): 2019-06-29T18:33:02 self.event = event 2019-06-29T18:33:02 def __dealoc__(self): 2019-06-29T18:33:02 ee_deleteEvent(self.event) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef char *cstr = NULL 2019-06-29T18:33:02 cdef object py_str_obj = None 2019-06-29T18:33:02 try: 2019-06-29T18:33:02 if fmt == fmt_json: 2019-06-29T18:33:02 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 elif fmt == fmt_rfc5424: 2019-06-29T18:33:02 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:02 else: 2019-06-29T18:33:02 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 elif fmt == fmt_rfc5424: 2019-06-29T18:33:02 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:02 else: 2019-06-29T18:33:02 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 elif fmt == fmt_rfc5424: 2019-06-29T18:33:02 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:02 else: 2019-06-29T18:33:02 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:02 else: 2019-06-29T18:33:02 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:02 finally: 2019-06-29T18:33:02 es_deleteStr(es_out) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef es_str_t *es_out = NULL 2019-06-29T18:33:02 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:02 cdef char *cstr = NULL 2019-06-29T18:33:02 cdef object py_str_obj = None 2019-06-29T18:33:02 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef object py_str_obj = None 2019-06-29T18:33:02 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:02 try: 2019-06-29T18:33:02 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:02 try: 2019-06-29T18:33:02 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:02 try: 2019-06-29T18:33:02 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:02 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:02 cdef ee_ctx cee_ctx 2019-06-29T18:33:02 def __cinit__(self): 2019-06-29T18:33:02 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:02 cdef ee_ctx cee_ctx 2019-06-29T18:33:02 def __cinit__(self): 2019-06-29T18:33:02 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:02 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef ee_ctx cee_ctx 2019-06-29T18:33:02 def __cinit__(self): 2019-06-29T18:33:02 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:02 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:02 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 def __init__(self): 2019-06-29T18:33:02 pass 2019-06-29T18:33:02 def __dealoc__(self): 2019-06-29T18:33:02 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 def __init__(self): 2019-06-29T18:33:02 pass 2019-06-29T18:33:02 def __dealoc__(self): 2019-06-29T18:33:02 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:02 ln_exitCtx(self.normalizer_ctx) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 def load_rules(self, object filename): 2019-06-29T18:33:02 cdef char* cstr_filename 2019-06-29T18:33:02 if PyByteArray_Check(filename): 2019-06-29T18:33:02 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef char* cstr_filename 2019-06-29T18:33:02 if PyByteArray_Check(filename): 2019-06-29T18:33:02 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:02 elif PyBytes_Check(filename): 2019-06-29T18:33:02 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 elif PyBytes_Check(filename): 2019-06-29T18:33:02 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:02 else: 2019-06-29T18:33:02 raise Exception( 2019-06-29T18:33:02 'Unable to convert to cstr: {}'.format(type(filename))) 2019-06-29T18:33:02 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2019-06-29T18:33:02 running egg_info 2019-06-29T18:33:02 creating pip-egg-info/pylognorm.egg-info 2019-06-29T18:33:02 writing pip-egg-info/pylognorm.egg-info/PKG-INFO 2019-06-29T18:33:02 writing dependency_links to pip-egg-info/pylognorm.egg-info/dependency_links.txt 2019-06-29T18:33:02 writing top-level names to pip-egg-info/pylognorm.egg-info/top_level.txt 2019-06-29T18:33:02 writing manifest file 'pip-egg-info/pylognorm.egg-info/SOURCES.txt' 2019-06-29T18:33:02 reading manifest file 'pip-egg-info/pylognorm.egg-info/SOURCES.txt' 2019-06-29T18:33:02 reading manifest template 'MANIFEST.in' 2019-06-29T18:33:02 writing manifest file 'pip-egg-info/pylognorm.egg-info/SOURCES.txt' 2019-06-29T18:33:02 Error compiling Cython file: 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 ... 2019-06-29T18:33:02 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:02 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:02 cdef ee_event *event = NULL 2019-06-29T18:33:02 cdef CEEvent event_wrapper = None 2019-06-29T18:33:02 ln_normalize(self.normalizer_ctx, in_str, &event) 2019-06-29T18:33:02 ^ 2019-06-29T18:33:02 ------------------------------------------------------------ 2019-06-29T18:33:02 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2019-06-29T18:33:02 Source in /tmp/pip-wheel-q9wkd2t2/pylognorm 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 2019-06-29T18:33:02 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-qugnxrc9' 2019-06-29T18:33:02 Building wheels for collected packages: pylognorm 2019-06-29T18:33:02 Created temporary directory: /tmp/pip-wheel-op407ykz 2019-06-29T18:33:02 Building wheel for pylognorm (setup.py): started 2019-06-29T18:33:02 Destination directory: /tmp/pip-wheel-op407ykz 2019-06-29T18:33:02 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-q9wkd2t2/pylognorm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-op407ykz 2019-06-29T18:33:05 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-q9wkd2t2/pylognorm/pylognorm/bindings/liblognorm.pyx 2019-06-29T18:33:05 tree = Parsing.p_module(s, pxd, full_module_name) 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 from os import path 2019-06-29T18:33:05 from liblognorm cimport * 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 return self.cnormalizer.normalize(logline) 2019-06-29T18:33:05 cdef class CEEvent(object): 2019-06-29T18:33:05 cdef ee_event *event 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef class CEEvent(object): 2019-06-29T18:33:05 cdef ee_event *event 2019-06-29T18:33:05 cdef _set(self, ee_event *event): 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 return py_str_obj 2019-06-29T18:33:05 cdef class CLogNormalizer(object): 2019-06-29T18:33:05 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef class CLogNormalizer(object): 2019-06-29T18:33:05 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:05 cdef ee_ctx cee_ctx 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 finally: 2019-06-29T18:33:05 free(extra_data_cstr) 2019-06-29T18:33:05 return py_str_obj 2019-06-29T18:33:05 cdef object _format(self, format_kind fmt): 2019-06-29T18:33:05 cdef es_str_t *es_out = NULL 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 es_deleteStr(es_out) 2019-06-29T18:33:05 free(cstr) 2019-06-29T18:33:05 return py_str_obj 2019-06-29T18:33:05 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:05 cdef es_str_t *es_out = NULL 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 free(cstr) 2019-06-29T18:33:05 return py_str_obj 2019-06-29T18:33:05 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:05 cdef es_str_t *es_out = NULL 2019-06-29T18:33:05 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 def normalize(self, object data): 2019-06-29T18:33:05 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:05 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:05 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 def normalize(self, object data): 2019-06-29T18:33:05 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:05 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:05 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:05 cdef ee_event *event = NULL 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 fmt_xml, 2019-06-29T18:33:05 fmt_rfc5424 2019-06-29T18:33:05 def lib_version(): 2019-06-29T18:33:05 cdef char* version = ln_version() 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 fmt_xml, 2019-06-29T18:33:05 fmt_rfc5424 2019-06-29T18:33:05 def lib_version(): 2019-06-29T18:33:05 cdef char* version = ln_version() 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 fmt_rfc5424 2019-06-29T18:33:05 def lib_version(): 2019-06-29T18:33:05 cdef char* version = ln_version() 2019-06-29T18:33:05 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:05 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:05 cdef char *cstr 2019-06-29T18:33:05 if PyByteArray_Check(obj): 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:05 cdef char *cstr 2019-06-29T18:33:05 if PyByteArray_Check(obj): 2019-06-29T18:33:05 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:05 cdef char *cstr 2019-06-29T18:33:05 if PyByteArray_Check(obj): 2019-06-29T18:33:05 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:05 cdef char *cstr 2019-06-29T18:33:05 if PyByteArray_Check(obj): 2019-06-29T18:33:05 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:05 elif PyBytes_Check(obj): 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:05 cdef char *cstr 2019-06-29T18:33:05 if PyByteArray_Check(obj): 2019-06-29T18:33:05 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:05 elif PyBytes_Check(obj): 2019-06-29T18:33:05 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:05 cdef char *cstr 2019-06-29T18:33:05 if PyByteArray_Check(obj): 2019-06-29T18:33:05 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:05 elif PyBytes_Check(obj): 2019-06-29T18:33:05 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef _set(self, ee_event *event): 2019-06-29T18:33:05 self.event = event 2019-06-29T18:33:05 def __dealoc__(self): 2019-06-29T18:33:05 ee_deleteEvent(self.event) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char *cstr = NULL 2019-06-29T18:33:05 cdef object py_str_obj = None 2019-06-29T18:33:05 try: 2019-06-29T18:33:05 if fmt == fmt_json: 2019-06-29T18:33:05 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 elif fmt == fmt_rfc5424: 2019-06-29T18:33:05 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:05 else: 2019-06-29T18:33:05 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 elif fmt == fmt_rfc5424: 2019-06-29T18:33:05 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:05 else: 2019-06-29T18:33:05 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 elif fmt == fmt_rfc5424: 2019-06-29T18:33:05 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:05 else: 2019-06-29T18:33:05 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:05 else: 2019-06-29T18:33:05 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:05 finally: 2019-06-29T18:33:05 es_deleteStr(es_out) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef es_str_t *es_out = NULL 2019-06-29T18:33:05 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:05 cdef char *cstr = NULL 2019-06-29T18:33:05 cdef object py_str_obj = None 2019-06-29T18:33:05 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef object py_str_obj = None 2019-06-29T18:33:05 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:05 try: 2019-06-29T18:33:05 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:05 try: 2019-06-29T18:33:05 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:05 try: 2019-06-29T18:33:05 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:05 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:05 cdef ee_ctx cee_ctx 2019-06-29T18:33:05 def __cinit__(self): 2019-06-29T18:33:05 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:05 cdef ee_ctx cee_ctx 2019-06-29T18:33:05 def __cinit__(self): 2019-06-29T18:33:05 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:05 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef ee_ctx cee_ctx 2019-06-29T18:33:05 def __cinit__(self): 2019-06-29T18:33:05 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:05 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:05 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 def __init__(self): 2019-06-29T18:33:05 pass 2019-06-29T18:33:05 def __dealoc__(self): 2019-06-29T18:33:05 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 def __init__(self): 2019-06-29T18:33:05 pass 2019-06-29T18:33:05 def __dealoc__(self): 2019-06-29T18:33:05 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:05 ln_exitCtx(self.normalizer_ctx) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 def load_rules(self, object filename): 2019-06-29T18:33:05 cdef char* cstr_filename 2019-06-29T18:33:05 if PyByteArray_Check(filename): 2019-06-29T18:33:05 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef char* cstr_filename 2019-06-29T18:33:05 if PyByteArray_Check(filename): 2019-06-29T18:33:05 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:05 elif PyBytes_Check(filename): 2019-06-29T18:33:05 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 elif PyBytes_Check(filename): 2019-06-29T18:33:05 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:05 else: 2019-06-29T18:33:05 raise Exception( 2019-06-29T18:33:05 'Unable to convert to cstr: {}'.format(type(filename))) 2019-06-29T18:33:05 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2019-06-29T18:33:05 Error compiling Cython file: 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 ... 2019-06-29T18:33:05 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:05 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:05 cdef ee_event *event = NULL 2019-06-29T18:33:05 cdef CEEvent event_wrapper = None 2019-06-29T18:33:05 ln_normalize(self.normalizer_ctx, in_str, &event) 2019-06-29T18:33:05 ^ 2019-06-29T18:33:05 ------------------------------------------------------------ 2019-06-29T18:33:05 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2019-06-29T18:33:05 running bdist_wheel 2019-06-29T18:33:05 running build 2019-06-29T18:33:05 running build_py 2019-06-29T18:33:06 creating build 2019-06-29T18:33:06 creating build/lib.linux-armv7l-3.7 2019-06-29T18:33:06 creating build/lib.linux-armv7l-3.7/pylognorm 2019-06-29T18:33:06 copying pylognorm/__init__.py -> build/lib.linux-armv7l-3.7/pylognorm 2019-06-29T18:33:06 creating build/lib.linux-armv7l-3.7/pylognorm/tests 2019-06-29T18:33:06 copying pylognorm/tests/bindings_test.py -> build/lib.linux-armv7l-3.7/pylognorm/tests 2019-06-29T18:33:06 copying pylognorm/tests/__init__.py -> build/lib.linux-armv7l-3.7/pylognorm/tests 2019-06-29T18:33:06 creating build/lib.linux-armv7l-3.7/pylognorm/bindings 2019-06-29T18:33:06 copying pylognorm/bindings/__init__.py -> build/lib.linux-armv7l-3.7/pylognorm/bindings 2019-06-29T18:33:06 running egg_info 2019-06-29T18:33:06 writing pylognorm.egg-info/PKG-INFO 2019-06-29T18:33:06 writing dependency_links to pylognorm.egg-info/dependency_links.txt 2019-06-29T18:33:06 writing top-level names to pylognorm.egg-info/top_level.txt 2019-06-29T18:33:06 reading manifest file 'pylognorm.egg-info/SOURCES.txt' 2019-06-29T18:33:06 reading manifest template 'MANIFEST.in' 2019-06-29T18:33:06 writing manifest file 'pylognorm.egg-info/SOURCES.txt' 2019-06-29T18:33:06 copying pylognorm/bindings/liblognorm.c -> build/lib.linux-armv7l-3.7/pylognorm/bindings 2019-06-29T18:33:06 copying pylognorm/bindings/liblognorm.pyx -> build/lib.linux-armv7l-3.7/pylognorm/bindings 2019-06-29T18:33:06 running build_ext 2019-06-29T18:33:06 cythoning pylognorm/bindings/liblognorm.pyx to pylognorm/bindings/liblognorm.c 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 from os import path 2019-06-29T18:33:06 from liblognorm cimport * 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 return self.cnormalizer.normalize(logline) 2019-06-29T18:33:06 cdef class CEEvent(object): 2019-06-29T18:33:06 cdef ee_event *event 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef class CEEvent(object): 2019-06-29T18:33:06 cdef ee_event *event 2019-06-29T18:33:06 cdef _set(self, ee_event *event): 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 return py_str_obj 2019-06-29T18:33:06 cdef class CLogNormalizer(object): 2019-06-29T18:33:06 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef class CLogNormalizer(object): 2019-06-29T18:33:06 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:06 cdef ee_ctx cee_ctx 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 finally: 2019-06-29T18:33:06 free(extra_data_cstr) 2019-06-29T18:33:06 return py_str_obj 2019-06-29T18:33:06 cdef object _format(self, format_kind fmt): 2019-06-29T18:33:06 cdef es_str_t *es_out = NULL 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 es_deleteStr(es_out) 2019-06-29T18:33:06 free(cstr) 2019-06-29T18:33:06 return py_str_obj 2019-06-29T18:33:06 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:06 cdef es_str_t *es_out = NULL 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 free(cstr) 2019-06-29T18:33:06 return py_str_obj 2019-06-29T18:33:06 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:06 cdef es_str_t *es_out = NULL 2019-06-29T18:33:06 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 def normalize(self, object data): 2019-06-29T18:33:06 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:06 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:06 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 def normalize(self, object data): 2019-06-29T18:33:06 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:06 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:06 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:06 cdef ee_event *event = NULL 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 fmt_xml, 2019-06-29T18:33:06 fmt_rfc5424 2019-06-29T18:33:06 def lib_version(): 2019-06-29T18:33:06 cdef char* version = ln_version() 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 fmt_xml, 2019-06-29T18:33:06 fmt_rfc5424 2019-06-29T18:33:06 def lib_version(): 2019-06-29T18:33:06 cdef char* version = ln_version() 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 fmt_rfc5424 2019-06-29T18:33:06 def lib_version(): 2019-06-29T18:33:06 cdef char* version = ln_version() 2019-06-29T18:33:06 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:06 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:06 cdef char *cstr 2019-06-29T18:33:06 if PyByteArray_Check(obj): 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:06 cdef char *cstr 2019-06-29T18:33:06 if PyByteArray_Check(obj): 2019-06-29T18:33:06 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:06 cdef char *cstr 2019-06-29T18:33:06 if PyByteArray_Check(obj): 2019-06-29T18:33:06 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:06 cdef char *cstr 2019-06-29T18:33:06 if PyByteArray_Check(obj): 2019-06-29T18:33:06 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:06 elif PyBytes_Check(obj): 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:06 cdef char *cstr 2019-06-29T18:33:06 if PyByteArray_Check(obj): 2019-06-29T18:33:06 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:06 elif PyBytes_Check(obj): 2019-06-29T18:33:06 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:06 cdef char *cstr 2019-06-29T18:33:06 if PyByteArray_Check(obj): 2019-06-29T18:33:06 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:06 elif PyBytes_Check(obj): 2019-06-29T18:33:06 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef _set(self, ee_event *event): 2019-06-29T18:33:06 self.event = event 2019-06-29T18:33:06 def __dealoc__(self): 2019-06-29T18:33:06 ee_deleteEvent(self.event) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char *cstr = NULL 2019-06-29T18:33:06 cdef object py_str_obj = None 2019-06-29T18:33:06 try: 2019-06-29T18:33:06 if fmt == fmt_json: 2019-06-29T18:33:06 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 elif fmt == fmt_rfc5424: 2019-06-29T18:33:06 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:06 else: 2019-06-29T18:33:06 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 elif fmt == fmt_rfc5424: 2019-06-29T18:33:06 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:06 else: 2019-06-29T18:33:06 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 elif fmt == fmt_rfc5424: 2019-06-29T18:33:06 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:06 else: 2019-06-29T18:33:06 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:06 else: 2019-06-29T18:33:06 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:06 finally: 2019-06-29T18:33:06 es_deleteStr(es_out) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef es_str_t *es_out = NULL 2019-06-29T18:33:06 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:06 cdef char *cstr = NULL 2019-06-29T18:33:06 cdef object py_str_obj = None 2019-06-29T18:33:06 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef object py_str_obj = None 2019-06-29T18:33:06 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:06 try: 2019-06-29T18:33:06 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:06 try: 2019-06-29T18:33:06 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:06 try: 2019-06-29T18:33:06 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:06 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:06 cdef ee_ctx cee_ctx 2019-06-29T18:33:06 def __cinit__(self): 2019-06-29T18:33:06 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:06 cdef ee_ctx cee_ctx 2019-06-29T18:33:06 def __cinit__(self): 2019-06-29T18:33:06 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:06 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef ee_ctx cee_ctx 2019-06-29T18:33:06 def __cinit__(self): 2019-06-29T18:33:06 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:06 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:06 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 def __init__(self): 2019-06-29T18:33:06 pass 2019-06-29T18:33:06 def __dealoc__(self): 2019-06-29T18:33:06 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 def __init__(self): 2019-06-29T18:33:06 pass 2019-06-29T18:33:06 def __dealoc__(self): 2019-06-29T18:33:06 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:06 ln_exitCtx(self.normalizer_ctx) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 def load_rules(self, object filename): 2019-06-29T18:33:06 cdef char* cstr_filename 2019-06-29T18:33:06 if PyByteArray_Check(filename): 2019-06-29T18:33:06 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef char* cstr_filename 2019-06-29T18:33:06 if PyByteArray_Check(filename): 2019-06-29T18:33:06 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:06 elif PyBytes_Check(filename): 2019-06-29T18:33:06 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 elif PyBytes_Check(filename): 2019-06-29T18:33:06 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:06 else: 2019-06-29T18:33:06 raise Exception( 2019-06-29T18:33:06 'Unable to convert to cstr: {}'.format(type(filename))) 2019-06-29T18:33:06 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2019-06-29T18:33:06 Error compiling Cython file: 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 ... 2019-06-29T18:33:06 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:06 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:06 cdef ee_event *event = NULL 2019-06-29T18:33:06 cdef CEEvent event_wrapper = None 2019-06-29T18:33:06 ln_normalize(self.normalizer_ctx, in_str, &event) 2019-06-29T18:33:06 ^ 2019-06-29T18:33:06 ------------------------------------------------------------ 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2019-06-29T18:33:06 building 'pylognorm.bindings.liblognorm' extension 2019-06-29T18:33:06 creating build/temp.linux-armv7l-3.7 2019-06-29T18:33:06 creating build/temp.linux-armv7l-3.7/pylognorm 2019-06-29T18:33:06 creating build/temp.linux-armv7l-3.7/pylognorm/bindings 2019-06-29T18:33:06 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c pylognorm/bindings/liblognorm.c -o build/temp.linux-armv7l-3.7/pylognorm/bindings/liblognorm.o 2019-06-29T18:33:06 pylognorm/bindings/liblognorm.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 2019-06-29T18:33:06 #error Do not use this file, it is the result of a failed Cython compilation. 2019-06-29T18:33:06 ^~~~~ 2019-06-29T18:33:06 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-06-29T18:33:07 Building wheel for pylognorm (setup.py): finished with status 'error' 2019-06-29T18:33:07 ERROR: Failed building wheel for pylognorm 2019-06-29T18:33:07 Running setup.py clean for pylognorm 2019-06-29T18:33:07 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-q9wkd2t2/pylognorm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-06-29T18:33:09 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-q9wkd2t2/pylognorm/pylognorm/bindings/liblognorm.pyx 2019-06-29T18:33:09 tree = Parsing.p_module(s, pxd, full_module_name) 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 from os import path 2019-06-29T18:33:09 from liblognorm cimport * 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:3:0: 'pylognorm/bindings/liblognorm.pxd' not found 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 return self.cnormalizer.normalize(logline) 2019-06-29T18:33:09 cdef class CEEvent(object): 2019-06-29T18:33:09 cdef ee_event *event 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 cdef class CEEvent(object): 2019-06-29T18:33:09 cdef ee_event *event 2019-06-29T18:33:09 cdef _set(self, ee_event *event): 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 return py_str_obj 2019-06-29T18:33:09 cdef class CLogNormalizer(object): 2019-06-29T18:33:09 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 cdef class CLogNormalizer(object): 2019-06-29T18:33:09 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:09 cdef ee_ctx cee_ctx 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 finally: 2019-06-29T18:33:09 free(extra_data_cstr) 2019-06-29T18:33:09 return py_str_obj 2019-06-29T18:33:09 cdef object _format(self, format_kind fmt): 2019-06-29T18:33:09 cdef es_str_t *es_out = NULL 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 es_deleteStr(es_out) 2019-06-29T18:33:09 free(cstr) 2019-06-29T18:33:09 return py_str_obj 2019-06-29T18:33:09 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:09 cdef es_str_t *es_out = NULL 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 free(cstr) 2019-06-29T18:33:09 return py_str_obj 2019-06-29T18:33:09 cdef object _format_csv(self, char *extra_data): 2019-06-29T18:33:09 cdef es_str_t *es_out = NULL 2019-06-29T18:33:09 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 def normalize(self, object data): 2019-06-29T18:33:09 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:09 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:09 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 def normalize(self, object data): 2019-06-29T18:33:09 return self._normalize(_object_to_cstr(data)) 2019-06-29T18:33:09 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:09 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:09 cdef ee_event *event = NULL 2019-06-29T18:33:09 ^ 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2019-06-29T18:33:09 Error compiling Cython file: 2019-06-29T18:33:09 ------------------------------------------------------------ 2019-06-29T18:33:09 ... 2019-06-29T18:33:09 fmt_xml, 2019-06-29T18:33:09 fmt_rfc5424 2019-06-29T18:33:10 def lib_version(): 2019-06-29T18:33:10 cdef char* version = ln_version() 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 fmt_xml, 2019-06-29T18:33:10 fmt_rfc5424 2019-06-29T18:33:10 def lib_version(): 2019-06-29T18:33:10 cdef char* version = ln_version() 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 fmt_rfc5424 2019-06-29T18:33:10 def lib_version(): 2019-06-29T18:33:10 cdef char* version = ln_version() 2019-06-29T18:33:10 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 return PyString_FromStringAndSize(version, strlen(version)) 2019-06-29T18:33:10 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:10 cdef char *cstr 2019-06-29T18:33:10 if PyByteArray_Check(obj): 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:10 cdef char *cstr 2019-06-29T18:33:10 if PyByteArray_Check(obj): 2019-06-29T18:33:10 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:10 cdef char *cstr 2019-06-29T18:33:10 if PyByteArray_Check(obj): 2019-06-29T18:33:10 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:10 cdef char *cstr 2019-06-29T18:33:10 if PyByteArray_Check(obj): 2019-06-29T18:33:10 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:10 elif PyBytes_Check(obj): 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:10 cdef char *cstr 2019-06-29T18:33:10 if PyByteArray_Check(obj): 2019-06-29T18:33:10 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:10 elif PyBytes_Check(obj): 2019-06-29T18:33:10 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char * _object_to_cstr(object obj): 2019-06-29T18:33:10 cdef char *cstr 2019-06-29T18:33:10 if PyByteArray_Check(obj): 2019-06-29T18:33:10 cstr = PyByteArray_AsString(obj) 2019-06-29T18:33:10 elif PyBytes_Check(obj): 2019-06-29T18:33:10 cstr = PyBytes_AsString(obj) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef _set(self, ee_event *event): 2019-06-29T18:33:10 self.event = event 2019-06-29T18:33:10 def __dealoc__(self): 2019-06-29T18:33:10 ee_deleteEvent(self.event) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char *cstr = NULL 2019-06-29T18:33:10 cdef object py_str_obj = None 2019-06-29T18:33:10 try: 2019-06-29T18:33:10 if fmt == fmt_json: 2019-06-29T18:33:10 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 elif fmt == fmt_rfc5424: 2019-06-29T18:33:10 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:10 else: 2019-06-29T18:33:10 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 elif fmt == fmt_rfc5424: 2019-06-29T18:33:10 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:10 else: 2019-06-29T18:33:10 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 elif fmt == fmt_rfc5424: 2019-06-29T18:33:10 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:10 else: 2019-06-29T18:33:10 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 ee_fmtEventToJSON(self.event, &es_out) 2019-06-29T18:33:10 else: 2019-06-29T18:33:10 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 raise Exception('Unknown format: {}'.format(fmt)) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 py_str_obj = PyUnicode_FromString(cstr) 2019-06-29T18:33:10 finally: 2019-06-29T18:33:10 es_deleteStr(es_out) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef es_str_t *es_out = NULL 2019-06-29T18:33:10 cdef es_str_t *es_extra_data = NULL 2019-06-29T18:33:10 cdef char *cstr = NULL 2019-06-29T18:33:10 cdef object py_str_obj = None 2019-06-29T18:33:10 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef object py_str_obj = None 2019-06-29T18:33:10 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:10 try: 2019-06-29T18:33:10 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:10 try: 2019-06-29T18:33:10 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2019-06-29T18:33:10 try: 2019-06-29T18:33:10 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2019-06-29T18:33:10 cstr = es_str2cstr(es_out, NULL) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:10 cdef ee_ctx cee_ctx 2019-06-29T18:33:10 def __cinit__(self): 2019-06-29T18:33:10 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef ln_ctx normalizer_ctx 2019-06-29T18:33:10 cdef ee_ctx cee_ctx 2019-06-29T18:33:10 def __cinit__(self): 2019-06-29T18:33:10 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:10 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef ee_ctx cee_ctx 2019-06-29T18:33:10 def __cinit__(self): 2019-06-29T18:33:10 self.normalizer_ctx = ln_initCtx() 2019-06-29T18:33:10 self.cee_ctx = ee_initCtx() 2019-06-29T18:33:10 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 def __init__(self): 2019-06-29T18:33:10 pass 2019-06-29T18:33:10 def __dealoc__(self): 2019-06-29T18:33:10 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 def __init__(self): 2019-06-29T18:33:10 pass 2019-06-29T18:33:10 def __dealoc__(self): 2019-06-29T18:33:10 ee_exitCtx(self.cee_ctx) 2019-06-29T18:33:10 ln_exitCtx(self.normalizer_ctx) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 def load_rules(self, object filename): 2019-06-29T18:33:10 cdef char* cstr_filename 2019-06-29T18:33:10 if PyByteArray_Check(filename): 2019-06-29T18:33:10 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef char* cstr_filename 2019-06-29T18:33:10 if PyByteArray_Check(filename): 2019-06-29T18:33:10 cstr_filename = PyByteArray_AsString(filename) 2019-06-29T18:33:10 elif PyBytes_Check(filename): 2019-06-29T18:33:10 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 elif PyBytes_Check(filename): 2019-06-29T18:33:10 cstr_filename = PyBytes_AsString(filename) 2019-06-29T18:33:10 else: 2019-06-29T18:33:10 raise Exception( 2019-06-29T18:33:10 'Unable to convert to cstr: {}'.format(type(filename))) 2019-06-29T18:33:10 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2019-06-29T18:33:10 Error compiling Cython file: 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 ... 2019-06-29T18:33:10 cdef CEEvent _normalize(self, char *data): 2019-06-29T18:33:10 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2019-06-29T18:33:10 cdef ee_event *event = NULL 2019-06-29T18:33:10 cdef CEEvent event_wrapper = None 2019-06-29T18:33:10 ln_normalize(self.normalizer_ctx, in_str, &event) 2019-06-29T18:33:10 ^ 2019-06-29T18:33:10 ------------------------------------------------------------ 2019-06-29T18:33:10 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2019-06-29T18:33:10 running clean 2019-06-29T18:33:10 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-06-29T18:33:10 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-06-29T18:33:10 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-06-29T18:33:10 'build/scripts-3.7' does not exist -- can't clean it 2019-06-29T18:33:10 removing 'build' 2019-06-29T18:33:10 Failed to build pylognorm 2019-06-29T18:33:10 Cleaning up... 2019-06-29T18:33:10 Removing source in /tmp/pip-wheel-q9wkd2t2/pylognorm 2019-06-29T18:33:10 Removed build tracker '/tmp/pip-req-tracker-qugnxrc9' 2019-06-29T18:33:10 ERROR: Failed to build one or more wheels 2019-06-29T18:33:10 Exception information: 2019-06-29T18:33:10 Traceback (most recent call last): 2019-06-29T18:33:10 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-06-29T18:33:10 status = self.run(options, args) 2019-06-29T18:33:10 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-06-29T18:33:10 "Failed to build one or more wheels" 2019-06-29T18:33:10 pip._internal.exceptions.CommandError: Failed to build one or more wheels