2023-09-08T11:48:34,022 Created temporary directory: /tmp/pip-build-tracker-vo2y1mxs 2023-09-08T11:48:34,023 Initialized build tracking at /tmp/pip-build-tracker-vo2y1mxs 2023-09-08T11:48:34,024 Created build tracker: /tmp/pip-build-tracker-vo2y1mxs 2023-09-08T11:48:34,024 Entered build tracker: /tmp/pip-build-tracker-vo2y1mxs 2023-09-08T11:48:34,025 Created temporary directory: /tmp/pip-wheel-6oxjos2p 2023-09-08T11:48:34,028 Created temporary directory: /tmp/pip-ephem-wheel-cache-xkchh8ds 2023-09-08T11:48:34,052 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T11:48:34,057 2 location(s) to search for versions of pylognorm: 2023-09-08T11:48:34,057 * https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:34,057 * https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:34,058 Fetching project page and analyzing links: https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:34,058 Getting page https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:34,060 Found index url https://pypi.org/simple/ 2023-09-08T11:48:34,198 Fetched page https://pypi.org/simple/pylognorm/ as application/vnd.pypi.simple.v1+json 2023-09-08T11:48:34,201 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:34,201 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:34,202 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:34,203 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:34,203 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:34,204 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:34,205 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:34,205 Fetching project page and analyzing links: https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:34,206 Getting page https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:34,208 Found index url https://www.piwheels.org/simple/ 2023-09-08T11:48:34,473 Fetched page https://www.piwheels.org/simple/pylognorm/ as text/html 2023-09-08T11:48:34,475 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:34,475 Skipping link: not a file: https://www.piwheels.org/simple/pylognorm/ 2023-09-08T11:48:34,476 Skipping link: not a file: https://pypi.org/simple/pylognorm/ 2023-09-08T11:48:34,495 Given no hashes to check 1 links for project 'pylognorm': discarding no candidates 2023-09-08T11:48:34,513 Collecting pylognorm==0.2.0 2023-09-08T11:48:34,515 Created temporary directory: /tmp/pip-unpack-qwxcfaj0 2023-09-08T11:48:34,739 Downloading pylognorm-0.2.0.tar.gz (32 kB) 2023-09-08T11:48:34,786 Added pylognorm==0.2.0 from https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz to build tracker '/tmp/pip-build-tracker-vo2y1mxs' 2023-09-08T11:48:34,788 Running setup.py (path:/tmp/pip-wheel-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/setup.py) egg_info for package pylognorm 2023-09-08T11:48:34,789 Created temporary directory: /tmp/pip-pip-egg-info-fchig77q 2023-09-08T11:48:34,789 Preparing metadata (setup.py): started 2023-09-08T11:48:34,791 Running command python setup.py egg_info 2023-09-08T11:48:37,182 /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-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:37,182 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T11:48:37,279 Error compiling Cython file: 2023-09-08T11:48:37,280 ------------------------------------------------------------ 2023-09-08T11:48:37,281 ... 2023-09-08T11:48:37,282 from os import path 2023-09-08T11:48:37,282 from liblognorm cimport * 2023-09-08T11:48:37,283 ^ 2023-09-08T11:48:37,283 ------------------------------------------------------------ 2023-09-08T11:48:37,284 pylognorm/bindings/liblognorm.pyx:3:0: 'liblognorm.pxd' not found 2023-09-08T11:48:37,389 Error compiling Cython file: 2023-09-08T11:48:37,390 ------------------------------------------------------------ 2023-09-08T11:48:37,390 ... 2023-09-08T11:48:37,391 return self.cnormalizer.normalize(logline) 2023-09-08T11:48:37,392 cdef class CEEvent(object): 2023-09-08T11:48:37,393 cdef ee_event *event 2023-09-08T11:48:37,393 ^ 2023-09-08T11:48:37,394 ------------------------------------------------------------ 2023-09-08T11:48:37,395 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2023-09-08T11:48:37,396 Error compiling Cython file: 2023-09-08T11:48:37,397 ------------------------------------------------------------ 2023-09-08T11:48:37,397 ... 2023-09-08T11:48:37,399 cdef class CEEvent(object): 2023-09-08T11:48:37,400 cdef ee_event *event 2023-09-08T11:48:37,401 cdef _set(self, ee_event *event): 2023-09-08T11:48:37,402 ^ 2023-09-08T11:48:37,402 ------------------------------------------------------------ 2023-09-08T11:48:37,404 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2023-09-08T11:48:37,405 Error compiling Cython file: 2023-09-08T11:48:37,406 ------------------------------------------------------------ 2023-09-08T11:48:37,406 ... 2023-09-08T11:48:37,407 return py_str_obj 2023-09-08T11:48:37,409 cdef class CLogNormalizer(object): 2023-09-08T11:48:37,410 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:37,411 ^ 2023-09-08T11:48:37,412 ------------------------------------------------------------ 2023-09-08T11:48:37,413 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:37,414 Error compiling Cython file: 2023-09-08T11:48:37,414 ------------------------------------------------------------ 2023-09-08T11:48:37,415 ... 2023-09-08T11:48:37,417 cdef class CLogNormalizer(object): 2023-09-08T11:48:37,418 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:37,418 cdef ee_ctx cee_ctx 2023-09-08T11:48:37,419 ^ 2023-09-08T11:48:37,419 ------------------------------------------------------------ 2023-09-08T11:48:37,420 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:37,421 Error compiling Cython file: 2023-09-08T11:48:37,422 ------------------------------------------------------------ 2023-09-08T11:48:37,423 ... 2023-09-08T11:48:37,423 finally: 2023-09-08T11:48:37,424 free(extra_data_cstr) 2023-09-08T11:48:37,424 return py_str_obj 2023-09-08T11:48:37,426 cdef object _format(self, format_kind fmt): 2023-09-08T11:48:37,426 cdef es_str_t *es_out = NULL 2023-09-08T11:48:37,427 ^ 2023-09-08T11:48:37,427 ------------------------------------------------------------ 2023-09-08T11:48:37,429 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:37,430 Error compiling Cython file: 2023-09-08T11:48:37,430 ------------------------------------------------------------ 2023-09-08T11:48:37,430 ... 2023-09-08T11:48:37,431 es_deleteStr(es_out) 2023-09-08T11:48:37,431 free(cstr) 2023-09-08T11:48:37,432 return py_str_obj 2023-09-08T11:48:37,432 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:37,433 cdef es_str_t *es_out = NULL 2023-09-08T11:48:37,433 ^ 2023-09-08T11:48:37,433 ------------------------------------------------------------ 2023-09-08T11:48:37,434 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:37,435 Error compiling Cython file: 2023-09-08T11:48:37,435 ------------------------------------------------------------ 2023-09-08T11:48:37,436 ... 2023-09-08T11:48:37,436 free(cstr) 2023-09-08T11:48:37,437 return py_str_obj 2023-09-08T11:48:37,437 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:37,438 cdef es_str_t *es_out = NULL 2023-09-08T11:48:37,438 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:37,439 ^ 2023-09-08T11:48:37,439 ------------------------------------------------------------ 2023-09-08T11:48:37,440 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:37,441 Error compiling Cython file: 2023-09-08T11:48:37,441 ------------------------------------------------------------ 2023-09-08T11:48:37,442 ... 2023-09-08T11:48:37,443 def normalize(self, object data): 2023-09-08T11:48:37,443 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:37,444 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:37,445 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:37,446 ^ 2023-09-08T11:48:37,446 ------------------------------------------------------------ 2023-09-08T11:48:37,448 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:37,449 Error compiling Cython file: 2023-09-08T11:48:37,450 ------------------------------------------------------------ 2023-09-08T11:48:37,450 ... 2023-09-08T11:48:37,451 def normalize(self, object data): 2023-09-08T11:48:37,451 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:37,453 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:37,453 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:37,454 cdef ee_event *event = NULL 2023-09-08T11:48:37,454 ^ 2023-09-08T11:48:37,455 ------------------------------------------------------------ 2023-09-08T11:48:37,456 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2023-09-08T11:48:37,472 Error compiling Cython file: 2023-09-08T11:48:37,472 ------------------------------------------------------------ 2023-09-08T11:48:37,473 ... 2023-09-08T11:48:37,473 fmt_xml, 2023-09-08T11:48:37,474 fmt_rfc5424 2023-09-08T11:48:37,476 def lib_version(): 2023-09-08T11:48:37,476 cdef char* version = ln_version() 2023-09-08T11:48:37,477 ^ 2023-09-08T11:48:37,477 ------------------------------------------------------------ 2023-09-08T11:48:37,478 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2023-09-08T11:48:37,480 Error compiling Cython file: 2023-09-08T11:48:37,480 ------------------------------------------------------------ 2023-09-08T11:48:37,481 ... 2023-09-08T11:48:37,482 fmt_xml, 2023-09-08T11:48:37,482 fmt_rfc5424 2023-09-08T11:48:37,484 def lib_version(): 2023-09-08T11:48:37,485 cdef char* version = ln_version() 2023-09-08T11:48:37,486 ^ 2023-09-08T11:48:37,487 ------------------------------------------------------------ 2023-09-08T11:48:37,488 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,489 Error compiling Cython file: 2023-09-08T11:48:37,490 ------------------------------------------------------------ 2023-09-08T11:48:37,490 ... 2023-09-08T11:48:37,491 fmt_rfc5424 2023-09-08T11:48:37,492 def lib_version(): 2023-09-08T11:48:37,493 cdef char* version = ln_version() 2023-09-08T11:48:37,493 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:37,494 ^ 2023-09-08T11:48:37,494 ------------------------------------------------------------ 2023-09-08T11:48:37,495 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:37,496 Error compiling Cython file: 2023-09-08T11:48:37,496 ------------------------------------------------------------ 2023-09-08T11:48:37,497 ... 2023-09-08T11:48:37,497 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:37,499 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:37,499 cdef char *cstr 2023-09-08T11:48:37,500 if PyByteArray_Check(obj): 2023-09-08T11:48:37,500 ^ 2023-09-08T11:48:37,501 ------------------------------------------------------------ 2023-09-08T11:48:37,502 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:37,503 Error compiling Cython file: 2023-09-08T11:48:37,503 ------------------------------------------------------------ 2023-09-08T11:48:37,504 ... 2023-09-08T11:48:37,505 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:37,506 cdef char *cstr 2023-09-08T11:48:37,506 if PyByteArray_Check(obj): 2023-09-08T11:48:37,507 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:37,507 ^ 2023-09-08T11:48:37,508 ------------------------------------------------------------ 2023-09-08T11:48:37,509 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:37,510 Error compiling Cython file: 2023-09-08T11:48:37,511 ------------------------------------------------------------ 2023-09-08T11:48:37,511 ... 2023-09-08T11:48:37,513 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:37,513 cdef char *cstr 2023-09-08T11:48:37,513 if PyByteArray_Check(obj): 2023-09-08T11:48:37,514 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:37,514 ^ 2023-09-08T11:48:37,515 ------------------------------------------------------------ 2023-09-08T11:48:37,516 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,517 Error compiling Cython file: 2023-09-08T11:48:37,518 ------------------------------------------------------------ 2023-09-08T11:48:37,518 ... 2023-09-08T11:48:37,519 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:37,520 cdef char *cstr 2023-09-08T11:48:37,520 if PyByteArray_Check(obj): 2023-09-08T11:48:37,520 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:37,521 elif PyBytes_Check(obj): 2023-09-08T11:48:37,521 ^ 2023-09-08T11:48:37,522 ------------------------------------------------------------ 2023-09-08T11:48:37,523 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:37,524 Error compiling Cython file: 2023-09-08T11:48:37,524 ------------------------------------------------------------ 2023-09-08T11:48:37,525 ... 2023-09-08T11:48:37,525 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:37,526 cdef char *cstr 2023-09-08T11:48:37,526 if PyByteArray_Check(obj): 2023-09-08T11:48:37,527 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:37,528 elif PyBytes_Check(obj): 2023-09-08T11:48:37,528 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:37,529 ^ 2023-09-08T11:48:37,529 ------------------------------------------------------------ 2023-09-08T11:48:37,530 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:37,531 Error compiling Cython file: 2023-09-08T11:48:37,532 ------------------------------------------------------------ 2023-09-08T11:48:37,532 ... 2023-09-08T11:48:37,533 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:37,533 cdef char *cstr 2023-09-08T11:48:37,534 if PyByteArray_Check(obj): 2023-09-08T11:48:37,534 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:37,535 elif PyBytes_Check(obj): 2023-09-08T11:48:37,535 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:37,535 ^ 2023-09-08T11:48:37,536 ------------------------------------------------------------ 2023-09-08T11:48:37,537 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,538 Error compiling Cython file: 2023-09-08T11:48:37,538 ------------------------------------------------------------ 2023-09-08T11:48:37,538 ... 2023-09-08T11:48:37,539 cdef _set(self, ee_event *event): 2023-09-08T11:48:37,540 self.event = event 2023-09-08T11:48:37,541 def __dealoc__(self): 2023-09-08T11:48:37,541 ee_deleteEvent(self.event) 2023-09-08T11:48:37,542 ^ 2023-09-08T11:48:37,542 ------------------------------------------------------------ 2023-09-08T11:48:37,543 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:37,544 Error compiling Cython file: 2023-09-08T11:48:37,544 ------------------------------------------------------------ 2023-09-08T11:48:37,545 ... 2023-09-08T11:48:37,545 cdef char *cstr = NULL 2023-09-08T11:48:37,546 cdef object py_str_obj = None 2023-09-08T11:48:37,546 try: 2023-09-08T11:48:37,547 if fmt == fmt_json: 2023-09-08T11:48:37,547 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:37,548 ^ 2023-09-08T11:48:37,548 ------------------------------------------------------------ 2023-09-08T11:48:37,549 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:37,550 Error compiling Cython file: 2023-09-08T11:48:37,551 ------------------------------------------------------------ 2023-09-08T11:48:37,551 ... 2023-09-08T11:48:37,552 elif fmt == fmt_rfc5424: 2023-09-08T11:48:37,552 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:37,552 else: 2023-09-08T11:48:37,553 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:37,554 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,554 ^ 2023-09-08T11:48:37,555 ------------------------------------------------------------ 2023-09-08T11:48:37,556 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:37,557 Error compiling Cython file: 2023-09-08T11:48:37,557 ------------------------------------------------------------ 2023-09-08T11:48:37,558 ... 2023-09-08T11:48:37,558 elif fmt == fmt_rfc5424: 2023-09-08T11:48:37,559 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:37,559 else: 2023-09-08T11:48:37,560 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:37,561 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,561 ^ 2023-09-08T11:48:37,562 ------------------------------------------------------------ 2023-09-08T11:48:37,563 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:37,564 Error compiling Cython file: 2023-09-08T11:48:37,565 ------------------------------------------------------------ 2023-09-08T11:48:37,565 ... 2023-09-08T11:48:37,566 elif fmt == fmt_rfc5424: 2023-09-08T11:48:37,566 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:37,567 else: 2023-09-08T11:48:37,567 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:37,568 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,568 ^ 2023-09-08T11:48:37,568 ------------------------------------------------------------ 2023-09-08T11:48:37,569 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,570 Error compiling Cython file: 2023-09-08T11:48:37,571 ------------------------------------------------------------ 2023-09-08T11:48:37,571 ... 2023-09-08T11:48:37,571 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:37,572 else: 2023-09-08T11:48:37,572 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:37,573 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,573 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:37,574 ^ 2023-09-08T11:48:37,574 ------------------------------------------------------------ 2023-09-08T11:48:37,575 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:37,576 Error compiling Cython file: 2023-09-08T11:48:37,577 ------------------------------------------------------------ 2023-09-08T11:48:37,577 ... 2023-09-08T11:48:37,578 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:37,579 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,579 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:37,580 finally: 2023-09-08T11:48:37,580 es_deleteStr(es_out) 2023-09-08T11:48:37,581 ^ 2023-09-08T11:48:37,581 ------------------------------------------------------------ 2023-09-08T11:48:37,582 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:37,583 Error compiling Cython file: 2023-09-08T11:48:37,584 ------------------------------------------------------------ 2023-09-08T11:48:37,584 ... 2023-09-08T11:48:37,585 cdef es_str_t *es_out = NULL 2023-09-08T11:48:37,586 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:37,587 cdef char *cstr = NULL 2023-09-08T11:48:37,588 cdef object py_str_obj = None 2023-09-08T11:48:37,590 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:37,591 ^ 2023-09-08T11:48:37,592 ------------------------------------------------------------ 2023-09-08T11:48:37,594 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:37,597 Error compiling Cython file: 2023-09-08T11:48:37,598 ------------------------------------------------------------ 2023-09-08T11:48:37,600 ... 2023-09-08T11:48:37,601 cdef object py_str_obj = None 2023-09-08T11:48:37,604 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:37,607 try: 2023-09-08T11:48:37,608 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:37,609 ^ 2023-09-08T11:48:37,610 ------------------------------------------------------------ 2023-09-08T11:48:37,613 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2023-09-08T11:48:37,615 Error compiling Cython file: 2023-09-08T11:48:37,616 ------------------------------------------------------------ 2023-09-08T11:48:37,616 ... 2023-09-08T11:48:37,618 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:37,620 try: 2023-09-08T11:48:37,621 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:37,622 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,624 ^ 2023-09-08T11:48:37,625 ------------------------------------------------------------ 2023-09-08T11:48:37,627 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:37,630 Error compiling Cython file: 2023-09-08T11:48:37,631 ------------------------------------------------------------ 2023-09-08T11:48:37,632 ... 2023-09-08T11:48:37,635 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:37,637 try: 2023-09-08T11:48:37,639 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:37,640 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:37,640 ^ 2023-09-08T11:48:37,641 ------------------------------------------------------------ 2023-09-08T11:48:37,642 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,643 Error compiling Cython file: 2023-09-08T11:48:37,643 ------------------------------------------------------------ 2023-09-08T11:48:37,643 ... 2023-09-08T11:48:37,644 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:37,645 cdef ee_ctx cee_ctx 2023-09-08T11:48:37,646 def __cinit__(self): 2023-09-08T11:48:37,646 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:37,647 ^ 2023-09-08T11:48:37,647 ------------------------------------------------------------ 2023-09-08T11:48:37,648 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:37,650 Error compiling Cython file: 2023-09-08T11:48:37,650 ------------------------------------------------------------ 2023-09-08T11:48:37,651 ... 2023-09-08T11:48:37,651 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:37,652 cdef ee_ctx cee_ctx 2023-09-08T11:48:37,653 def __cinit__(self): 2023-09-08T11:48:37,653 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:37,654 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:37,654 ^ 2023-09-08T11:48:37,655 ------------------------------------------------------------ 2023-09-08T11:48:37,656 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:37,658 Error compiling Cython file: 2023-09-08T11:48:37,658 ------------------------------------------------------------ 2023-09-08T11:48:37,659 ... 2023-09-08T11:48:37,660 cdef ee_ctx cee_ctx 2023-09-08T11:48:37,661 def __cinit__(self): 2023-09-08T11:48:37,662 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:37,662 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:37,663 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:37,663 ^ 2023-09-08T11:48:37,664 ------------------------------------------------------------ 2023-09-08T11:48:37,665 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:37,666 Error compiling Cython file: 2023-09-08T11:48:37,667 ------------------------------------------------------------ 2023-09-08T11:48:37,667 ... 2023-09-08T11:48:37,668 def __init__(self): 2023-09-08T11:48:37,669 pass 2023-09-08T11:48:37,670 def __dealoc__(self): 2023-09-08T11:48:37,670 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:37,671 ^ 2023-09-08T11:48:37,672 ------------------------------------------------------------ 2023-09-08T11:48:37,673 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:37,674 Error compiling Cython file: 2023-09-08T11:48:37,675 ------------------------------------------------------------ 2023-09-08T11:48:37,675 ... 2023-09-08T11:48:37,676 def __init__(self): 2023-09-08T11:48:37,677 pass 2023-09-08T11:48:37,678 def __dealoc__(self): 2023-09-08T11:48:37,679 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:37,680 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:37,680 ^ 2023-09-08T11:48:37,680 ------------------------------------------------------------ 2023-09-08T11:48:37,681 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:37,682 Error compiling Cython file: 2023-09-08T11:48:37,683 ------------------------------------------------------------ 2023-09-08T11:48:37,683 ... 2023-09-08T11:48:37,684 def load_rules(self, object filename): 2023-09-08T11:48:37,685 cdef char* cstr_filename 2023-09-08T11:48:37,686 if PyByteArray_Check(filename): 2023-09-08T11:48:37,686 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:37,686 ^ 2023-09-08T11:48:37,687 ------------------------------------------------------------ 2023-09-08T11:48:37,688 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,689 Error compiling Cython file: 2023-09-08T11:48:37,689 ------------------------------------------------------------ 2023-09-08T11:48:37,689 ... 2023-09-08T11:48:37,690 cdef char* cstr_filename 2023-09-08T11:48:37,691 if PyByteArray_Check(filename): 2023-09-08T11:48:37,691 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:37,692 elif PyBytes_Check(filename): 2023-09-08T11:48:37,692 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:37,693 ^ 2023-09-08T11:48:37,693 ------------------------------------------------------------ 2023-09-08T11:48:37,694 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:37,696 Error compiling Cython file: 2023-09-08T11:48:37,696 ------------------------------------------------------------ 2023-09-08T11:48:37,697 ... 2023-09-08T11:48:37,697 elif PyBytes_Check(filename): 2023-09-08T11:48:37,698 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:37,699 else: 2023-09-08T11:48:37,699 raise Exception( 2023-09-08T11:48:37,700 'Unable to convert to cstr: {}'.format(type(filename))) 2023-09-08T11:48:37,700 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2023-09-08T11:48:37,701 ^ 2023-09-08T11:48:37,702 ------------------------------------------------------------ 2023-09-08T11:48:37,703 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:37,704 Error compiling Cython file: 2023-09-08T11:48:37,705 ------------------------------------------------------------ 2023-09-08T11:48:37,705 ... 2023-09-08T11:48:37,706 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:37,706 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:37,707 cdef ee_event *event = NULL 2023-09-08T11:48:37,708 cdef CEEvent event_wrapper = None 2023-09-08T11:48:37,709 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:37,709 ^ 2023-09-08T11:48:37,710 ------------------------------------------------------------ 2023-09-08T11:48:37,711 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:38,157 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T11:48:38,161 Source in /tmp/pip-wheel-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc has version 0.2.0, which satisfies requirement pylognorm==0.2.0 from https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz 2023-09-08T11:48:38,162 Removed pylognorm==0.2.0 from https://files.pythonhosted.org/packages/8c/11/13f7396d0bf9171ed2fe6f7aa0f9616be72d22b8dc952375d2b583506a91/pylognorm-0.2.0.tar.gz from build tracker '/tmp/pip-build-tracker-vo2y1mxs' 2023-09-08T11:48:38,166 Created temporary directory: /tmp/pip-unpack-3_m39hd2 2023-09-08T11:48:38,167 Created temporary directory: /tmp/pip-unpack-y720rn2e 2023-09-08T11:48:38,169 Building wheels for collected packages: pylognorm 2023-09-08T11:48:38,173 Created temporary directory: /tmp/pip-wheel-qtenrf18 2023-09-08T11:48:38,174 Building wheel for pylognorm (setup.py): started 2023-09-08T11:48:38,175 Destination directory: /tmp/pip-wheel-qtenrf18 2023-09-08T11:48:38,176 Running command python setup.py bdist_wheel 2023-09-08T11:48:40,547 /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-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:40,547 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T11:48:40,628 Error compiling Cython file: 2023-09-08T11:48:40,629 ------------------------------------------------------------ 2023-09-08T11:48:40,629 ... 2023-09-08T11:48:40,630 from os import path 2023-09-08T11:48:40,631 from liblognorm cimport * 2023-09-08T11:48:40,631 ^ 2023-09-08T11:48:40,632 ------------------------------------------------------------ 2023-09-08T11:48:40,633 pylognorm/bindings/liblognorm.pyx:3:0: 'liblognorm.pxd' not found 2023-09-08T11:48:40,733 Error compiling Cython file: 2023-09-08T11:48:40,733 ------------------------------------------------------------ 2023-09-08T11:48:40,734 ... 2023-09-08T11:48:40,734 return self.cnormalizer.normalize(logline) 2023-09-08T11:48:40,736 cdef class CEEvent(object): 2023-09-08T11:48:40,737 cdef ee_event *event 2023-09-08T11:48:40,738 ^ 2023-09-08T11:48:40,739 ------------------------------------------------------------ 2023-09-08T11:48:40,740 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2023-09-08T11:48:40,742 Error compiling Cython file: 2023-09-08T11:48:40,742 ------------------------------------------------------------ 2023-09-08T11:48:40,743 ... 2023-09-08T11:48:40,744 cdef class CEEvent(object): 2023-09-08T11:48:40,745 cdef ee_event *event 2023-09-08T11:48:40,746 cdef _set(self, ee_event *event): 2023-09-08T11:48:40,747 ^ 2023-09-08T11:48:40,748 ------------------------------------------------------------ 2023-09-08T11:48:40,749 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2023-09-08T11:48:40,750 Error compiling Cython file: 2023-09-08T11:48:40,751 ------------------------------------------------------------ 2023-09-08T11:48:40,752 ... 2023-09-08T11:48:40,753 return py_str_obj 2023-09-08T11:48:40,754 cdef class CLogNormalizer(object): 2023-09-08T11:48:40,756 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:40,756 ^ 2023-09-08T11:48:40,757 ------------------------------------------------------------ 2023-09-08T11:48:40,758 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:40,759 Error compiling Cython file: 2023-09-08T11:48:40,760 ------------------------------------------------------------ 2023-09-08T11:48:40,760 ... 2023-09-08T11:48:40,762 cdef class CLogNormalizer(object): 2023-09-08T11:48:40,763 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:40,764 cdef ee_ctx cee_ctx 2023-09-08T11:48:40,765 ^ 2023-09-08T11:48:40,765 ------------------------------------------------------------ 2023-09-08T11:48:40,766 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:40,768 Error compiling Cython file: 2023-09-08T11:48:40,768 ------------------------------------------------------------ 2023-09-08T11:48:40,769 ... 2023-09-08T11:48:40,770 finally: 2023-09-08T11:48:40,770 free(extra_data_cstr) 2023-09-08T11:48:40,771 return py_str_obj 2023-09-08T11:48:40,772 cdef object _format(self, format_kind fmt): 2023-09-08T11:48:40,773 cdef es_str_t *es_out = NULL 2023-09-08T11:48:40,773 ^ 2023-09-08T11:48:40,774 ------------------------------------------------------------ 2023-09-08T11:48:40,774 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:40,775 Error compiling Cython file: 2023-09-08T11:48:40,776 ------------------------------------------------------------ 2023-09-08T11:48:40,776 ... 2023-09-08T11:48:40,777 es_deleteStr(es_out) 2023-09-08T11:48:40,777 free(cstr) 2023-09-08T11:48:40,778 return py_str_obj 2023-09-08T11:48:40,778 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:40,779 cdef es_str_t *es_out = NULL 2023-09-08T11:48:40,779 ^ 2023-09-08T11:48:40,780 ------------------------------------------------------------ 2023-09-08T11:48:40,781 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:40,782 Error compiling Cython file: 2023-09-08T11:48:40,782 ------------------------------------------------------------ 2023-09-08T11:48:40,783 ... 2023-09-08T11:48:40,783 free(cstr) 2023-09-08T11:48:40,784 return py_str_obj 2023-09-08T11:48:40,785 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:40,785 cdef es_str_t *es_out = NULL 2023-09-08T11:48:40,785 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:40,786 ^ 2023-09-08T11:48:40,786 ------------------------------------------------------------ 2023-09-08T11:48:40,787 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:40,789 Error compiling Cython file: 2023-09-08T11:48:40,789 ------------------------------------------------------------ 2023-09-08T11:48:40,790 ... 2023-09-08T11:48:40,791 def normalize(self, object data): 2023-09-08T11:48:40,792 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:40,793 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:40,794 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:40,794 ^ 2023-09-08T11:48:40,795 ------------------------------------------------------------ 2023-09-08T11:48:40,796 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:40,797 Error compiling Cython file: 2023-09-08T11:48:40,798 ------------------------------------------------------------ 2023-09-08T11:48:40,799 ... 2023-09-08T11:48:40,799 def normalize(self, object data): 2023-09-08T11:48:40,800 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:40,801 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:40,802 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:40,802 cdef ee_event *event = NULL 2023-09-08T11:48:40,803 ^ 2023-09-08T11:48:40,804 ------------------------------------------------------------ 2023-09-08T11:48:40,805 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2023-09-08T11:48:40,815 Error compiling Cython file: 2023-09-08T11:48:40,816 ------------------------------------------------------------ 2023-09-08T11:48:40,816 ... 2023-09-08T11:48:40,817 fmt_xml, 2023-09-08T11:48:40,817 fmt_rfc5424 2023-09-08T11:48:40,819 def lib_version(): 2023-09-08T11:48:40,820 cdef char* version = ln_version() 2023-09-08T11:48:40,821 ^ 2023-09-08T11:48:40,821 ------------------------------------------------------------ 2023-09-08T11:48:40,823 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2023-09-08T11:48:40,824 Error compiling Cython file: 2023-09-08T11:48:40,825 ------------------------------------------------------------ 2023-09-08T11:48:40,826 ... 2023-09-08T11:48:40,827 fmt_xml, 2023-09-08T11:48:40,827 fmt_rfc5424 2023-09-08T11:48:40,828 def lib_version(): 2023-09-08T11:48:40,829 cdef char* version = ln_version() 2023-09-08T11:48:40,829 ^ 2023-09-08T11:48:40,830 ------------------------------------------------------------ 2023-09-08T11:48:40,831 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:40,832 Error compiling Cython file: 2023-09-08T11:48:40,833 ------------------------------------------------------------ 2023-09-08T11:48:40,833 ... 2023-09-08T11:48:40,834 fmt_rfc5424 2023-09-08T11:48:40,835 def lib_version(): 2023-09-08T11:48:40,836 cdef char* version = ln_version() 2023-09-08T11:48:40,836 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:40,837 ^ 2023-09-08T11:48:40,837 ------------------------------------------------------------ 2023-09-08T11:48:40,838 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:40,839 Error compiling Cython file: 2023-09-08T11:48:40,840 ------------------------------------------------------------ 2023-09-08T11:48:40,840 ... 2023-09-08T11:48:40,841 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:40,842 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:40,842 cdef char *cstr 2023-09-08T11:48:40,843 if PyByteArray_Check(obj): 2023-09-08T11:48:40,843 ^ 2023-09-08T11:48:40,844 ------------------------------------------------------------ 2023-09-08T11:48:40,845 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:40,847 Error compiling Cython file: 2023-09-08T11:48:40,847 ------------------------------------------------------------ 2023-09-08T11:48:40,848 ... 2023-09-08T11:48:40,850 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:40,850 cdef char *cstr 2023-09-08T11:48:40,851 if PyByteArray_Check(obj): 2023-09-08T11:48:40,852 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:40,852 ^ 2023-09-08T11:48:40,853 ------------------------------------------------------------ 2023-09-08T11:48:40,854 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:40,856 Error compiling Cython file: 2023-09-08T11:48:40,856 ------------------------------------------------------------ 2023-09-08T11:48:40,857 ... 2023-09-08T11:48:40,859 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:40,859 cdef char *cstr 2023-09-08T11:48:40,860 if PyByteArray_Check(obj): 2023-09-08T11:48:40,861 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:40,861 ^ 2023-09-08T11:48:40,862 ------------------------------------------------------------ 2023-09-08T11:48:40,863 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:40,864 Error compiling Cython file: 2023-09-08T11:48:40,864 ------------------------------------------------------------ 2023-09-08T11:48:40,865 ... 2023-09-08T11:48:40,866 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:40,866 cdef char *cstr 2023-09-08T11:48:40,867 if PyByteArray_Check(obj): 2023-09-08T11:48:40,867 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:40,868 elif PyBytes_Check(obj): 2023-09-08T11:48:40,868 ^ 2023-09-08T11:48:40,869 ------------------------------------------------------------ 2023-09-08T11:48:40,870 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:40,871 Error compiling Cython file: 2023-09-08T11:48:40,872 ------------------------------------------------------------ 2023-09-08T11:48:40,873 ... 2023-09-08T11:48:40,873 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:40,874 cdef char *cstr 2023-09-08T11:48:40,875 if PyByteArray_Check(obj): 2023-09-08T11:48:40,875 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:40,876 elif PyBytes_Check(obj): 2023-09-08T11:48:40,876 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:40,876 ^ 2023-09-08T11:48:40,877 ------------------------------------------------------------ 2023-09-08T11:48:40,878 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:40,878 Error compiling Cython file: 2023-09-08T11:48:40,879 ------------------------------------------------------------ 2023-09-08T11:48:40,879 ... 2023-09-08T11:48:40,879 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:40,880 cdef char *cstr 2023-09-08T11:48:40,880 if PyByteArray_Check(obj): 2023-09-08T11:48:40,881 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:40,881 elif PyBytes_Check(obj): 2023-09-08T11:48:40,881 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:40,882 ^ 2023-09-08T11:48:40,882 ------------------------------------------------------------ 2023-09-08T11:48:40,883 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:40,884 Error compiling Cython file: 2023-09-08T11:48:40,884 ------------------------------------------------------------ 2023-09-08T11:48:40,885 ... 2023-09-08T11:48:40,886 cdef _set(self, ee_event *event): 2023-09-08T11:48:40,886 self.event = event 2023-09-08T11:48:40,887 def __dealoc__(self): 2023-09-08T11:48:40,888 ee_deleteEvent(self.event) 2023-09-08T11:48:40,888 ^ 2023-09-08T11:48:40,888 ------------------------------------------------------------ 2023-09-08T11:48:40,890 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:40,891 Error compiling Cython file: 2023-09-08T11:48:40,891 ------------------------------------------------------------ 2023-09-08T11:48:40,892 ... 2023-09-08T11:48:40,892 cdef char *cstr = NULL 2023-09-08T11:48:40,893 cdef object py_str_obj = None 2023-09-08T11:48:40,894 try: 2023-09-08T11:48:40,895 if fmt == fmt_json: 2023-09-08T11:48:40,895 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:40,896 ^ 2023-09-08T11:48:40,896 ------------------------------------------------------------ 2023-09-08T11:48:40,897 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:40,899 Error compiling Cython file: 2023-09-08T11:48:40,899 ------------------------------------------------------------ 2023-09-08T11:48:40,900 ... 2023-09-08T11:48:40,900 elif fmt == fmt_rfc5424: 2023-09-08T11:48:40,901 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:40,901 else: 2023-09-08T11:48:40,902 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:40,903 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,903 ^ 2023-09-08T11:48:40,904 ------------------------------------------------------------ 2023-09-08T11:48:40,905 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:40,906 Error compiling Cython file: 2023-09-08T11:48:40,907 ------------------------------------------------------------ 2023-09-08T11:48:40,907 ... 2023-09-08T11:48:40,908 elif fmt == fmt_rfc5424: 2023-09-08T11:48:40,908 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:40,909 else: 2023-09-08T11:48:40,909 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:40,910 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,911 ^ 2023-09-08T11:48:40,912 ------------------------------------------------------------ 2023-09-08T11:48:40,913 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:40,914 Error compiling Cython file: 2023-09-08T11:48:40,915 ------------------------------------------------------------ 2023-09-08T11:48:40,915 ... 2023-09-08T11:48:40,915 elif fmt == fmt_rfc5424: 2023-09-08T11:48:40,916 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:40,916 else: 2023-09-08T11:48:40,917 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:40,918 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,918 ^ 2023-09-08T11:48:40,919 ------------------------------------------------------------ 2023-09-08T11:48:40,920 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:40,921 Error compiling Cython file: 2023-09-08T11:48:40,921 ------------------------------------------------------------ 2023-09-08T11:48:40,922 ... 2023-09-08T11:48:40,922 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:40,923 else: 2023-09-08T11:48:40,923 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:40,924 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,924 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:40,925 ^ 2023-09-08T11:48:40,925 ------------------------------------------------------------ 2023-09-08T11:48:40,926 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:40,927 Error compiling Cython file: 2023-09-08T11:48:40,928 ------------------------------------------------------------ 2023-09-08T11:48:40,928 ... 2023-09-08T11:48:40,929 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:40,930 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,930 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:40,931 finally: 2023-09-08T11:48:40,932 es_deleteStr(es_out) 2023-09-08T11:48:40,932 ^ 2023-09-08T11:48:40,933 ------------------------------------------------------------ 2023-09-08T11:48:40,934 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:40,935 Error compiling Cython file: 2023-09-08T11:48:40,936 ------------------------------------------------------------ 2023-09-08T11:48:40,937 ... 2023-09-08T11:48:40,937 cdef es_str_t *es_out = NULL 2023-09-08T11:48:40,938 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:40,938 cdef char *cstr = NULL 2023-09-08T11:48:40,939 cdef object py_str_obj = None 2023-09-08T11:48:40,940 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:40,941 ^ 2023-09-08T11:48:40,941 ------------------------------------------------------------ 2023-09-08T11:48:40,942 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:40,943 Error compiling Cython file: 2023-09-08T11:48:40,944 ------------------------------------------------------------ 2023-09-08T11:48:40,945 ... 2023-09-08T11:48:40,945 cdef object py_str_obj = None 2023-09-08T11:48:40,946 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:40,948 try: 2023-09-08T11:48:40,948 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:40,949 ^ 2023-09-08T11:48:40,949 ------------------------------------------------------------ 2023-09-08T11:48:40,951 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2023-09-08T11:48:40,952 Error compiling Cython file: 2023-09-08T11:48:40,953 ------------------------------------------------------------ 2023-09-08T11:48:40,954 ... 2023-09-08T11:48:40,955 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:40,956 try: 2023-09-08T11:48:40,956 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:40,957 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,957 ^ 2023-09-08T11:48:40,958 ------------------------------------------------------------ 2023-09-08T11:48:40,958 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:40,959 Error compiling Cython file: 2023-09-08T11:48:40,960 ------------------------------------------------------------ 2023-09-08T11:48:40,960 ... 2023-09-08T11:48:40,961 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:40,962 try: 2023-09-08T11:48:40,963 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:40,963 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:40,964 ^ 2023-09-08T11:48:40,964 ------------------------------------------------------------ 2023-09-08T11:48:40,965 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:40,966 Error compiling Cython file: 2023-09-08T11:48:40,967 ------------------------------------------------------------ 2023-09-08T11:48:40,967 ... 2023-09-08T11:48:40,968 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:40,969 cdef ee_ctx cee_ctx 2023-09-08T11:48:40,970 def __cinit__(self): 2023-09-08T11:48:40,970 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:40,971 ^ 2023-09-08T11:48:40,971 ------------------------------------------------------------ 2023-09-08T11:48:40,973 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:40,974 Error compiling Cython file: 2023-09-08T11:48:40,974 ------------------------------------------------------------ 2023-09-08T11:48:40,975 ... 2023-09-08T11:48:40,976 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:40,976 cdef ee_ctx cee_ctx 2023-09-08T11:48:40,977 def __cinit__(self): 2023-09-08T11:48:40,978 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:40,979 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:40,979 ^ 2023-09-08T11:48:40,980 ------------------------------------------------------------ 2023-09-08T11:48:40,981 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:40,982 Error compiling Cython file: 2023-09-08T11:48:40,983 ------------------------------------------------------------ 2023-09-08T11:48:40,984 ... 2023-09-08T11:48:40,984 cdef ee_ctx cee_ctx 2023-09-08T11:48:40,985 def __cinit__(self): 2023-09-08T11:48:40,986 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:40,987 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:40,987 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:40,988 ^ 2023-09-08T11:48:40,988 ------------------------------------------------------------ 2023-09-08T11:48:40,989 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:40,990 Error compiling Cython file: 2023-09-08T11:48:40,991 ------------------------------------------------------------ 2023-09-08T11:48:40,991 ... 2023-09-08T11:48:40,993 def __init__(self): 2023-09-08T11:48:40,993 pass 2023-09-08T11:48:40,994 def __dealoc__(self): 2023-09-08T11:48:40,995 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:40,996 ^ 2023-09-08T11:48:40,996 ------------------------------------------------------------ 2023-09-08T11:48:40,998 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:40,999 Error compiling Cython file: 2023-09-08T11:48:41,000 ------------------------------------------------------------ 2023-09-08T11:48:41,000 ... 2023-09-08T11:48:41,000 def __init__(self): 2023-09-08T11:48:41,001 pass 2023-09-08T11:48:41,002 def __dealoc__(self): 2023-09-08T11:48:41,002 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:41,003 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:41,003 ^ 2023-09-08T11:48:41,004 ------------------------------------------------------------ 2023-09-08T11:48:41,005 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:41,006 Error compiling Cython file: 2023-09-08T11:48:41,006 ------------------------------------------------------------ 2023-09-08T11:48:41,007 ... 2023-09-08T11:48:41,007 def load_rules(self, object filename): 2023-09-08T11:48:41,008 cdef char* cstr_filename 2023-09-08T11:48:41,009 if PyByteArray_Check(filename): 2023-09-08T11:48:41,009 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:41,010 ^ 2023-09-08T11:48:41,010 ------------------------------------------------------------ 2023-09-08T11:48:41,011 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,012 Error compiling Cython file: 2023-09-08T11:48:41,013 ------------------------------------------------------------ 2023-09-08T11:48:41,013 ... 2023-09-08T11:48:41,014 cdef char* cstr_filename 2023-09-08T11:48:41,015 if PyByteArray_Check(filename): 2023-09-08T11:48:41,016 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:41,016 elif PyBytes_Check(filename): 2023-09-08T11:48:41,017 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:41,017 ^ 2023-09-08T11:48:41,018 ------------------------------------------------------------ 2023-09-08T11:48:41,019 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,020 Error compiling Cython file: 2023-09-08T11:48:41,021 ------------------------------------------------------------ 2023-09-08T11:48:41,022 ... 2023-09-08T11:48:41,022 elif PyBytes_Check(filename): 2023-09-08T11:48:41,023 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:41,024 else: 2023-09-08T11:48:41,024 raise Exception( 2023-09-08T11:48:41,025 'Unable to convert to cstr: {}'.format(type(filename))) 2023-09-08T11:48:41,026 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2023-09-08T11:48:41,026 ^ 2023-09-08T11:48:41,027 ------------------------------------------------------------ 2023-09-08T11:48:41,028 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:41,029 Error compiling Cython file: 2023-09-08T11:48:41,030 ------------------------------------------------------------ 2023-09-08T11:48:41,031 ... 2023-09-08T11:48:41,031 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:41,032 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:41,032 cdef ee_event *event = NULL 2023-09-08T11:48:41,033 cdef CEEvent event_wrapper = None 2023-09-08T11:48:41,034 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:41,035 ^ 2023-09-08T11:48:41,035 ------------------------------------------------------------ 2023-09-08T11:48:41,037 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:41,368 Compiling pylognorm/bindings/liblognorm.pyx because it changed. 2023-09-08T11:48:41,369 [1/1] Cythonizing pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:41,451 Error compiling Cython file: 2023-09-08T11:48:41,451 ------------------------------------------------------------ 2023-09-08T11:48:41,452 ... 2023-09-08T11:48:41,453 from os import path 2023-09-08T11:48:41,453 from liblognorm cimport * 2023-09-08T11:48:41,454 ^ 2023-09-08T11:48:41,454 ------------------------------------------------------------ 2023-09-08T11:48:41,455 pylognorm/bindings/liblognorm.pyx:3:0: 'liblognorm.pxd' not found 2023-09-08T11:48:41,548 Error compiling Cython file: 2023-09-08T11:48:41,549 ------------------------------------------------------------ 2023-09-08T11:48:41,549 ... 2023-09-08T11:48:41,550 return self.cnormalizer.normalize(logline) 2023-09-08T11:48:41,551 cdef class CEEvent(object): 2023-09-08T11:48:41,552 cdef ee_event *event 2023-09-08T11:48:41,553 ^ 2023-09-08T11:48:41,553 ------------------------------------------------------------ 2023-09-08T11:48:41,554 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2023-09-08T11:48:41,555 Error compiling Cython file: 2023-09-08T11:48:41,556 ------------------------------------------------------------ 2023-09-08T11:48:41,556 ... 2023-09-08T11:48:41,557 cdef class CEEvent(object): 2023-09-08T11:48:41,558 cdef ee_event *event 2023-09-08T11:48:41,559 cdef _set(self, ee_event *event): 2023-09-08T11:48:41,559 ^ 2023-09-08T11:48:41,560 ------------------------------------------------------------ 2023-09-08T11:48:41,561 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2023-09-08T11:48:41,562 Error compiling Cython file: 2023-09-08T11:48:41,562 ------------------------------------------------------------ 2023-09-08T11:48:41,563 ... 2023-09-08T11:48:41,563 return py_str_obj 2023-09-08T11:48:41,565 cdef class CLogNormalizer(object): 2023-09-08T11:48:41,566 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:41,567 ^ 2023-09-08T11:48:41,567 ------------------------------------------------------------ 2023-09-08T11:48:41,569 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:41,570 Error compiling Cython file: 2023-09-08T11:48:41,571 ------------------------------------------------------------ 2023-09-08T11:48:41,571 ... 2023-09-08T11:48:41,573 cdef class CLogNormalizer(object): 2023-09-08T11:48:41,574 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:41,575 cdef ee_ctx cee_ctx 2023-09-08T11:48:41,576 ^ 2023-09-08T11:48:41,576 ------------------------------------------------------------ 2023-09-08T11:48:41,578 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:41,579 Error compiling Cython file: 2023-09-08T11:48:41,580 ------------------------------------------------------------ 2023-09-08T11:48:41,580 ... 2023-09-08T11:48:41,581 finally: 2023-09-08T11:48:41,581 free(extra_data_cstr) 2023-09-08T11:48:41,582 return py_str_obj 2023-09-08T11:48:41,583 cdef object _format(self, format_kind fmt): 2023-09-08T11:48:41,583 cdef es_str_t *es_out = NULL 2023-09-08T11:48:41,584 ^ 2023-09-08T11:48:41,585 ------------------------------------------------------------ 2023-09-08T11:48:41,586 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:41,587 Error compiling Cython file: 2023-09-08T11:48:41,587 ------------------------------------------------------------ 2023-09-08T11:48:41,588 ... 2023-09-08T11:48:41,588 es_deleteStr(es_out) 2023-09-08T11:48:41,589 free(cstr) 2023-09-08T11:48:41,590 return py_str_obj 2023-09-08T11:48:41,591 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:41,592 cdef es_str_t *es_out = NULL 2023-09-08T11:48:41,592 ^ 2023-09-08T11:48:41,593 ------------------------------------------------------------ 2023-09-08T11:48:41,594 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:41,596 Error compiling Cython file: 2023-09-08T11:48:41,597 ------------------------------------------------------------ 2023-09-08T11:48:41,597 ... 2023-09-08T11:48:41,598 free(cstr) 2023-09-08T11:48:41,598 return py_str_obj 2023-09-08T11:48:41,599 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:41,599 cdef es_str_t *es_out = NULL 2023-09-08T11:48:41,600 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:41,600 ^ 2023-09-08T11:48:41,601 ------------------------------------------------------------ 2023-09-08T11:48:41,602 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:41,603 Error compiling Cython file: 2023-09-08T11:48:41,603 ------------------------------------------------------------ 2023-09-08T11:48:41,604 ... 2023-09-08T11:48:41,605 def normalize(self, object data): 2023-09-08T11:48:41,605 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:41,606 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:41,607 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:41,607 ^ 2023-09-08T11:48:41,608 ------------------------------------------------------------ 2023-09-08T11:48:41,609 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:41,609 Error compiling Cython file: 2023-09-08T11:48:41,610 ------------------------------------------------------------ 2023-09-08T11:48:41,610 ... 2023-09-08T11:48:41,611 def normalize(self, object data): 2023-09-08T11:48:41,611 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:41,613 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:41,613 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:41,614 cdef ee_event *event = NULL 2023-09-08T11:48:41,614 ^ 2023-09-08T11:48:41,615 ------------------------------------------------------------ 2023-09-08T11:48:41,616 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2023-09-08T11:48:41,628 Error compiling Cython file: 2023-09-08T11:48:41,629 ------------------------------------------------------------ 2023-09-08T11:48:41,629 ... 2023-09-08T11:48:41,630 fmt_xml, 2023-09-08T11:48:41,631 fmt_rfc5424 2023-09-08T11:48:41,633 def lib_version(): 2023-09-08T11:48:41,633 cdef char* version = ln_version() 2023-09-08T11:48:41,634 ^ 2023-09-08T11:48:41,635 ------------------------------------------------------------ 2023-09-08T11:48:41,636 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2023-09-08T11:48:41,638 Error compiling Cython file: 2023-09-08T11:48:41,638 ------------------------------------------------------------ 2023-09-08T11:48:41,639 ... 2023-09-08T11:48:41,640 fmt_xml, 2023-09-08T11:48:41,640 fmt_rfc5424 2023-09-08T11:48:41,642 def lib_version(): 2023-09-08T11:48:41,643 cdef char* version = ln_version() 2023-09-08T11:48:41,643 ^ 2023-09-08T11:48:41,644 ------------------------------------------------------------ 2023-09-08T11:48:41,645 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,646 Error compiling Cython file: 2023-09-08T11:48:41,647 ------------------------------------------------------------ 2023-09-08T11:48:41,648 ... 2023-09-08T11:48:41,648 fmt_rfc5424 2023-09-08T11:48:41,650 def lib_version(): 2023-09-08T11:48:41,651 cdef char* version = ln_version() 2023-09-08T11:48:41,652 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:41,652 ^ 2023-09-08T11:48:41,653 ------------------------------------------------------------ 2023-09-08T11:48:41,654 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:41,656 Error compiling Cython file: 2023-09-08T11:48:41,657 ------------------------------------------------------------ 2023-09-08T11:48:41,657 ... 2023-09-08T11:48:41,657 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:41,659 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:41,659 cdef char *cstr 2023-09-08T11:48:41,660 if PyByteArray_Check(obj): 2023-09-08T11:48:41,660 ^ 2023-09-08T11:48:41,660 ------------------------------------------------------------ 2023-09-08T11:48:41,661 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:41,662 Error compiling Cython file: 2023-09-08T11:48:41,662 ------------------------------------------------------------ 2023-09-08T11:48:41,663 ... 2023-09-08T11:48:41,664 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:41,665 cdef char *cstr 2023-09-08T11:48:41,665 if PyByteArray_Check(obj): 2023-09-08T11:48:41,665 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:41,666 ^ 2023-09-08T11:48:41,666 ------------------------------------------------------------ 2023-09-08T11:48:41,667 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:41,668 Error compiling Cython file: 2023-09-08T11:48:41,669 ------------------------------------------------------------ 2023-09-08T11:48:41,669 ... 2023-09-08T11:48:41,670 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:41,671 cdef char *cstr 2023-09-08T11:48:41,671 if PyByteArray_Check(obj): 2023-09-08T11:48:41,672 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:41,672 ^ 2023-09-08T11:48:41,673 ------------------------------------------------------------ 2023-09-08T11:48:41,674 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,675 Error compiling Cython file: 2023-09-08T11:48:41,676 ------------------------------------------------------------ 2023-09-08T11:48:41,677 ... 2023-09-08T11:48:41,678 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:41,678 cdef char *cstr 2023-09-08T11:48:41,679 if PyByteArray_Check(obj): 2023-09-08T11:48:41,680 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:41,680 elif PyBytes_Check(obj): 2023-09-08T11:48:41,681 ^ 2023-09-08T11:48:41,682 ------------------------------------------------------------ 2023-09-08T11:48:41,683 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:41,684 Error compiling Cython file: 2023-09-08T11:48:41,685 ------------------------------------------------------------ 2023-09-08T11:48:41,685 ... 2023-09-08T11:48:41,686 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:41,686 cdef char *cstr 2023-09-08T11:48:41,687 if PyByteArray_Check(obj): 2023-09-08T11:48:41,687 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:41,688 elif PyBytes_Check(obj): 2023-09-08T11:48:41,689 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:41,689 ^ 2023-09-08T11:48:41,690 ------------------------------------------------------------ 2023-09-08T11:48:41,691 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:41,692 Error compiling Cython file: 2023-09-08T11:48:41,692 ------------------------------------------------------------ 2023-09-08T11:48:41,693 ... 2023-09-08T11:48:41,694 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:41,694 cdef char *cstr 2023-09-08T11:48:41,695 if PyByteArray_Check(obj): 2023-09-08T11:48:41,696 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:41,696 elif PyBytes_Check(obj): 2023-09-08T11:48:41,697 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:41,697 ^ 2023-09-08T11:48:41,698 ------------------------------------------------------------ 2023-09-08T11:48:41,699 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,700 Error compiling Cython file: 2023-09-08T11:48:41,701 ------------------------------------------------------------ 2023-09-08T11:48:41,701 ... 2023-09-08T11:48:41,702 cdef _set(self, ee_event *event): 2023-09-08T11:48:41,702 self.event = event 2023-09-08T11:48:41,703 def __dealoc__(self): 2023-09-08T11:48:41,703 ee_deleteEvent(self.event) 2023-09-08T11:48:41,704 ^ 2023-09-08T11:48:41,704 ------------------------------------------------------------ 2023-09-08T11:48:41,705 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:41,706 Error compiling Cython file: 2023-09-08T11:48:41,707 ------------------------------------------------------------ 2023-09-08T11:48:41,707 ... 2023-09-08T11:48:41,708 cdef char *cstr = NULL 2023-09-08T11:48:41,708 cdef object py_str_obj = None 2023-09-08T11:48:41,709 try: 2023-09-08T11:48:41,709 if fmt == fmt_json: 2023-09-08T11:48:41,710 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:41,710 ^ 2023-09-08T11:48:41,711 ------------------------------------------------------------ 2023-09-08T11:48:41,711 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:41,712 Error compiling Cython file: 2023-09-08T11:48:41,713 ------------------------------------------------------------ 2023-09-08T11:48:41,714 ... 2023-09-08T11:48:41,714 elif fmt == fmt_rfc5424: 2023-09-08T11:48:41,715 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:41,716 else: 2023-09-08T11:48:41,716 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:41,718 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,718 ^ 2023-09-08T11:48:41,719 ------------------------------------------------------------ 2023-09-08T11:48:41,720 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:41,721 Error compiling Cython file: 2023-09-08T11:48:41,721 ------------------------------------------------------------ 2023-09-08T11:48:41,722 ... 2023-09-08T11:48:41,723 elif fmt == fmt_rfc5424: 2023-09-08T11:48:41,723 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:41,724 else: 2023-09-08T11:48:41,724 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:41,726 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,726 ^ 2023-09-08T11:48:41,727 ------------------------------------------------------------ 2023-09-08T11:48:41,728 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:41,729 Error compiling Cython file: 2023-09-08T11:48:41,730 ------------------------------------------------------------ 2023-09-08T11:48:41,730 ... 2023-09-08T11:48:41,731 elif fmt == fmt_rfc5424: 2023-09-08T11:48:41,731 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:41,732 else: 2023-09-08T11:48:41,733 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:41,734 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,734 ^ 2023-09-08T11:48:41,735 ------------------------------------------------------------ 2023-09-08T11:48:41,736 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,738 Error compiling Cython file: 2023-09-08T11:48:41,739 ------------------------------------------------------------ 2023-09-08T11:48:41,740 ... 2023-09-08T11:48:41,741 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:41,742 else: 2023-09-08T11:48:41,743 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:41,744 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,745 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:41,746 ^ 2023-09-08T11:48:41,746 ------------------------------------------------------------ 2023-09-08T11:48:41,748 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:41,749 Error compiling Cython file: 2023-09-08T11:48:41,750 ------------------------------------------------------------ 2023-09-08T11:48:41,751 ... 2023-09-08T11:48:41,751 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:41,752 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,753 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:41,754 finally: 2023-09-08T11:48:41,754 es_deleteStr(es_out) 2023-09-08T11:48:41,755 ^ 2023-09-08T11:48:41,755 ------------------------------------------------------------ 2023-09-08T11:48:41,757 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:41,758 Error compiling Cython file: 2023-09-08T11:48:41,759 ------------------------------------------------------------ 2023-09-08T11:48:41,760 ... 2023-09-08T11:48:41,761 cdef es_str_t *es_out = NULL 2023-09-08T11:48:41,761 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:41,762 cdef char *cstr = NULL 2023-09-08T11:48:41,763 cdef object py_str_obj = None 2023-09-08T11:48:41,765 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:41,766 ^ 2023-09-08T11:48:41,767 ------------------------------------------------------------ 2023-09-08T11:48:41,769 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:41,770 Error compiling Cython file: 2023-09-08T11:48:41,771 ------------------------------------------------------------ 2023-09-08T11:48:41,772 ... 2023-09-08T11:48:41,772 cdef object py_str_obj = None 2023-09-08T11:48:41,773 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:41,775 try: 2023-09-08T11:48:41,776 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:41,776 ^ 2023-09-08T11:48:41,777 ------------------------------------------------------------ 2023-09-08T11:48:41,778 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2023-09-08T11:48:41,779 Error compiling Cython file: 2023-09-08T11:48:41,780 ------------------------------------------------------------ 2023-09-08T11:48:41,780 ... 2023-09-08T11:48:41,781 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:41,782 try: 2023-09-08T11:48:41,783 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:41,784 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,784 ^ 2023-09-08T11:48:41,785 ------------------------------------------------------------ 2023-09-08T11:48:41,786 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:41,788 Error compiling Cython file: 2023-09-08T11:48:41,789 ------------------------------------------------------------ 2023-09-08T11:48:41,790 ... 2023-09-08T11:48:41,791 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:41,793 try: 2023-09-08T11:48:41,794 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:41,795 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:41,796 ^ 2023-09-08T11:48:41,797 ------------------------------------------------------------ 2023-09-08T11:48:41,798 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,799 Error compiling Cython file: 2023-09-08T11:48:41,800 ------------------------------------------------------------ 2023-09-08T11:48:41,801 ... 2023-09-08T11:48:41,802 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:41,803 cdef ee_ctx cee_ctx 2023-09-08T11:48:41,804 def __cinit__(self): 2023-09-08T11:48:41,805 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:41,806 ^ 2023-09-08T11:48:41,806 ------------------------------------------------------------ 2023-09-08T11:48:41,808 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:41,809 Error compiling Cython file: 2023-09-08T11:48:41,810 ------------------------------------------------------------ 2023-09-08T11:48:41,810 ... 2023-09-08T11:48:41,811 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:41,812 cdef ee_ctx cee_ctx 2023-09-08T11:48:41,813 def __cinit__(self): 2023-09-08T11:48:41,813 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:41,814 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:41,814 ^ 2023-09-08T11:48:41,815 ------------------------------------------------------------ 2023-09-08T11:48:41,817 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:41,819 Error compiling Cython file: 2023-09-08T11:48:41,820 ------------------------------------------------------------ 2023-09-08T11:48:41,821 ... 2023-09-08T11:48:41,821 cdef ee_ctx cee_ctx 2023-09-08T11:48:41,823 def __cinit__(self): 2023-09-08T11:48:41,824 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:41,825 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:41,826 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:41,826 ^ 2023-09-08T11:48:41,827 ------------------------------------------------------------ 2023-09-08T11:48:41,829 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:41,830 Error compiling Cython file: 2023-09-08T11:48:41,831 ------------------------------------------------------------ 2023-09-08T11:48:41,832 ... 2023-09-08T11:48:41,834 def __init__(self): 2023-09-08T11:48:41,835 pass 2023-09-08T11:48:41,837 def __dealoc__(self): 2023-09-08T11:48:41,838 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:41,839 ^ 2023-09-08T11:48:41,840 ------------------------------------------------------------ 2023-09-08T11:48:41,841 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:41,843 Error compiling Cython file: 2023-09-08T11:48:41,844 ------------------------------------------------------------ 2023-09-08T11:48:41,845 ... 2023-09-08T11:48:41,846 def __init__(self): 2023-09-08T11:48:41,846 pass 2023-09-08T11:48:41,848 def __dealoc__(self): 2023-09-08T11:48:41,849 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:41,850 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:41,851 ^ 2023-09-08T11:48:41,851 ------------------------------------------------------------ 2023-09-08T11:48:41,853 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:41,855 Error compiling Cython file: 2023-09-08T11:48:41,855 ------------------------------------------------------------ 2023-09-08T11:48:41,856 ... 2023-09-08T11:48:41,858 def load_rules(self, object filename): 2023-09-08T11:48:41,859 cdef char* cstr_filename 2023-09-08T11:48:41,861 if PyByteArray_Check(filename): 2023-09-08T11:48:41,862 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:41,864 ^ 2023-09-08T11:48:41,866 ------------------------------------------------------------ 2023-09-08T11:48:41,869 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,872 Error compiling Cython file: 2023-09-08T11:48:41,873 ------------------------------------------------------------ 2023-09-08T11:48:41,875 ... 2023-09-08T11:48:41,876 cdef char* cstr_filename 2023-09-08T11:48:41,879 if PyByteArray_Check(filename): 2023-09-08T11:48:41,880 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:41,882 elif PyBytes_Check(filename): 2023-09-08T11:48:41,883 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:41,884 ^ 2023-09-08T11:48:41,886 ------------------------------------------------------------ 2023-09-08T11:48:41,889 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:41,892 Error compiling Cython file: 2023-09-08T11:48:41,893 ------------------------------------------------------------ 2023-09-08T11:48:41,895 ... 2023-09-08T11:48:41,896 elif PyBytes_Check(filename): 2023-09-08T11:48:41,898 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:41,899 else: 2023-09-08T11:48:41,900 raise Exception( 2023-09-08T11:48:41,902 'Unable to convert to cstr: {}'.format(type(filename))) 2023-09-08T11:48:41,903 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2023-09-08T11:48:41,905 ^ 2023-09-08T11:48:41,906 ------------------------------------------------------------ 2023-09-08T11:48:41,910 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:41,913 Error compiling Cython file: 2023-09-08T11:48:41,914 ------------------------------------------------------------ 2023-09-08T11:48:41,915 ... 2023-09-08T11:48:41,916 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:41,917 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:41,918 cdef ee_event *event = NULL 2023-09-08T11:48:41,919 cdef CEEvent event_wrapper = None 2023-09-08T11:48:41,921 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:41,921 ^ 2023-09-08T11:48:41,922 ------------------------------------------------------------ 2023-09-08T11:48:41,924 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:41,925 Traceback (most recent call last): 2023-09-08T11:48:41,926 File "", line 2, in 2023-09-08T11:48:41,927 File "", line 34, in 2023-09-08T11:48:41,928 File "/tmp/pip-wheel-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/setup.py", line 85, in 2023-09-08T11:48:41,928 setup( 2023-09-08T11:48:41,929 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-08T11:48:41,930 return run_commands(dist) 2023-09-08T11:48:41,931 ^^^^^^^^^^^^^^^^^^ 2023-09-08T11:48:41,931 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-08T11:48:41,932 dist.run_commands() 2023-09-08T11:48:41,933 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-08T11:48:41,933 self.run_command(cmd) 2023-09-08T11:48:41,934 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T11:48:41,935 super().run_command(command) 2023-09-08T11:48:41,936 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T11:48:41,937 cmd_obj.run() 2023-09-08T11:48:41,938 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-08T11:48:41,938 self.run_command("build") 2023-09-08T11:48:41,940 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T11:48:41,940 self.distribution.run_command(command) 2023-09-08T11:48:41,941 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T11:48:41,941 super().run_command(command) 2023-09-08T11:48:41,942 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T11:48:41,942 cmd_obj.run() 2023-09-08T11:48:41,943 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-08T11:48:41,943 self.run_command(cmd_name) 2023-09-08T11:48:41,944 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T11:48:41,945 self.distribution.run_command(command) 2023-09-08T11:48:41,945 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T11:48:41,946 super().run_command(command) 2023-09-08T11:48:41,947 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T11:48:41,947 cmd_obj.run() 2023-09-08T11:48:41,948 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 345, in run 2023-09-08T11:48:41,948 self.build_extensions() 2023-09-08T11:48:41,949 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions 2023-09-08T11:48:41,949 self._build_extensions_serial() 2023-09-08T11:48:41,950 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial 2023-09-08T11:48:41,951 self.build_extension(ext) 2023-09-08T11:48:41,952 File "/usr/local/lib/python3.11/dist-packages/Cython/Distutils/build_ext.py", line 122, in build_extension 2023-09-08T11:48:41,952 new_ext = cythonize( 2023-09-08T11:48:41,953 ^^^^^^^^^^ 2023-09-08T11:48:41,954 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-08T11:48:41,955 cythonize_one(*args) 2023-09-08T11:48:41,956 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-08T11:48:41,957 raise CompileError(None, pyx_file) 2023-09-08T11:48:41,958 Cython.Compiler.Errors.CompileError: pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:42,018 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T11:48:42,031 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T11:48:42,031 exec(compile('"'"''"'"''"'"' 2023-09-08T11:48:42,031 # This is -- a caller that pip uses to run setup.py 2023-09-08T11:48:42,031 # 2023-09-08T11:48:42,031 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T11:48:42,031 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T11:48:42,031 # - It provides a clear error message when setuptools is not installed. 2023-09-08T11:48:42,031 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T11:48:42,031 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T11:48:42,031 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T11:48:42,031 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T11:48:42,031 import os, sys, tokenize 2023-09-08T11:48:42,031 2023-09-08T11:48:42,031 try: 2023-09-08T11:48:42,031 import setuptools 2023-09-08T11:48:42,031 except ImportError as error: 2023-09-08T11:48:42,031 print( 2023-09-08T11:48:42,031 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T11:48:42,031 "the build environment.", 2023-09-08T11:48:42,031 file=sys.stderr, 2023-09-08T11:48:42,031 ) 2023-09-08T11:48:42,031 sys.exit(1) 2023-09-08T11:48:42,031 2023-09-08T11:48:42,031 __file__ = %r 2023-09-08T11:48:42,031 sys.argv[0] = __file__ 2023-09-08T11:48:42,031 2023-09-08T11:48:42,031 if os.path.exists(__file__): 2023-09-08T11:48:42,031 filename = __file__ 2023-09-08T11:48:42,031 with tokenize.open(__file__) as f: 2023-09-08T11:48:42,031 setup_py_code = f.read() 2023-09-08T11:48:42,031 else: 2023-09-08T11:48:42,031 filename = "" 2023-09-08T11:48:42,031 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T11:48:42,031 2023-09-08T11:48:42,031 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T11:48:42,031 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-qtenrf18[/] 2023-09-08T11:48:42,032 [bold magenta]cwd[/]: /tmp/pip-wheel-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/ 2023-09-08T11:48:42,033 Building wheel for pylognorm (setup.py): finished with status 'error' 2023-09-08T11:48:42,034 ERROR: Failed building wheel for pylognorm 2023-09-08T11:48:42,035 Running setup.py clean for pylognorm 2023-09-08T11:48:42,036 Running command python setup.py clean 2023-09-08T11:48:44,396 /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-6oxjos2p/pylognorm_b6edaa46b32d47d29e77a14e59dae9bc/pylognorm/bindings/liblognorm.pyx 2023-09-08T11:48:44,396 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T11:48:44,477 Error compiling Cython file: 2023-09-08T11:48:44,477 ------------------------------------------------------------ 2023-09-08T11:48:44,478 ... 2023-09-08T11:48:44,479 from os import path 2023-09-08T11:48:44,480 from liblognorm cimport * 2023-09-08T11:48:44,481 ^ 2023-09-08T11:48:44,481 ------------------------------------------------------------ 2023-09-08T11:48:44,482 pylognorm/bindings/liblognorm.pyx:3:0: 'liblognorm.pxd' not found 2023-09-08T11:48:44,582 Error compiling Cython file: 2023-09-08T11:48:44,582 ------------------------------------------------------------ 2023-09-08T11:48:44,583 ... 2023-09-08T11:48:44,584 return self.cnormalizer.normalize(logline) 2023-09-08T11:48:44,586 cdef class CEEvent(object): 2023-09-08T11:48:44,587 cdef ee_event *event 2023-09-08T11:48:44,588 ^ 2023-09-08T11:48:44,588 ------------------------------------------------------------ 2023-09-08T11:48:44,590 pylognorm/bindings/liblognorm.pyx:51:9: 'ee_event' is not a type identifier 2023-09-08T11:48:44,591 Error compiling Cython file: 2023-09-08T11:48:44,591 ------------------------------------------------------------ 2023-09-08T11:48:44,592 ... 2023-09-08T11:48:44,593 cdef class CEEvent(object): 2023-09-08T11:48:44,594 cdef ee_event *event 2023-09-08T11:48:44,595 cdef _set(self, ee_event *event): 2023-09-08T11:48:44,596 ^ 2023-09-08T11:48:44,596 ------------------------------------------------------------ 2023-09-08T11:48:44,598 pylognorm/bindings/liblognorm.pyx:53:20: 'ee_event' is not a type identifier 2023-09-08T11:48:44,599 Error compiling Cython file: 2023-09-08T11:48:44,599 ------------------------------------------------------------ 2023-09-08T11:48:44,600 ... 2023-09-08T11:48:44,601 return py_str_obj 2023-09-08T11:48:44,603 cdef class CLogNormalizer(object): 2023-09-08T11:48:44,604 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:44,605 ^ 2023-09-08T11:48:44,605 ------------------------------------------------------------ 2023-09-08T11:48:44,607 pylognorm/bindings/liblognorm.pyx:121:9: 'ln_ctx' is not a type identifier 2023-09-08T11:48:44,608 Error compiling Cython file: 2023-09-08T11:48:44,608 ------------------------------------------------------------ 2023-09-08T11:48:44,609 ... 2023-09-08T11:48:44,610 cdef class CLogNormalizer(object): 2023-09-08T11:48:44,611 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:44,611 cdef ee_ctx cee_ctx 2023-09-08T11:48:44,612 ^ 2023-09-08T11:48:44,612 ------------------------------------------------------------ 2023-09-08T11:48:44,613 pylognorm/bindings/liblognorm.pyx:122:9: 'ee_ctx' is not a type identifier 2023-09-08T11:48:44,614 Error compiling Cython file: 2023-09-08T11:48:44,614 ------------------------------------------------------------ 2023-09-08T11:48:44,615 ... 2023-09-08T11:48:44,615 finally: 2023-09-08T11:48:44,615 free(extra_data_cstr) 2023-09-08T11:48:44,616 return py_str_obj 2023-09-08T11:48:44,617 cdef object _format(self, format_kind fmt): 2023-09-08T11:48:44,617 cdef es_str_t *es_out = NULL 2023-09-08T11:48:44,617 ^ 2023-09-08T11:48:44,618 ------------------------------------------------------------ 2023-09-08T11:48:44,619 pylognorm/bindings/liblognorm.pyx:79:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:44,619 Error compiling Cython file: 2023-09-08T11:48:44,620 ------------------------------------------------------------ 2023-09-08T11:48:44,620 ... 2023-09-08T11:48:44,621 es_deleteStr(es_out) 2023-09-08T11:48:44,621 free(cstr) 2023-09-08T11:48:44,621 return py_str_obj 2023-09-08T11:48:44,622 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:44,623 cdef es_str_t *es_out = NULL 2023-09-08T11:48:44,623 ^ 2023-09-08T11:48:44,624 ------------------------------------------------------------ 2023-09-08T11:48:44,625 pylognorm/bindings/liblognorm.pyx:101:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:44,626 Error compiling Cython file: 2023-09-08T11:48:44,627 ------------------------------------------------------------ 2023-09-08T11:48:44,627 ... 2023-09-08T11:48:44,628 free(cstr) 2023-09-08T11:48:44,628 return py_str_obj 2023-09-08T11:48:44,630 cdef object _format_csv(self, char *extra_data): 2023-09-08T11:48:44,631 cdef es_str_t *es_out = NULL 2023-09-08T11:48:44,631 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:44,632 ^ 2023-09-08T11:48:44,633 ------------------------------------------------------------ 2023-09-08T11:48:44,634 pylognorm/bindings/liblognorm.pyx:102:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:44,635 Error compiling Cython file: 2023-09-08T11:48:44,636 ------------------------------------------------------------ 2023-09-08T11:48:44,636 ... 2023-09-08T11:48:44,637 def normalize(self, object data): 2023-09-08T11:48:44,638 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:44,639 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:44,639 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:44,640 ^ 2023-09-08T11:48:44,640 ------------------------------------------------------------ 2023-09-08T11:48:44,641 pylognorm/bindings/liblognorm.pyx:152:13: 'es_str_t' is not a type identifier 2023-09-08T11:48:44,643 Error compiling Cython file: 2023-09-08T11:48:44,643 ------------------------------------------------------------ 2023-09-08T11:48:44,644 ... 2023-09-08T11:48:44,644 def normalize(self, object data): 2023-09-08T11:48:44,645 return self._normalize(_object_to_cstr(data)) 2023-09-08T11:48:44,646 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:44,647 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:44,647 cdef ee_event *event = NULL 2023-09-08T11:48:44,648 ^ 2023-09-08T11:48:44,649 ------------------------------------------------------------ 2023-09-08T11:48:44,650 pylognorm/bindings/liblognorm.pyx:153:13: 'ee_event' is not a type identifier 2023-09-08T11:48:44,664 Error compiling Cython file: 2023-09-08T11:48:44,664 ------------------------------------------------------------ 2023-09-08T11:48:44,665 ... 2023-09-08T11:48:44,665 fmt_xml, 2023-09-08T11:48:44,666 fmt_rfc5424 2023-09-08T11:48:44,667 def lib_version(): 2023-09-08T11:48:44,667 cdef char* version = ln_version() 2023-09-08T11:48:44,668 ^ 2023-09-08T11:48:44,668 ------------------------------------------------------------ 2023-09-08T11:48:44,669 pylognorm/bindings/liblognorm.pyx:15:25: undeclared name not builtin: ln_version 2023-09-08T11:48:44,670 Error compiling Cython file: 2023-09-08T11:48:44,671 ------------------------------------------------------------ 2023-09-08T11:48:44,671 ... 2023-09-08T11:48:44,672 fmt_xml, 2023-09-08T11:48:44,672 fmt_rfc5424 2023-09-08T11:48:44,674 def lib_version(): 2023-09-08T11:48:44,674 cdef char* version = ln_version() 2023-09-08T11:48:44,675 ^ 2023-09-08T11:48:44,675 ------------------------------------------------------------ 2023-09-08T11:48:44,676 pylognorm/bindings/liblognorm.pyx:15:9: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,677 Error compiling Cython file: 2023-09-08T11:48:44,678 ------------------------------------------------------------ 2023-09-08T11:48:44,678 ... 2023-09-08T11:48:44,679 fmt_rfc5424 2023-09-08T11:48:44,681 def lib_version(): 2023-09-08T11:48:44,681 cdef char* version = ln_version() 2023-09-08T11:48:44,682 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:44,683 ^ 2023-09-08T11:48:44,684 ------------------------------------------------------------ 2023-09-08T11:48:44,685 pylognorm/bindings/liblognorm.pyx:16:11: undeclared name not builtin: PyString_FromStringAndSize 2023-09-08T11:48:44,686 Error compiling Cython file: 2023-09-08T11:48:44,687 ------------------------------------------------------------ 2023-09-08T11:48:44,688 ... 2023-09-08T11:48:44,688 return PyString_FromStringAndSize(version, strlen(version)) 2023-09-08T11:48:44,690 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:44,691 cdef char *cstr 2023-09-08T11:48:44,692 if PyByteArray_Check(obj): 2023-09-08T11:48:44,692 ^ 2023-09-08T11:48:44,693 ------------------------------------------------------------ 2023-09-08T11:48:44,695 pylognorm/bindings/liblognorm.pyx:21:7: undeclared name not builtin: PyByteArray_Check 2023-09-08T11:48:44,696 Error compiling Cython file: 2023-09-08T11:48:44,697 ------------------------------------------------------------ 2023-09-08T11:48:44,697 ... 2023-09-08T11:48:44,699 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:44,700 cdef char *cstr 2023-09-08T11:48:44,700 if PyByteArray_Check(obj): 2023-09-08T11:48:44,701 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:44,701 ^ 2023-09-08T11:48:44,702 ------------------------------------------------------------ 2023-09-08T11:48:44,703 pylognorm/bindings/liblognorm.pyx:22:15: undeclared name not builtin: PyByteArray_AsString 2023-09-08T11:48:44,704 Error compiling Cython file: 2023-09-08T11:48:44,705 ------------------------------------------------------------ 2023-09-08T11:48:44,706 ... 2023-09-08T11:48:44,707 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:44,708 cdef char *cstr 2023-09-08T11:48:44,709 if PyByteArray_Check(obj): 2023-09-08T11:48:44,709 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:44,710 ^ 2023-09-08T11:48:44,711 ------------------------------------------------------------ 2023-09-08T11:48:44,712 pylognorm/bindings/liblognorm.pyx:22:35: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,714 Error compiling Cython file: 2023-09-08T11:48:44,714 ------------------------------------------------------------ 2023-09-08T11:48:44,714 ... 2023-09-08T11:48:44,715 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:44,716 cdef char *cstr 2023-09-08T11:48:44,716 if PyByteArray_Check(obj): 2023-09-08T11:48:44,717 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:44,717 elif PyBytes_Check(obj): 2023-09-08T11:48:44,717 ^ 2023-09-08T11:48:44,718 ------------------------------------------------------------ 2023-09-08T11:48:44,719 pylognorm/bindings/liblognorm.pyx:23:9: undeclared name not builtin: PyBytes_Check 2023-09-08T11:48:44,719 Error compiling Cython file: 2023-09-08T11:48:44,720 ------------------------------------------------------------ 2023-09-08T11:48:44,720 ... 2023-09-08T11:48:44,721 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:44,721 cdef char *cstr 2023-09-08T11:48:44,721 if PyByteArray_Check(obj): 2023-09-08T11:48:44,722 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:44,722 elif PyBytes_Check(obj): 2023-09-08T11:48:44,723 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:44,723 ^ 2023-09-08T11:48:44,724 ------------------------------------------------------------ 2023-09-08T11:48:44,725 pylognorm/bindings/liblognorm.pyx:24:15: undeclared name not builtin: PyBytes_AsString 2023-09-08T11:48:44,726 Error compiling Cython file: 2023-09-08T11:48:44,726 ------------------------------------------------------------ 2023-09-08T11:48:44,727 ... 2023-09-08T11:48:44,727 cdef char * _object_to_cstr(object obj): 2023-09-08T11:48:44,727 cdef char *cstr 2023-09-08T11:48:44,728 if PyByteArray_Check(obj): 2023-09-08T11:48:44,728 cstr = PyByteArray_AsString(obj) 2023-09-08T11:48:44,729 elif PyBytes_Check(obj): 2023-09-08T11:48:44,729 cstr = PyBytes_AsString(obj) 2023-09-08T11:48:44,730 ^ 2023-09-08T11:48:44,731 ------------------------------------------------------------ 2023-09-08T11:48:44,732 pylognorm/bindings/liblognorm.pyx:24:31: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,733 Error compiling Cython file: 2023-09-08T11:48:44,734 ------------------------------------------------------------ 2023-09-08T11:48:44,734 ... 2023-09-08T11:48:44,735 cdef _set(self, ee_event *event): 2023-09-08T11:48:44,736 self.event = event 2023-09-08T11:48:44,737 def __dealoc__(self): 2023-09-08T11:48:44,738 ee_deleteEvent(self.event) 2023-09-08T11:48:44,738 ^ 2023-09-08T11:48:44,739 ------------------------------------------------------------ 2023-09-08T11:48:44,740 pylognorm/bindings/liblognorm.pyx:57:8: undeclared name not builtin: ee_deleteEvent 2023-09-08T11:48:44,741 Error compiling Cython file: 2023-09-08T11:48:44,742 ------------------------------------------------------------ 2023-09-08T11:48:44,742 ... 2023-09-08T11:48:44,743 cdef char *cstr = NULL 2023-09-08T11:48:44,743 cdef object py_str_obj = None 2023-09-08T11:48:44,744 try: 2023-09-08T11:48:44,745 if fmt == fmt_json: 2023-09-08T11:48:44,746 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:44,746 ^ 2023-09-08T11:48:44,747 ------------------------------------------------------------ 2023-09-08T11:48:44,748 pylognorm/bindings/liblognorm.pyx:85:16: undeclared name not builtin: ee_fmtEventToJSON 2023-09-08T11:48:44,749 Error compiling Cython file: 2023-09-08T11:48:44,750 ------------------------------------------------------------ 2023-09-08T11:48:44,750 ... 2023-09-08T11:48:44,751 elif fmt == fmt_rfc5424: 2023-09-08T11:48:44,751 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:44,752 else: 2023-09-08T11:48:44,753 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:44,754 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,755 ^ 2023-09-08T11:48:44,755 ------------------------------------------------------------ 2023-09-08T11:48:44,756 pylognorm/bindings/liblognorm.pyx:93:19: undeclared name not builtin: es_str2cstr 2023-09-08T11:48:44,757 Error compiling Cython file: 2023-09-08T11:48:44,757 ------------------------------------------------------------ 2023-09-08T11:48:44,758 ... 2023-09-08T11:48:44,758 elif fmt == fmt_rfc5424: 2023-09-08T11:48:44,759 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:44,759 else: 2023-09-08T11:48:44,760 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:44,762 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,763 ^ 2023-09-08T11:48:44,763 ------------------------------------------------------------ 2023-09-08T11:48:44,765 pylognorm/bindings/liblognorm.pyx:93:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:44,766 Error compiling Cython file: 2023-09-08T11:48:44,767 ------------------------------------------------------------ 2023-09-08T11:48:44,767 ... 2023-09-08T11:48:44,768 elif fmt == fmt_rfc5424: 2023-09-08T11:48:44,768 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:44,769 else: 2023-09-08T11:48:44,769 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:44,770 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,770 ^ 2023-09-08T11:48:44,771 ------------------------------------------------------------ 2023-09-08T11:48:44,772 pylognorm/bindings/liblognorm.pyx:93:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,773 Error compiling Cython file: 2023-09-08T11:48:44,774 ------------------------------------------------------------ 2023-09-08T11:48:44,774 ... 2023-09-08T11:48:44,775 ee_fmtEventToJSON(self.event, &es_out) 2023-09-08T11:48:44,776 else: 2023-09-08T11:48:44,776 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:44,777 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,778 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:44,779 ^ 2023-09-08T11:48:44,779 ------------------------------------------------------------ 2023-09-08T11:48:44,780 pylognorm/bindings/liblognorm.pyx:94:25: undeclared name not builtin: PyUnicode_FromString 2023-09-08T11:48:44,782 Error compiling Cython file: 2023-09-08T11:48:44,782 ------------------------------------------------------------ 2023-09-08T11:48:44,783 ... 2023-09-08T11:48:44,783 raise Exception('Unknown format: {}'.format(fmt)) 2023-09-08T11:48:44,785 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,785 py_str_obj = PyUnicode_FromString(cstr) 2023-09-08T11:48:44,786 finally: 2023-09-08T11:48:44,787 es_deleteStr(es_out) 2023-09-08T11:48:44,788 ^ 2023-09-08T11:48:44,788 ------------------------------------------------------------ 2023-09-08T11:48:44,789 pylognorm/bindings/liblognorm.pyx:96:12: undeclared name not builtin: es_deleteStr 2023-09-08T11:48:44,791 Error compiling Cython file: 2023-09-08T11:48:44,791 ------------------------------------------------------------ 2023-09-08T11:48:44,792 ... 2023-09-08T11:48:44,792 cdef es_str_t *es_out = NULL 2023-09-08T11:48:44,793 cdef es_str_t *es_extra_data = NULL 2023-09-08T11:48:44,794 cdef char *cstr = NULL 2023-09-08T11:48:44,794 cdef object py_str_obj = None 2023-09-08T11:48:44,796 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:44,797 ^ 2023-09-08T11:48:44,798 ------------------------------------------------------------ 2023-09-08T11:48:44,801 pylognorm/bindings/liblognorm.pyx:106:24: undeclared name not builtin: es_newStrFromCStr 2023-09-08T11:48:44,802 Error compiling Cython file: 2023-09-08T11:48:44,803 ------------------------------------------------------------ 2023-09-08T11:48:44,804 ... 2023-09-08T11:48:44,805 cdef object py_str_obj = None 2023-09-08T11:48:44,807 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:44,808 try: 2023-09-08T11:48:44,808 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:44,809 ^ 2023-09-08T11:48:44,809 ------------------------------------------------------------ 2023-09-08T11:48:44,810 pylognorm/bindings/liblognorm.pyx:109:12: undeclared name not builtin: ee_fmtEventToCSV 2023-09-08T11:48:44,811 Error compiling Cython file: 2023-09-08T11:48:44,812 ------------------------------------------------------------ 2023-09-08T11:48:44,812 ... 2023-09-08T11:48:44,813 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:44,814 try: 2023-09-08T11:48:44,814 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:44,815 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,815 ^ 2023-09-08T11:48:44,816 ------------------------------------------------------------ 2023-09-08T11:48:44,816 pylognorm/bindings/liblognorm.pyx:110:39: Cannot convert 'void *' to Python object 2023-09-08T11:48:44,817 Error compiling Cython file: 2023-09-08T11:48:44,818 ------------------------------------------------------------ 2023-09-08T11:48:44,819 ... 2023-09-08T11:48:44,820 es_extra_data = es_newStrFromCStr(extra_data, strlen(extra_data)) 2023-09-08T11:48:44,821 try: 2023-09-08T11:48:44,821 ee_fmtEventToCSV(self.event, &es_out, es_extra_data) 2023-09-08T11:48:44,822 cstr = es_str2cstr(es_out, NULL) 2023-09-08T11:48:44,822 ^ 2023-09-08T11:48:44,823 ------------------------------------------------------------ 2023-09-08T11:48:44,824 pylognorm/bindings/liblognorm.pyx:110:30: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,825 Error compiling Cython file: 2023-09-08T11:48:44,826 ------------------------------------------------------------ 2023-09-08T11:48:44,826 ... 2023-09-08T11:48:44,828 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:44,828 cdef ee_ctx cee_ctx 2023-09-08T11:48:44,829 def __cinit__(self): 2023-09-08T11:48:44,830 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:44,831 ^ 2023-09-08T11:48:44,831 ------------------------------------------------------------ 2023-09-08T11:48:44,832 pylognorm/bindings/liblognorm.pyx:125:30: undeclared name not builtin: ln_initCtx 2023-09-08T11:48:44,834 Error compiling Cython file: 2023-09-08T11:48:44,834 ------------------------------------------------------------ 2023-09-08T11:48:44,835 ... 2023-09-08T11:48:44,835 cdef ln_ctx normalizer_ctx 2023-09-08T11:48:44,836 cdef ee_ctx cee_ctx 2023-09-08T11:48:44,837 def __cinit__(self): 2023-09-08T11:48:44,838 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:44,838 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:44,839 ^ 2023-09-08T11:48:44,840 ------------------------------------------------------------ 2023-09-08T11:48:44,841 pylognorm/bindings/liblognorm.pyx:126:23: undeclared name not builtin: ee_initCtx 2023-09-08T11:48:44,842 Error compiling Cython file: 2023-09-08T11:48:44,843 ------------------------------------------------------------ 2023-09-08T11:48:44,843 ... 2023-09-08T11:48:44,844 cdef ee_ctx cee_ctx 2023-09-08T11:48:44,845 def __cinit__(self): 2023-09-08T11:48:44,846 self.normalizer_ctx = ln_initCtx() 2023-09-08T11:48:44,847 self.cee_ctx = ee_initCtx() 2023-09-08T11:48:44,848 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2023-09-08T11:48:44,849 ^ 2023-09-08T11:48:44,849 ------------------------------------------------------------ 2023-09-08T11:48:44,851 pylognorm/bindings/liblognorm.pyx:127:8: undeclared name not builtin: ln_setEECtx 2023-09-08T11:48:44,852 Error compiling Cython file: 2023-09-08T11:48:44,853 ------------------------------------------------------------ 2023-09-08T11:48:44,853 ... 2023-09-08T11:48:44,854 def __init__(self): 2023-09-08T11:48:44,855 pass 2023-09-08T11:48:44,856 def __dealoc__(self): 2023-09-08T11:48:44,856 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:44,857 ^ 2023-09-08T11:48:44,857 ------------------------------------------------------------ 2023-09-08T11:48:44,858 pylognorm/bindings/liblognorm.pyx:133:8: undeclared name not builtin: ee_exitCtx 2023-09-08T11:48:44,859 Error compiling Cython file: 2023-09-08T11:48:44,860 ------------------------------------------------------------ 2023-09-08T11:48:44,860 ... 2023-09-08T11:48:44,861 def __init__(self): 2023-09-08T11:48:44,861 pass 2023-09-08T11:48:44,862 def __dealoc__(self): 2023-09-08T11:48:44,863 ee_exitCtx(self.cee_ctx) 2023-09-08T11:48:44,863 ln_exitCtx(self.normalizer_ctx) 2023-09-08T11:48:44,864 ^ 2023-09-08T11:48:44,864 ------------------------------------------------------------ 2023-09-08T11:48:44,865 pylognorm/bindings/liblognorm.pyx:134:8: undeclared name not builtin: ln_exitCtx 2023-09-08T11:48:44,866 Error compiling Cython file: 2023-09-08T11:48:44,867 ------------------------------------------------------------ 2023-09-08T11:48:44,867 ... 2023-09-08T11:48:44,868 def load_rules(self, object filename): 2023-09-08T11:48:44,869 cdef char* cstr_filename 2023-09-08T11:48:44,870 if PyByteArray_Check(filename): 2023-09-08T11:48:44,871 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:44,871 ^ 2023-09-08T11:48:44,872 ------------------------------------------------------------ 2023-09-08T11:48:44,873 pylognorm/bindings/liblognorm.pyx:140:48: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,875 Error compiling Cython file: 2023-09-08T11:48:44,876 ------------------------------------------------------------ 2023-09-08T11:48:44,876 ... 2023-09-08T11:48:44,877 cdef char* cstr_filename 2023-09-08T11:48:44,878 if PyByteArray_Check(filename): 2023-09-08T11:48:44,879 cstr_filename = PyByteArray_AsString(filename) 2023-09-08T11:48:44,879 elif PyBytes_Check(filename): 2023-09-08T11:48:44,880 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:44,881 ^ 2023-09-08T11:48:44,881 ------------------------------------------------------------ 2023-09-08T11:48:44,882 pylognorm/bindings/liblognorm.pyx:142:44: Storing unsafe C derivative of temporary Python reference 2023-09-08T11:48:44,884 Error compiling Cython file: 2023-09-08T11:48:44,884 ------------------------------------------------------------ 2023-09-08T11:48:44,885 ... 2023-09-08T11:48:44,885 elif PyBytes_Check(filename): 2023-09-08T11:48:44,886 cstr_filename = PyBytes_AsString(filename) 2023-09-08T11:48:44,887 else: 2023-09-08T11:48:44,887 raise Exception( 2023-09-08T11:48:44,888 'Unable to convert to cstr: {}'.format(type(filename))) 2023-09-08T11:48:44,888 ln_loadSamples(self.normalizer_ctx, cstr_filename) 2023-09-08T11:48:44,889 ^ 2023-09-08T11:48:44,889 ------------------------------------------------------------ 2023-09-08T11:48:44,891 pylognorm/bindings/liblognorm.pyx:146:8: undeclared name not builtin: ln_loadSamples 2023-09-08T11:48:44,892 Error compiling Cython file: 2023-09-08T11:48:44,893 ------------------------------------------------------------ 2023-09-08T11:48:44,893 ... 2023-09-08T11:48:44,894 cdef CEEvent _normalize(self, char *data): 2023-09-08T11:48:44,894 cdef es_str_t *in_str = es_newStrFromCStr(data, strlen(data)) 2023-09-08T11:48:44,895 cdef ee_event *event = NULL 2023-09-08T11:48:44,895 cdef CEEvent event_wrapper = None 2023-09-08T11:48:44,896 ln_normalize(self.normalizer_ctx, in_str, &event) 2023-09-08T11:48:44,897 ^ 2023-09-08T11:48:44,897 ------------------------------------------------------------ 2023-09-08T11:48:44,898 pylognorm/bindings/liblognorm.pyx:156:8: undeclared name not builtin: ln_normalize 2023-09-08T11:48:45,023 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T11:48:45,024 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T11:48:45,272 Failed to build pylognorm 2023-09-08T11:48:45,273 ERROR: Failed to build one or more wheels 2023-09-08T11:48:45,274 Exception information: 2023-09-08T11:48:45,274 Traceback (most recent call last): 2023-09-08T11:48:45,274 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T11:48:45,274 status = run_func(*args) 2023-09-08T11:48:45,274 ^^^^^^^^^^^^^^^ 2023-09-08T11:48:45,274 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T11:48:45,274 return func(self, options, args) 2023-09-08T11:48:45,274 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T11:48:45,274 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T11:48:45,274 raise CommandError("Failed to build one or more wheels") 2023-09-08T11:48:45,274 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T11:48:45,277 Removed build tracker: '/tmp/pip-build-tracker-vo2y1mxs'