2023-09-08T11:48:20,842 Created temporary directory: /tmp/pip-build-tracker-o2pmctxq 2023-09-08T11:48:20,844 Initialized build tracking at /tmp/pip-build-tracker-o2pmctxq 2023-09-08T11:48:20,844 Created build tracker: /tmp/pip-build-tracker-o2pmctxq 2023-09-08T11:48:20,845 Entered build tracker: /tmp/pip-build-tracker-o2pmctxq 2023-09-08T11:48:20,845 Created temporary directory: /tmp/pip-wheel-wd9jrp6z 2023-09-08T11:48:20,848 Created temporary directory: /tmp/pip-ephem-wheel-cache-2n1svivs 2023-09-08T11:48:20,871 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T11:48:20,875 2 location(s) to search for versions of pylognorm: 2023-09-08T11:48:20,875 * https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:20,875 * https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:20,876 Fetching project page and analyzing links: https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:20,876 Getting page https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:20,878 Found index url https://pypi.org/simple/ 2023-09-08T11:48:21,093 Fetched page https://pypi.org/simple/pylognorm/ as application/vnd.pypi.simple.v1+json 2023-09-08T11:48:21,096 Found link https://files.pythonhosted.org/packages/63/12/22aafb479b1316591492361b7537003e4ed9cf8a936589fcecdbfded653e/pylognorm-0.1.1.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.1.1 2023-09-08T11:48:21,096 Found link https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.1.2 2023-09-08T11:48:21,097 Found link https://files.pythonhosted.org/packages/b6/63/88552cedf8f08de4bab937497fbf4dcaec944a6b48ffebe944e450eda944/pylognorm-0.1.3.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.1.3 2023-09-08T11:48:21,098 Found link https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.2.0 2023-09-08T11:48:21,098 Found link https://files.pythonhosted.org/packages/8c/14/acf079eb998fd93161bc33d19ef4da5ee705eeffa071e36b9b8ea5ee6641/pylognorm-0.2.1.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.2.1 2023-09-08T11:48:21,099 Found link https://files.pythonhosted.org/packages/a6/93/7e330ff2afc05a8b89cb5accc2fb70daf517e30e6d4f74b24ebec0c19495/pylognorm-0.2.2.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.2.2 2023-09-08T11:48:21,100 Found link https://files.pythonhosted.org/packages/3d/e7/ccd89cebcb74691efcc4acb40252a39b857adf36fb472049b8d3e663c62c/pylognorm-0.2.3.tar.gz (from https://pypi.org/simple/pylognorm/), version: 0.2.3 2023-09-08T11:48:21,100 Fetching project page and analyzing links: https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:21,101 Getting page https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:21,103 Found index url https://www.piwheels.org/simple/ 2023-09-08T11:48:21,361 Fetched page https://www.piwheels.org/simple/pylognorm/ as text/html 2023-09-08T11:48:21,362 Skipping link: No binaries permitted for pylognorm: https://www.piwheels.org/simple/pylognorm/pylognorm-0.1.1-py3-none-any.whl#sha256=342dddedec005ee249afa7908bf427ef3021b9bcad2a6a0fd7fe1c81a50554f7 (from https://www.piwheels.org/simple/pylognorm/) 2023-09-08T11:48:21,363 Skipping link: not a file: https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:21,364 Skipping link: not a file: https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:21,383 Given no hashes to check 1 links for project 'pylognorm': discarding no candidates 2023-09-08T11:48:21,401 Collecting pylognorm==0.1.2 2023-09-08T11:48:21,403 Created temporary directory: /tmp/pip-unpack-3uizcay6 2023-09-08T11:48:21,632 Downloading pylognorm-0.1.2.tar.gz (30 kB) 2023-09-08T11:48:21,678 Added pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-o2pmctxq' 2023-09-08T11:48:21,679 Running setup.py (path:/tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/setup.py) egg_info for package pylognorm 2023-09-08T11:48:21,680 Created temporary directory: /tmp/pip-pip-egg-info-v8dq2flj 2023-09-08T11:48:21,681 Preparing metadata (setup.py): started 2023-09-08T11:48:21,682 Running command python setup.py egg_info 2023-09-08T11:48:24,096 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:24,096 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T11:48:24,156 Error compiling Cython file: 2023-09-08T11:48:24,156 ------------------------------------------------------------ 2023-09-08T11:48:24,156 ... 2023-09-08T11:48:24,157 from os import path 2023-09-08T11:48:24,157 from liblognorm cimport * 2023-09-08T11:48:24,158 ^ 2023-09-08T11:48:24,158 ------------------------------------------------------------ 2023-09-08T11:48:24,159 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2023-09-08T11:48:24,262 Error compiling Cython file: 2023-09-08T11:48:24,262 ------------------------------------------------------------ 2023-09-08T11:48:24,263 ... 2023-09-08T11:48:24,263 return self.cnormalizer.normalize(logline, len(logline)) 2023-09-08T11:48:24,264 cdef class CLogNormalizer(object): 2023-09-08T11:48:24,265 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:24,266 ^ 2023-09-08T11:48:24,267 ------------------------------------------------------------ 2023-09-08T11:48:24,268 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:24,269 Error compiling Cython file: 2023-09-08T11:48:24,270 ------------------------------------------------------------ 2023-09-08T11:48:24,270 ... 2023-09-08T11:48:24,272 cdef class CLogNormalizer(object): 2023-09-08T11:48:24,273 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:24,274 cdef ee_ctx cee_ctx 2023-09-08T11:48:24,274 ^ 2023-09-08T11:48:24,275 ------------------------------------------------------------ 2023-09-08T11:48:24,276 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:24,278 Error compiling Cython file: 2023-09-08T11:48:24,278 ------------------------------------------------------------ 2023-09-08T11:48:24,279 ... 2023-09-08T11:48:24,279 formatted = self.format_JSON(event) 2023-09-08T11:48:24,280 ee_deleteEvent(event) 2023-09-08T11:48:24,280 es_deleteStr(in_str) 2023-09-08T11:48:24,281 return formatted 2023-09-08T11:48:24,282 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:24,283 ^ 2023-09-08T11:48:24,283 ------------------------------------------------------------ 2023-09-08T11:48:24,284 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2023-09-08T11:48:24,285 Error compiling Cython file: 2023-09-08T11:48:24,286 ------------------------------------------------------------ 2023-09-08T11:48:24,286 ... 2023-09-08T11:48:24,287 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:24,287 free(normal) 2023-09-08T11:48:24,288 return pyobj 2023-09-08T11:48:24,289 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:24,289 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:24,290 ^ 2023-09-08T11:48:24,290 ------------------------------------------------------------ 2023-09-08T11:48:24,292 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:24,293 Error compiling Cython file: 2023-09-08T11:48:24,294 ------------------------------------------------------------ 2023-09-08T11:48:24,294 ... 2023-09-08T11:48:24,295 free(normal) 2023-09-08T11:48:24,296 return pyobj 2023-09-08T11:48:24,297 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:24,297 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:24,297 cdef ee_event *event = NULL 2023-09-08T11:48:24,298 ^ 2023-09-08T11:48:24,298 ------------------------------------------------------------ 2023-09-08T11:48:24,299 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2023-09-08T11:48:24,300 Error compiling Cython file: 2023-09-08T11:48:24,300 ------------------------------------------------------------ 2023-09-08T11:48:24,301 ... 2023-09-08T11:48:24,301 ee_deleteEvent(event) 2023-09-08T11:48:24,301 es_deleteStr(in_str) 2023-09-08T11:48:24,302 return formatted 2023-09-08T11:48:24,303 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:24,303 cdef es_str_t *out_str = NULL 2023-09-08T11:48:24,304 ^ 2023-09-08T11:48:24,304 ------------------------------------------------------------ 2023-09-08T11:48:24,305 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:24,325 Error compiling Cython file: 2023-09-08T11:48:24,326 ------------------------------------------------------------ 2023-09-08T11:48:24,326 ... 2023-09-08T11:48:24,327 from libc.stdlib cimport malloc, free 2023-09-08T11:48:24,327 from libc.string cimport strlen 2023-09-08T11:48:24,329 def lib_version(): 2023-09-08T11:48:24,329 cdef char* version = ln_version() 2023-09-08T11:48:24,330 ^ 2023-09-08T11:48:24,331 ------------------------------------------------------------ 2023-09-08T11:48:24,332 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2023-09-08T11:48:24,333 Error compiling Cython file: 2023-09-08T11:48:24,334 ------------------------------------------------------------ 2023-09-08T11:48:24,335 ... 2023-09-08T11:48:24,335 from libc.stdlib cimport malloc, free 2023-09-08T11:48:24,336 from libc.string cimport strlen 2023-09-08T11:48:24,338 def lib_version(): 2023-09-08T11:48:24,338 cdef char* version = ln_version() 2023-09-08T11:48:24,339 ^ 2023-09-08T11:48:24,340 ------------------------------------------------------------ 2023-09-08T11:48:24,341 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:24,342 Error compiling Cython file: 2023-09-08T11:48:24,343 ------------------------------------------------------------ 2023-09-08T11:48:24,344 ... 2023-09-08T11:48:24,344 from libc.string cimport strlen 2023-09-08T11:48:24,346 def lib_version(): 2023-09-08T11:48:24,347 cdef char* version = ln_version() 2023-09-08T11:48:24,348 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:24,348 ^ 2023-09-08T11:48:24,349 ------------------------------------------------------------ 2023-09-08T11:48:24,350 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:24,351 Error compiling Cython file: 2023-09-08T11:48:24,352 ------------------------------------------------------------ 2023-09-08T11:48:24,352 ... 2023-09-08T11:48:24,353 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:24,354 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:24,355 cdef char *cstr_filename 2023-09-08T11:48:24,355 if PyByteArray_Check(obj): 2023-09-08T11:48:24,356 ^ 2023-09-08T11:48:24,357 ------------------------------------------------------------ 2023-09-08T11:48:24,358 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:24,359 Error compiling Cython file: 2023-09-08T11:48:24,360 ------------------------------------------------------------ 2023-09-08T11:48:24,360 ... 2023-09-08T11:48:24,362 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:24,363 cdef char *cstr_filename 2023-09-08T11:48:24,363 if PyByteArray_Check(obj): 2023-09-08T11:48:24,364 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:24,364 ^ 2023-09-08T11:48:24,364 ------------------------------------------------------------ 2023-09-08T11:48:24,365 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:24,366 Error compiling Cython file: 2023-09-08T11:48:24,367 ------------------------------------------------------------ 2023-09-08T11:48:24,367 ... 2023-09-08T11:48:24,369 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:24,369 cdef char *cstr_filename 2023-09-08T11:48:24,369 if PyByteArray_Check(obj): 2023-09-08T11:48:24,370 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:24,371 ^ 2023-09-08T11:48:24,371 ------------------------------------------------------------ 2023-09-08T11:48:24,372 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:24,373 Error compiling Cython file: 2023-09-08T11:48:24,373 ------------------------------------------------------------ 2023-09-08T11:48:24,374 ... 2023-09-08T11:48:24,375 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:24,375 cdef char *cstr_filename 2023-09-08T11:48:24,375 if PyByteArray_Check(obj): 2023-09-08T11:48:24,376 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:24,376 elif PyBytes_Check(obj): 2023-09-08T11:48:24,377 ^ 2023-09-08T11:48:24,377 ------------------------------------------------------------ 2023-09-08T11:48:24,378 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:24,379 Error compiling Cython file: 2023-09-08T11:48:24,380 ------------------------------------------------------------ 2023-09-08T11:48:24,380 ... 2023-09-08T11:48:24,381 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:24,382 cdef char *cstr_filename 2023-09-08T11:48:24,382 if PyByteArray_Check(obj): 2023-09-08T11:48:24,383 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:24,383 elif PyBytes_Check(obj): 2023-09-08T11:48:24,384 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:24,385 ^ 2023-09-08T11:48:24,385 ------------------------------------------------------------ 2023-09-08T11:48:24,386 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:24,388 Error compiling Cython file: 2023-09-08T11:48:24,388 ------------------------------------------------------------ 2023-09-08T11:48:24,389 ... 2023-09-08T11:48:24,389 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:24,390 cdef char *cstr_filename 2023-09-08T11:48:24,390 if PyByteArray_Check(obj): 2023-09-08T11:48:24,391 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:24,391 elif PyBytes_Check(obj): 2023-09-08T11:48:24,392 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:24,392 ^ 2023-09-08T11:48:24,393 ------------------------------------------------------------ 2023-09-08T11:48:24,394 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:24,395 Error compiling Cython file: 2023-09-08T11:48:24,396 ------------------------------------------------------------ 2023-09-08T11:48:24,396 ... 2023-09-08T11:48:24,397 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:24,398 cdef ee_ctx cee_ctx 2023-09-08T11:48:24,399 def __cinit__(self): 2023-09-08T11:48:24,400 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:24,400 ^ 2023-09-08T11:48:24,401 ------------------------------------------------------------ 2023-09-08T11:48:24,403 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:24,404 Error compiling Cython file: 2023-09-08T11:48:24,404 ------------------------------------------------------------ 2023-09-08T11:48:24,405 ... 2023-09-08T11:48:24,405 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:24,406 cdef ee_ctx cee_ctx 2023-09-08T11:48:24,407 def __cinit__(self): 2023-09-08T11:48:24,407 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:24,407 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:24,408 ^ 2023-09-08T11:48:24,408 ------------------------------------------------------------ 2023-09-08T11:48:24,409 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:24,410 Error compiling Cython file: 2023-09-08T11:48:24,411 ------------------------------------------------------------ 2023-09-08T11:48:24,411 ... 2023-09-08T11:48:24,411 cdef ee_ctx cee_ctx 2023-09-08T11:48:24,413 def __cinit__(self): 2023-09-08T11:48:24,413 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:24,413 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:24,414 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:24,414 ^ 2023-09-08T11:48:24,415 ------------------------------------------------------------ 2023-09-08T11:48:24,416 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:24,417 Error compiling Cython file: 2023-09-08T11:48:24,417 ------------------------------------------------------------ 2023-09-08T11:48:24,418 ... 2023-09-08T11:48:24,419 def __init__(self): 2023-09-08T11:48:24,420 pass 2023-09-08T11:48:24,421 def __dealoc__(self): 2023-09-08T11:48:24,421 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:24,422 ^ 2023-09-08T11:48:24,423 ------------------------------------------------------------ 2023-09-08T11:48:24,424 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:24,425 Error compiling Cython file: 2023-09-08T11:48:24,426 ------------------------------------------------------------ 2023-09-08T11:48:24,426 ... 2023-09-08T11:48:24,427 def __init__(self): 2023-09-08T11:48:24,428 pass 2023-09-08T11:48:24,429 def __dealoc__(self): 2023-09-08T11:48:24,429 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:24,430 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:24,431 ^ 2023-09-08T11:48:24,431 ------------------------------------------------------------ 2023-09-08T11:48:24,432 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:24,433 Error compiling Cython file: 2023-09-08T11:48:24,434 ------------------------------------------------------------ 2023-09-08T11:48:24,435 ... 2023-09-08T11:48:24,435 def __dealoc__(self): 2023-09-08T11:48:24,436 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:24,436 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:24,437 def load_rule(self, object rule): 2023-09-08T11:48:24,438 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:24,438 ^ 2023-09-08T11:48:24,439 ------------------------------------------------------------ 2023-09-08T11:48:24,440 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2023-09-08T11:48:24,441 Error compiling Cython file: 2023-09-08T11:48:24,442 ------------------------------------------------------------ 2023-09-08T11:48:24,442 ... 2023-09-08T11:48:24,443 def load_rule(self, object rule): 2023-09-08T11:48:24,444 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:24,445 def load_rules(self, object filename): 2023-09-08T11:48:24,446 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2023-09-08T11:48:24,447 ^ 2023-09-08T11:48:24,447 ------------------------------------------------------------ 2023-09-08T11:48:24,448 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:24,449 Error compiling Cython file: 2023-09-08T11:48:24,449 ------------------------------------------------------------ 2023-09-08T11:48:24,450 ... 2023-09-08T11:48:24,450 def normalize(self, object data, int length): 2023-09-08T11:48:24,451 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2023-09-08T11:48:24,451 if normal == NULL: 2023-09-08T11:48:24,452 return None 2023-09-08T11:48:24,452 else: 2023-09-08T11:48:24,452 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:24,453 ^ 2023-09-08T11:48:24,453 ------------------------------------------------------------ 2023-09-08T11:48:24,454 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:24,455 Error compiling Cython file: 2023-09-08T11:48:24,456 ------------------------------------------------------------ 2023-09-08T11:48:24,457 ... 2023-09-08T11:48:24,457 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:24,458 free(normal) 2023-09-08T11:48:24,458 return pyobj 2023-09-08T11:48:24,459 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:24,460 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:24,460 ^ 2023-09-08T11:48:24,461 ------------------------------------------------------------ 2023-09-08T11:48:24,462 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:24,463 Error compiling Cython file: 2023-09-08T11:48:24,464 ------------------------------------------------------------ 2023-09-08T11:48:24,464 ... 2023-09-08T11:48:24,465 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:24,465 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:24,466 cdef ee_event *event = NULL 2023-09-08T11:48:24,466 cdef char *formatted = NULL 2023-09-08T11:48:24,468 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:24,468 ^ 2023-09-08T11:48:24,469 ------------------------------------------------------------ 2023-09-08T11:48:24,470 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:24,471 Error compiling Cython file: 2023-09-08T11:48:24,472 ------------------------------------------------------------ 2023-09-08T11:48:24,472 ... 2023-09-08T11:48:24,474 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:24,475 if event != NULL: 2023-09-08T11:48:24,475 formatted = self.format_JSON(event) 2023-09-08T11:48:24,476 ee_deleteEvent(event) 2023-09-08T11:48:24,476 ^ 2023-09-08T11:48:24,477 ------------------------------------------------------------ 2023-09-08T11:48:24,478 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:24,479 Error compiling Cython file: 2023-09-08T11:48:24,480 ------------------------------------------------------------ 2023-09-08T11:48:24,480 ... 2023-09-08T11:48:24,481 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:24,482 if event != NULL: 2023-09-08T11:48:24,483 formatted = self.format_JSON(event) 2023-09-08T11:48:24,483 ee_deleteEvent(event) 2023-09-08T11:48:24,484 es_deleteStr(in_str) 2023-09-08T11:48:24,484 ^ 2023-09-08T11:48:24,485 ------------------------------------------------------------ 2023-09-08T11:48:24,486 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:24,488 Error compiling Cython file: 2023-09-08T11:48:24,488 ------------------------------------------------------------ 2023-09-08T11:48:24,489 ... 2023-09-08T11:48:24,490 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:24,490 cdef es_str_t *out_str = NULL 2023-09-08T11:48:24,491 cdef char *cstr = NULL 2023-09-08T11:48:24,492 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:24,492 ^ 2023-09-08T11:48:24,492 ------------------------------------------------------------ 2023-09-08T11:48:24,493 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:24,494 Error compiling Cython file: 2023-09-08T11:48:24,494 ------------------------------------------------------------ 2023-09-08T11:48:24,495 ... 2023-09-08T11:48:24,495 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:24,496 cdef es_str_t *out_str = NULL 2023-09-08T11:48:24,496 cdef char *cstr = NULL 2023-09-08T11:48:24,497 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:24,498 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:24,498 ^ 2023-09-08T11:48:24,499 ------------------------------------------------------------ 2023-09-08T11:48:24,500 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:24,501 Error compiling Cython file: 2023-09-08T11:48:24,501 ------------------------------------------------------------ 2023-09-08T11:48:24,502 ... 2023-09-08T11:48:24,502 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:24,503 cdef es_str_t *out_str = NULL 2023-09-08T11:48:24,503 cdef char *cstr = NULL 2023-09-08T11:48:24,504 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:24,505 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:24,506 ^ 2023-09-08T11:48:24,506 ------------------------------------------------------------ 2023-09-08T11:48:24,508 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2023-09-08T11:48:24,509 Error compiling Cython file: 2023-09-08T11:48:24,510 ------------------------------------------------------------ 2023-09-08T11:48:24,510 ... 2023-09-08T11:48:24,511 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:24,512 cdef es_str_t *out_str = NULL 2023-09-08T11:48:24,512 cdef char *cstr = NULL 2023-09-08T11:48:24,514 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:24,514 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:24,515 ^ 2023-09-08T11:48:24,516 ------------------------------------------------------------ 2023-09-08T11:48:24,517 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:24,978 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T11:48:24,981 Source in /tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58 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 2023-09-08T11:48:24,982 Removed pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-o2pmctxq' 2023-09-08T11:48:24,986 Created temporary directory: /tmp/pip-unpack-65iasqn7 2023-09-08T11:48:24,987 Created temporary directory: /tmp/pip-unpack-xt793xsq 2023-09-08T11:48:24,989 Building wheels for collected packages: pylognorm 2023-09-08T11:48:24,995 Created temporary directory: /tmp/pip-wheel-sm__niih 2023-09-08T11:48:24,996 Building wheel for pylognorm (setup.py): started 2023-09-08T11:48:24,997 Destination directory: /tmp/pip-wheel-sm__niih 2023-09-08T11:48:24,998 Running command python setup.py bdist_wheel 2023-09-08T11:48:27,349 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:27,350 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T11:48:27,407 Error compiling Cython file: 2023-09-08T11:48:27,408 ------------------------------------------------------------ 2023-09-08T11:48:27,408 ... 2023-09-08T11:48:27,409 from os import path 2023-09-08T11:48:27,409 from liblognorm cimport * 2023-09-08T11:48:27,409 ^ 2023-09-08T11:48:27,410 ------------------------------------------------------------ 2023-09-08T11:48:27,411 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2023-09-08T11:48:27,511 Error compiling Cython file: 2023-09-08T11:48:27,511 ------------------------------------------------------------ 2023-09-08T11:48:27,512 ... 2023-09-08T11:48:27,512 return self.cnormalizer.normalize(logline, len(logline)) 2023-09-08T11:48:27,514 cdef class CLogNormalizer(object): 2023-09-08T11:48:27,515 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:27,515 ^ 2023-09-08T11:48:27,516 ------------------------------------------------------------ 2023-09-08T11:48:27,517 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:27,518 Error compiling Cython file: 2023-09-08T11:48:27,518 ------------------------------------------------------------ 2023-09-08T11:48:27,519 ... 2023-09-08T11:48:27,521 cdef class CLogNormalizer(object): 2023-09-08T11:48:27,522 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:27,522 cdef ee_ctx cee_ctx 2023-09-08T11:48:27,523 ^ 2023-09-08T11:48:27,523 ------------------------------------------------------------ 2023-09-08T11:48:27,525 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:27,526 Error compiling Cython file: 2023-09-08T11:48:27,526 ------------------------------------------------------------ 2023-09-08T11:48:27,527 ... 2023-09-08T11:48:27,528 formatted = self.format_JSON(event) 2023-09-08T11:48:27,528 ee_deleteEvent(event) 2023-09-08T11:48:27,529 es_deleteStr(in_str) 2023-09-08T11:48:27,530 return formatted 2023-09-08T11:48:27,531 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:27,532 ^ 2023-09-08T11:48:27,532 ------------------------------------------------------------ 2023-09-08T11:48:27,534 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2023-09-08T11:48:27,535 Error compiling Cython file: 2023-09-08T11:48:27,535 ------------------------------------------------------------ 2023-09-08T11:48:27,536 ... 2023-09-08T11:48:27,537 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:27,537 free(normal) 2023-09-08T11:48:27,538 return pyobj 2023-09-08T11:48:27,539 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:27,539 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:27,540 ^ 2023-09-08T11:48:27,540 ------------------------------------------------------------ 2023-09-08T11:48:27,542 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:27,543 Error compiling Cython file: 2023-09-08T11:48:27,544 ------------------------------------------------------------ 2023-09-08T11:48:27,544 ... 2023-09-08T11:48:27,545 free(normal) 2023-09-08T11:48:27,546 return pyobj 2023-09-08T11:48:27,547 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:27,548 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:27,548 cdef ee_event *event = NULL 2023-09-08T11:48:27,549 ^ 2023-09-08T11:48:27,550 ------------------------------------------------------------ 2023-09-08T11:48:27,551 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2023-09-08T11:48:27,552 Error compiling Cython file: 2023-09-08T11:48:27,552 ------------------------------------------------------------ 2023-09-08T11:48:27,553 ... 2023-09-08T11:48:27,553 ee_deleteEvent(event) 2023-09-08T11:48:27,553 es_deleteStr(in_str) 2023-09-08T11:48:27,554 return formatted 2023-09-08T11:48:27,555 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:27,555 cdef es_str_t *out_str = NULL 2023-09-08T11:48:27,556 ^ 2023-09-08T11:48:27,556 ------------------------------------------------------------ 2023-09-08T11:48:27,557 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:27,574 Error compiling Cython file: 2023-09-08T11:48:27,575 ------------------------------------------------------------ 2023-09-08T11:48:27,575 ... 2023-09-08T11:48:27,576 from libc.stdlib cimport malloc, free 2023-09-08T11:48:27,576 from libc.string cimport strlen 2023-09-08T11:48:27,577 def lib_version(): 2023-09-08T11:48:27,578 cdef char* version = ln_version() 2023-09-08T11:48:27,578 ^ 2023-09-08T11:48:27,579 ------------------------------------------------------------ 2023-09-08T11:48:27,580 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2023-09-08T11:48:27,581 Error compiling Cython file: 2023-09-08T11:48:27,581 ------------------------------------------------------------ 2023-09-08T11:48:27,582 ... 2023-09-08T11:48:27,583 from libc.stdlib cimport malloc, free 2023-09-08T11:48:27,583 from libc.string cimport strlen 2023-09-08T11:48:27,585 def lib_version(): 2023-09-08T11:48:27,585 cdef char* version = ln_version() 2023-09-08T11:48:27,586 ^ 2023-09-08T11:48:27,586 ------------------------------------------------------------ 2023-09-08T11:48:27,588 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:27,589 Error compiling Cython file: 2023-09-08T11:48:27,590 ------------------------------------------------------------ 2023-09-08T11:48:27,590 ... 2023-09-08T11:48:27,591 from libc.string cimport strlen 2023-09-08T11:48:27,593 def lib_version(): 2023-09-08T11:48:27,593 cdef char* version = ln_version() 2023-09-08T11:48:27,594 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:27,594 ^ 2023-09-08T11:48:27,595 ------------------------------------------------------------ 2023-09-08T11:48:27,596 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:27,598 Error compiling Cython file: 2023-09-08T11:48:27,598 ------------------------------------------------------------ 2023-09-08T11:48:27,599 ... 2023-09-08T11:48:27,599 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:27,601 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:27,602 cdef char *cstr_filename 2023-09-08T11:48:27,602 if PyByteArray_Check(obj): 2023-09-08T11:48:27,603 ^ 2023-09-08T11:48:27,603 ------------------------------------------------------------ 2023-09-08T11:48:27,604 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:27,605 Error compiling Cython file: 2023-09-08T11:48:27,606 ------------------------------------------------------------ 2023-09-08T11:48:27,607 ... 2023-09-08T11:48:27,608 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:27,609 cdef char *cstr_filename 2023-09-08T11:48:27,610 if PyByteArray_Check(obj): 2023-09-08T11:48:27,610 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:27,611 ^ 2023-09-08T11:48:27,611 ------------------------------------------------------------ 2023-09-08T11:48:27,613 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:27,614 Error compiling Cython file: 2023-09-08T11:48:27,614 ------------------------------------------------------------ 2023-09-08T11:48:27,614 ... 2023-09-08T11:48:27,616 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:27,616 cdef char *cstr_filename 2023-09-08T11:48:27,617 if PyByteArray_Check(obj): 2023-09-08T11:48:27,617 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:27,617 ^ 2023-09-08T11:48:27,618 ------------------------------------------------------------ 2023-09-08T11:48:27,619 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:27,620 Error compiling Cython file: 2023-09-08T11:48:27,620 ------------------------------------------------------------ 2023-09-08T11:48:27,620 ... 2023-09-08T11:48:27,621 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:27,622 cdef char *cstr_filename 2023-09-08T11:48:27,622 if PyByteArray_Check(obj): 2023-09-08T11:48:27,623 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:27,623 elif PyBytes_Check(obj): 2023-09-08T11:48:27,624 ^ 2023-09-08T11:48:27,624 ------------------------------------------------------------ 2023-09-08T11:48:27,625 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:27,626 Error compiling Cython file: 2023-09-08T11:48:27,626 ------------------------------------------------------------ 2023-09-08T11:48:27,626 ... 2023-09-08T11:48:27,627 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:27,627 cdef char *cstr_filename 2023-09-08T11:48:27,628 if PyByteArray_Check(obj): 2023-09-08T11:48:27,628 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:27,628 elif PyBytes_Check(obj): 2023-09-08T11:48:27,629 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:27,630 ^ 2023-09-08T11:48:27,630 ------------------------------------------------------------ 2023-09-08T11:48:27,631 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:27,632 Error compiling Cython file: 2023-09-08T11:48:27,633 ------------------------------------------------------------ 2023-09-08T11:48:27,634 ... 2023-09-08T11:48:27,634 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:27,635 cdef char *cstr_filename 2023-09-08T11:48:27,635 if PyByteArray_Check(obj): 2023-09-08T11:48:27,636 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:27,637 elif PyBytes_Check(obj): 2023-09-08T11:48:27,637 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:27,638 ^ 2023-09-08T11:48:27,638 ------------------------------------------------------------ 2023-09-08T11:48:27,639 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:27,640 Error compiling Cython file: 2023-09-08T11:48:27,641 ------------------------------------------------------------ 2023-09-08T11:48:27,641 ... 2023-09-08T11:48:27,642 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:27,643 cdef ee_ctx cee_ctx 2023-09-08T11:48:27,644 def __cinit__(self): 2023-09-08T11:48:27,645 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:27,646 ^ 2023-09-08T11:48:27,646 ------------------------------------------------------------ 2023-09-08T11:48:27,647 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:27,649 Error compiling Cython file: 2023-09-08T11:48:27,649 ------------------------------------------------------------ 2023-09-08T11:48:27,650 ... 2023-09-08T11:48:27,651 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:27,651 cdef ee_ctx cee_ctx 2023-09-08T11:48:27,652 def __cinit__(self): 2023-09-08T11:48:27,653 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:27,653 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:27,654 ^ 2023-09-08T11:48:27,654 ------------------------------------------------------------ 2023-09-08T11:48:27,655 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:27,656 Error compiling Cython file: 2023-09-08T11:48:27,656 ------------------------------------------------------------ 2023-09-08T11:48:27,657 ... 2023-09-08T11:48:27,657 cdef ee_ctx cee_ctx 2023-09-08T11:48:27,658 def __cinit__(self): 2023-09-08T11:48:27,659 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:27,659 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:27,660 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:27,660 ^ 2023-09-08T11:48:27,661 ------------------------------------------------------------ 2023-09-08T11:48:27,662 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:27,663 Error compiling Cython file: 2023-09-08T11:48:27,663 ------------------------------------------------------------ 2023-09-08T11:48:27,664 ... 2023-09-08T11:48:27,664 def __init__(self): 2023-09-08T11:48:27,665 pass 2023-09-08T11:48:27,666 def __dealoc__(self): 2023-09-08T11:48:27,666 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:27,666 ^ 2023-09-08T11:48:27,667 ------------------------------------------------------------ 2023-09-08T11:48:27,668 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:27,669 Error compiling Cython file: 2023-09-08T11:48:27,669 ------------------------------------------------------------ 2023-09-08T11:48:27,670 ... 2023-09-08T11:48:27,670 def __init__(self): 2023-09-08T11:48:27,671 pass 2023-09-08T11:48:27,672 def __dealoc__(self): 2023-09-08T11:48:27,673 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:27,673 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:27,674 ^ 2023-09-08T11:48:27,674 ------------------------------------------------------------ 2023-09-08T11:48:27,675 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:27,676 Error compiling Cython file: 2023-09-08T11:48:27,677 ------------------------------------------------------------ 2023-09-08T11:48:27,678 ... 2023-09-08T11:48:27,678 def __dealoc__(self): 2023-09-08T11:48:27,679 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:27,679 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:27,680 def load_rule(self, object rule): 2023-09-08T11:48:27,681 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:27,682 ^ 2023-09-08T11:48:27,682 ------------------------------------------------------------ 2023-09-08T11:48:27,683 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2023-09-08T11:48:27,685 Error compiling Cython file: 2023-09-08T11:48:27,685 ------------------------------------------------------------ 2023-09-08T11:48:27,686 ... 2023-09-08T11:48:27,687 def load_rule(self, object rule): 2023-09-08T11:48:27,687 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:27,689 def load_rules(self, object filename): 2023-09-08T11:48:27,689 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2023-09-08T11:48:27,690 ^ 2023-09-08T11:48:27,691 ------------------------------------------------------------ 2023-09-08T11:48:27,692 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:27,694 Error compiling Cython file: 2023-09-08T11:48:27,695 ------------------------------------------------------------ 2023-09-08T11:48:27,695 ... 2023-09-08T11:48:27,696 def normalize(self, object data, int length): 2023-09-08T11:48:27,697 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2023-09-08T11:48:27,697 if normal == NULL: 2023-09-08T11:48:27,697 return None 2023-09-08T11:48:27,698 else: 2023-09-08T11:48:27,698 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:27,699 ^ 2023-09-08T11:48:27,699 ------------------------------------------------------------ 2023-09-08T11:48:27,700 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:27,701 Error compiling Cython file: 2023-09-08T11:48:27,701 ------------------------------------------------------------ 2023-09-08T11:48:27,701 ... 2023-09-08T11:48:27,702 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:27,702 free(normal) 2023-09-08T11:48:27,703 return pyobj 2023-09-08T11:48:27,703 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:27,704 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:27,704 ^ 2023-09-08T11:48:27,705 ------------------------------------------------------------ 2023-09-08T11:48:27,706 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:27,706 Error compiling Cython file: 2023-09-08T11:48:27,707 ------------------------------------------------------------ 2023-09-08T11:48:27,707 ... 2023-09-08T11:48:27,708 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:27,708 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:27,709 cdef ee_event *event = NULL 2023-09-08T11:48:27,709 cdef char *formatted = NULL 2023-09-08T11:48:27,710 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:27,711 ^ 2023-09-08T11:48:27,712 ------------------------------------------------------------ 2023-09-08T11:48:27,713 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:27,714 Error compiling Cython file: 2023-09-08T11:48:27,714 ------------------------------------------------------------ 2023-09-08T11:48:27,715 ... 2023-09-08T11:48:27,716 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:27,717 if event != NULL: 2023-09-08T11:48:27,718 formatted = self.format_JSON(event) 2023-09-08T11:48:27,718 ee_deleteEvent(event) 2023-09-08T11:48:27,719 ^ 2023-09-08T11:48:27,720 ------------------------------------------------------------ 2023-09-08T11:48:27,721 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:27,722 Error compiling Cython file: 2023-09-08T11:48:27,722 ------------------------------------------------------------ 2023-09-08T11:48:27,723 ... 2023-09-08T11:48:27,723 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:27,724 if event != NULL: 2023-09-08T11:48:27,725 formatted = self.format_JSON(event) 2023-09-08T11:48:27,725 ee_deleteEvent(event) 2023-09-08T11:48:27,726 es_deleteStr(in_str) 2023-09-08T11:48:27,727 ^ 2023-09-08T11:48:27,727 ------------------------------------------------------------ 2023-09-08T11:48:27,728 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:27,730 Error compiling Cython file: 2023-09-08T11:48:27,730 ------------------------------------------------------------ 2023-09-08T11:48:27,731 ... 2023-09-08T11:48:27,732 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:27,733 cdef es_str_t *out_str = NULL 2023-09-08T11:48:27,733 cdef char *cstr = NULL 2023-09-08T11:48:27,735 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:27,735 ^ 2023-09-08T11:48:27,736 ------------------------------------------------------------ 2023-09-08T11:48:27,737 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:27,738 Error compiling Cython file: 2023-09-08T11:48:27,738 ------------------------------------------------------------ 2023-09-08T11:48:27,739 ... 2023-09-08T11:48:27,739 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:27,740 cdef es_str_t *out_str = NULL 2023-09-08T11:48:27,740 cdef char *cstr = NULL 2023-09-08T11:48:27,741 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:27,742 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:27,742 ^ 2023-09-08T11:48:27,743 ------------------------------------------------------------ 2023-09-08T11:48:27,744 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:27,745 Error compiling Cython file: 2023-09-08T11:48:27,745 ------------------------------------------------------------ 2023-09-08T11:48:27,745 ... 2023-09-08T11:48:27,746 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:27,746 cdef es_str_t *out_str = NULL 2023-09-08T11:48:27,747 cdef char *cstr = NULL 2023-09-08T11:48:27,748 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:27,748 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:27,748 ^ 2023-09-08T11:48:27,749 ------------------------------------------------------------ 2023-09-08T11:48:27,750 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2023-09-08T11:48:27,751 Error compiling Cython file: 2023-09-08T11:48:27,752 ------------------------------------------------------------ 2023-09-08T11:48:27,752 ... 2023-09-08T11:48:27,753 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:27,753 cdef es_str_t *out_str = NULL 2023-09-08T11:48:27,754 cdef char *cstr = NULL 2023-09-08T11:48:27,755 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:27,756 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:27,756 ^ 2023-09-08T11:48:27,757 ------------------------------------------------------------ 2023-09-08T11:48:27,758 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:28,093 Compiling pylognorm/bindings/liblognorm.pyx because it changed. 2023-09-08T11:48:28,093 [1/1] Cythonizing pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:28,154 Error compiling Cython file: 2023-09-08T11:48:28,155 ------------------------------------------------------------ 2023-09-08T11:48:28,156 ... 2023-09-08T11:48:28,156 from os import path 2023-09-08T11:48:28,157 from liblognorm cimport * 2023-09-08T11:48:28,158 ^ 2023-09-08T11:48:28,158 ------------------------------------------------------------ 2023-09-08T11:48:28,159 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2023-09-08T11:48:28,249 Error compiling Cython file: 2023-09-08T11:48:28,250 ------------------------------------------------------------ 2023-09-08T11:48:28,250 ... 2023-09-08T11:48:28,251 return self.cnormalizer.normalize(logline, len(logline)) 2023-09-08T11:48:28,253 cdef class CLogNormalizer(object): 2023-09-08T11:48:28,254 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:28,254 ^ 2023-09-08T11:48:28,255 ------------------------------------------------------------ 2023-09-08T11:48:28,256 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:28,257 Error compiling Cython file: 2023-09-08T11:48:28,258 ------------------------------------------------------------ 2023-09-08T11:48:28,258 ... 2023-09-08T11:48:28,260 cdef class CLogNormalizer(object): 2023-09-08T11:48:28,262 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:28,262 cdef ee_ctx cee_ctx 2023-09-08T11:48:28,263 ^ 2023-09-08T11:48:28,264 ------------------------------------------------------------ 2023-09-08T11:48:28,265 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:28,266 Error compiling Cython file: 2023-09-08T11:48:28,266 ------------------------------------------------------------ 2023-09-08T11:48:28,267 ... 2023-09-08T11:48:28,267 formatted = self.format_JSON(event) 2023-09-08T11:48:28,268 ee_deleteEvent(event) 2023-09-08T11:48:28,268 es_deleteStr(in_str) 2023-09-08T11:48:28,268 return formatted 2023-09-08T11:48:28,269 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:28,270 ^ 2023-09-08T11:48:28,270 ------------------------------------------------------------ 2023-09-08T11:48:28,271 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2023-09-08T11:48:28,272 Error compiling Cython file: 2023-09-08T11:48:28,272 ------------------------------------------------------------ 2023-09-08T11:48:28,273 ... 2023-09-08T11:48:28,273 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:28,273 free(normal) 2023-09-08T11:48:28,274 return pyobj 2023-09-08T11:48:28,274 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:28,275 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:28,275 ^ 2023-09-08T11:48:28,276 ------------------------------------------------------------ 2023-09-08T11:48:28,277 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:28,278 Error compiling Cython file: 2023-09-08T11:48:28,278 ------------------------------------------------------------ 2023-09-08T11:48:28,279 ... 2023-09-08T11:48:28,279 free(normal) 2023-09-08T11:48:28,280 return pyobj 2023-09-08T11:48:28,281 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:28,282 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:28,282 cdef ee_event *event = NULL 2023-09-08T11:48:28,283 ^ 2023-09-08T11:48:28,284 ------------------------------------------------------------ 2023-09-08T11:48:28,285 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2023-09-08T11:48:28,286 Error compiling Cython file: 2023-09-08T11:48:28,287 ------------------------------------------------------------ 2023-09-08T11:48:28,288 ... 2023-09-08T11:48:28,288 ee_deleteEvent(event) 2023-09-08T11:48:28,289 es_deleteStr(in_str) 2023-09-08T11:48:28,289 return formatted 2023-09-08T11:48:28,290 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:28,291 cdef es_str_t *out_str = NULL 2023-09-08T11:48:28,291 ^ 2023-09-08T11:48:28,292 ------------------------------------------------------------ 2023-09-08T11:48:28,293 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:28,301 Error compiling Cython file: 2023-09-08T11:48:28,302 ------------------------------------------------------------ 2023-09-08T11:48:28,302 ... 2023-09-08T11:48:28,303 from libc.stdlib cimport malloc, free 2023-09-08T11:48:28,304 from libc.string cimport strlen 2023-09-08T11:48:28,305 def lib_version(): 2023-09-08T11:48:28,306 cdef char* version = ln_version() 2023-09-08T11:48:28,307 ^ 2023-09-08T11:48:28,307 ------------------------------------------------------------ 2023-09-08T11:48:28,309 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2023-09-08T11:48:28,310 Error compiling Cython file: 2023-09-08T11:48:28,311 ------------------------------------------------------------ 2023-09-08T11:48:28,311 ... 2023-09-08T11:48:28,312 from libc.stdlib cimport malloc, free 2023-09-08T11:48:28,313 from libc.string cimport strlen 2023-09-08T11:48:28,314 def lib_version(): 2023-09-08T11:48:28,315 cdef char* version = ln_version() 2023-09-08T11:48:28,315 ^ 2023-09-08T11:48:28,315 ------------------------------------------------------------ 2023-09-08T11:48:28,316 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:28,317 Error compiling Cython file: 2023-09-08T11:48:28,318 ------------------------------------------------------------ 2023-09-08T11:48:28,318 ... 2023-09-08T11:48:28,318 from libc.string cimport strlen 2023-09-08T11:48:28,320 def lib_version(): 2023-09-08T11:48:28,320 cdef char* version = ln_version() 2023-09-08T11:48:28,321 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:28,321 ^ 2023-09-08T11:48:28,321 ------------------------------------------------------------ 2023-09-08T11:48:28,322 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:28,323 Error compiling Cython file: 2023-09-08T11:48:28,324 ------------------------------------------------------------ 2023-09-08T11:48:28,324 ... 2023-09-08T11:48:28,324 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:28,326 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:28,326 cdef char *cstr_filename 2023-09-08T11:48:28,326 if PyByteArray_Check(obj): 2023-09-08T11:48:28,327 ^ 2023-09-08T11:48:28,327 ------------------------------------------------------------ 2023-09-08T11:48:28,328 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:28,329 Error compiling Cython file: 2023-09-08T11:48:28,330 ------------------------------------------------------------ 2023-09-08T11:48:28,330 ... 2023-09-08T11:48:28,332 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:28,333 cdef char *cstr_filename 2023-09-08T11:48:28,333 if PyByteArray_Check(obj): 2023-09-08T11:48:28,334 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:28,335 ^ 2023-09-08T11:48:28,335 ------------------------------------------------------------ 2023-09-08T11:48:28,336 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:28,338 Error compiling Cython file: 2023-09-08T11:48:28,338 ------------------------------------------------------------ 2023-09-08T11:48:28,339 ... 2023-09-08T11:48:28,341 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:28,341 cdef char *cstr_filename 2023-09-08T11:48:28,342 if PyByteArray_Check(obj): 2023-09-08T11:48:28,342 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:28,343 ^ 2023-09-08T11:48:28,343 ------------------------------------------------------------ 2023-09-08T11:48:28,344 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:28,345 Error compiling Cython file: 2023-09-08T11:48:28,346 ------------------------------------------------------------ 2023-09-08T11:48:28,346 ... 2023-09-08T11:48:28,347 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:28,348 cdef char *cstr_filename 2023-09-08T11:48:28,348 if PyByteArray_Check(obj): 2023-09-08T11:48:28,349 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:28,349 elif PyBytes_Check(obj): 2023-09-08T11:48:28,350 ^ 2023-09-08T11:48:28,351 ------------------------------------------------------------ 2023-09-08T11:48:28,352 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:28,353 Error compiling Cython file: 2023-09-08T11:48:28,354 ------------------------------------------------------------ 2023-09-08T11:48:28,354 ... 2023-09-08T11:48:28,355 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:28,356 cdef char *cstr_filename 2023-09-08T11:48:28,356 if PyByteArray_Check(obj): 2023-09-08T11:48:28,356 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:28,357 elif PyBytes_Check(obj): 2023-09-08T11:48:28,357 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:28,358 ^ 2023-09-08T11:48:28,358 ------------------------------------------------------------ 2023-09-08T11:48:28,359 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:28,360 Error compiling Cython file: 2023-09-08T11:48:28,360 ------------------------------------------------------------ 2023-09-08T11:48:28,361 ... 2023-09-08T11:48:28,361 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:28,361 cdef char *cstr_filename 2023-09-08T11:48:28,362 if PyByteArray_Check(obj): 2023-09-08T11:48:28,362 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:28,363 elif PyBytes_Check(obj): 2023-09-08T11:48:28,363 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:28,363 ^ 2023-09-08T11:48:28,364 ------------------------------------------------------------ 2023-09-08T11:48:28,365 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:28,366 Error compiling Cython file: 2023-09-08T11:48:28,366 ------------------------------------------------------------ 2023-09-08T11:48:28,367 ... 2023-09-08T11:48:28,368 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:28,368 cdef ee_ctx cee_ctx 2023-09-08T11:48:28,369 def __cinit__(self): 2023-09-08T11:48:28,370 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:28,370 ^ 2023-09-08T11:48:28,371 ------------------------------------------------------------ 2023-09-08T11:48:28,372 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:28,373 Error compiling Cython file: 2023-09-08T11:48:28,374 ------------------------------------------------------------ 2023-09-08T11:48:28,374 ... 2023-09-08T11:48:28,375 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:28,375 cdef ee_ctx cee_ctx 2023-09-08T11:48:28,376 def __cinit__(self): 2023-09-08T11:48:28,377 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:28,377 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:28,378 ^ 2023-09-08T11:48:28,379 ------------------------------------------------------------ 2023-09-08T11:48:28,380 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:28,381 Error compiling Cython file: 2023-09-08T11:48:28,382 ------------------------------------------------------------ 2023-09-08T11:48:28,382 ... 2023-09-08T11:48:28,383 cdef ee_ctx cee_ctx 2023-09-08T11:48:28,385 def __cinit__(self): 2023-09-08T11:48:28,386 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:28,387 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:28,388 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:28,389 ^ 2023-09-08T11:48:28,389 ------------------------------------------------------------ 2023-09-08T11:48:28,391 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:28,393 Error compiling Cython file: 2023-09-08T11:48:28,394 ------------------------------------------------------------ 2023-09-08T11:48:28,395 ... 2023-09-08T11:48:28,396 def __init__(self): 2023-09-08T11:48:28,397 pass 2023-09-08T11:48:28,399 def __dealoc__(self): 2023-09-08T11:48:28,400 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:28,400 ^ 2023-09-08T11:48:28,401 ------------------------------------------------------------ 2023-09-08T11:48:28,403 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:28,405 Error compiling Cython file: 2023-09-08T11:48:28,405 ------------------------------------------------------------ 2023-09-08T11:48:28,406 ... 2023-09-08T11:48:28,407 def __init__(self): 2023-09-08T11:48:28,407 pass 2023-09-08T11:48:28,409 def __dealoc__(self): 2023-09-08T11:48:28,409 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:28,410 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:28,411 ^ 2023-09-08T11:48:28,412 ------------------------------------------------------------ 2023-09-08T11:48:28,413 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:28,414 Error compiling Cython file: 2023-09-08T11:48:28,415 ------------------------------------------------------------ 2023-09-08T11:48:28,416 ... 2023-09-08T11:48:28,416 def __dealoc__(self): 2023-09-08T11:48:28,417 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:28,417 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:28,418 def load_rule(self, object rule): 2023-09-08T11:48:28,418 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:28,419 ^ 2023-09-08T11:48:28,419 ------------------------------------------------------------ 2023-09-08T11:48:28,420 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2023-09-08T11:48:28,421 Error compiling Cython file: 2023-09-08T11:48:28,421 ------------------------------------------------------------ 2023-09-08T11:48:28,422 ... 2023-09-08T11:48:28,423 def load_rule(self, object rule): 2023-09-08T11:48:28,423 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:28,424 def load_rules(self, object filename): 2023-09-08T11:48:28,425 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2023-09-08T11:48:28,426 ^ 2023-09-08T11:48:28,426 ------------------------------------------------------------ 2023-09-08T11:48:28,428 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:28,429 Error compiling Cython file: 2023-09-08T11:48:28,430 ------------------------------------------------------------ 2023-09-08T11:48:28,430 ... 2023-09-08T11:48:28,431 def normalize(self, object data, int length): 2023-09-08T11:48:28,432 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2023-09-08T11:48:28,433 if normal == NULL: 2023-09-08T11:48:28,434 return None 2023-09-08T11:48:28,435 else: 2023-09-08T11:48:28,436 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:28,437 ^ 2023-09-08T11:48:28,438 ------------------------------------------------------------ 2023-09-08T11:48:28,439 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:28,441 Error compiling Cython file: 2023-09-08T11:48:28,442 ------------------------------------------------------------ 2023-09-08T11:48:28,442 ... 2023-09-08T11:48:28,443 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:28,444 free(normal) 2023-09-08T11:48:28,445 return pyobj 2023-09-08T11:48:28,446 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:28,447 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:28,448 ^ 2023-09-08T11:48:28,449 ------------------------------------------------------------ 2023-09-08T11:48:28,451 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:28,453 Error compiling Cython file: 2023-09-08T11:48:28,454 ------------------------------------------------------------ 2023-09-08T11:48:28,454 ... 2023-09-08T11:48:28,455 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:28,456 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:28,457 cdef ee_event *event = NULL 2023-09-08T11:48:28,458 cdef char *formatted = NULL 2023-09-08T11:48:28,460 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:28,461 ^ 2023-09-08T11:48:28,462 ------------------------------------------------------------ 2023-09-08T11:48:28,463 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:28,464 Error compiling Cython file: 2023-09-08T11:48:28,465 ------------------------------------------------------------ 2023-09-08T11:48:28,466 ... 2023-09-08T11:48:28,467 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:28,468 if event != NULL: 2023-09-08T11:48:28,469 formatted = self.format_JSON(event) 2023-09-08T11:48:28,470 ee_deleteEvent(event) 2023-09-08T11:48:28,470 ^ 2023-09-08T11:48:28,471 ------------------------------------------------------------ 2023-09-08T11:48:28,472 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:28,473 Error compiling Cython file: 2023-09-08T11:48:28,474 ------------------------------------------------------------ 2023-09-08T11:48:28,475 ... 2023-09-08T11:48:28,475 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:28,477 if event != NULL: 2023-09-08T11:48:28,477 formatted = self.format_JSON(event) 2023-09-08T11:48:28,478 ee_deleteEvent(event) 2023-09-08T11:48:28,479 es_deleteStr(in_str) 2023-09-08T11:48:28,480 ^ 2023-09-08T11:48:28,481 ------------------------------------------------------------ 2023-09-08T11:48:28,483 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:28,485 Error compiling Cython file: 2023-09-08T11:48:28,486 ------------------------------------------------------------ 2023-09-08T11:48:28,486 ... 2023-09-08T11:48:28,488 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:28,489 cdef es_str_t *out_str = NULL 2023-09-08T11:48:28,490 cdef char *cstr = NULL 2023-09-08T11:48:28,492 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:28,493 ^ 2023-09-08T11:48:28,494 ------------------------------------------------------------ 2023-09-08T11:48:28,495 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:28,497 Error compiling Cython file: 2023-09-08T11:48:28,498 ------------------------------------------------------------ 2023-09-08T11:48:28,499 ... 2023-09-08T11:48:28,500 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:28,500 cdef es_str_t *out_str = NULL 2023-09-08T11:48:28,501 cdef char *cstr = NULL 2023-09-08T11:48:28,503 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:28,504 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:28,505 ^ 2023-09-08T11:48:28,507 ------------------------------------------------------------ 2023-09-08T11:48:28,510 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:28,513 Error compiling Cython file: 2023-09-08T11:48:28,515 ------------------------------------------------------------ 2023-09-08T11:48:28,516 ... 2023-09-08T11:48:28,518 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:28,520 cdef es_str_t *out_str = NULL 2023-09-08T11:48:28,521 cdef char *cstr = NULL 2023-09-08T11:48:28,525 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:28,527 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:28,529 ^ 2023-09-08T11:48:28,530 ------------------------------------------------------------ 2023-09-08T11:48:28,534 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2023-09-08T11:48:28,538 Error compiling Cython file: 2023-09-08T11:48:28,540 ------------------------------------------------------------ 2023-09-08T11:48:28,541 ... 2023-09-08T11:48:28,543 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:28,544 cdef es_str_t *out_str = NULL 2023-09-08T11:48:28,545 cdef char *cstr = NULL 2023-09-08T11:48:28,548 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:28,550 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:28,551 ^ 2023-09-08T11:48:28,553 ------------------------------------------------------------ 2023-09-08T11:48:28,556 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:28,558 Traceback (most recent call last): 2023-09-08T11:48:28,558 File "", line 2, in 2023-09-08T11:48:28,559 File "", line 34, in 2023-09-08T11:48:28,560 File "/tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/setup.py", line 85, in 2023-09-08T11:48:28,561 setup( 2023-09-08T11:48:28,562 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-08T11:48:28,562 return run_commands(dist) 2023-09-08T11:48:28,563 ^^^^^^^^^^^^^^^^^^ 2023-09-08T11:48:28,564 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-08T11:48:28,565 dist.run_commands() 2023-09-08T11:48:28,565 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-08T11:48:28,566 self.run_command(cmd) 2023-09-08T11:48:28,567 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T11:48:28,568 super().run_command(command) 2023-09-08T11:48:28,569 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T11:48:28,570 cmd_obj.run() 2023-09-08T11:48:28,571 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-08T11:48:28,571 self.run_command("build") 2023-09-08T11:48:28,572 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T11:48:28,573 self.distribution.run_command(command) 2023-09-08T11:48:28,574 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T11:48:28,574 super().run_command(command) 2023-09-08T11:48:28,575 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T11:48:28,576 cmd_obj.run() 2023-09-08T11:48:28,577 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-08T11:48:28,578 self.run_command(cmd_name) 2023-09-08T11:48:28,578 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T11:48:28,579 self.distribution.run_command(command) 2023-09-08T11:48:28,580 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T11:48:28,580 super().run_command(command) 2023-09-08T11:48:28,581 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T11:48:28,582 cmd_obj.run() 2023-09-08T11:48:28,582 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 345, in run 2023-09-08T11:48:28,583 self.build_extensions() 2023-09-08T11:48:28,584 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions 2023-09-08T11:48:28,585 self._build_extensions_serial() 2023-09-08T11:48:28,586 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial 2023-09-08T11:48:28,586 self.build_extension(ext) 2023-09-08T11:48:28,587 File "/usr/local/lib/python3.11/dist-packages/Cython/Distutils/build_ext.py", line 122, in build_extension 2023-09-08T11:48:28,588 new_ext = cythonize( 2023-09-08T11:48:28,589 ^^^^^^^^^^ 2023-09-08T11:48:28,589 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-08T11:48:28,590 cythonize_one(*args) 2023-09-08T11:48:28,590 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-08T11:48:28,591 raise CompileError(None, pyx_file) 2023-09-08T11:48:28,591 Cython.Compiler.Errors.CompileError: pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:28,660 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T11:48:28,673 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T11:48:28,673 exec(compile('"'"''"'"''"'"' 2023-09-08T11:48:28,673 # This is -- a caller that pip uses to run setup.py 2023-09-08T11:48:28,673 # 2023-09-08T11:48:28,673 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T11:48:28,673 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T11:48:28,673 # - It provides a clear error message when setuptools is not installed. 2023-09-08T11:48:28,673 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T11:48:28,673 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T11:48:28,673 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T11:48:28,673 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T11:48:28,673 import os, sys, tokenize 2023-09-08T11:48:28,673 2023-09-08T11:48:28,673 try: 2023-09-08T11:48:28,673 import setuptools 2023-09-08T11:48:28,673 except ImportError as error: 2023-09-08T11:48:28,673 print( 2023-09-08T11:48:28,673 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T11:48:28,673 "the build environment.", 2023-09-08T11:48:28,673 file=sys.stderr, 2023-09-08T11:48:28,673 ) 2023-09-08T11:48:28,673 sys.exit(1) 2023-09-08T11:48:28,673 2023-09-08T11:48:28,673 __file__ = %r 2023-09-08T11:48:28,673 sys.argv[0] = __file__ 2023-09-08T11:48:28,673 2023-09-08T11:48:28,673 if os.path.exists(__file__): 2023-09-08T11:48:28,673 filename = __file__ 2023-09-08T11:48:28,673 with tokenize.open(__file__) as f: 2023-09-08T11:48:28,673 setup_py_code = f.read() 2023-09-08T11:48:28,673 else: 2023-09-08T11:48:28,673 filename = "" 2023-09-08T11:48:28,673 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T11:48:28,673 2023-09-08T11:48:28,673 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T11:48:28,673 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-sm__niih[/] 2023-09-08T11:48:28,674 [bold magenta]cwd[/]: /tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/ 2023-09-08T11:48:28,674 Building wheel for pylognorm (setup.py): finished with status 'error' 2023-09-08T11:48:28,676 ERROR: Failed building wheel for pylognorm 2023-09-08T11:48:28,677 Running setup.py clean for pylognorm 2023-09-08T11:48:28,678 Running command python setup.py clean 2023-09-08T11:48:31,060 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-wd9jrp6z/pylognorm_9cd4ee0bd339454ca8944eb1c268ad58/pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:31,060 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T11:48:31,118 Error compiling Cython file: 2023-09-08T11:48:31,118 ------------------------------------------------------------ 2023-09-08T11:48:31,119 ... 2023-09-08T11:48:31,119 from os import path 2023-09-08T11:48:31,120 from liblognorm cimport * 2023-09-08T11:48:31,120 ^ 2023-09-08T11:48:31,120 ------------------------------------------------------------ 2023-09-08T11:48:31,121 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2023-09-08T11:48:31,222 Error compiling Cython file: 2023-09-08T11:48:31,223 ------------------------------------------------------------ 2023-09-08T11:48:31,223 ... 2023-09-08T11:48:31,224 return self.cnormalizer.normalize(logline, len(logline)) 2023-09-08T11:48:31,225 cdef class CLogNormalizer(object): 2023-09-08T11:48:31,226 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:31,227 ^ 2023-09-08T11:48:31,227 ------------------------------------------------------------ 2023-09-08T11:48:31,228 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:31,229 Error compiling Cython file: 2023-09-08T11:48:31,229 ------------------------------------------------------------ 2023-09-08T11:48:31,230 ... 2023-09-08T11:48:31,231 cdef class CLogNormalizer(object): 2023-09-08T11:48:31,232 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:31,233 cdef ee_ctx cee_ctx 2023-09-08T11:48:31,233 ^ 2023-09-08T11:48:31,234 ------------------------------------------------------------ 2023-09-08T11:48:31,235 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:31,235 Error compiling Cython file: 2023-09-08T11:48:31,236 ------------------------------------------------------------ 2023-09-08T11:48:31,236 ... 2023-09-08T11:48:31,237 formatted = self.format_JSON(event) 2023-09-08T11:48:31,238 ee_deleteEvent(event) 2023-09-08T11:48:31,238 es_deleteStr(in_str) 2023-09-08T11:48:31,239 return formatted 2023-09-08T11:48:31,240 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:31,241 ^ 2023-09-08T11:48:31,241 ------------------------------------------------------------ 2023-09-08T11:48:31,243 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2023-09-08T11:48:31,244 Error compiling Cython file: 2023-09-08T11:48:31,245 ------------------------------------------------------------ 2023-09-08T11:48:31,245 ... 2023-09-08T11:48:31,246 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:31,246 free(normal) 2023-09-08T11:48:31,247 return pyobj 2023-09-08T11:48:31,248 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:31,249 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:31,249 ^ 2023-09-08T11:48:31,250 ------------------------------------------------------------ 2023-09-08T11:48:31,251 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:31,252 Error compiling Cython file: 2023-09-08T11:48:31,253 ------------------------------------------------------------ 2023-09-08T11:48:31,253 ... 2023-09-08T11:48:31,254 free(normal) 2023-09-08T11:48:31,254 return pyobj 2023-09-08T11:48:31,256 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:31,256 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:31,257 cdef ee_event *event = NULL 2023-09-08T11:48:31,258 ^ 2023-09-08T11:48:31,258 ------------------------------------------------------------ 2023-09-08T11:48:31,259 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2023-09-08T11:48:31,261 Error compiling Cython file: 2023-09-08T11:48:31,261 ------------------------------------------------------------ 2023-09-08T11:48:31,262 ... 2023-09-08T11:48:31,263 ee_deleteEvent(event) 2023-09-08T11:48:31,263 es_deleteStr(in_str) 2023-09-08T11:48:31,264 return formatted 2023-09-08T11:48:31,265 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:31,265 cdef es_str_t *out_str = NULL 2023-09-08T11:48:31,266 ^ 2023-09-08T11:48:31,266 ------------------------------------------------------------ 2023-09-08T11:48:31,267 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:31,291 Error compiling Cython file: 2023-09-08T11:48:31,292 ------------------------------------------------------------ 2023-09-08T11:48:31,292 ... 2023-09-08T11:48:31,293 from libc.stdlib cimport malloc, free 2023-09-08T11:48:31,293 from libc.string cimport strlen 2023-09-08T11:48:31,294 def lib_version(): 2023-09-08T11:48:31,295 cdef char* version = ln_version() 2023-09-08T11:48:31,295 ^ 2023-09-08T11:48:31,296 ------------------------------------------------------------ 2023-09-08T11:48:31,297 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2023-09-08T11:48:31,298 Error compiling Cython file: 2023-09-08T11:48:31,298 ------------------------------------------------------------ 2023-09-08T11:48:31,299 ... 2023-09-08T11:48:31,299 from libc.stdlib cimport malloc, free 2023-09-08T11:48:31,300 from libc.string cimport strlen 2023-09-08T11:48:31,301 def lib_version(): 2023-09-08T11:48:31,302 cdef char* version = ln_version() 2023-09-08T11:48:31,302 ^ 2023-09-08T11:48:31,303 ------------------------------------------------------------ 2023-09-08T11:48:31,304 pylognorm/bindings/liblognorm.pyx:8:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:31,305 Error compiling Cython file: 2023-09-08T11:48:31,306 ------------------------------------------------------------ 2023-09-08T11:48:31,307 ... 2023-09-08T11:48:31,307 from libc.string cimport strlen 2023-09-08T11:48:31,310 def lib_version(): 2023-09-08T11:48:31,310 cdef char* version = ln_version() 2023-09-08T11:48:31,311 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:31,312 ^ 2023-09-08T11:48:31,312 ------------------------------------------------------------ 2023-09-08T11:48:31,314 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:31,315 Error compiling Cython file: 2023-09-08T11:48:31,316 ------------------------------------------------------------ 2023-09-08T11:48:31,316 ... 2023-09-08T11:48:31,317 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:31,319 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:31,320 cdef char *cstr_filename 2023-09-08T11:48:31,320 if PyByteArray_Check(obj): 2023-09-08T11:48:31,321 ^ 2023-09-08T11:48:31,321 ------------------------------------------------------------ 2023-09-08T11:48:31,322 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:31,323 Error compiling Cython file: 2023-09-08T11:48:31,324 ------------------------------------------------------------ 2023-09-08T11:48:31,324 ... 2023-09-08T11:48:31,326 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:31,327 cdef char *cstr_filename 2023-09-08T11:48:31,327 if PyByteArray_Check(obj): 2023-09-08T11:48:31,328 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:31,328 ^ 2023-09-08T11:48:31,329 ------------------------------------------------------------ 2023-09-08T11:48:31,330 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:31,332 Error compiling Cython file: 2023-09-08T11:48:31,332 ------------------------------------------------------------ 2023-09-08T11:48:31,333 ... 2023-09-08T11:48:31,334 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:31,335 cdef char *cstr_filename 2023-09-08T11:48:31,335 if PyByteArray_Check(obj): 2023-09-08T11:48:31,336 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:31,336 ^ 2023-09-08T11:48:31,336 ------------------------------------------------------------ 2023-09-08T11:48:31,337 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:31,338 Error compiling Cython file: 2023-09-08T11:48:31,338 ------------------------------------------------------------ 2023-09-08T11:48:31,339 ... 2023-09-08T11:48:31,340 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:31,340 cdef char *cstr_filename 2023-09-08T11:48:31,341 if PyByteArray_Check(obj): 2023-09-08T11:48:31,341 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:31,341 elif PyBytes_Check(obj): 2023-09-08T11:48:31,342 ^ 2023-09-08T11:48:31,342 ------------------------------------------------------------ 2023-09-08T11:48:31,343 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:31,344 Error compiling Cython file: 2023-09-08T11:48:31,345 ------------------------------------------------------------ 2023-09-08T11:48:31,345 ... 2023-09-08T11:48:31,345 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:31,346 cdef char *cstr_filename 2023-09-08T11:48:31,346 if PyByteArray_Check(obj): 2023-09-08T11:48:31,347 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:31,347 elif PyBytes_Check(obj): 2023-09-08T11:48:31,348 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:31,348 ^ 2023-09-08T11:48:31,349 ------------------------------------------------------------ 2023-09-08T11:48:31,350 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:31,351 Error compiling Cython file: 2023-09-08T11:48:31,352 ------------------------------------------------------------ 2023-09-08T11:48:31,353 ... 2023-09-08T11:48:31,353 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:31,354 cdef char *cstr_filename 2023-09-08T11:48:31,354 if PyByteArray_Check(obj): 2023-09-08T11:48:31,355 cstr_filename = PyByteArray_AsString(obj) 2023-09-08T11:48:31,355 elif PyBytes_Check(obj): 2023-09-08T11:48:31,356 cstr_filename = PyBytes_AsString(obj) 2023-09-08T11:48:31,356 ^ 2023-09-08T11:48:31,357 ------------------------------------------------------------ 2023-09-08T11:48:31,358 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:31,360 Error compiling Cython file: 2023-09-08T11:48:31,360 ------------------------------------------------------------ 2023-09-08T11:48:31,361 ... 2023-09-08T11:48:31,362 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:31,362 cdef ee_ctx cee_ctx 2023-09-08T11:48:31,363 def __cinit__(self): 2023-09-08T11:48:31,364 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:31,364 ^ 2023-09-08T11:48:31,365 ------------------------------------------------------------ 2023-09-08T11:48:31,366 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:31,367 Error compiling Cython file: 2023-09-08T11:48:31,368 ------------------------------------------------------------ 2023-09-08T11:48:31,368 ... 2023-09-08T11:48:31,369 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:31,369 cdef ee_ctx cee_ctx 2023-09-08T11:48:31,370 def __cinit__(self): 2023-09-08T11:48:31,371 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:31,372 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:31,372 ^ 2023-09-08T11:48:31,373 ------------------------------------------------------------ 2023-09-08T11:48:31,374 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:31,375 Error compiling Cython file: 2023-09-08T11:48:31,375 ------------------------------------------------------------ 2023-09-08T11:48:31,376 ... 2023-09-08T11:48:31,376 cdef ee_ctx cee_ctx 2023-09-08T11:48:31,377 def __cinit__(self): 2023-09-08T11:48:31,377 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:31,378 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:31,378 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:31,379 ^ 2023-09-08T11:48:31,379 ------------------------------------------------------------ 2023-09-08T11:48:31,380 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:31,381 Error compiling Cython file: 2023-09-08T11:48:31,381 ------------------------------------------------------------ 2023-09-08T11:48:31,382 ... 2023-09-08T11:48:31,383 def __init__(self): 2023-09-08T11:48:31,383 pass 2023-09-08T11:48:31,384 def __dealoc__(self): 2023-09-08T11:48:31,384 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:31,385 ^ 2023-09-08T11:48:31,385 ------------------------------------------------------------ 2023-09-08T11:48:31,386 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:31,387 Error compiling Cython file: 2023-09-08T11:48:31,388 ------------------------------------------------------------ 2023-09-08T11:48:31,388 ... 2023-09-08T11:48:31,389 def __init__(self): 2023-09-08T11:48:31,389 pass 2023-09-08T11:48:31,390 def __dealoc__(self): 2023-09-08T11:48:31,391 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:31,391 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:31,392 ^ 2023-09-08T11:48:31,393 ------------------------------------------------------------ 2023-09-08T11:48:31,394 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:31,395 Error compiling Cython file: 2023-09-08T11:48:31,396 ------------------------------------------------------------ 2023-09-08T11:48:31,396 ... 2023-09-08T11:48:31,397 def __dealoc__(self): 2023-09-08T11:48:31,397 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:31,398 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:31,399 def load_rule(self, object rule): 2023-09-08T11:48:31,399 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:31,400 ^ 2023-09-08T11:48:31,400 ------------------------------------------------------------ 2023-09-08T11:48:31,401 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2023-09-08T11:48:31,403 Error compiling Cython file: 2023-09-08T11:48:31,403 ------------------------------------------------------------ 2023-09-08T11:48:31,404 ... 2023-09-08T11:48:31,405 def load_rule(self, object rule): 2023-09-08T11:48:31,405 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2023-09-08T11:48:31,406 def load_rules(self, object filename): 2023-09-08T11:48:31,407 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2023-09-08T11:48:31,407 ^ 2023-09-08T11:48:31,408 ------------------------------------------------------------ 2023-09-08T11:48:31,409 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:31,410 Error compiling Cython file: 2023-09-08T11:48:31,410 ------------------------------------------------------------ 2023-09-08T11:48:31,411 ... 2023-09-08T11:48:31,412 def normalize(self, object data, int length): 2023-09-08T11:48:31,412 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2023-09-08T11:48:31,413 if normal == NULL: 2023-09-08T11:48:31,414 return None 2023-09-08T11:48:31,414 else: 2023-09-08T11:48:31,415 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:31,415 ^ 2023-09-08T11:48:31,415 ------------------------------------------------------------ 2023-09-08T11:48:31,416 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:31,417 Error compiling Cython file: 2023-09-08T11:48:31,417 ------------------------------------------------------------ 2023-09-08T11:48:31,418 ... 2023-09-08T11:48:31,418 pyobj = PyUnicode_FromString(normal) 2023-09-08T11:48:31,419 free(normal) 2023-09-08T11:48:31,419 return pyobj 2023-09-08T11:48:31,420 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:31,420 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:31,421 ^ 2023-09-08T11:48:31,421 ------------------------------------------------------------ 2023-09-08T11:48:31,422 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:31,423 Error compiling Cython file: 2023-09-08T11:48:31,424 ------------------------------------------------------------ 2023-09-08T11:48:31,424 ... 2023-09-08T11:48:31,425 cdef char * _normalize(self, char *data, int length): 2023-09-08T11:48:31,425 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2023-09-08T11:48:31,426 cdef ee_event *event = NULL 2023-09-08T11:48:31,426 cdef char *formatted = NULL 2023-09-08T11:48:31,427 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:31,428 ^ 2023-09-08T11:48:31,428 ------------------------------------------------------------ 2023-09-08T11:48:31,429 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:31,430 Error compiling Cython file: 2023-09-08T11:48:31,431 ------------------------------------------------------------ 2023-09-08T11:48:31,432 ... 2023-09-08T11:48:31,433 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:31,434 if event != NULL: 2023-09-08T11:48:31,434 formatted = self.format_JSON(event) 2023-09-08T11:48:31,435 ee_deleteEvent(event) 2023-09-08T11:48:31,436 ^ 2023-09-08T11:48:31,436 ------------------------------------------------------------ 2023-09-08T11:48:31,437 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:31,438 Error compiling Cython file: 2023-09-08T11:48:31,439 ------------------------------------------------------------ 2023-09-08T11:48:31,440 ... 2023-09-08T11:48:31,440 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:31,441 if event != NULL: 2023-09-08T11:48:31,442 formatted = self.format_JSON(event) 2023-09-08T11:48:31,442 ee_deleteEvent(event) 2023-09-08T11:48:31,443 es_deleteStr(in_str) 2023-09-08T11:48:31,443 ^ 2023-09-08T11:48:31,444 ------------------------------------------------------------ 2023-09-08T11:48:31,445 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:31,446 Error compiling Cython file: 2023-09-08T11:48:31,447 ------------------------------------------------------------ 2023-09-08T11:48:31,447 ... 2023-09-08T11:48:31,449 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:31,449 cdef es_str_t *out_str = NULL 2023-09-08T11:48:31,450 cdef char *cstr = NULL 2023-09-08T11:48:31,451 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:31,452 ^ 2023-09-08T11:48:31,452 ------------------------------------------------------------ 2023-09-08T11:48:31,454 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:31,455 Error compiling Cython file: 2023-09-08T11:48:31,456 ------------------------------------------------------------ 2023-09-08T11:48:31,457 ... 2023-09-08T11:48:31,457 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:31,457 cdef es_str_t *out_str = NULL 2023-09-08T11:48:31,458 cdef char *cstr = NULL 2023-09-08T11:48:31,459 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:31,459 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:31,459 ^ 2023-09-08T11:48:31,460 ------------------------------------------------------------ 2023-09-08T11:48:31,461 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:31,462 Error compiling Cython file: 2023-09-08T11:48:31,462 ------------------------------------------------------------ 2023-09-08T11:48:31,463 ... 2023-09-08T11:48:31,463 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:31,464 cdef es_str_t *out_str = NULL 2023-09-08T11:48:31,464 cdef char *cstr = NULL 2023-09-08T11:48:31,465 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:31,466 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:31,466 ^ 2023-09-08T11:48:31,467 ------------------------------------------------------------ 2023-09-08T11:48:31,468 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2023-09-08T11:48:31,469 Error compiling Cython file: 2023-09-08T11:48:31,469 ------------------------------------------------------------ 2023-09-08T11:48:31,470 ... 2023-09-08T11:48:31,470 cdef char * format_JSON(self, ee_event *event): 2023-09-08T11:48:31,471 cdef es_str_t *out_str = NULL 2023-09-08T11:48:31,471 cdef char *cstr = NULL 2023-09-08T11:48:31,472 ee_fmtEventToJSON(event, &out_str) 2023-09-08T11:48:31,473 cstr = es_str2cstr(out_str, NULL) 2023-09-08T11:48:31,474 ^ 2023-09-08T11:48:31,474 ------------------------------------------------------------ 2023-09-08T11:48:31,476 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:31,641 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T11:48:31,641 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T11:48:31,890 Failed to build pylognorm 2023-09-08T11:48:31,891 ERROR: Failed to build one or more wheels 2023-09-08T11:48:31,893 Exception information: 2023-09-08T11:48:31,893 Traceback (most recent call last): 2023-09-08T11:48:31,893 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T11:48:31,893 status = run_func(*args) 2023-09-08T11:48:31,893 ^^^^^^^^^^^^^^^ 2023-09-08T11:48:31,893 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T11:48:31,893 return func(self, options, args) 2023-09-08T11:48:31,893 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T11:48:31,893 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T11:48:31,893 raise CommandError("Failed to build one or more wheels") 2023-09-08T11:48:31,893 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T11:48:31,896 Removed build tracker: '/tmp/pip-build-tracker-o2pmctxq'