2021-07-09T10:29:43,041 Created temporary directory: /tmp/pip-ephem-wheel-cache-ar5secnw 2021-07-09T10:29:43,045 Created temporary directory: /tmp/pip-req-tracker-ox3iiuib 2021-07-09T10:29:43,045 Initialized build tracking at /tmp/pip-req-tracker-ox3iiuib 2021-07-09T10:29:43,045 Created build tracker: /tmp/pip-req-tracker-ox3iiuib 2021-07-09T10:29:43,045 Entered build tracker: /tmp/pip-req-tracker-ox3iiuib 2021-07-09T10:29:43,046 Created temporary directory: /tmp/pip-wheel-20gqfk7l 2021-07-09T10:29:43,080 1 location(s) to search for versions of pylognorm: 2021-07-09T10:29:43,080 * https://pypi.org/simple/pylognorm/ 2021-07-09T10:29:43,080 Fetching project page and analyzing links: https://pypi.org/simple/pylognorm/ 2021-07-09T10:29:43,081 Getting page https://pypi.org/simple/pylognorm/ 2021-07-09T10:29:43,082 Found index url https://pypi.org/simple 2021-07-09T10:29:43,265 Found link https://files.pythonhosted.org/packages/63/12/22aafb479b1316591492361b7537003e4ed9cf8a936589fcecdbfded653e/pylognorm-0.1.1.tar.gz#sha256=6185b2ae5e157c503cc061090fedb9f776589657791e6c744d9cde605882a3a1 (from https://pypi.org/simple/pylognorm/), version: 0.1.1 2021-07-09T10:29:43,266 Found link https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz#sha256=0766de8b88b9da5d4aa61acc08d313c47ae28c9a7beee3c39cf508d3a70af4a8 (from https://pypi.org/simple/pylognorm/), version: 0.1.2 2021-07-09T10:29:43,266 Found link https://files.pythonhosted.org/packages/b6/63/88552cedf8f08de4bab937497fbf4dcaec944a6b48ffebe944e450eda944/pylognorm-0.1.3.tar.gz#sha256=ef0699f356235d1e7ffdb54f8322e9ba157f144b2c287cd45ed9ed9f716139b0 (from https://pypi.org/simple/pylognorm/), version: 0.1.3 2021-07-09T10:29:43,266 Found link https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz#sha256=6291cb2cb9c1346f37bc2ed50e69d366f59143e523124f584eae48389ad931ed (from https://pypi.org/simple/pylognorm/), version: 0.2.0 2021-07-09T10:29:43,266 Found link https://files.pythonhosted.org/packages/8c/14/acf079eb998fd93161bc33d19ef4da5ee705eeffa071e36b9b8ea5ee6641/pylognorm-0.2.1.tar.gz#sha256=e1cab31a14618bdc7996e607f385a41aec66bab58df987bb899e748dd5ef6219 (from https://pypi.org/simple/pylognorm/), version: 0.2.1 2021-07-09T10:29:43,267 Found link https://files.pythonhosted.org/packages/a6/93/7e330ff2afc05a8b89cb5accc2fb70daf517e30e6d4f74b24ebec0c19495/pylognorm-0.2.2.tar.gz#sha256=f2c12e9572c696d33a5b16d5f096a877905591b6c84286f5bb0836934dff1fcb (from https://pypi.org/simple/pylognorm/), version: 0.2.2 2021-07-09T10:29:43,267 Found link https://files.pythonhosted.org/packages/3d/e7/ccd89cebcb74691efcc4acb40252a39b857adf36fb472049b8d3e663c62c/pylognorm-0.2.3.tar.gz#sha256=8b3fc7bcdc65f6e0e5797b7bedd1c0fc07c2780b342e8153deb356bce7f6da60 (from https://pypi.org/simple/pylognorm/), version: 0.2.3 2021-07-09T10:29:43,267 Skipping link: not a file: https://pypi.org/simple/pylognorm/ 2021-07-09T10:29:43,284 Given no hashes to check 1 links for project 'pylognorm': discarding no candidates 2021-07-09T10:29:43,302 Collecting pylognorm==0.1.2 2021-07-09T10:29:43,303 Created temporary directory: /tmp/pip-unpack-143w_uci 2021-07-09T10:29:43,607 Downloading pylognorm-0.1.2.tar.gz (30 kB) 2021-07-09T10:29:43,679 Added pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz#sha256=0766de8b88b9da5d4aa61acc08d313c47ae28c9a7beee3c39cf508d3a70af4a8 to build tracker '/tmp/pip-req-tracker-ox3iiuib' 2021-07-09T10:29:43,680 Running setup.py (path:/tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/setup.py) egg_info for package pylognorm 2021-07-09T10:29:43,681 Created temporary directory: /tmp/pip-pip-egg-info-3993rifo 2021-07-09T10:29:43,681 Running command python setup.py egg_info 2021-07-09T10:29:45,162 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/pylognorm/bindings/liblognorm.pyx 2021-07-09T10:29:45,162 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T10:29:45,241 Error compiling Cython file: 2021-07-09T10:29:45,241 ------------------------------------------------------------ 2021-07-09T10:29:45,242 ... 2021-07-09T10:29:45,242 from os import path 2021-07-09T10:29:45,242 from liblognorm cimport * 2021-07-09T10:29:45,242 ^ 2021-07-09T10:29:45,242 ------------------------------------------------------------ 2021-07-09T10:29:45,242 pylognorm/bindings/liblognorm.pyx:2:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:29:45,369 Error compiling Cython file: 2021-07-09T10:29:45,369 ------------------------------------------------------------ 2021-07-09T10:29:45,370 ... 2021-07-09T10:29:45,370 return self.cnormalizer.normalize(logline, len(logline)) 2021-07-09T10:29:45,370 cdef class CLogNormalizer(object): 2021-07-09T10:29:45,370 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:45,370 ^ 2021-07-09T10:29:45,370 ------------------------------------------------------------ 2021-07-09T10:29:45,371 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2021-07-09T10:29:45,371 Error compiling Cython file: 2021-07-09T10:29:45,371 ------------------------------------------------------------ 2021-07-09T10:29:45,371 ... 2021-07-09T10:29:45,372 cdef class CLogNormalizer(object): 2021-07-09T10:29:45,372 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:45,372 cdef ee_ctx cee_ctx 2021-07-09T10:29:45,372 ^ 2021-07-09T10:29:45,372 ------------------------------------------------------------ 2021-07-09T10:29:45,372 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2021-07-09T10:29:45,373 Error compiling Cython file: 2021-07-09T10:29:45,373 ------------------------------------------------------------ 2021-07-09T10:29:45,373 ... 2021-07-09T10:29:45,373 formatted = self.format_JSON(event) 2021-07-09T10:29:45,373 ee_deleteEvent(event) 2021-07-09T10:29:45,373 es_deleteStr(in_str) 2021-07-09T10:29:45,374 return formatted 2021-07-09T10:29:45,374 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:45,374 ^ 2021-07-09T10:29:45,374 ------------------------------------------------------------ 2021-07-09T10:29:45,374 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2021-07-09T10:29:45,377 Error compiling Cython file: 2021-07-09T10:29:45,377 ------------------------------------------------------------ 2021-07-09T10:29:45,378 ... 2021-07-09T10:29:45,378 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:45,378 free(normal) 2021-07-09T10:29:45,378 return pyobj 2021-07-09T10:29:45,378 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:45,378 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:45,378 ^ 2021-07-09T10:29:45,378 ------------------------------------------------------------ 2021-07-09T10:29:45,379 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:45,379 Error compiling Cython file: 2021-07-09T10:29:45,379 ------------------------------------------------------------ 2021-07-09T10:29:45,379 ... 2021-07-09T10:29:45,379 free(normal) 2021-07-09T10:29:45,379 return pyobj 2021-07-09T10:29:45,380 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:45,380 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:45,380 cdef ee_event *event = NULL 2021-07-09T10:29:45,380 ^ 2021-07-09T10:29:45,380 ------------------------------------------------------------ 2021-07-09T10:29:45,380 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2021-07-09T10:29:45,381 Error compiling Cython file: 2021-07-09T10:29:45,381 ------------------------------------------------------------ 2021-07-09T10:29:45,381 ... 2021-07-09T10:29:45,381 ee_deleteEvent(event) 2021-07-09T10:29:45,381 es_deleteStr(in_str) 2021-07-09T10:29:45,381 return formatted 2021-07-09T10:29:45,381 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:45,381 cdef es_str_t *out_str = NULL 2021-07-09T10:29:45,382 ^ 2021-07-09T10:29:45,382 ------------------------------------------------------------ 2021-07-09T10:29:45,382 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:45,466 Error compiling Cython file: 2021-07-09T10:29:45,466 ------------------------------------------------------------ 2021-07-09T10:29:45,466 ... 2021-07-09T10:29:45,466 from libc.stdlib cimport malloc, free 2021-07-09T10:29:45,466 from libc.string cimport strlen 2021-07-09T10:29:45,467 def lib_version(): 2021-07-09T10:29:45,467 cdef char* version = ln_version() 2021-07-09T10:29:45,467 ^ 2021-07-09T10:29:45,467 ------------------------------------------------------------ 2021-07-09T10:29:45,467 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2021-07-09T10:29:45,468 Error compiling Cython file: 2021-07-09T10:29:45,468 ------------------------------------------------------------ 2021-07-09T10:29:45,468 ... 2021-07-09T10:29:45,468 from libc.stdlib cimport malloc, free 2021-07-09T10:29:45,468 from libc.string cimport strlen 2021-07-09T10:29:45,468 def lib_version(): 2021-07-09T10:29:45,469 cdef char* version = ln_version() 2021-07-09T10:29:45,469 ^ 2021-07-09T10:29:45,469 ------------------------------------------------------------ 2021-07-09T10:29:45,469 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:45,469 Error compiling Cython file: 2021-07-09T10:29:45,469 ------------------------------------------------------------ 2021-07-09T10:29:45,469 ... 2021-07-09T10:29:45,470 from libc.string cimport strlen 2021-07-09T10:29:45,470 def lib_version(): 2021-07-09T10:29:45,470 cdef char* version = ln_version() 2021-07-09T10:29:45,470 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:45,470 ^ 2021-07-09T10:29:45,470 ------------------------------------------------------------ 2021-07-09T10:29:45,471 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:29:45,471 Error compiling Cython file: 2021-07-09T10:29:45,471 ------------------------------------------------------------ 2021-07-09T10:29:45,471 ... 2021-07-09T10:29:45,471 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:45,472 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:45,472 cdef char *cstr_filename 2021-07-09T10:29:45,472 if PyByteArray_Check(obj): 2021-07-09T10:29:45,472 ^ 2021-07-09T10:29:45,472 ------------------------------------------------------------ 2021-07-09T10:29:45,472 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:29:45,473 Error compiling Cython file: 2021-07-09T10:29:45,473 ------------------------------------------------------------ 2021-07-09T10:29:45,473 ... 2021-07-09T10:29:45,473 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:45,473 cdef char *cstr_filename 2021-07-09T10:29:45,473 if PyByteArray_Check(obj): 2021-07-09T10:29:45,474 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:45,474 ^ 2021-07-09T10:29:45,474 ------------------------------------------------------------ 2021-07-09T10:29:45,474 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:29:45,474 Error compiling Cython file: 2021-07-09T10:29:45,474 ------------------------------------------------------------ 2021-07-09T10:29:45,474 ... 2021-07-09T10:29:45,475 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:45,475 cdef char *cstr_filename 2021-07-09T10:29:45,475 if PyByteArray_Check(obj): 2021-07-09T10:29:45,475 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:45,475 ^ 2021-07-09T10:29:45,475 ------------------------------------------------------------ 2021-07-09T10:29:45,476 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:45,476 Error compiling Cython file: 2021-07-09T10:29:45,476 ------------------------------------------------------------ 2021-07-09T10:29:45,476 ... 2021-07-09T10:29:45,476 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:45,476 cdef char *cstr_filename 2021-07-09T10:29:45,476 if PyByteArray_Check(obj): 2021-07-09T10:29:45,477 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:45,477 elif PyBytes_Check(obj): 2021-07-09T10:29:45,477 ^ 2021-07-09T10:29:45,477 ------------------------------------------------------------ 2021-07-09T10:29:45,477 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:29:45,477 Error compiling Cython file: 2021-07-09T10:29:45,477 ------------------------------------------------------------ 2021-07-09T10:29:45,478 ... 2021-07-09T10:29:45,478 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:45,478 cdef char *cstr_filename 2021-07-09T10:29:45,478 if PyByteArray_Check(obj): 2021-07-09T10:29:45,478 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:45,478 elif PyBytes_Check(obj): 2021-07-09T10:29:45,478 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:45,478 ^ 2021-07-09T10:29:45,478 ------------------------------------------------------------ 2021-07-09T10:29:45,479 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:29:45,479 Error compiling Cython file: 2021-07-09T10:29:45,479 ------------------------------------------------------------ 2021-07-09T10:29:45,479 ... 2021-07-09T10:29:45,479 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:45,479 cdef char *cstr_filename 2021-07-09T10:29:45,479 if PyByteArray_Check(obj): 2021-07-09T10:29:45,480 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:45,480 elif PyBytes_Check(obj): 2021-07-09T10:29:45,480 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:45,480 ^ 2021-07-09T10:29:45,480 ------------------------------------------------------------ 2021-07-09T10:29:45,480 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:45,481 Error compiling Cython file: 2021-07-09T10:29:45,481 ------------------------------------------------------------ 2021-07-09T10:29:45,481 ... 2021-07-09T10:29:45,481 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:45,481 cdef ee_ctx cee_ctx 2021-07-09T10:29:45,481 def __cinit__(self): 2021-07-09T10:29:45,481 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:45,482 ^ 2021-07-09T10:29:45,482 ------------------------------------------------------------ 2021-07-09T10:29:45,482 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:29:45,482 Error compiling Cython file: 2021-07-09T10:29:45,482 ------------------------------------------------------------ 2021-07-09T10:29:45,482 ... 2021-07-09T10:29:45,483 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:45,483 cdef ee_ctx cee_ctx 2021-07-09T10:29:45,483 def __cinit__(self): 2021-07-09T10:29:45,483 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:45,483 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:45,483 ^ 2021-07-09T10:29:45,483 ------------------------------------------------------------ 2021-07-09T10:29:45,484 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:29:45,484 Error compiling Cython file: 2021-07-09T10:29:45,484 ------------------------------------------------------------ 2021-07-09T10:29:45,484 ... 2021-07-09T10:29:45,484 cdef ee_ctx cee_ctx 2021-07-09T10:29:45,484 def __cinit__(self): 2021-07-09T10:29:45,484 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:45,485 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:45,485 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:29:45,485 ^ 2021-07-09T10:29:45,485 ------------------------------------------------------------ 2021-07-09T10:29:45,485 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:29:45,485 Error compiling Cython file: 2021-07-09T10:29:45,485 ------------------------------------------------------------ 2021-07-09T10:29:45,486 ... 2021-07-09T10:29:45,486 def __init__(self): 2021-07-09T10:29:45,486 pass 2021-07-09T10:29:45,486 def __dealoc__(self): 2021-07-09T10:29:45,486 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:45,486 ^ 2021-07-09T10:29:45,486 ------------------------------------------------------------ 2021-07-09T10:29:45,487 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:29:45,487 Error compiling Cython file: 2021-07-09T10:29:45,487 ------------------------------------------------------------ 2021-07-09T10:29:45,487 ... 2021-07-09T10:29:45,487 def __init__(self): 2021-07-09T10:29:45,487 pass 2021-07-09T10:29:45,488 def __dealoc__(self): 2021-07-09T10:29:45,488 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:45,488 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:45,488 ^ 2021-07-09T10:29:45,488 ------------------------------------------------------------ 2021-07-09T10:29:45,488 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:29:45,488 Error compiling Cython file: 2021-07-09T10:29:45,489 ------------------------------------------------------------ 2021-07-09T10:29:45,489 ... 2021-07-09T10:29:45,489 def __dealoc__(self): 2021-07-09T10:29:45,489 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:45,489 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:45,489 def load_rule(self, object rule): 2021-07-09T10:29:45,489 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:45,489 ^ 2021-07-09T10:29:45,490 ------------------------------------------------------------ 2021-07-09T10:29:45,490 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2021-07-09T10:29:45,490 Error compiling Cython file: 2021-07-09T10:29:45,490 ------------------------------------------------------------ 2021-07-09T10:29:45,490 ... 2021-07-09T10:29:45,491 def load_rule(self, object rule): 2021-07-09T10:29:45,491 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:45,491 def load_rules(self, object filename): 2021-07-09T10:29:45,491 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2021-07-09T10:29:45,491 ^ 2021-07-09T10:29:45,491 ------------------------------------------------------------ 2021-07-09T10:29:45,491 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:29:45,492 Error compiling Cython file: 2021-07-09T10:29:45,492 ------------------------------------------------------------ 2021-07-09T10:29:45,492 ... 2021-07-09T10:29:45,492 def normalize(self, object data, int length): 2021-07-09T10:29:45,492 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2021-07-09T10:29:45,492 if normal == NULL: 2021-07-09T10:29:45,492 return None 2021-07-09T10:29:45,493 else: 2021-07-09T10:29:45,493 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:45,493 ^ 2021-07-09T10:29:45,493 ------------------------------------------------------------ 2021-07-09T10:29:45,493 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:29:45,493 Error compiling Cython file: 2021-07-09T10:29:45,493 ------------------------------------------------------------ 2021-07-09T10:29:45,494 ... 2021-07-09T10:29:45,494 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:45,494 free(normal) 2021-07-09T10:29:45,494 return pyobj 2021-07-09T10:29:45,494 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:45,494 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:45,494 ^ 2021-07-09T10:29:45,494 ------------------------------------------------------------ 2021-07-09T10:29:45,495 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:29:45,495 Error compiling Cython file: 2021-07-09T10:29:45,495 ------------------------------------------------------------ 2021-07-09T10:29:45,495 ... 2021-07-09T10:29:45,495 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:45,495 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:45,495 cdef ee_event *event = NULL 2021-07-09T10:29:45,495 cdef char *formatted = NULL 2021-07-09T10:29:45,496 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:45,496 ^ 2021-07-09T10:29:45,496 ------------------------------------------------------------ 2021-07-09T10:29:45,496 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2021-07-09T10:29:45,496 Error compiling Cython file: 2021-07-09T10:29:45,496 ------------------------------------------------------------ 2021-07-09T10:29:45,497 ... 2021-07-09T10:29:45,497 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:45,497 if event != NULL: 2021-07-09T10:29:45,497 formatted = self.format_JSON(event) 2021-07-09T10:29:45,497 ee_deleteEvent(event) 2021-07-09T10:29:45,497 ^ 2021-07-09T10:29:45,497 ------------------------------------------------------------ 2021-07-09T10:29:45,498 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:29:45,498 Error compiling Cython file: 2021-07-09T10:29:45,498 ------------------------------------------------------------ 2021-07-09T10:29:45,498 ... 2021-07-09T10:29:45,498 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:45,498 if event != NULL: 2021-07-09T10:29:45,498 formatted = self.format_JSON(event) 2021-07-09T10:29:45,499 ee_deleteEvent(event) 2021-07-09T10:29:45,499 es_deleteStr(in_str) 2021-07-09T10:29:45,499 ^ 2021-07-09T10:29:45,499 ------------------------------------------------------------ 2021-07-09T10:29:45,499 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2021-07-09T10:29:45,499 Error compiling Cython file: 2021-07-09T10:29:45,499 ------------------------------------------------------------ 2021-07-09T10:29:45,500 ... 2021-07-09T10:29:45,500 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:45,500 cdef es_str_t *out_str = NULL 2021-07-09T10:29:45,500 cdef char *cstr = NULL 2021-07-09T10:29:45,500 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:45,500 ^ 2021-07-09T10:29:45,500 ------------------------------------------------------------ 2021-07-09T10:29:45,501 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:29:45,501 Error compiling Cython file: 2021-07-09T10:29:45,501 ------------------------------------------------------------ 2021-07-09T10:29:45,501 ... 2021-07-09T10:29:45,501 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:45,501 cdef es_str_t *out_str = NULL 2021-07-09T10:29:45,501 cdef char *cstr = NULL 2021-07-09T10:29:45,502 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:45,502 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:45,502 ^ 2021-07-09T10:29:45,502 ------------------------------------------------------------ 2021-07-09T10:29:45,502 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2021-07-09T10:29:45,502 Error compiling Cython file: 2021-07-09T10:29:45,502 ------------------------------------------------------------ 2021-07-09T10:29:45,503 ... 2021-07-09T10:29:45,503 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:45,503 cdef es_str_t *out_str = NULL 2021-07-09T10:29:45,503 cdef char *cstr = NULL 2021-07-09T10:29:45,503 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:45,503 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:45,503 ^ 2021-07-09T10:29:45,504 ------------------------------------------------------------ 2021-07-09T10:29:45,504 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2021-07-09T10:29:45,504 Error compiling Cython file: 2021-07-09T10:29:45,504 ------------------------------------------------------------ 2021-07-09T10:29:45,504 ... 2021-07-09T10:29:45,504 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:45,504 cdef es_str_t *out_str = NULL 2021-07-09T10:29:45,504 cdef char *cstr = NULL 2021-07-09T10:29:45,505 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:45,505 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:45,505 ^ 2021-07-09T10:29:45,505 ------------------------------------------------------------ 2021-07-09T10:29:45,505 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:45,662 running egg_info 2021-07-09T10:29:45,664 creating /tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info 2021-07-09T10:29:45,665 writing /tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info/PKG-INFO 2021-07-09T10:29:45,667 writing dependency_links to /tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info/dependency_links.txt 2021-07-09T10:29:45,670 writing top-level names to /tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info/top_level.txt 2021-07-09T10:29:45,671 writing manifest file '/tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:29:45,820 reading manifest file '/tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:29:45,822 reading manifest template 'MANIFEST.in' 2021-07-09T10:29:45,825 writing manifest file '/tmp/pip-pip-egg-info-3993rifo/pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:29:45,953 Source in /tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516 has version 0.1.2, which satisfies requirement pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz#sha256=0766de8b88b9da5d4aa61acc08d313c47ae28c9a7beee3c39cf508d3a70af4a8 2021-07-09T10:29:45,954 Removed pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz#sha256=0766de8b88b9da5d4aa61acc08d313c47ae28c9a7beee3c39cf508d3a70af4a8 from build tracker '/tmp/pip-req-tracker-ox3iiuib' 2021-07-09T10:29:45,958 Created temporary directory: /tmp/pip-unpack-_8pnxz4j 2021-07-09T10:29:45,959 Building wheels for collected packages: pylognorm 2021-07-09T10:29:45,963 Created temporary directory: /tmp/pip-wheel-uc8x0kqe 2021-07-09T10:29:45,963 Building wheel for pylognorm (setup.py): started 2021-07-09T10:29:45,964 Destination directory: /tmp/pip-wheel-uc8x0kqe 2021-07-09T10:29:45,964 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-uc8x0kqe 2021-07-09T10:29:47,440 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/pylognorm/bindings/liblognorm.pyx 2021-07-09T10:29:47,440 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T10:29:47,517 Error compiling Cython file: 2021-07-09T10:29:47,517 ------------------------------------------------------------ 2021-07-09T10:29:47,517 ... 2021-07-09T10:29:47,518 from os import path 2021-07-09T10:29:47,518 from liblognorm cimport * 2021-07-09T10:29:47,518 ^ 2021-07-09T10:29:47,518 ------------------------------------------------------------ 2021-07-09T10:29:47,518 pylognorm/bindings/liblognorm.pyx:2:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:29:47,638 Error compiling Cython file: 2021-07-09T10:29:47,639 ------------------------------------------------------------ 2021-07-09T10:29:47,639 ... 2021-07-09T10:29:47,639 return self.cnormalizer.normalize(logline, len(logline)) 2021-07-09T10:29:47,639 cdef class CLogNormalizer(object): 2021-07-09T10:29:47,639 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:47,640 ^ 2021-07-09T10:29:47,640 ------------------------------------------------------------ 2021-07-09T10:29:47,640 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2021-07-09T10:29:47,640 Error compiling Cython file: 2021-07-09T10:29:47,640 ------------------------------------------------------------ 2021-07-09T10:29:47,640 ... 2021-07-09T10:29:47,641 cdef class CLogNormalizer(object): 2021-07-09T10:29:47,641 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:47,641 cdef ee_ctx cee_ctx 2021-07-09T10:29:47,641 ^ 2021-07-09T10:29:47,641 ------------------------------------------------------------ 2021-07-09T10:29:47,642 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2021-07-09T10:29:47,642 Error compiling Cython file: 2021-07-09T10:29:47,642 ------------------------------------------------------------ 2021-07-09T10:29:47,642 ... 2021-07-09T10:29:47,642 formatted = self.format_JSON(event) 2021-07-09T10:29:47,642 ee_deleteEvent(event) 2021-07-09T10:29:47,642 es_deleteStr(in_str) 2021-07-09T10:29:47,643 return formatted 2021-07-09T10:29:47,643 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:47,643 ^ 2021-07-09T10:29:47,643 ------------------------------------------------------------ 2021-07-09T10:29:47,643 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2021-07-09T10:29:47,646 Error compiling Cython file: 2021-07-09T10:29:47,647 ------------------------------------------------------------ 2021-07-09T10:29:47,647 ... 2021-07-09T10:29:47,647 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:47,647 free(normal) 2021-07-09T10:29:47,647 return pyobj 2021-07-09T10:29:47,647 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:47,647 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:47,648 ^ 2021-07-09T10:29:47,648 ------------------------------------------------------------ 2021-07-09T10:29:47,648 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:47,648 Error compiling Cython file: 2021-07-09T10:29:47,648 ------------------------------------------------------------ 2021-07-09T10:29:47,648 ... 2021-07-09T10:29:47,648 free(normal) 2021-07-09T10:29:47,649 return pyobj 2021-07-09T10:29:47,649 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:47,649 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:47,649 cdef ee_event *event = NULL 2021-07-09T10:29:47,649 ^ 2021-07-09T10:29:47,649 ------------------------------------------------------------ 2021-07-09T10:29:47,650 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2021-07-09T10:29:47,650 Error compiling Cython file: 2021-07-09T10:29:47,650 ------------------------------------------------------------ 2021-07-09T10:29:47,650 ... 2021-07-09T10:29:47,650 ee_deleteEvent(event) 2021-07-09T10:29:47,650 es_deleteStr(in_str) 2021-07-09T10:29:47,650 return formatted 2021-07-09T10:29:47,651 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:47,651 cdef es_str_t *out_str = NULL 2021-07-09T10:29:47,651 ^ 2021-07-09T10:29:47,651 ------------------------------------------------------------ 2021-07-09T10:29:47,651 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:47,735 Error compiling Cython file: 2021-07-09T10:29:47,735 ------------------------------------------------------------ 2021-07-09T10:29:47,735 ... 2021-07-09T10:29:47,735 from libc.stdlib cimport malloc, free 2021-07-09T10:29:47,735 from libc.string cimport strlen 2021-07-09T10:29:47,736 def lib_version(): 2021-07-09T10:29:47,736 cdef char* version = ln_version() 2021-07-09T10:29:47,736 ^ 2021-07-09T10:29:47,736 ------------------------------------------------------------ 2021-07-09T10:29:47,736 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2021-07-09T10:29:47,736 Error compiling Cython file: 2021-07-09T10:29:47,737 ------------------------------------------------------------ 2021-07-09T10:29:47,737 ... 2021-07-09T10:29:47,737 from libc.stdlib cimport malloc, free 2021-07-09T10:29:47,737 from libc.string cimport strlen 2021-07-09T10:29:47,737 def lib_version(): 2021-07-09T10:29:47,737 cdef char* version = ln_version() 2021-07-09T10:29:47,737 ^ 2021-07-09T10:29:47,738 ------------------------------------------------------------ 2021-07-09T10:29:47,738 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:47,738 Error compiling Cython file: 2021-07-09T10:29:47,738 ------------------------------------------------------------ 2021-07-09T10:29:47,738 ... 2021-07-09T10:29:47,738 from libc.string cimport strlen 2021-07-09T10:29:47,739 def lib_version(): 2021-07-09T10:29:47,739 cdef char* version = ln_version() 2021-07-09T10:29:47,739 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:47,739 ^ 2021-07-09T10:29:47,739 ------------------------------------------------------------ 2021-07-09T10:29:47,739 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:29:47,740 Error compiling Cython file: 2021-07-09T10:29:47,740 ------------------------------------------------------------ 2021-07-09T10:29:47,740 ... 2021-07-09T10:29:47,740 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:47,741 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:47,741 cdef char *cstr_filename 2021-07-09T10:29:47,741 if PyByteArray_Check(obj): 2021-07-09T10:29:47,741 ^ 2021-07-09T10:29:47,741 ------------------------------------------------------------ 2021-07-09T10:29:47,741 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:29:47,741 Error compiling Cython file: 2021-07-09T10:29:47,742 ------------------------------------------------------------ 2021-07-09T10:29:47,742 ... 2021-07-09T10:29:47,742 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:47,742 cdef char *cstr_filename 2021-07-09T10:29:47,742 if PyByteArray_Check(obj): 2021-07-09T10:29:47,742 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:47,742 ^ 2021-07-09T10:29:47,743 ------------------------------------------------------------ 2021-07-09T10:29:47,743 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:29:47,743 Error compiling Cython file: 2021-07-09T10:29:47,743 ------------------------------------------------------------ 2021-07-09T10:29:47,743 ... 2021-07-09T10:29:47,744 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:47,744 cdef char *cstr_filename 2021-07-09T10:29:47,744 if PyByteArray_Check(obj): 2021-07-09T10:29:47,744 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:47,744 ^ 2021-07-09T10:29:47,744 ------------------------------------------------------------ 2021-07-09T10:29:47,744 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:47,745 Error compiling Cython file: 2021-07-09T10:29:47,745 ------------------------------------------------------------ 2021-07-09T10:29:47,745 ... 2021-07-09T10:29:47,745 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:47,745 cdef char *cstr_filename 2021-07-09T10:29:47,745 if PyByteArray_Check(obj): 2021-07-09T10:29:47,745 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:47,746 elif PyBytes_Check(obj): 2021-07-09T10:29:47,746 ^ 2021-07-09T10:29:47,746 ------------------------------------------------------------ 2021-07-09T10:29:47,746 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:29:47,746 Error compiling Cython file: 2021-07-09T10:29:47,746 ------------------------------------------------------------ 2021-07-09T10:29:47,746 ... 2021-07-09T10:29:47,747 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:47,747 cdef char *cstr_filename 2021-07-09T10:29:47,747 if PyByteArray_Check(obj): 2021-07-09T10:29:47,747 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:47,747 elif PyBytes_Check(obj): 2021-07-09T10:29:47,747 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:47,747 ^ 2021-07-09T10:29:47,747 ------------------------------------------------------------ 2021-07-09T10:29:47,748 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:29:47,748 Error compiling Cython file: 2021-07-09T10:29:47,748 ------------------------------------------------------------ 2021-07-09T10:29:47,748 ... 2021-07-09T10:29:47,748 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:47,748 cdef char *cstr_filename 2021-07-09T10:29:47,748 if PyByteArray_Check(obj): 2021-07-09T10:29:47,749 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:47,749 elif PyBytes_Check(obj): 2021-07-09T10:29:47,749 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:47,749 ^ 2021-07-09T10:29:47,749 ------------------------------------------------------------ 2021-07-09T10:29:47,749 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:47,750 Error compiling Cython file: 2021-07-09T10:29:47,750 ------------------------------------------------------------ 2021-07-09T10:29:47,750 ... 2021-07-09T10:29:47,750 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:47,750 cdef ee_ctx cee_ctx 2021-07-09T10:29:47,750 def __cinit__(self): 2021-07-09T10:29:47,750 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:47,751 ^ 2021-07-09T10:29:47,751 ------------------------------------------------------------ 2021-07-09T10:29:47,751 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:29:47,751 Error compiling Cython file: 2021-07-09T10:29:47,751 ------------------------------------------------------------ 2021-07-09T10:29:47,751 ... 2021-07-09T10:29:47,751 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:47,752 cdef ee_ctx cee_ctx 2021-07-09T10:29:47,752 def __cinit__(self): 2021-07-09T10:29:47,752 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:47,752 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:47,752 ^ 2021-07-09T10:29:47,752 ------------------------------------------------------------ 2021-07-09T10:29:47,752 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:29:47,753 Error compiling Cython file: 2021-07-09T10:29:47,753 ------------------------------------------------------------ 2021-07-09T10:29:47,753 ... 2021-07-09T10:29:47,753 cdef ee_ctx cee_ctx 2021-07-09T10:29:47,753 def __cinit__(self): 2021-07-09T10:29:47,753 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:47,754 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:47,754 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:29:47,754 ^ 2021-07-09T10:29:47,754 ------------------------------------------------------------ 2021-07-09T10:29:47,754 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:29:47,754 Error compiling Cython file: 2021-07-09T10:29:47,754 ------------------------------------------------------------ 2021-07-09T10:29:47,755 ... 2021-07-09T10:29:47,755 def __init__(self): 2021-07-09T10:29:47,755 pass 2021-07-09T10:29:47,755 def __dealoc__(self): 2021-07-09T10:29:47,755 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:47,755 ^ 2021-07-09T10:29:47,755 ------------------------------------------------------------ 2021-07-09T10:29:47,756 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:29:47,756 Error compiling Cython file: 2021-07-09T10:29:47,756 ------------------------------------------------------------ 2021-07-09T10:29:47,756 ... 2021-07-09T10:29:47,756 def __init__(self): 2021-07-09T10:29:47,756 pass 2021-07-09T10:29:47,757 def __dealoc__(self): 2021-07-09T10:29:47,757 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:47,757 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:47,757 ^ 2021-07-09T10:29:47,757 ------------------------------------------------------------ 2021-07-09T10:29:47,757 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:29:47,757 Error compiling Cython file: 2021-07-09T10:29:47,758 ------------------------------------------------------------ 2021-07-09T10:29:47,758 ... 2021-07-09T10:29:47,758 def __dealoc__(self): 2021-07-09T10:29:47,758 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:47,758 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:47,758 def load_rule(self, object rule): 2021-07-09T10:29:47,758 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:47,759 ^ 2021-07-09T10:29:47,759 ------------------------------------------------------------ 2021-07-09T10:29:47,759 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2021-07-09T10:29:47,759 Error compiling Cython file: 2021-07-09T10:29:47,759 ------------------------------------------------------------ 2021-07-09T10:29:47,759 ... 2021-07-09T10:29:47,760 def load_rule(self, object rule): 2021-07-09T10:29:47,760 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:47,760 def load_rules(self, object filename): 2021-07-09T10:29:47,760 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2021-07-09T10:29:47,760 ^ 2021-07-09T10:29:47,760 ------------------------------------------------------------ 2021-07-09T10:29:47,760 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:29:47,761 Error compiling Cython file: 2021-07-09T10:29:47,761 ------------------------------------------------------------ 2021-07-09T10:29:47,761 ... 2021-07-09T10:29:47,761 def normalize(self, object data, int length): 2021-07-09T10:29:47,761 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2021-07-09T10:29:47,761 if normal == NULL: 2021-07-09T10:29:47,761 return None 2021-07-09T10:29:47,761 else: 2021-07-09T10:29:47,762 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:47,762 ^ 2021-07-09T10:29:47,762 ------------------------------------------------------------ 2021-07-09T10:29:47,762 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:29:47,762 Error compiling Cython file: 2021-07-09T10:29:47,762 ------------------------------------------------------------ 2021-07-09T10:29:47,762 ... 2021-07-09T10:29:47,763 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:47,763 free(normal) 2021-07-09T10:29:47,763 return pyobj 2021-07-09T10:29:47,763 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:47,763 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:47,763 ^ 2021-07-09T10:29:47,763 ------------------------------------------------------------ 2021-07-09T10:29:47,764 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:29:47,764 Error compiling Cython file: 2021-07-09T10:29:47,764 ------------------------------------------------------------ 2021-07-09T10:29:47,764 ... 2021-07-09T10:29:47,764 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:47,764 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:47,764 cdef ee_event *event = NULL 2021-07-09T10:29:47,764 cdef char *formatted = NULL 2021-07-09T10:29:47,765 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:47,765 ^ 2021-07-09T10:29:47,765 ------------------------------------------------------------ 2021-07-09T10:29:47,765 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2021-07-09T10:29:47,765 Error compiling Cython file: 2021-07-09T10:29:47,765 ------------------------------------------------------------ 2021-07-09T10:29:47,766 ... 2021-07-09T10:29:47,766 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:47,766 if event != NULL: 2021-07-09T10:29:47,766 formatted = self.format_JSON(event) 2021-07-09T10:29:47,766 ee_deleteEvent(event) 2021-07-09T10:29:47,766 ^ 2021-07-09T10:29:47,766 ------------------------------------------------------------ 2021-07-09T10:29:47,767 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:29:47,767 Error compiling Cython file: 2021-07-09T10:29:47,767 ------------------------------------------------------------ 2021-07-09T10:29:47,767 ... 2021-07-09T10:29:47,767 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:47,767 if event != NULL: 2021-07-09T10:29:47,768 formatted = self.format_JSON(event) 2021-07-09T10:29:47,768 ee_deleteEvent(event) 2021-07-09T10:29:47,768 es_deleteStr(in_str) 2021-07-09T10:29:47,768 ^ 2021-07-09T10:29:47,768 ------------------------------------------------------------ 2021-07-09T10:29:47,768 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2021-07-09T10:29:47,768 Error compiling Cython file: 2021-07-09T10:29:47,768 ------------------------------------------------------------ 2021-07-09T10:29:47,769 ... 2021-07-09T10:29:47,769 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:47,769 cdef es_str_t *out_str = NULL 2021-07-09T10:29:47,769 cdef char *cstr = NULL 2021-07-09T10:29:47,769 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:47,769 ^ 2021-07-09T10:29:47,769 ------------------------------------------------------------ 2021-07-09T10:29:47,770 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:29:47,770 Error compiling Cython file: 2021-07-09T10:29:47,770 ------------------------------------------------------------ 2021-07-09T10:29:47,770 ... 2021-07-09T10:29:47,770 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:47,770 cdef es_str_t *out_str = NULL 2021-07-09T10:29:47,770 cdef char *cstr = NULL 2021-07-09T10:29:47,771 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:47,771 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:47,771 ^ 2021-07-09T10:29:47,771 ------------------------------------------------------------ 2021-07-09T10:29:47,771 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2021-07-09T10:29:47,771 Error compiling Cython file: 2021-07-09T10:29:47,771 ------------------------------------------------------------ 2021-07-09T10:29:47,772 ... 2021-07-09T10:29:47,772 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:47,772 cdef es_str_t *out_str = NULL 2021-07-09T10:29:47,772 cdef char *cstr = NULL 2021-07-09T10:29:47,772 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:47,772 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:47,772 ^ 2021-07-09T10:29:47,772 ------------------------------------------------------------ 2021-07-09T10:29:47,773 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2021-07-09T10:29:47,773 Error compiling Cython file: 2021-07-09T10:29:47,773 ------------------------------------------------------------ 2021-07-09T10:29:47,773 ... 2021-07-09T10:29:47,773 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:47,773 cdef es_str_t *out_str = NULL 2021-07-09T10:29:47,773 cdef char *cstr = NULL 2021-07-09T10:29:47,774 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:47,774 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:47,774 ^ 2021-07-09T10:29:47,774 ------------------------------------------------------------ 2021-07-09T10:29:47,774 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:47,953 running bdist_wheel 2021-07-09T10:29:47,956 running build 2021-07-09T10:29:47,956 running build_py 2021-07-09T10:29:48,091 creating build 2021-07-09T10:29:48,092 creating build/lib.linux-armv7l-3.9 2021-07-09T10:29:48,092 creating build/lib.linux-armv7l-3.9/pylognorm 2021-07-09T10:29:48,094 copying pylognorm/__init__.py -> build/lib.linux-armv7l-3.9/pylognorm 2021-07-09T10:29:48,097 creating build/lib.linux-armv7l-3.9/pylognorm/tests 2021-07-09T10:29:48,098 copying pylognorm/tests/bindings_test.py -> build/lib.linux-armv7l-3.9/pylognorm/tests 2021-07-09T10:29:48,100 copying pylognorm/tests/__init__.py -> build/lib.linux-armv7l-3.9/pylognorm/tests 2021-07-09T10:29:48,102 creating build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:29:48,103 copying pylognorm/bindings/__init__.py -> build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:29:48,104 running egg_info 2021-07-09T10:29:48,107 writing pylognorm.egg-info/PKG-INFO 2021-07-09T10:29:48,108 writing dependency_links to pylognorm.egg-info/dependency_links.txt 2021-07-09T10:29:48,110 writing top-level names to pylognorm.egg-info/top_level.txt 2021-07-09T10:29:48,118 reading manifest file 'pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:29:48,120 reading manifest template 'MANIFEST.in' 2021-07-09T10:29:48,124 writing manifest file 'pylognorm.egg-info/SOURCES.txt' 2021-07-09T10:29:48,127 copying pylognorm/bindings/liblognorm.c -> build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:29:48,130 copying pylognorm/bindings/liblognorm.pyx -> build/lib.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:29:48,134 running build_ext 2021-07-09T10:29:48,139 cythoning pylognorm/bindings/liblognorm.pyx to pylognorm/bindings/liblognorm.c 2021-07-09T10:29:48,217 Error compiling Cython file: 2021-07-09T10:29:48,218 ------------------------------------------------------------ 2021-07-09T10:29:48,218 ... 2021-07-09T10:29:48,218 from os import path 2021-07-09T10:29:48,218 from liblognorm cimport * 2021-07-09T10:29:48,218 ^ 2021-07-09T10:29:48,218 ------------------------------------------------------------ 2021-07-09T10:29:48,218 pylognorm/bindings/liblognorm.pyx:2:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:29:48,335 Error compiling Cython file: 2021-07-09T10:29:48,335 ------------------------------------------------------------ 2021-07-09T10:29:48,335 ... 2021-07-09T10:29:48,335 return self.cnormalizer.normalize(logline, len(logline)) 2021-07-09T10:29:48,336 cdef class CLogNormalizer(object): 2021-07-09T10:29:48,336 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:48,336 ^ 2021-07-09T10:29:48,336 ------------------------------------------------------------ 2021-07-09T10:29:48,336 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2021-07-09T10:29:48,337 Error compiling Cython file: 2021-07-09T10:29:48,337 ------------------------------------------------------------ 2021-07-09T10:29:48,337 ... 2021-07-09T10:29:48,337 cdef class CLogNormalizer(object): 2021-07-09T10:29:48,337 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:48,338 cdef ee_ctx cee_ctx 2021-07-09T10:29:48,338 ^ 2021-07-09T10:29:48,338 ------------------------------------------------------------ 2021-07-09T10:29:48,338 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2021-07-09T10:29:48,338 Error compiling Cython file: 2021-07-09T10:29:48,338 ------------------------------------------------------------ 2021-07-09T10:29:48,338 ... 2021-07-09T10:29:48,339 formatted = self.format_JSON(event) 2021-07-09T10:29:48,339 ee_deleteEvent(event) 2021-07-09T10:29:48,339 es_deleteStr(in_str) 2021-07-09T10:29:48,339 return formatted 2021-07-09T10:29:48,339 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:48,339 ^ 2021-07-09T10:29:48,339 ------------------------------------------------------------ 2021-07-09T10:29:48,340 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2021-07-09T10:29:48,343 Error compiling Cython file: 2021-07-09T10:29:48,343 ------------------------------------------------------------ 2021-07-09T10:29:48,343 ... 2021-07-09T10:29:48,343 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:48,343 free(normal) 2021-07-09T10:29:48,343 return pyobj 2021-07-09T10:29:48,344 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:48,344 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:48,344 ^ 2021-07-09T10:29:48,344 ------------------------------------------------------------ 2021-07-09T10:29:48,344 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:48,344 Error compiling Cython file: 2021-07-09T10:29:48,345 ------------------------------------------------------------ 2021-07-09T10:29:48,345 ... 2021-07-09T10:29:48,345 free(normal) 2021-07-09T10:29:48,345 return pyobj 2021-07-09T10:29:48,345 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:48,345 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:48,345 cdef ee_event *event = NULL 2021-07-09T10:29:48,345 ^ 2021-07-09T10:29:48,346 ------------------------------------------------------------ 2021-07-09T10:29:48,346 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2021-07-09T10:29:48,346 Error compiling Cython file: 2021-07-09T10:29:48,346 ------------------------------------------------------------ 2021-07-09T10:29:48,346 ... 2021-07-09T10:29:48,346 ee_deleteEvent(event) 2021-07-09T10:29:48,346 es_deleteStr(in_str) 2021-07-09T10:29:48,347 return formatted 2021-07-09T10:29:48,347 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:48,347 cdef es_str_t *out_str = NULL 2021-07-09T10:29:48,347 ^ 2021-07-09T10:29:48,347 ------------------------------------------------------------ 2021-07-09T10:29:48,347 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:48,392 Error compiling Cython file: 2021-07-09T10:29:48,392 ------------------------------------------------------------ 2021-07-09T10:29:48,392 ... 2021-07-09T10:29:48,392 from libc.stdlib cimport malloc, free 2021-07-09T10:29:48,392 from libc.string cimport strlen 2021-07-09T10:29:48,393 def lib_version(): 2021-07-09T10:29:48,393 cdef char* version = ln_version() 2021-07-09T10:29:48,393 ^ 2021-07-09T10:29:48,393 ------------------------------------------------------------ 2021-07-09T10:29:48,393 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2021-07-09T10:29:48,394 Error compiling Cython file: 2021-07-09T10:29:48,394 ------------------------------------------------------------ 2021-07-09T10:29:48,394 ... 2021-07-09T10:29:48,394 from libc.stdlib cimport malloc, free 2021-07-09T10:29:48,394 from libc.string cimport strlen 2021-07-09T10:29:48,395 def lib_version(): 2021-07-09T10:29:48,395 cdef char* version = ln_version() 2021-07-09T10:29:48,395 ^ 2021-07-09T10:29:48,395 ------------------------------------------------------------ 2021-07-09T10:29:48,395 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:48,395 Error compiling Cython file: 2021-07-09T10:29:48,396 ------------------------------------------------------------ 2021-07-09T10:29:48,396 ... 2021-07-09T10:29:48,396 from libc.string cimport strlen 2021-07-09T10:29:48,396 def lib_version(): 2021-07-09T10:29:48,396 cdef char* version = ln_version() 2021-07-09T10:29:48,396 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:48,396 ^ 2021-07-09T10:29:48,397 ------------------------------------------------------------ 2021-07-09T10:29:48,397 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:29:48,397 Error compiling Cython file: 2021-07-09T10:29:48,397 ------------------------------------------------------------ 2021-07-09T10:29:48,397 ... 2021-07-09T10:29:48,397 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:48,398 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:48,398 cdef char *cstr_filename 2021-07-09T10:29:48,398 if PyByteArray_Check(obj): 2021-07-09T10:29:48,398 ^ 2021-07-09T10:29:48,398 ------------------------------------------------------------ 2021-07-09T10:29:48,398 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:29:48,399 Error compiling Cython file: 2021-07-09T10:29:48,399 ------------------------------------------------------------ 2021-07-09T10:29:48,399 ... 2021-07-09T10:29:48,399 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:48,399 cdef char *cstr_filename 2021-07-09T10:29:48,399 if PyByteArray_Check(obj): 2021-07-09T10:29:48,399 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:48,400 ^ 2021-07-09T10:29:48,400 ------------------------------------------------------------ 2021-07-09T10:29:48,400 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:29:48,400 Error compiling Cython file: 2021-07-09T10:29:48,400 ------------------------------------------------------------ 2021-07-09T10:29:48,400 ... 2021-07-09T10:29:48,401 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:48,401 cdef char *cstr_filename 2021-07-09T10:29:48,401 if PyByteArray_Check(obj): 2021-07-09T10:29:48,401 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:48,401 ^ 2021-07-09T10:29:48,401 ------------------------------------------------------------ 2021-07-09T10:29:48,401 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:48,402 Error compiling Cython file: 2021-07-09T10:29:48,402 ------------------------------------------------------------ 2021-07-09T10:29:48,402 ... 2021-07-09T10:29:48,402 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:48,402 cdef char *cstr_filename 2021-07-09T10:29:48,402 if PyByteArray_Check(obj): 2021-07-09T10:29:48,402 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:48,403 elif PyBytes_Check(obj): 2021-07-09T10:29:48,403 ^ 2021-07-09T10:29:48,403 ------------------------------------------------------------ 2021-07-09T10:29:48,403 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:29:48,403 Error compiling Cython file: 2021-07-09T10:29:48,403 ------------------------------------------------------------ 2021-07-09T10:29:48,404 ... 2021-07-09T10:29:48,404 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:48,404 cdef char *cstr_filename 2021-07-09T10:29:48,404 if PyByteArray_Check(obj): 2021-07-09T10:29:48,404 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:48,404 elif PyBytes_Check(obj): 2021-07-09T10:29:48,404 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:48,404 ^ 2021-07-09T10:29:48,404 ------------------------------------------------------------ 2021-07-09T10:29:48,405 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:29:48,405 Error compiling Cython file: 2021-07-09T10:29:48,405 ------------------------------------------------------------ 2021-07-09T10:29:48,405 ... 2021-07-09T10:29:48,405 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:48,405 cdef char *cstr_filename 2021-07-09T10:29:48,406 if PyByteArray_Check(obj): 2021-07-09T10:29:48,406 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:48,406 elif PyBytes_Check(obj): 2021-07-09T10:29:48,406 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:48,406 ^ 2021-07-09T10:29:48,406 ------------------------------------------------------------ 2021-07-09T10:29:48,406 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:48,407 Error compiling Cython file: 2021-07-09T10:29:48,407 ------------------------------------------------------------ 2021-07-09T10:29:48,407 ... 2021-07-09T10:29:48,407 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:48,407 cdef ee_ctx cee_ctx 2021-07-09T10:29:48,407 def __cinit__(self): 2021-07-09T10:29:48,408 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:48,408 ^ 2021-07-09T10:29:48,408 ------------------------------------------------------------ 2021-07-09T10:29:48,408 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:29:48,408 Error compiling Cython file: 2021-07-09T10:29:48,408 ------------------------------------------------------------ 2021-07-09T10:29:48,408 ... 2021-07-09T10:29:48,409 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:48,409 cdef ee_ctx cee_ctx 2021-07-09T10:29:48,409 def __cinit__(self): 2021-07-09T10:29:48,409 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:48,409 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:48,409 ^ 2021-07-09T10:29:48,409 ------------------------------------------------------------ 2021-07-09T10:29:48,410 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:29:48,410 Error compiling Cython file: 2021-07-09T10:29:48,410 ------------------------------------------------------------ 2021-07-09T10:29:48,410 ... 2021-07-09T10:29:48,410 cdef ee_ctx cee_ctx 2021-07-09T10:29:48,410 def __cinit__(self): 2021-07-09T10:29:48,410 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:48,411 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:48,411 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:29:48,411 ^ 2021-07-09T10:29:48,411 ------------------------------------------------------------ 2021-07-09T10:29:48,411 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:29:48,411 Error compiling Cython file: 2021-07-09T10:29:48,411 ------------------------------------------------------------ 2021-07-09T10:29:48,412 ... 2021-07-09T10:29:48,412 def __init__(self): 2021-07-09T10:29:48,412 pass 2021-07-09T10:29:48,412 def __dealoc__(self): 2021-07-09T10:29:48,412 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:48,412 ^ 2021-07-09T10:29:48,412 ------------------------------------------------------------ 2021-07-09T10:29:48,413 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:29:48,413 Error compiling Cython file: 2021-07-09T10:29:48,413 ------------------------------------------------------------ 2021-07-09T10:29:48,413 ... 2021-07-09T10:29:48,413 def __init__(self): 2021-07-09T10:29:48,413 pass 2021-07-09T10:29:48,414 def __dealoc__(self): 2021-07-09T10:29:48,414 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:48,414 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:48,414 ^ 2021-07-09T10:29:48,414 ------------------------------------------------------------ 2021-07-09T10:29:48,414 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:29:48,414 Error compiling Cython file: 2021-07-09T10:29:48,415 ------------------------------------------------------------ 2021-07-09T10:29:48,415 ... 2021-07-09T10:29:48,415 def __dealoc__(self): 2021-07-09T10:29:48,415 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:48,415 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:48,415 def load_rule(self, object rule): 2021-07-09T10:29:48,415 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:48,415 ^ 2021-07-09T10:29:48,416 ------------------------------------------------------------ 2021-07-09T10:29:48,416 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2021-07-09T10:29:48,416 Error compiling Cython file: 2021-07-09T10:29:48,416 ------------------------------------------------------------ 2021-07-09T10:29:48,416 ... 2021-07-09T10:29:48,416 def load_rule(self, object rule): 2021-07-09T10:29:48,417 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:48,417 def load_rules(self, object filename): 2021-07-09T10:29:48,417 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2021-07-09T10:29:48,417 ^ 2021-07-09T10:29:48,417 ------------------------------------------------------------ 2021-07-09T10:29:48,417 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:29:48,417 Error compiling Cython file: 2021-07-09T10:29:48,418 ------------------------------------------------------------ 2021-07-09T10:29:48,418 ... 2021-07-09T10:29:48,418 def normalize(self, object data, int length): 2021-07-09T10:29:48,418 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2021-07-09T10:29:48,418 if normal == NULL: 2021-07-09T10:29:48,418 return None 2021-07-09T10:29:48,418 else: 2021-07-09T10:29:48,418 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:48,418 ^ 2021-07-09T10:29:48,419 ------------------------------------------------------------ 2021-07-09T10:29:48,419 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:29:48,419 Error compiling Cython file: 2021-07-09T10:29:48,419 ------------------------------------------------------------ 2021-07-09T10:29:48,419 ... 2021-07-09T10:29:48,419 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:48,419 free(normal) 2021-07-09T10:29:48,420 return pyobj 2021-07-09T10:29:48,420 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:48,420 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:48,420 ^ 2021-07-09T10:29:48,420 ------------------------------------------------------------ 2021-07-09T10:29:48,420 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:29:48,421 Error compiling Cython file: 2021-07-09T10:29:48,421 ------------------------------------------------------------ 2021-07-09T10:29:48,421 ... 2021-07-09T10:29:48,421 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:48,421 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:48,421 cdef ee_event *event = NULL 2021-07-09T10:29:48,421 cdef char *formatted = NULL 2021-07-09T10:29:48,421 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:48,421 ^ 2021-07-09T10:29:48,422 ------------------------------------------------------------ 2021-07-09T10:29:48,422 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2021-07-09T10:29:48,422 Error compiling Cython file: 2021-07-09T10:29:48,422 ------------------------------------------------------------ 2021-07-09T10:29:48,422 ... 2021-07-09T10:29:48,422 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:48,423 if event != NULL: 2021-07-09T10:29:48,423 formatted = self.format_JSON(event) 2021-07-09T10:29:48,423 ee_deleteEvent(event) 2021-07-09T10:29:48,423 ^ 2021-07-09T10:29:48,423 ------------------------------------------------------------ 2021-07-09T10:29:48,423 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:29:48,424 Error compiling Cython file: 2021-07-09T10:29:48,424 ------------------------------------------------------------ 2021-07-09T10:29:48,424 ... 2021-07-09T10:29:48,424 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:48,424 if event != NULL: 2021-07-09T10:29:48,424 formatted = self.format_JSON(event) 2021-07-09T10:29:48,424 ee_deleteEvent(event) 2021-07-09T10:29:48,424 es_deleteStr(in_str) 2021-07-09T10:29:48,425 ^ 2021-07-09T10:29:48,425 ------------------------------------------------------------ 2021-07-09T10:29:48,425 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2021-07-09T10:29:48,425 Error compiling Cython file: 2021-07-09T10:29:48,425 ------------------------------------------------------------ 2021-07-09T10:29:48,425 ... 2021-07-09T10:29:48,425 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:48,426 cdef es_str_t *out_str = NULL 2021-07-09T10:29:48,426 cdef char *cstr = NULL 2021-07-09T10:29:48,426 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:48,426 ^ 2021-07-09T10:29:48,426 ------------------------------------------------------------ 2021-07-09T10:29:48,426 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:29:48,426 Error compiling Cython file: 2021-07-09T10:29:48,427 ------------------------------------------------------------ 2021-07-09T10:29:48,427 ... 2021-07-09T10:29:48,427 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:48,427 cdef es_str_t *out_str = NULL 2021-07-09T10:29:48,427 cdef char *cstr = NULL 2021-07-09T10:29:48,427 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:48,427 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:48,427 ^ 2021-07-09T10:29:48,428 ------------------------------------------------------------ 2021-07-09T10:29:48,428 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2021-07-09T10:29:48,428 Error compiling Cython file: 2021-07-09T10:29:48,428 ------------------------------------------------------------ 2021-07-09T10:29:48,428 ... 2021-07-09T10:29:48,428 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:48,428 cdef es_str_t *out_str = NULL 2021-07-09T10:29:48,428 cdef char *cstr = NULL 2021-07-09T10:29:48,429 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:48,429 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:48,429 ^ 2021-07-09T10:29:48,429 ------------------------------------------------------------ 2021-07-09T10:29:48,429 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2021-07-09T10:29:48,429 Error compiling Cython file: 2021-07-09T10:29:48,430 ------------------------------------------------------------ 2021-07-09T10:29:48,430 ... 2021-07-09T10:29:48,430 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:48,430 cdef es_str_t *out_str = NULL 2021-07-09T10:29:48,430 cdef char *cstr = NULL 2021-07-09T10:29:48,430 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:48,430 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:48,430 ^ 2021-07-09T10:29:48,430 ------------------------------------------------------------ 2021-07-09T10:29:48,431 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:48,464 building 'pylognorm.bindings.liblognorm' extension 2021-07-09T10:29:48,465 creating build/temp.linux-armv7l-3.9 2021-07-09T10:29:48,465 creating build/temp.linux-armv7l-3.9/pylognorm 2021-07-09T10:29:48,466 creating build/temp.linux-armv7l-3.9/pylognorm/bindings 2021-07-09T10:29:48,467 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c pylognorm/bindings/liblognorm.c -o build/temp.linux-armv7l-3.9/pylognorm/bindings/liblognorm.o 2021-07-09T10:29:48,525 pylognorm/bindings/liblognorm.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 2021-07-09T10:29:48,525 1 | #error Do not use this file, it is the result of a failed Cython compilation. 2021-07-09T10:29:48,526 | ^~~~~ 2021-07-09T10:29:48,529 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-09T10:29:48,675 Building wheel for pylognorm (setup.py): finished with status 'error' 2021-07-09T10:29:48,676 ERROR: Failed building wheel for pylognorm 2021-07-09T10:29:48,677 Running setup.py clean for pylognorm 2021-07-09T10:29:48,677 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2021-07-09T10:29:50,127 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-20gqfk7l/pylognorm_2ab7ce2328a747c291841ce78bc72516/pylognorm/bindings/liblognorm.pyx 2021-07-09T10:29:50,128 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T10:29:50,202 Error compiling Cython file: 2021-07-09T10:29:50,203 ------------------------------------------------------------ 2021-07-09T10:29:50,203 ... 2021-07-09T10:29:50,203 from os import path 2021-07-09T10:29:50,203 from liblognorm cimport * 2021-07-09T10:29:50,203 ^ 2021-07-09T10:29:50,203 ------------------------------------------------------------ 2021-07-09T10:29:50,203 pylognorm/bindings/liblognorm.pyx:2:0: 'pylognorm/bindings/liblognorm.pxd' not found 2021-07-09T10:29:50,322 Error compiling Cython file: 2021-07-09T10:29:50,322 ------------------------------------------------------------ 2021-07-09T10:29:50,323 ... 2021-07-09T10:29:50,323 return self.cnormalizer.normalize(logline, len(logline)) 2021-07-09T10:29:50,323 cdef class CLogNormalizer(object): 2021-07-09T10:29:50,323 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:50,323 ^ 2021-07-09T10:29:50,324 ------------------------------------------------------------ 2021-07-09T10:29:50,324 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2021-07-09T10:29:50,324 Error compiling Cython file: 2021-07-09T10:29:50,324 ------------------------------------------------------------ 2021-07-09T10:29:50,324 ... 2021-07-09T10:29:50,325 cdef class CLogNormalizer(object): 2021-07-09T10:29:50,325 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:50,325 cdef ee_ctx cee_ctx 2021-07-09T10:29:50,325 ^ 2021-07-09T10:29:50,325 ------------------------------------------------------------ 2021-07-09T10:29:50,325 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2021-07-09T10:29:50,326 Error compiling Cython file: 2021-07-09T10:29:50,326 ------------------------------------------------------------ 2021-07-09T10:29:50,326 ... 2021-07-09T10:29:50,326 formatted = self.format_JSON(event) 2021-07-09T10:29:50,326 ee_deleteEvent(event) 2021-07-09T10:29:50,326 es_deleteStr(in_str) 2021-07-09T10:29:50,326 return formatted 2021-07-09T10:29:50,327 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:50,327 ^ 2021-07-09T10:29:50,327 ------------------------------------------------------------ 2021-07-09T10:29:50,327 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2021-07-09T10:29:50,330 Error compiling Cython file: 2021-07-09T10:29:50,330 ------------------------------------------------------------ 2021-07-09T10:29:50,331 ... 2021-07-09T10:29:50,331 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:50,331 free(normal) 2021-07-09T10:29:50,331 return pyobj 2021-07-09T10:29:50,331 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:50,331 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:50,331 ^ 2021-07-09T10:29:50,331 ------------------------------------------------------------ 2021-07-09T10:29:50,332 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:50,332 Error compiling Cython file: 2021-07-09T10:29:50,332 ------------------------------------------------------------ 2021-07-09T10:29:50,332 ... 2021-07-09T10:29:50,332 free(normal) 2021-07-09T10:29:50,332 return pyobj 2021-07-09T10:29:50,333 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:50,333 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:50,333 cdef ee_event *event = NULL 2021-07-09T10:29:50,333 ^ 2021-07-09T10:29:50,333 ------------------------------------------------------------ 2021-07-09T10:29:50,333 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2021-07-09T10:29:50,334 Error compiling Cython file: 2021-07-09T10:29:50,334 ------------------------------------------------------------ 2021-07-09T10:29:50,334 ... 2021-07-09T10:29:50,334 ee_deleteEvent(event) 2021-07-09T10:29:50,334 es_deleteStr(in_str) 2021-07-09T10:29:50,334 return formatted 2021-07-09T10:29:50,334 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:50,334 cdef es_str_t *out_str = NULL 2021-07-09T10:29:50,335 ^ 2021-07-09T10:29:50,335 ------------------------------------------------------------ 2021-07-09T10:29:50,335 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2021-07-09T10:29:50,419 Error compiling Cython file: 2021-07-09T10:29:50,419 ------------------------------------------------------------ 2021-07-09T10:29:50,419 ... 2021-07-09T10:29:50,419 from libc.stdlib cimport malloc, free 2021-07-09T10:29:50,419 from libc.string cimport strlen 2021-07-09T10:29:50,419 def lib_version(): 2021-07-09T10:29:50,420 cdef char* version = ln_version() 2021-07-09T10:29:50,420 ^ 2021-07-09T10:29:50,420 ------------------------------------------------------------ 2021-07-09T10:29:50,420 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2021-07-09T10:29:50,420 Error compiling Cython file: 2021-07-09T10:29:50,420 ------------------------------------------------------------ 2021-07-09T10:29:50,420 ... 2021-07-09T10:29:50,421 from libc.stdlib cimport malloc, free 2021-07-09T10:29:50,421 from libc.string cimport strlen 2021-07-09T10:29:50,421 def lib_version(): 2021-07-09T10:29:50,421 cdef char* version = ln_version() 2021-07-09T10:29:50,421 ^ 2021-07-09T10:29:50,421 ------------------------------------------------------------ 2021-07-09T10:29:50,422 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:50,422 Error compiling Cython file: 2021-07-09T10:29:50,422 ------------------------------------------------------------ 2021-07-09T10:29:50,422 ... 2021-07-09T10:29:50,422 from libc.string cimport strlen 2021-07-09T10:29:50,423 def lib_version(): 2021-07-09T10:29:50,423 cdef char* version = ln_version() 2021-07-09T10:29:50,423 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:50,423 ^ 2021-07-09T10:29:50,423 ------------------------------------------------------------ 2021-07-09T10:29:50,423 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2021-07-09T10:29:50,424 Error compiling Cython file: 2021-07-09T10:29:50,424 ------------------------------------------------------------ 2021-07-09T10:29:50,424 ... 2021-07-09T10:29:50,424 return PyString_FromStringAndSize(version, strlen(version)) 2021-07-09T10:29:50,424 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:50,424 cdef char *cstr_filename 2021-07-09T10:29:50,424 if PyByteArray_Check(obj): 2021-07-09T10:29:50,425 ^ 2021-07-09T10:29:50,425 ------------------------------------------------------------ 2021-07-09T10:29:50,425 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2021-07-09T10:29:50,425 Error compiling Cython file: 2021-07-09T10:29:50,425 ------------------------------------------------------------ 2021-07-09T10:29:50,425 ... 2021-07-09T10:29:50,426 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:50,426 cdef char *cstr_filename 2021-07-09T10:29:50,426 if PyByteArray_Check(obj): 2021-07-09T10:29:50,426 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:50,426 ^ 2021-07-09T10:29:50,426 ------------------------------------------------------------ 2021-07-09T10:29:50,426 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2021-07-09T10:29:50,427 Error compiling Cython file: 2021-07-09T10:29:50,427 ------------------------------------------------------------ 2021-07-09T10:29:50,427 ... 2021-07-09T10:29:50,427 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:50,427 cdef char *cstr_filename 2021-07-09T10:29:50,427 if PyByteArray_Check(obj): 2021-07-09T10:29:50,427 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:50,428 ^ 2021-07-09T10:29:50,428 ------------------------------------------------------------ 2021-07-09T10:29:50,428 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:50,428 Error compiling Cython file: 2021-07-09T10:29:50,428 ------------------------------------------------------------ 2021-07-09T10:29:50,428 ... 2021-07-09T10:29:50,429 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:50,429 cdef char *cstr_filename 2021-07-09T10:29:50,429 if PyByteArray_Check(obj): 2021-07-09T10:29:50,429 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:50,429 elif PyBytes_Check(obj): 2021-07-09T10:29:50,429 ^ 2021-07-09T10:29:50,429 ------------------------------------------------------------ 2021-07-09T10:29:50,429 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2021-07-09T10:29:50,430 Error compiling Cython file: 2021-07-09T10:29:50,430 ------------------------------------------------------------ 2021-07-09T10:29:50,430 ... 2021-07-09T10:29:50,430 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:50,430 cdef char *cstr_filename 2021-07-09T10:29:50,430 if PyByteArray_Check(obj): 2021-07-09T10:29:50,430 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:50,430 elif PyBytes_Check(obj): 2021-07-09T10:29:50,431 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:50,431 ^ 2021-07-09T10:29:50,431 ------------------------------------------------------------ 2021-07-09T10:29:50,431 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2021-07-09T10:29:50,431 Error compiling Cython file: 2021-07-09T10:29:50,431 ------------------------------------------------------------ 2021-07-09T10:29:50,431 ... 2021-07-09T10:29:50,432 cdef char * _object_to_cstr(object obj): 2021-07-09T10:29:50,432 cdef char *cstr_filename 2021-07-09T10:29:50,432 if PyByteArray_Check(obj): 2021-07-09T10:29:50,432 cstr_filename = PyByteArray_AsString(obj) 2021-07-09T10:29:50,432 elif PyBytes_Check(obj): 2021-07-09T10:29:50,432 cstr_filename = PyBytes_AsString(obj) 2021-07-09T10:29:50,432 ^ 2021-07-09T10:29:50,432 ------------------------------------------------------------ 2021-07-09T10:29:50,433 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:50,433 Error compiling Cython file: 2021-07-09T10:29:50,433 ------------------------------------------------------------ 2021-07-09T10:29:50,433 ... 2021-07-09T10:29:50,433 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:50,433 cdef ee_ctx cee_ctx 2021-07-09T10:29:50,434 def __cinit__(self): 2021-07-09T10:29:50,434 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:50,434 ^ 2021-07-09T10:29:50,434 ------------------------------------------------------------ 2021-07-09T10:29:50,434 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2021-07-09T10:29:50,434 Error compiling Cython file: 2021-07-09T10:29:50,435 ------------------------------------------------------------ 2021-07-09T10:29:50,435 ... 2021-07-09T10:29:50,435 cdef ln_ctx normalizer_ctx 2021-07-09T10:29:50,435 cdef ee_ctx cee_ctx 2021-07-09T10:29:50,435 def __cinit__(self): 2021-07-09T10:29:50,435 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:50,435 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:50,435 ^ 2021-07-09T10:29:50,436 ------------------------------------------------------------ 2021-07-09T10:29:50,436 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2021-07-09T10:29:50,436 Error compiling Cython file: 2021-07-09T10:29:50,436 ------------------------------------------------------------ 2021-07-09T10:29:50,436 ... 2021-07-09T10:29:50,436 cdef ee_ctx cee_ctx 2021-07-09T10:29:50,437 def __cinit__(self): 2021-07-09T10:29:50,437 self.normalizer_ctx = ln_initCtx() 2021-07-09T10:29:50,437 self.cee_ctx = ee_initCtx() 2021-07-09T10:29:50,437 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2021-07-09T10:29:50,437 ^ 2021-07-09T10:29:50,437 ------------------------------------------------------------ 2021-07-09T10:29:50,437 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2021-07-09T10:29:50,438 Error compiling Cython file: 2021-07-09T10:29:50,438 ------------------------------------------------------------ 2021-07-09T10:29:50,438 ... 2021-07-09T10:29:50,438 def __init__(self): 2021-07-09T10:29:50,438 pass 2021-07-09T10:29:50,438 def __dealoc__(self): 2021-07-09T10:29:50,438 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:50,439 ^ 2021-07-09T10:29:50,439 ------------------------------------------------------------ 2021-07-09T10:29:50,439 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2021-07-09T10:29:50,439 Error compiling Cython file: 2021-07-09T10:29:50,439 ------------------------------------------------------------ 2021-07-09T10:29:50,439 ... 2021-07-09T10:29:50,439 def __init__(self): 2021-07-09T10:29:50,440 pass 2021-07-09T10:29:50,440 def __dealoc__(self): 2021-07-09T10:29:50,440 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:50,440 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:50,440 ^ 2021-07-09T10:29:50,440 ------------------------------------------------------------ 2021-07-09T10:29:50,440 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2021-07-09T10:29:50,441 Error compiling Cython file: 2021-07-09T10:29:50,441 ------------------------------------------------------------ 2021-07-09T10:29:50,441 ... 2021-07-09T10:29:50,441 def __dealoc__(self): 2021-07-09T10:29:50,441 ee_exitCtx(self.cee_ctx) 2021-07-09T10:29:50,441 ln_exitCtx(self.normalizer_ctx) 2021-07-09T10:29:50,441 def load_rule(self, object rule): 2021-07-09T10:29:50,442 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:50,442 ^ 2021-07-09T10:29:50,442 ------------------------------------------------------------ 2021-07-09T10:29:50,442 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2021-07-09T10:29:50,442 Error compiling Cython file: 2021-07-09T10:29:50,442 ------------------------------------------------------------ 2021-07-09T10:29:50,442 ... 2021-07-09T10:29:50,443 def load_rule(self, object rule): 2021-07-09T10:29:50,443 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2021-07-09T10:29:50,443 def load_rules(self, object filename): 2021-07-09T10:29:50,443 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2021-07-09T10:29:50,443 ^ 2021-07-09T10:29:50,443 ------------------------------------------------------------ 2021-07-09T10:29:50,444 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2021-07-09T10:29:50,444 Error compiling Cython file: 2021-07-09T10:29:50,444 ------------------------------------------------------------ 2021-07-09T10:29:50,444 ... 2021-07-09T10:29:50,444 def normalize(self, object data, int length): 2021-07-09T10:29:50,444 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2021-07-09T10:29:50,444 if normal == NULL: 2021-07-09T10:29:50,445 return None 2021-07-09T10:29:50,445 else: 2021-07-09T10:29:50,445 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:50,445 ^ 2021-07-09T10:29:50,445 ------------------------------------------------------------ 2021-07-09T10:29:50,445 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2021-07-09T10:29:50,445 Error compiling Cython file: 2021-07-09T10:29:50,445 ------------------------------------------------------------ 2021-07-09T10:29:50,446 ... 2021-07-09T10:29:50,446 pyobj = PyUnicode_FromString(normal) 2021-07-09T10:29:50,446 free(normal) 2021-07-09T10:29:50,446 return pyobj 2021-07-09T10:29:50,446 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:50,446 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:50,446 ^ 2021-07-09T10:29:50,446 ------------------------------------------------------------ 2021-07-09T10:29:50,447 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2021-07-09T10:29:50,447 Error compiling Cython file: 2021-07-09T10:29:50,447 ------------------------------------------------------------ 2021-07-09T10:29:50,447 ... 2021-07-09T10:29:50,447 cdef char * _normalize(self, char *data, int length): 2021-07-09T10:29:50,447 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2021-07-09T10:29:50,447 cdef ee_event *event = NULL 2021-07-09T10:29:50,447 cdef char *formatted = NULL 2021-07-09T10:29:50,448 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:50,448 ^ 2021-07-09T10:29:50,448 ------------------------------------------------------------ 2021-07-09T10:29:50,448 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2021-07-09T10:29:50,448 Error compiling Cython file: 2021-07-09T10:29:50,448 ------------------------------------------------------------ 2021-07-09T10:29:50,449 ... 2021-07-09T10:29:50,449 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:50,449 if event != NULL: 2021-07-09T10:29:50,449 formatted = self.format_JSON(event) 2021-07-09T10:29:50,449 ee_deleteEvent(event) 2021-07-09T10:29:50,449 ^ 2021-07-09T10:29:50,449 ------------------------------------------------------------ 2021-07-09T10:29:50,450 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2021-07-09T10:29:50,450 Error compiling Cython file: 2021-07-09T10:29:50,450 ------------------------------------------------------------ 2021-07-09T10:29:50,450 ... 2021-07-09T10:29:50,450 ln_normalize(self.normalizer_ctx, in_str, &event) 2021-07-09T10:29:50,450 if event != NULL: 2021-07-09T10:29:50,450 formatted = self.format_JSON(event) 2021-07-09T10:29:50,451 ee_deleteEvent(event) 2021-07-09T10:29:50,451 es_deleteStr(in_str) 2021-07-09T10:29:50,451 ^ 2021-07-09T10:29:50,451 ------------------------------------------------------------ 2021-07-09T10:29:50,451 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2021-07-09T10:29:50,451 Error compiling Cython file: 2021-07-09T10:29:50,451 ------------------------------------------------------------ 2021-07-09T10:29:50,451 ... 2021-07-09T10:29:50,452 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:50,452 cdef es_str_t *out_str = NULL 2021-07-09T10:29:50,452 cdef char *cstr = NULL 2021-07-09T10:29:50,452 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:50,452 ^ 2021-07-09T10:29:50,452 ------------------------------------------------------------ 2021-07-09T10:29:50,453 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2021-07-09T10:29:50,453 Error compiling Cython file: 2021-07-09T10:29:50,453 ------------------------------------------------------------ 2021-07-09T10:29:50,453 ... 2021-07-09T10:29:50,453 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:50,453 cdef es_str_t *out_str = NULL 2021-07-09T10:29:50,453 cdef char *cstr = NULL 2021-07-09T10:29:50,454 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:50,454 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:50,454 ^ 2021-07-09T10:29:50,454 ------------------------------------------------------------ 2021-07-09T10:29:50,454 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2021-07-09T10:29:50,454 Error compiling Cython file: 2021-07-09T10:29:50,454 ------------------------------------------------------------ 2021-07-09T10:29:50,454 ... 2021-07-09T10:29:50,455 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:50,455 cdef es_str_t *out_str = NULL 2021-07-09T10:29:50,455 cdef char *cstr = NULL 2021-07-09T10:29:50,455 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:50,455 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:50,455 ^ 2021-07-09T10:29:50,455 ------------------------------------------------------------ 2021-07-09T10:29:50,456 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2021-07-09T10:29:50,456 Error compiling Cython file: 2021-07-09T10:29:50,456 ------------------------------------------------------------ 2021-07-09T10:29:50,456 ... 2021-07-09T10:29:50,456 cdef char * format_JSON(self, ee_event *event): 2021-07-09T10:29:50,456 cdef es_str_t *out_str = NULL 2021-07-09T10:29:50,456 cdef char *cstr = NULL 2021-07-09T10:29:50,456 ee_fmtEventToJSON(event, &out_str) 2021-07-09T10:29:50,457 cstr = es_str2cstr(out_str, NULL) 2021-07-09T10:29:50,457 ^ 2021-07-09T10:29:50,457 ------------------------------------------------------------ 2021-07-09T10:29:50,457 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2021-07-09T10:29:50,613 running clean 2021-07-09T10:29:50,615 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-09T10:29:50,618 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-09T10:29:50,623 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-09T10:29:50,624 'build/scripts-3.9' does not exist -- can't clean it 2021-07-09T10:29:50,624 removing 'build' 2021-07-09T10:29:50,745 Failed to build pylognorm 2021-07-09T10:29:50,746 ERROR: Failed to build one or more wheels 2021-07-09T10:29:50,747 Exception information: 2021-07-09T10:29:50,747 Traceback (most recent call last): 2021-07-09T10:29:50,747 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-09T10:29:50,747 status = self.run(options, args) 2021-07-09T10:29:50,747 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-09T10:29:50,747 return func(self, options, args) 2021-07-09T10:29:50,747 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-09T10:29:50,747 raise CommandError( 2021-07-09T10:29:50,747 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-09T10:29:50,750 Removed build tracker: '/tmp/pip-req-tracker-ox3iiuib'