2025-09-07T22:36:04,118 Created temporary directory: /tmp/pip-build-tracker-7ssy713q 2025-09-07T22:36:04,119 Initialized build tracking at /tmp/pip-build-tracker-7ssy713q 2025-09-07T22:36:04,119 Created build tracker: /tmp/pip-build-tracker-7ssy713q 2025-09-07T22:36:04,119 Entered build tracker: /tmp/pip-build-tracker-7ssy713q 2025-09-07T22:36:04,119 Created temporary directory: /tmp/pip-wheel-esrje86x 2025-09-07T22:36:04,123 Created temporary directory: /tmp/pip-ephem-wheel-cache-flzn1p93 2025-09-07T22:36:04,187 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-07T22:36:04,190 2 location(s) to search for versions of pylognorm: 2025-09-07T22:36:04,190 * https://pypi.org/simple/pylognorm/ 2025-09-07T22:36:04,190 * https://www.piwheels.org/simple/pylognorm/ 2025-09-07T22:36:04,190 Fetching project page and analyzing links: https://pypi.org/simple/pylognorm/ 2025-09-07T22:36:04,191 Getting page https://pypi.org/simple/pylognorm/ 2025-09-07T22:36:04,192 Found index url https://pypi.org/simple/ 2025-09-07T22:36:04,412 Fetched page https://pypi.org/simple/pylognorm/ as application/vnd.pypi.simple.v1+json 2025-09-07T22:36:04,414 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 2025-09-07T22:36:04,414 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 2025-09-07T22:36:04,414 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 2025-09-07T22:36:04,415 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 2025-09-07T22:36:04,415 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 2025-09-07T22:36:04,415 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 2025-09-07T22:36:04,416 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 2025-09-07T22:36:04,416 Fetching project page and analyzing links: https://www.piwheels.org/simple/pylognorm/ 2025-09-07T22:36:04,416 Getting page https://www.piwheels.org/simple/pylognorm/ 2025-09-07T22:36:04,418 Found index url https://www.piwheels.org/simple/ 2025-09-07T22:36:04,521 Fetched page https://www.piwheels.org/simple/pylognorm/ as text/html 2025-09-07T22:36:04,522 Skipping link: No binaries permitted for pylognorm: https://archive1.piwheels.org/simple/pylognorm/pylognorm-0.1.1-py3-none-any.whl#sha256=342dddedec005ee249afa7908bf427ef3021b9bcad2a6a0fd7fe1c81a50554f7 (from https://www.piwheels.org/simple/pylognorm/) 2025-09-07T22:36:04,523 Skipping link: not a file: https://www.piwheels.org/simple/pylognorm/ 2025-09-07T22:36:04,523 Skipping link: not a file: https://pypi.org/simple/pylognorm/ 2025-09-07T22:36:04,551 Given no hashes to check 1 links for project 'pylognorm': discarding no candidates 2025-09-07T22:36:04,553 Collecting pylognorm==0.1.2 2025-09-07T22:36:04,555 Created temporary directory: /tmp/pip-unpack-7w_vttoy 2025-09-07T22:36:04,714 Downloading pylognorm-0.1.2.tar.gz (30 kB) 2025-09-07T22:36:04,746 Added pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-7ssy713q' 2025-09-07T22:36:04,747 Running setup.py (path:/tmp/pip-wheel-esrje86x/pylognorm_19b5ca74f4a34770866717c54984e4e3/setup.py) egg_info for package pylognorm 2025-09-07T22:36:04,748 Created temporary directory: /tmp/pip-pip-egg-info-fvn11jrs 2025-09-07T22:36:04,748 Preparing metadata (setup.py): started 2025-09-07T22:36:04,749 Running command python setup.py egg_info 2025-09-07T22:36:06,813 Error compiling Cython file: 2025-09-07T22:36:06,813 ------------------------------------------------------------ 2025-09-07T22:36:06,813 ... 2025-09-07T22:36:06,813 from os import path 2025-09-07T22:36:06,814 from liblognorm cimport * 2025-09-07T22:36:06,814 ^ 2025-09-07T22:36:06,814 ------------------------------------------------------------ 2025-09-07T22:36:06,814 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2025-09-07T22:36:06,881 Error compiling Cython file: 2025-09-07T22:36:06,881 ------------------------------------------------------------ 2025-09-07T22:36:06,881 ... 2025-09-07T22:36:06,881 return self.cnormalizer.normalize(logline, len(logline)) 2025-09-07T22:36:06,882 cdef class CLogNormalizer(object): 2025-09-07T22:36:06,882 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:06,882 ^ 2025-09-07T22:36:06,882 ------------------------------------------------------------ 2025-09-07T22:36:06,882 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2025-09-07T22:36:06,883 Error compiling Cython file: 2025-09-07T22:36:06,883 ------------------------------------------------------------ 2025-09-07T22:36:06,883 ... 2025-09-07T22:36:06,883 cdef class CLogNormalizer(object): 2025-09-07T22:36:06,883 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:06,884 cdef ee_ctx cee_ctx 2025-09-07T22:36:06,884 ^ 2025-09-07T22:36:06,884 ------------------------------------------------------------ 2025-09-07T22:36:06,884 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2025-09-07T22:36:06,884 Error compiling Cython file: 2025-09-07T22:36:06,884 ------------------------------------------------------------ 2025-09-07T22:36:06,885 ... 2025-09-07T22:36:06,885 formatted = self.format_JSON(event) 2025-09-07T22:36:06,885 ee_deleteEvent(event) 2025-09-07T22:36:06,885 es_deleteStr(in_str) 2025-09-07T22:36:06,885 return formatted 2025-09-07T22:36:06,885 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:06,885 ^ 2025-09-07T22:36:06,885 ------------------------------------------------------------ 2025-09-07T22:36:06,886 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2025-09-07T22:36:06,888 Error compiling Cython file: 2025-09-07T22:36:06,888 ------------------------------------------------------------ 2025-09-07T22:36:06,888 ... 2025-09-07T22:36:06,888 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:06,889 free(normal) 2025-09-07T22:36:06,889 return pyobj 2025-09-07T22:36:06,889 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:06,889 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:06,889 ^ 2025-09-07T22:36:06,889 ------------------------------------------------------------ 2025-09-07T22:36:06,889 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:06,890 Error compiling Cython file: 2025-09-07T22:36:06,890 ------------------------------------------------------------ 2025-09-07T22:36:06,890 ... 2025-09-07T22:36:06,890 free(normal) 2025-09-07T22:36:06,890 return pyobj 2025-09-07T22:36:06,890 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:06,890 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:06,891 cdef ee_event *event = NULL 2025-09-07T22:36:06,891 ^ 2025-09-07T22:36:06,891 ------------------------------------------------------------ 2025-09-07T22:36:06,891 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2025-09-07T22:36:06,891 Error compiling Cython file: 2025-09-07T22:36:06,891 ------------------------------------------------------------ 2025-09-07T22:36:06,892 ... 2025-09-07T22:36:06,892 ee_deleteEvent(event) 2025-09-07T22:36:06,892 es_deleteStr(in_str) 2025-09-07T22:36:06,892 return formatted 2025-09-07T22:36:06,892 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:06,892 cdef es_str_t *out_str = NULL 2025-09-07T22:36:06,893 ^ 2025-09-07T22:36:06,893 ------------------------------------------------------------ 2025-09-07T22:36:06,893 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:06,927 Error compiling Cython file: 2025-09-07T22:36:06,928 ------------------------------------------------------------ 2025-09-07T22:36:06,928 ... 2025-09-07T22:36:06,928 from libc.stdlib cimport malloc, free 2025-09-07T22:36:06,928 from libc.string cimport strlen 2025-09-07T22:36:06,928 def lib_version(): 2025-09-07T22:36:06,928 cdef char* version = ln_version() 2025-09-07T22:36:06,929 ^ 2025-09-07T22:36:06,929 ------------------------------------------------------------ 2025-09-07T22:36:06,929 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2025-09-07T22:36:06,929 Error compiling Cython file: 2025-09-07T22:36:06,929 ------------------------------------------------------------ 2025-09-07T22:36:06,929 ... 2025-09-07T22:36:06,929 from libc.stdlib cimport malloc, free 2025-09-07T22:36:06,930 from libc.string cimport strlen 2025-09-07T22:36:06,930 def lib_version(): 2025-09-07T22:36:06,930 cdef char* version = ln_version() 2025-09-07T22:36:06,930 ^ 2025-09-07T22:36:06,930 ------------------------------------------------------------ 2025-09-07T22:36:06,931 pylognorm/bindings/liblognorm.pyx:8:4: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:06,931 Error compiling Cython file: 2025-09-07T22:36:06,931 ------------------------------------------------------------ 2025-09-07T22:36:06,931 ... 2025-09-07T22:36:06,931 from libc.string cimport strlen 2025-09-07T22:36:06,931 def lib_version(): 2025-09-07T22:36:06,932 cdef char* version = ln_version() 2025-09-07T22:36:06,932 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:06,932 ^ 2025-09-07T22:36:06,932 ------------------------------------------------------------ 2025-09-07T22:36:06,932 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2025-09-07T22:36:06,933 Error compiling Cython file: 2025-09-07T22:36:06,933 ------------------------------------------------------------ 2025-09-07T22:36:06,933 ... 2025-09-07T22:36:06,933 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:06,933 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:06,933 cdef char *cstr_filename 2025-09-07T22:36:06,933 if PyByteArray_Check(obj): 2025-09-07T22:36:06,933 ^ 2025-09-07T22:36:06,934 ------------------------------------------------------------ 2025-09-07T22:36:06,934 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2025-09-07T22:36:06,934 Error compiling Cython file: 2025-09-07T22:36:06,934 ------------------------------------------------------------ 2025-09-07T22:36:06,934 ... 2025-09-07T22:36:06,935 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:06,935 cdef char *cstr_filename 2025-09-07T22:36:06,935 if PyByteArray_Check(obj): 2025-09-07T22:36:06,935 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:06,935 ^ 2025-09-07T22:36:06,935 ------------------------------------------------------------ 2025-09-07T22:36:06,935 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2025-09-07T22:36:06,936 Error compiling Cython file: 2025-09-07T22:36:06,936 ------------------------------------------------------------ 2025-09-07T22:36:06,936 ... 2025-09-07T22:36:06,936 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:06,936 cdef char *cstr_filename 2025-09-07T22:36:06,936 if PyByteArray_Check(obj): 2025-09-07T22:36:06,937 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:06,937 ^ 2025-09-07T22:36:06,937 ------------------------------------------------------------ 2025-09-07T22:36:06,937 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:06,937 Error compiling Cython file: 2025-09-07T22:36:06,937 ------------------------------------------------------------ 2025-09-07T22:36:06,937 ... 2025-09-07T22:36:06,938 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:06,938 cdef char *cstr_filename 2025-09-07T22:36:06,938 if PyByteArray_Check(obj): 2025-09-07T22:36:06,938 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:06,938 elif PyBytes_Check(obj): 2025-09-07T22:36:06,938 ^ 2025-09-07T22:36:06,938 ------------------------------------------------------------ 2025-09-07T22:36:06,939 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2025-09-07T22:36:06,939 Error compiling Cython file: 2025-09-07T22:36:06,939 ------------------------------------------------------------ 2025-09-07T22:36:06,939 ... 2025-09-07T22:36:06,939 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:06,939 cdef char *cstr_filename 2025-09-07T22:36:06,939 if PyByteArray_Check(obj): 2025-09-07T22:36:06,940 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:06,940 elif PyBytes_Check(obj): 2025-09-07T22:36:06,940 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:06,940 ^ 2025-09-07T22:36:06,940 ------------------------------------------------------------ 2025-09-07T22:36:06,940 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2025-09-07T22:36:06,940 Error compiling Cython file: 2025-09-07T22:36:06,940 ------------------------------------------------------------ 2025-09-07T22:36:06,941 ... 2025-09-07T22:36:06,941 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:06,941 cdef char *cstr_filename 2025-09-07T22:36:06,941 if PyByteArray_Check(obj): 2025-09-07T22:36:06,941 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:06,941 elif PyBytes_Check(obj): 2025-09-07T22:36:06,941 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:06,941 ^ 2025-09-07T22:36:06,941 ------------------------------------------------------------ 2025-09-07T22:36:06,942 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:06,942 Error compiling Cython file: 2025-09-07T22:36:06,942 ------------------------------------------------------------ 2025-09-07T22:36:06,942 ... 2025-09-07T22:36:06,943 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:06,943 cdef ee_ctx cee_ctx 2025-09-07T22:36:06,943 def __cinit__(self): 2025-09-07T22:36:06,943 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:06,943 ^ 2025-09-07T22:36:06,943 ------------------------------------------------------------ 2025-09-07T22:36:06,943 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2025-09-07T22:36:06,944 Error compiling Cython file: 2025-09-07T22:36:06,944 ------------------------------------------------------------ 2025-09-07T22:36:06,944 ... 2025-09-07T22:36:06,944 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:06,944 cdef ee_ctx cee_ctx 2025-09-07T22:36:06,944 def __cinit__(self): 2025-09-07T22:36:06,945 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:06,945 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:06,945 ^ 2025-09-07T22:36:06,945 ------------------------------------------------------------ 2025-09-07T22:36:06,945 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2025-09-07T22:36:06,945 Error compiling Cython file: 2025-09-07T22:36:06,945 ------------------------------------------------------------ 2025-09-07T22:36:06,946 ... 2025-09-07T22:36:06,946 cdef ee_ctx cee_ctx 2025-09-07T22:36:06,946 def __cinit__(self): 2025-09-07T22:36:06,946 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:06,946 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:06,946 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2025-09-07T22:36:06,946 ^ 2025-09-07T22:36:06,946 ------------------------------------------------------------ 2025-09-07T22:36:06,947 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2025-09-07T22:36:06,947 Error compiling Cython file: 2025-09-07T22:36:06,947 ------------------------------------------------------------ 2025-09-07T22:36:06,947 ... 2025-09-07T22:36:06,947 def __init__(self): 2025-09-07T22:36:06,947 pass 2025-09-07T22:36:06,948 def __dealoc__(self): 2025-09-07T22:36:06,948 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:06,948 ^ 2025-09-07T22:36:06,948 ------------------------------------------------------------ 2025-09-07T22:36:06,948 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2025-09-07T22:36:06,948 Error compiling Cython file: 2025-09-07T22:36:06,949 ------------------------------------------------------------ 2025-09-07T22:36:06,949 ... 2025-09-07T22:36:06,949 def __init__(self): 2025-09-07T22:36:06,949 pass 2025-09-07T22:36:06,949 def __dealoc__(self): 2025-09-07T22:36:06,949 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:06,949 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:06,949 ^ 2025-09-07T22:36:06,950 ------------------------------------------------------------ 2025-09-07T22:36:06,950 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2025-09-07T22:36:06,950 Error compiling Cython file: 2025-09-07T22:36:06,950 ------------------------------------------------------------ 2025-09-07T22:36:06,950 ... 2025-09-07T22:36:06,950 def __dealoc__(self): 2025-09-07T22:36:06,950 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:06,951 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:06,951 def load_rule(self, object rule): 2025-09-07T22:36:06,951 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:06,951 ^ 2025-09-07T22:36:06,951 ------------------------------------------------------------ 2025-09-07T22:36:06,951 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2025-09-07T22:36:06,952 Error compiling Cython file: 2025-09-07T22:36:06,952 ------------------------------------------------------------ 2025-09-07T22:36:06,952 ... 2025-09-07T22:36:06,952 def load_rule(self, object rule): 2025-09-07T22:36:06,952 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:06,952 def load_rules(self, object filename): 2025-09-07T22:36:06,953 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2025-09-07T22:36:06,953 ^ 2025-09-07T22:36:06,953 ------------------------------------------------------------ 2025-09-07T22:36:06,953 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2025-09-07T22:36:06,953 Error compiling Cython file: 2025-09-07T22:36:06,953 ------------------------------------------------------------ 2025-09-07T22:36:06,954 ... 2025-09-07T22:36:06,954 def normalize(self, object data, int length): 2025-09-07T22:36:06,954 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2025-09-07T22:36:06,954 if normal == NULL: 2025-09-07T22:36:06,954 return None 2025-09-07T22:36:06,954 else: 2025-09-07T22:36:06,954 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:06,954 ^ 2025-09-07T22:36:06,954 ------------------------------------------------------------ 2025-09-07T22:36:06,955 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2025-09-07T22:36:06,955 Error compiling Cython file: 2025-09-07T22:36:06,955 ------------------------------------------------------------ 2025-09-07T22:36:06,955 ... 2025-09-07T22:36:06,955 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:06,955 free(normal) 2025-09-07T22:36:06,955 return pyobj 2025-09-07T22:36:06,956 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:06,956 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:06,956 ^ 2025-09-07T22:36:06,956 ------------------------------------------------------------ 2025-09-07T22:36:06,956 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2025-09-07T22:36:06,957 Error compiling Cython file: 2025-09-07T22:36:06,957 ------------------------------------------------------------ 2025-09-07T22:36:06,957 ... 2025-09-07T22:36:06,957 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:06,957 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:06,957 cdef ee_event *event = NULL 2025-09-07T22:36:06,957 cdef char *formatted = NULL 2025-09-07T22:36:06,957 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:06,957 ^ 2025-09-07T22:36:06,958 ------------------------------------------------------------ 2025-09-07T22:36:06,958 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2025-09-07T22:36:06,958 Error compiling Cython file: 2025-09-07T22:36:06,958 ------------------------------------------------------------ 2025-09-07T22:36:06,958 ... 2025-09-07T22:36:06,958 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:06,959 if event != NULL: 2025-09-07T22:36:06,959 formatted = self.format_JSON(event) 2025-09-07T22:36:06,959 ee_deleteEvent(event) 2025-09-07T22:36:06,959 ^ 2025-09-07T22:36:06,959 ------------------------------------------------------------ 2025-09-07T22:36:06,959 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2025-09-07T22:36:06,959 Error compiling Cython file: 2025-09-07T22:36:06,959 ------------------------------------------------------------ 2025-09-07T22:36:06,960 ... 2025-09-07T22:36:06,960 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:06,960 if event != NULL: 2025-09-07T22:36:06,960 formatted = self.format_JSON(event) 2025-09-07T22:36:06,960 ee_deleteEvent(event) 2025-09-07T22:36:06,960 es_deleteStr(in_str) 2025-09-07T22:36:06,960 ^ 2025-09-07T22:36:06,960 ------------------------------------------------------------ 2025-09-07T22:36:06,961 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2025-09-07T22:36:06,961 Error compiling Cython file: 2025-09-07T22:36:06,961 ------------------------------------------------------------ 2025-09-07T22:36:06,961 ... 2025-09-07T22:36:06,961 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:06,962 cdef es_str_t *out_str = NULL 2025-09-07T22:36:06,962 cdef char *cstr = NULL 2025-09-07T22:36:06,962 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:06,963 ^ 2025-09-07T22:36:06,963 ------------------------------------------------------------ 2025-09-07T22:36:06,963 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2025-09-07T22:36:06,963 Error compiling Cython file: 2025-09-07T22:36:06,963 ------------------------------------------------------------ 2025-09-07T22:36:06,964 ... 2025-09-07T22:36:06,964 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:06,964 cdef es_str_t *out_str = NULL 2025-09-07T22:36:06,964 cdef char *cstr = NULL 2025-09-07T22:36:06,964 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:06,965 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:06,965 ^ 2025-09-07T22:36:06,965 ------------------------------------------------------------ 2025-09-07T22:36:06,965 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2025-09-07T22:36:06,966 Error compiling Cython file: 2025-09-07T22:36:06,966 ------------------------------------------------------------ 2025-09-07T22:36:06,966 ... 2025-09-07T22:36:06,966 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:06,966 cdef es_str_t *out_str = NULL 2025-09-07T22:36:06,966 cdef char *cstr = NULL 2025-09-07T22:36:06,967 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:06,967 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:06,967 ^ 2025-09-07T22:36:06,967 ------------------------------------------------------------ 2025-09-07T22:36:06,967 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2025-09-07T22:36:06,968 Error compiling Cython file: 2025-09-07T22:36:06,968 ------------------------------------------------------------ 2025-09-07T22:36:06,968 ... 2025-09-07T22:36:06,968 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:06,968 cdef es_str_t *out_str = NULL 2025-09-07T22:36:06,968 cdef char *cstr = NULL 2025-09-07T22:36:06,969 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:06,969 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:06,969 ^ 2025-09-07T22:36:06,969 ------------------------------------------------------------ 2025-09-07T22:36:06,970 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:07,183 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' 2025-09-07T22:36:07,183 warnings.warn(msg) 2025-09-07T22:36:07,183 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' 2025-09-07T22:36:07,184 warnings.warn(msg) 2025-09-07T22:36:08,161 Preparing metadata (setup.py): finished with status 'done' 2025-09-07T22:36:08,166 Source in /tmp/pip-wheel-esrje86x/pylognorm_19b5ca74f4a34770866717c54984e4e3 has version 0.1.2, which satisfies requirement pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz 2025-09-07T22:36:08,166 Removed pylognorm==0.1.2 from https://files.pythonhosted.org/packages/15/0a/261b98a148f2ff790b170e6c1644cec5e5dda15962ce7035ed6710552c6c/pylognorm-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-7ssy713q' 2025-09-07T22:36:08,170 Created temporary directory: /tmp/pip-unpack-a_weg3he 2025-09-07T22:36:08,170 Created temporary directory: /tmp/pip-unpack-shoamlkk 2025-09-07T22:36:08,171 Building wheels for collected packages: pylognorm 2025-09-07T22:36:08,172 Created temporary directory: /tmp/pip-wheel-0anvo8vo 2025-09-07T22:36:08,173 DEPRECATION: Building 'pylognorm' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'pylognorm'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-07T22:36:08,174 Building wheel for pylognorm (setup.py): started 2025-09-07T22:36:08,175 Destination directory: /tmp/pip-wheel-0anvo8vo 2025-09-07T22:36:08,175 Running command python setup.py bdist_wheel 2025-09-07T22:36:10,229 Error compiling Cython file: 2025-09-07T22:36:10,229 ------------------------------------------------------------ 2025-09-07T22:36:10,229 ... 2025-09-07T22:36:10,229 from os import path 2025-09-07T22:36:10,229 from liblognorm cimport * 2025-09-07T22:36:10,229 ^ 2025-09-07T22:36:10,229 ------------------------------------------------------------ 2025-09-07T22:36:10,230 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2025-09-07T22:36:10,297 Error compiling Cython file: 2025-09-07T22:36:10,297 ------------------------------------------------------------ 2025-09-07T22:36:10,297 ... 2025-09-07T22:36:10,297 return self.cnormalizer.normalize(logline, len(logline)) 2025-09-07T22:36:10,297 cdef class CLogNormalizer(object): 2025-09-07T22:36:10,298 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:10,298 ^ 2025-09-07T22:36:10,298 ------------------------------------------------------------ 2025-09-07T22:36:10,298 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2025-09-07T22:36:10,298 Error compiling Cython file: 2025-09-07T22:36:10,298 ------------------------------------------------------------ 2025-09-07T22:36:10,299 ... 2025-09-07T22:36:10,299 cdef class CLogNormalizer(object): 2025-09-07T22:36:10,299 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:10,299 cdef ee_ctx cee_ctx 2025-09-07T22:36:10,299 ^ 2025-09-07T22:36:10,299 ------------------------------------------------------------ 2025-09-07T22:36:10,300 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2025-09-07T22:36:10,300 Error compiling Cython file: 2025-09-07T22:36:10,300 ------------------------------------------------------------ 2025-09-07T22:36:10,300 ... 2025-09-07T22:36:10,300 formatted = self.format_JSON(event) 2025-09-07T22:36:10,300 ee_deleteEvent(event) 2025-09-07T22:36:10,300 es_deleteStr(in_str) 2025-09-07T22:36:10,300 return formatted 2025-09-07T22:36:10,301 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:10,301 ^ 2025-09-07T22:36:10,301 ------------------------------------------------------------ 2025-09-07T22:36:10,301 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2025-09-07T22:36:10,304 Error compiling Cython file: 2025-09-07T22:36:10,304 ------------------------------------------------------------ 2025-09-07T22:36:10,304 ... 2025-09-07T22:36:10,304 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:10,304 free(normal) 2025-09-07T22:36:10,304 return pyobj 2025-09-07T22:36:10,305 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:10,305 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:10,305 ^ 2025-09-07T22:36:10,305 ------------------------------------------------------------ 2025-09-07T22:36:10,305 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:10,305 Error compiling Cython file: 2025-09-07T22:36:10,306 ------------------------------------------------------------ 2025-09-07T22:36:10,306 ... 2025-09-07T22:36:10,306 free(normal) 2025-09-07T22:36:10,306 return pyobj 2025-09-07T22:36:10,306 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:10,306 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:10,306 cdef ee_event *event = NULL 2025-09-07T22:36:10,306 ^ 2025-09-07T22:36:10,307 ------------------------------------------------------------ 2025-09-07T22:36:10,307 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2025-09-07T22:36:10,307 Error compiling Cython file: 2025-09-07T22:36:10,307 ------------------------------------------------------------ 2025-09-07T22:36:10,307 ... 2025-09-07T22:36:10,307 ee_deleteEvent(event) 2025-09-07T22:36:10,307 es_deleteStr(in_str) 2025-09-07T22:36:10,308 return formatted 2025-09-07T22:36:10,308 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:10,308 cdef es_str_t *out_str = NULL 2025-09-07T22:36:10,308 ^ 2025-09-07T22:36:10,308 ------------------------------------------------------------ 2025-09-07T22:36:10,308 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:10,343 Error compiling Cython file: 2025-09-07T22:36:10,343 ------------------------------------------------------------ 2025-09-07T22:36:10,343 ... 2025-09-07T22:36:10,343 from libc.stdlib cimport malloc, free 2025-09-07T22:36:10,343 from libc.string cimport strlen 2025-09-07T22:36:10,344 def lib_version(): 2025-09-07T22:36:10,344 cdef char* version = ln_version() 2025-09-07T22:36:10,344 ^ 2025-09-07T22:36:10,344 ------------------------------------------------------------ 2025-09-07T22:36:10,344 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2025-09-07T22:36:10,344 Error compiling Cython file: 2025-09-07T22:36:10,345 ------------------------------------------------------------ 2025-09-07T22:36:10,345 ... 2025-09-07T22:36:10,345 from libc.stdlib cimport malloc, free 2025-09-07T22:36:10,345 from libc.string cimport strlen 2025-09-07T22:36:10,345 def lib_version(): 2025-09-07T22:36:10,345 cdef char* version = ln_version() 2025-09-07T22:36:10,345 ^ 2025-09-07T22:36:10,345 ------------------------------------------------------------ 2025-09-07T22:36:10,346 pylognorm/bindings/liblognorm.pyx:8:4: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:10,346 Error compiling Cython file: 2025-09-07T22:36:10,346 ------------------------------------------------------------ 2025-09-07T22:36:10,346 ... 2025-09-07T22:36:10,346 from libc.string cimport strlen 2025-09-07T22:36:10,347 def lib_version(): 2025-09-07T22:36:10,347 cdef char* version = ln_version() 2025-09-07T22:36:10,347 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:10,347 ^ 2025-09-07T22:36:10,347 ------------------------------------------------------------ 2025-09-07T22:36:10,347 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2025-09-07T22:36:10,347 Error compiling Cython file: 2025-09-07T22:36:10,348 ------------------------------------------------------------ 2025-09-07T22:36:10,348 ... 2025-09-07T22:36:10,348 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:10,348 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:10,348 cdef char *cstr_filename 2025-09-07T22:36:10,348 if PyByteArray_Check(obj): 2025-09-07T22:36:10,348 ^ 2025-09-07T22:36:10,348 ------------------------------------------------------------ 2025-09-07T22:36:10,349 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2025-09-07T22:36:10,349 Error compiling Cython file: 2025-09-07T22:36:10,349 ------------------------------------------------------------ 2025-09-07T22:36:10,349 ... 2025-09-07T22:36:10,349 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:10,349 cdef char *cstr_filename 2025-09-07T22:36:10,350 if PyByteArray_Check(obj): 2025-09-07T22:36:10,350 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:10,350 ^ 2025-09-07T22:36:10,350 ------------------------------------------------------------ 2025-09-07T22:36:10,350 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2025-09-07T22:36:10,350 Error compiling Cython file: 2025-09-07T22:36:10,350 ------------------------------------------------------------ 2025-09-07T22:36:10,351 ... 2025-09-07T22:36:10,351 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:10,351 cdef char *cstr_filename 2025-09-07T22:36:10,351 if PyByteArray_Check(obj): 2025-09-07T22:36:10,351 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:10,351 ^ 2025-09-07T22:36:10,351 ------------------------------------------------------------ 2025-09-07T22:36:10,352 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:10,352 Error compiling Cython file: 2025-09-07T22:36:10,352 ------------------------------------------------------------ 2025-09-07T22:36:10,352 ... 2025-09-07T22:36:10,352 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:10,352 cdef char *cstr_filename 2025-09-07T22:36:10,352 if PyByteArray_Check(obj): 2025-09-07T22:36:10,353 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:10,353 elif PyBytes_Check(obj): 2025-09-07T22:36:10,353 ^ 2025-09-07T22:36:10,353 ------------------------------------------------------------ 2025-09-07T22:36:10,353 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2025-09-07T22:36:10,353 Error compiling Cython file: 2025-09-07T22:36:10,353 ------------------------------------------------------------ 2025-09-07T22:36:10,353 ... 2025-09-07T22:36:10,354 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:10,354 cdef char *cstr_filename 2025-09-07T22:36:10,354 if PyByteArray_Check(obj): 2025-09-07T22:36:10,354 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:10,354 elif PyBytes_Check(obj): 2025-09-07T22:36:10,354 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:10,354 ^ 2025-09-07T22:36:10,354 ------------------------------------------------------------ 2025-09-07T22:36:10,354 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2025-09-07T22:36:10,355 Error compiling Cython file: 2025-09-07T22:36:10,355 ------------------------------------------------------------ 2025-09-07T22:36:10,355 ... 2025-09-07T22:36:10,355 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:10,355 cdef char *cstr_filename 2025-09-07T22:36:10,355 if PyByteArray_Check(obj): 2025-09-07T22:36:10,355 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:10,355 elif PyBytes_Check(obj): 2025-09-07T22:36:10,356 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:10,356 ^ 2025-09-07T22:36:10,356 ------------------------------------------------------------ 2025-09-07T22:36:10,356 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:10,356 Error compiling Cython file: 2025-09-07T22:36:10,356 ------------------------------------------------------------ 2025-09-07T22:36:10,356 ... 2025-09-07T22:36:10,357 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:10,357 cdef ee_ctx cee_ctx 2025-09-07T22:36:10,357 def __cinit__(self): 2025-09-07T22:36:10,357 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:10,357 ^ 2025-09-07T22:36:10,357 ------------------------------------------------------------ 2025-09-07T22:36:10,357 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2025-09-07T22:36:10,358 Error compiling Cython file: 2025-09-07T22:36:10,358 ------------------------------------------------------------ 2025-09-07T22:36:10,358 ... 2025-09-07T22:36:10,358 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:10,358 cdef ee_ctx cee_ctx 2025-09-07T22:36:10,358 def __cinit__(self): 2025-09-07T22:36:10,358 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:10,359 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:10,359 ^ 2025-09-07T22:36:10,359 ------------------------------------------------------------ 2025-09-07T22:36:10,359 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2025-09-07T22:36:10,359 Error compiling Cython file: 2025-09-07T22:36:10,359 ------------------------------------------------------------ 2025-09-07T22:36:10,359 ... 2025-09-07T22:36:10,359 cdef ee_ctx cee_ctx 2025-09-07T22:36:10,360 def __cinit__(self): 2025-09-07T22:36:10,360 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:10,360 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:10,360 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2025-09-07T22:36:10,360 ^ 2025-09-07T22:36:10,360 ------------------------------------------------------------ 2025-09-07T22:36:10,360 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2025-09-07T22:36:10,361 Error compiling Cython file: 2025-09-07T22:36:10,361 ------------------------------------------------------------ 2025-09-07T22:36:10,361 ... 2025-09-07T22:36:10,361 def __init__(self): 2025-09-07T22:36:10,361 pass 2025-09-07T22:36:10,361 def __dealoc__(self): 2025-09-07T22:36:10,361 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:10,361 ^ 2025-09-07T22:36:10,362 ------------------------------------------------------------ 2025-09-07T22:36:10,362 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2025-09-07T22:36:10,362 Error compiling Cython file: 2025-09-07T22:36:10,362 ------------------------------------------------------------ 2025-09-07T22:36:10,362 ... 2025-09-07T22:36:10,362 def __init__(self): 2025-09-07T22:36:10,363 pass 2025-09-07T22:36:10,363 def __dealoc__(self): 2025-09-07T22:36:10,363 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:10,363 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:10,363 ^ 2025-09-07T22:36:10,363 ------------------------------------------------------------ 2025-09-07T22:36:10,363 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2025-09-07T22:36:10,364 Error compiling Cython file: 2025-09-07T22:36:10,364 ------------------------------------------------------------ 2025-09-07T22:36:10,364 ... 2025-09-07T22:36:10,364 def __dealoc__(self): 2025-09-07T22:36:10,364 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:10,364 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:10,364 def load_rule(self, object rule): 2025-09-07T22:36:10,364 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:10,365 ^ 2025-09-07T22:36:10,365 ------------------------------------------------------------ 2025-09-07T22:36:10,365 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2025-09-07T22:36:10,365 Error compiling Cython file: 2025-09-07T22:36:10,365 ------------------------------------------------------------ 2025-09-07T22:36:10,365 ... 2025-09-07T22:36:10,366 def load_rule(self, object rule): 2025-09-07T22:36:10,366 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:10,366 def load_rules(self, object filename): 2025-09-07T22:36:10,366 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2025-09-07T22:36:10,366 ^ 2025-09-07T22:36:10,366 ------------------------------------------------------------ 2025-09-07T22:36:10,366 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2025-09-07T22:36:10,367 Error compiling Cython file: 2025-09-07T22:36:10,367 ------------------------------------------------------------ 2025-09-07T22:36:10,367 ... 2025-09-07T22:36:10,367 def normalize(self, object data, int length): 2025-09-07T22:36:10,367 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2025-09-07T22:36:10,367 if normal == NULL: 2025-09-07T22:36:10,367 return None 2025-09-07T22:36:10,367 else: 2025-09-07T22:36:10,367 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:10,368 ^ 2025-09-07T22:36:10,368 ------------------------------------------------------------ 2025-09-07T22:36:10,368 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2025-09-07T22:36:10,368 Error compiling Cython file: 2025-09-07T22:36:10,368 ------------------------------------------------------------ 2025-09-07T22:36:10,368 ... 2025-09-07T22:36:10,368 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:10,368 free(normal) 2025-09-07T22:36:10,369 return pyobj 2025-09-07T22:36:10,369 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:10,369 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:10,369 ^ 2025-09-07T22:36:10,369 ------------------------------------------------------------ 2025-09-07T22:36:10,369 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2025-09-07T22:36:10,370 Error compiling Cython file: 2025-09-07T22:36:10,370 ------------------------------------------------------------ 2025-09-07T22:36:10,370 ... 2025-09-07T22:36:10,370 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:10,370 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:10,370 cdef ee_event *event = NULL 2025-09-07T22:36:10,370 cdef char *formatted = NULL 2025-09-07T22:36:10,370 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:10,371 ^ 2025-09-07T22:36:10,371 ------------------------------------------------------------ 2025-09-07T22:36:10,371 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2025-09-07T22:36:10,371 Error compiling Cython file: 2025-09-07T22:36:10,371 ------------------------------------------------------------ 2025-09-07T22:36:10,371 ... 2025-09-07T22:36:10,371 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:10,372 if event != NULL: 2025-09-07T22:36:10,372 formatted = self.format_JSON(event) 2025-09-07T22:36:10,372 ee_deleteEvent(event) 2025-09-07T22:36:10,372 ^ 2025-09-07T22:36:10,372 ------------------------------------------------------------ 2025-09-07T22:36:10,372 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2025-09-07T22:36:10,373 Error compiling Cython file: 2025-09-07T22:36:10,373 ------------------------------------------------------------ 2025-09-07T22:36:10,373 ... 2025-09-07T22:36:10,373 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:10,373 if event != NULL: 2025-09-07T22:36:10,373 formatted = self.format_JSON(event) 2025-09-07T22:36:10,373 ee_deleteEvent(event) 2025-09-07T22:36:10,373 es_deleteStr(in_str) 2025-09-07T22:36:10,373 ^ 2025-09-07T22:36:10,373 ------------------------------------------------------------ 2025-09-07T22:36:10,374 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2025-09-07T22:36:10,374 Error compiling Cython file: 2025-09-07T22:36:10,374 ------------------------------------------------------------ 2025-09-07T22:36:10,374 ... 2025-09-07T22:36:10,374 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:10,374 cdef es_str_t *out_str = NULL 2025-09-07T22:36:10,374 cdef char *cstr = NULL 2025-09-07T22:36:10,375 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:10,375 ^ 2025-09-07T22:36:10,375 ------------------------------------------------------------ 2025-09-07T22:36:10,375 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2025-09-07T22:36:10,375 Error compiling Cython file: 2025-09-07T22:36:10,375 ------------------------------------------------------------ 2025-09-07T22:36:10,375 ... 2025-09-07T22:36:10,376 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:10,376 cdef es_str_t *out_str = NULL 2025-09-07T22:36:10,376 cdef char *cstr = NULL 2025-09-07T22:36:10,376 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:10,376 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:10,376 ^ 2025-09-07T22:36:10,376 ------------------------------------------------------------ 2025-09-07T22:36:10,377 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2025-09-07T22:36:10,377 Error compiling Cython file: 2025-09-07T22:36:10,377 ------------------------------------------------------------ 2025-09-07T22:36:10,378 ... 2025-09-07T22:36:10,378 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:10,378 cdef es_str_t *out_str = NULL 2025-09-07T22:36:10,378 cdef char *cstr = NULL 2025-09-07T22:36:10,378 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:10,378 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:10,378 ^ 2025-09-07T22:36:10,379 ------------------------------------------------------------ 2025-09-07T22:36:10,379 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2025-09-07T22:36:10,379 Error compiling Cython file: 2025-09-07T22:36:10,379 ------------------------------------------------------------ 2025-09-07T22:36:10,379 ... 2025-09-07T22:36:10,379 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:10,380 cdef es_str_t *out_str = NULL 2025-09-07T22:36:10,380 cdef char *cstr = NULL 2025-09-07T22:36:10,380 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:10,380 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:10,380 ^ 2025-09-07T22:36:10,380 ------------------------------------------------------------ 2025-09-07T22:36:10,381 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:10,531 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' 2025-09-07T22:36:10,531 warnings.warn(msg) 2025-09-07T22:36:10,531 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' 2025-09-07T22:36:10,531 warnings.warn(msg) 2025-09-07T22:36:11,491 Compiling pylognorm/bindings/liblognorm.pyx because it changed. 2025-09-07T22:36:11,491 [1/1] Cythonizing pylognorm/bindings/liblognorm.pyx 2025-09-07T22:36:11,526 Error compiling Cython file: 2025-09-07T22:36:11,526 ------------------------------------------------------------ 2025-09-07T22:36:11,526 ... 2025-09-07T22:36:11,526 from os import path 2025-09-07T22:36:11,526 from liblognorm cimport * 2025-09-07T22:36:11,526 ^ 2025-09-07T22:36:11,527 ------------------------------------------------------------ 2025-09-07T22:36:11,527 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2025-09-07T22:36:11,581 Error compiling Cython file: 2025-09-07T22:36:11,581 ------------------------------------------------------------ 2025-09-07T22:36:11,581 ... 2025-09-07T22:36:11,581 return self.cnormalizer.normalize(logline, len(logline)) 2025-09-07T22:36:11,582 cdef class CLogNormalizer(object): 2025-09-07T22:36:11,582 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:11,582 ^ 2025-09-07T22:36:11,582 ------------------------------------------------------------ 2025-09-07T22:36:11,582 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2025-09-07T22:36:11,583 Error compiling Cython file: 2025-09-07T22:36:11,583 ------------------------------------------------------------ 2025-09-07T22:36:11,583 ... 2025-09-07T22:36:11,583 cdef class CLogNormalizer(object): 2025-09-07T22:36:11,583 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:11,583 cdef ee_ctx cee_ctx 2025-09-07T22:36:11,583 ^ 2025-09-07T22:36:11,584 ------------------------------------------------------------ 2025-09-07T22:36:11,584 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2025-09-07T22:36:11,584 Error compiling Cython file: 2025-09-07T22:36:11,584 ------------------------------------------------------------ 2025-09-07T22:36:11,584 ... 2025-09-07T22:36:11,584 formatted = self.format_JSON(event) 2025-09-07T22:36:11,584 ee_deleteEvent(event) 2025-09-07T22:36:11,585 es_deleteStr(in_str) 2025-09-07T22:36:11,585 return formatted 2025-09-07T22:36:11,585 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:11,585 ^ 2025-09-07T22:36:11,585 ------------------------------------------------------------ 2025-09-07T22:36:11,585 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2025-09-07T22:36:11,588 Error compiling Cython file: 2025-09-07T22:36:11,588 ------------------------------------------------------------ 2025-09-07T22:36:11,588 ... 2025-09-07T22:36:11,588 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:11,588 free(normal) 2025-09-07T22:36:11,588 return pyobj 2025-09-07T22:36:11,589 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:11,589 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:11,589 ^ 2025-09-07T22:36:11,589 ------------------------------------------------------------ 2025-09-07T22:36:11,589 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:11,589 Error compiling Cython file: 2025-09-07T22:36:11,590 ------------------------------------------------------------ 2025-09-07T22:36:11,590 ... 2025-09-07T22:36:11,590 free(normal) 2025-09-07T22:36:11,590 return pyobj 2025-09-07T22:36:11,590 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:11,590 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:11,590 cdef ee_event *event = NULL 2025-09-07T22:36:11,590 ^ 2025-09-07T22:36:11,590 ------------------------------------------------------------ 2025-09-07T22:36:11,591 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2025-09-07T22:36:11,591 Error compiling Cython file: 2025-09-07T22:36:11,591 ------------------------------------------------------------ 2025-09-07T22:36:11,591 ... 2025-09-07T22:36:11,591 ee_deleteEvent(event) 2025-09-07T22:36:11,591 es_deleteStr(in_str) 2025-09-07T22:36:11,591 return formatted 2025-09-07T22:36:11,592 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:11,592 cdef es_str_t *out_str = NULL 2025-09-07T22:36:11,592 ^ 2025-09-07T22:36:11,592 ------------------------------------------------------------ 2025-09-07T22:36:11,592 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:11,613 Error compiling Cython file: 2025-09-07T22:36:11,614 ------------------------------------------------------------ 2025-09-07T22:36:11,614 ... 2025-09-07T22:36:11,614 from libc.stdlib cimport malloc, free 2025-09-07T22:36:11,614 from libc.string cimport strlen 2025-09-07T22:36:11,614 def lib_version(): 2025-09-07T22:36:11,614 cdef char* version = ln_version() 2025-09-07T22:36:11,614 ^ 2025-09-07T22:36:11,615 ------------------------------------------------------------ 2025-09-07T22:36:11,615 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2025-09-07T22:36:11,615 Error compiling Cython file: 2025-09-07T22:36:11,615 ------------------------------------------------------------ 2025-09-07T22:36:11,615 ... 2025-09-07T22:36:11,615 from libc.stdlib cimport malloc, free 2025-09-07T22:36:11,615 from libc.string cimport strlen 2025-09-07T22:36:11,616 def lib_version(): 2025-09-07T22:36:11,616 cdef char* version = ln_version() 2025-09-07T22:36:11,616 ^ 2025-09-07T22:36:11,616 ------------------------------------------------------------ 2025-09-07T22:36:11,616 pylognorm/bindings/liblognorm.pyx:8:4: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:11,617 Error compiling Cython file: 2025-09-07T22:36:11,617 ------------------------------------------------------------ 2025-09-07T22:36:11,617 ... 2025-09-07T22:36:11,617 from libc.string cimport strlen 2025-09-07T22:36:11,617 def lib_version(): 2025-09-07T22:36:11,617 cdef char* version = ln_version() 2025-09-07T22:36:11,617 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:11,617 ^ 2025-09-07T22:36:11,618 ------------------------------------------------------------ 2025-09-07T22:36:11,618 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2025-09-07T22:36:11,618 Error compiling Cython file: 2025-09-07T22:36:11,618 ------------------------------------------------------------ 2025-09-07T22:36:11,618 ... 2025-09-07T22:36:11,618 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:11,619 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:11,619 cdef char *cstr_filename 2025-09-07T22:36:11,619 if PyByteArray_Check(obj): 2025-09-07T22:36:11,619 ^ 2025-09-07T22:36:11,619 ------------------------------------------------------------ 2025-09-07T22:36:11,619 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2025-09-07T22:36:11,619 Error compiling Cython file: 2025-09-07T22:36:11,620 ------------------------------------------------------------ 2025-09-07T22:36:11,620 ... 2025-09-07T22:36:11,620 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:11,620 cdef char *cstr_filename 2025-09-07T22:36:11,620 if PyByteArray_Check(obj): 2025-09-07T22:36:11,620 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:11,620 ^ 2025-09-07T22:36:11,621 ------------------------------------------------------------ 2025-09-07T22:36:11,621 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2025-09-07T22:36:11,621 Error compiling Cython file: 2025-09-07T22:36:11,621 ------------------------------------------------------------ 2025-09-07T22:36:11,621 ... 2025-09-07T22:36:11,621 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:11,622 cdef char *cstr_filename 2025-09-07T22:36:11,622 if PyByteArray_Check(obj): 2025-09-07T22:36:11,622 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:11,622 ^ 2025-09-07T22:36:11,622 ------------------------------------------------------------ 2025-09-07T22:36:11,622 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:11,622 Error compiling Cython file: 2025-09-07T22:36:11,623 ------------------------------------------------------------ 2025-09-07T22:36:11,623 ... 2025-09-07T22:36:11,623 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:11,623 cdef char *cstr_filename 2025-09-07T22:36:11,623 if PyByteArray_Check(obj): 2025-09-07T22:36:11,623 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:11,623 elif PyBytes_Check(obj): 2025-09-07T22:36:11,623 ^ 2025-09-07T22:36:11,623 ------------------------------------------------------------ 2025-09-07T22:36:11,624 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2025-09-07T22:36:11,624 Error compiling Cython file: 2025-09-07T22:36:11,624 ------------------------------------------------------------ 2025-09-07T22:36:11,624 ... 2025-09-07T22:36:11,624 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:11,624 cdef char *cstr_filename 2025-09-07T22:36:11,624 if PyByteArray_Check(obj): 2025-09-07T22:36:11,625 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:11,625 elif PyBytes_Check(obj): 2025-09-07T22:36:11,625 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:11,625 ^ 2025-09-07T22:36:11,625 ------------------------------------------------------------ 2025-09-07T22:36:11,625 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2025-09-07T22:36:11,625 Error compiling Cython file: 2025-09-07T22:36:11,625 ------------------------------------------------------------ 2025-09-07T22:36:11,626 ... 2025-09-07T22:36:11,626 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:11,626 cdef char *cstr_filename 2025-09-07T22:36:11,626 if PyByteArray_Check(obj): 2025-09-07T22:36:11,626 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:11,626 elif PyBytes_Check(obj): 2025-09-07T22:36:11,626 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:11,626 ^ 2025-09-07T22:36:11,626 ------------------------------------------------------------ 2025-09-07T22:36:11,627 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:11,627 Error compiling Cython file: 2025-09-07T22:36:11,627 ------------------------------------------------------------ 2025-09-07T22:36:11,627 ... 2025-09-07T22:36:11,627 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:11,627 cdef ee_ctx cee_ctx 2025-09-07T22:36:11,628 def __cinit__(self): 2025-09-07T22:36:11,628 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:11,628 ^ 2025-09-07T22:36:11,628 ------------------------------------------------------------ 2025-09-07T22:36:11,628 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2025-09-07T22:36:11,628 Error compiling Cython file: 2025-09-07T22:36:11,628 ------------------------------------------------------------ 2025-09-07T22:36:11,628 ... 2025-09-07T22:36:11,629 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:11,629 cdef ee_ctx cee_ctx 2025-09-07T22:36:11,629 def __cinit__(self): 2025-09-07T22:36:11,629 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:11,629 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:11,629 ^ 2025-09-07T22:36:11,629 ------------------------------------------------------------ 2025-09-07T22:36:11,629 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2025-09-07T22:36:11,630 Error compiling Cython file: 2025-09-07T22:36:11,630 ------------------------------------------------------------ 2025-09-07T22:36:11,630 ... 2025-09-07T22:36:11,630 cdef ee_ctx cee_ctx 2025-09-07T22:36:11,630 def __cinit__(self): 2025-09-07T22:36:11,630 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:11,630 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:11,630 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2025-09-07T22:36:11,631 ^ 2025-09-07T22:36:11,631 ------------------------------------------------------------ 2025-09-07T22:36:11,631 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2025-09-07T22:36:11,631 Error compiling Cython file: 2025-09-07T22:36:11,631 ------------------------------------------------------------ 2025-09-07T22:36:11,631 ... 2025-09-07T22:36:11,632 def __init__(self): 2025-09-07T22:36:11,632 pass 2025-09-07T22:36:11,632 def __dealoc__(self): 2025-09-07T22:36:11,632 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:11,632 ^ 2025-09-07T22:36:11,632 ------------------------------------------------------------ 2025-09-07T22:36:11,632 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2025-09-07T22:36:11,633 Error compiling Cython file: 2025-09-07T22:36:11,633 ------------------------------------------------------------ 2025-09-07T22:36:11,633 ... 2025-09-07T22:36:11,633 def __init__(self): 2025-09-07T22:36:11,633 pass 2025-09-07T22:36:11,633 def __dealoc__(self): 2025-09-07T22:36:11,633 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:11,633 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:11,634 ^ 2025-09-07T22:36:11,634 ------------------------------------------------------------ 2025-09-07T22:36:11,634 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2025-09-07T22:36:11,634 Error compiling Cython file: 2025-09-07T22:36:11,634 ------------------------------------------------------------ 2025-09-07T22:36:11,634 ... 2025-09-07T22:36:11,634 def __dealoc__(self): 2025-09-07T22:36:11,634 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:11,635 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:11,635 def load_rule(self, object rule): 2025-09-07T22:36:11,635 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:11,635 ^ 2025-09-07T22:36:11,635 ------------------------------------------------------------ 2025-09-07T22:36:11,635 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2025-09-07T22:36:11,635 Error compiling Cython file: 2025-09-07T22:36:11,636 ------------------------------------------------------------ 2025-09-07T22:36:11,636 ... 2025-09-07T22:36:11,636 def load_rule(self, object rule): 2025-09-07T22:36:11,636 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:11,636 def load_rules(self, object filename): 2025-09-07T22:36:11,636 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2025-09-07T22:36:11,636 ^ 2025-09-07T22:36:11,637 ------------------------------------------------------------ 2025-09-07T22:36:11,637 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2025-09-07T22:36:11,637 Error compiling Cython file: 2025-09-07T22:36:11,637 ------------------------------------------------------------ 2025-09-07T22:36:11,637 ... 2025-09-07T22:36:11,637 def normalize(self, object data, int length): 2025-09-07T22:36:11,637 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2025-09-07T22:36:11,637 if normal == NULL: 2025-09-07T22:36:11,638 return None 2025-09-07T22:36:11,638 else: 2025-09-07T22:36:11,638 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:11,638 ^ 2025-09-07T22:36:11,638 ------------------------------------------------------------ 2025-09-07T22:36:11,638 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2025-09-07T22:36:11,638 Error compiling Cython file: 2025-09-07T22:36:11,638 ------------------------------------------------------------ 2025-09-07T22:36:11,639 ... 2025-09-07T22:36:11,639 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:11,639 free(normal) 2025-09-07T22:36:11,639 return pyobj 2025-09-07T22:36:11,639 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:11,639 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:11,639 ^ 2025-09-07T22:36:11,639 ------------------------------------------------------------ 2025-09-07T22:36:11,640 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2025-09-07T22:36:11,640 Error compiling Cython file: 2025-09-07T22:36:11,640 ------------------------------------------------------------ 2025-09-07T22:36:11,640 ... 2025-09-07T22:36:11,640 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:11,640 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:11,640 cdef ee_event *event = NULL 2025-09-07T22:36:11,640 cdef char *formatted = NULL 2025-09-07T22:36:11,640 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:11,641 ^ 2025-09-07T22:36:11,641 ------------------------------------------------------------ 2025-09-07T22:36:11,641 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2025-09-07T22:36:11,641 Error compiling Cython file: 2025-09-07T22:36:11,641 ------------------------------------------------------------ 2025-09-07T22:36:11,641 ... 2025-09-07T22:36:11,641 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:11,642 if event != NULL: 2025-09-07T22:36:11,642 formatted = self.format_JSON(event) 2025-09-07T22:36:11,642 ee_deleteEvent(event) 2025-09-07T22:36:11,642 ^ 2025-09-07T22:36:11,642 ------------------------------------------------------------ 2025-09-07T22:36:11,642 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2025-09-07T22:36:11,643 Error compiling Cython file: 2025-09-07T22:36:11,643 ------------------------------------------------------------ 2025-09-07T22:36:11,643 ... 2025-09-07T22:36:11,643 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:11,643 if event != NULL: 2025-09-07T22:36:11,643 formatted = self.format_JSON(event) 2025-09-07T22:36:11,643 ee_deleteEvent(event) 2025-09-07T22:36:11,643 es_deleteStr(in_str) 2025-09-07T22:36:11,644 ^ 2025-09-07T22:36:11,644 ------------------------------------------------------------ 2025-09-07T22:36:11,644 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2025-09-07T22:36:11,644 Error compiling Cython file: 2025-09-07T22:36:11,644 ------------------------------------------------------------ 2025-09-07T22:36:11,644 ... 2025-09-07T22:36:11,644 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:11,645 cdef es_str_t *out_str = NULL 2025-09-07T22:36:11,645 cdef char *cstr = NULL 2025-09-07T22:36:11,645 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:11,645 ^ 2025-09-07T22:36:11,645 ------------------------------------------------------------ 2025-09-07T22:36:11,645 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2025-09-07T22:36:11,645 Error compiling Cython file: 2025-09-07T22:36:11,646 ------------------------------------------------------------ 2025-09-07T22:36:11,646 ... 2025-09-07T22:36:11,646 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:11,646 cdef es_str_t *out_str = NULL 2025-09-07T22:36:11,646 cdef char *cstr = NULL 2025-09-07T22:36:11,646 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:11,646 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:11,646 ^ 2025-09-07T22:36:11,646 ------------------------------------------------------------ 2025-09-07T22:36:11,647 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2025-09-07T22:36:11,647 Error compiling Cython file: 2025-09-07T22:36:11,647 ------------------------------------------------------------ 2025-09-07T22:36:11,647 ... 2025-09-07T22:36:11,647 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:11,647 cdef es_str_t *out_str = NULL 2025-09-07T22:36:11,647 cdef char *cstr = NULL 2025-09-07T22:36:11,648 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:11,648 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:11,648 ^ 2025-09-07T22:36:11,648 ------------------------------------------------------------ 2025-09-07T22:36:11,648 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2025-09-07T22:36:11,648 Error compiling Cython file: 2025-09-07T22:36:11,648 ------------------------------------------------------------ 2025-09-07T22:36:11,648 ... 2025-09-07T22:36:11,649 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:11,649 cdef es_str_t *out_str = NULL 2025-09-07T22:36:11,649 cdef char *cstr = NULL 2025-09-07T22:36:11,649 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:11,649 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:11,649 ^ 2025-09-07T22:36:11,649 ------------------------------------------------------------ 2025-09-07T22:36:11,649 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:11,666 Traceback (most recent call last): 2025-09-07T22:36:11,675 File "", line 2, in 2025-09-07T22:36:11,675 exec(compile(''' 2025-09-07T22:36:11,675 ~~~~^^^^^^^^^^^^ 2025-09-07T22:36:11,675 # This is -- a caller that pip uses to run setup.py 2025-09-07T22:36:11,675 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T22:36:11,676 ...<32 lines>... 2025-09-07T22:36:11,676 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T22:36:11,676 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T22:36:11,676 ''' % ('/tmp/pip-wheel-esrje86x/pylognorm_19b5ca74f4a34770866717c54984e4e3/setup.py',), "", "exec")) 2025-09-07T22:36:11,676 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T22:36:11,676 File "", line 35, in 2025-09-07T22:36:11,677 File "/tmp/pip-wheel-esrje86x/pylognorm_19b5ca74f4a34770866717c54984e4e3/setup.py", line 85, in 2025-09-07T22:36:11,677 setup( 2025-09-07T22:36:11,677 ~~~~~^ 2025-09-07T22:36:11,677 name='pylognorm', 2025-09-07T22:36:11,677 ^^^^^^^^^^^^^^^^^ 2025-09-07T22:36:11,677 ...<26 lines>... 2025-09-07T22:36:11,678 ext_modules=ext_modules 2025-09-07T22:36:11,678 ^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T22:36:11,678 ) 2025-09-07T22:36:11,678 ^ 2025-09-07T22:36:11,678 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/core.py", line 186, in setup 2025-09-07T22:36:11,678 return run_commands(dist) 2025-09-07T22:36:11,679 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/core.py", line 202, in run_commands 2025-09-07T22:36:11,679 dist.run_commands() 2025-09-07T22:36:11,679 ~~~~~~~~~~~~~~~~~^^ 2025-09-07T22:36:11,679 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_commands 2025-09-07T22:36:11,679 self.run_command(cmd) 2025-09-07T22:36:11,679 ~~~~~~~~~~~~~~~~^^^^^ 2025-09-07T22:36:11,679 File "/usr/local/lib/python3.13/dist-packages/setuptools/dist.py", line 1102, in run_command 2025-09-07T22:36:11,680 super().run_command(command) 2025-09-07T22:36:11,680 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-07T22:36:11,680 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command 2025-09-07T22:36:11,680 cmd_obj.run() 2025-09-07T22:36:11,680 ~~~~~~~~~~~^^ 2025-09-07T22:36:11,680 File "/usr/local/lib/python3.13/dist-packages/setuptools/command/bdist_wheel.py", line 370, in run 2025-09-07T22:36:11,681 self.run_command("build") 2025-09-07T22:36:11,681 ~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-07T22:36:11,681 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/cmd.py", line 357, in run_command 2025-09-07T22:36:11,681 self.distribution.run_command(command) 2025-09-07T22:36:11,681 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-07T22:36:11,682 File "/usr/local/lib/python3.13/dist-packages/setuptools/dist.py", line 1102, in run_command 2025-09-07T22:36:11,682 super().run_command(command) 2025-09-07T22:36:11,682 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-07T22:36:11,682 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command 2025-09-07T22:36:11,682 cmd_obj.run() 2025-09-07T22:36:11,682 ~~~~~~~~~~~^^ 2025-09-07T22:36:11,683 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/command/build.py", line 135, in run 2025-09-07T22:36:11,683 self.run_command(cmd_name) 2025-09-07T22:36:11,683 ~~~~~~~~~~~~~~~~^^^^^^^^^^ 2025-09-07T22:36:11,683 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/cmd.py", line 357, in run_command 2025-09-07T22:36:11,683 self.distribution.run_command(command) 2025-09-07T22:36:11,684 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-07T22:36:11,684 File "/usr/local/lib/python3.13/dist-packages/setuptools/dist.py", line 1102, in run_command 2025-09-07T22:36:11,684 super().run_command(command) 2025-09-07T22:36:11,684 ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ 2025-09-07T22:36:11,684 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command 2025-09-07T22:36:11,684 cmd_obj.run() 2025-09-07T22:36:11,685 ~~~~~~~~~~~^^ 2025-09-07T22:36:11,685 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/command/build_ext.py", line 368, in run 2025-09-07T22:36:11,685 self.build_extensions() 2025-09-07T22:36:11,685 ~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-07T22:36:11,685 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/command/build_ext.py", line 484, in build_extensions 2025-09-07T22:36:11,686 self._build_extensions_serial() 2025-09-07T22:36:11,686 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-07T22:36:11,686 File "/usr/local/lib/python3.13/dist-packages/setuptools/_distutils/command/build_ext.py", line 510, in _build_extensions_serial 2025-09-07T22:36:11,686 self.build_extension(ext) 2025-09-07T22:36:11,686 ~~~~~~~~~~~~~~~~~~~~^^^^^ 2025-09-07T22:36:11,686 File "/usr/local/lib/python3.13/dist-packages/Cython/Distutils/build_ext.py", line 131, in build_extension 2025-09-07T22:36:11,686 new_ext = cythonize( 2025-09-07T22:36:11,687 ~~~~~~~~~^ 2025-09-07T22:36:11,687 ext,force=self.force, quiet=self.verbose == 0, **options 2025-09-07T22:36:11,687 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-07T22:36:11,687 )[0] 2025-09-07T22:36:11,687 ^ 2025-09-07T22:36:11,688 File "/usr/local/lib/python3.13/dist-packages/Cython/Build/Dependencies.py", line 1154, in cythonize 2025-09-07T22:36:11,688 cythonize_one(*args) 2025-09-07T22:36:11,688 ~~~~~~~~~~~~~^^^^^^^ 2025-09-07T22:36:11,688 File "/usr/local/lib/python3.13/dist-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one 2025-09-07T22:36:11,688 raise CompileError(None, pyx_file) 2025-09-07T22:36:11,688 Cython.Compiler.Errors.CompileError: pylognorm/bindings/liblognorm.pyx 2025-09-07T22:36:11,986 ERROR: python setup.py bdist_wheel exited with 1 2025-09-07T22:36:11,999 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-07T22:36:11,999 exec(compile('"'"''"'"''"'"' 2025-09-07T22:36:11,999 # This is -- a caller that pip uses to run setup.py 2025-09-07T22:36:11,999 # 2025-09-07T22:36:11,999 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-07T22:36:11,999 # import from `distutils.core` to work with newer packaging standards. 2025-09-07T22:36:11,999 # - It provides a clear error message when setuptools is not installed. 2025-09-07T22:36:11,999 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-07T22:36:11,999 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-07T22:36:11,999 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-07T22:36:11,999 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-07T22:36:11,999 import os, sys, tokenize, traceback 2025-09-07T22:36:11,999 2025-09-07T22:36:11,999 try: 2025-09-07T22:36:11,999 import setuptools 2025-09-07T22:36:11,999 except ImportError: 2025-09-07T22:36:11,999 print( 2025-09-07T22:36:11,999 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-07T22:36:11,999 "the build environment with exception:", 2025-09-07T22:36:11,999 file=sys.stderr, 2025-09-07T22:36:11,999 ) 2025-09-07T22:36:11,999 traceback.print_exc() 2025-09-07T22:36:11,999 sys.exit(1) 2025-09-07T22:36:11,999 2025-09-07T22:36:11,999 __file__ = %r 2025-09-07T22:36:11,999 sys.argv[0] = __file__ 2025-09-07T22:36:11,999 2025-09-07T22:36:11,999 if os.path.exists(__file__): 2025-09-07T22:36:11,999 filename = __file__ 2025-09-07T22:36:11,999 with tokenize.open(__file__) as f: 2025-09-07T22:36:11,999 setup_py_code = f.read() 2025-09-07T22:36:11,999 else: 2025-09-07T22:36:11,999 filename = "" 2025-09-07T22:36:11,999 setup_py_code = "from setuptools import setup; setup()" 2025-09-07T22:36:11,999 2025-09-07T22:36:11,999 exec(compile(setup_py_code, filename, "exec")) 2025-09-07T22:36:11,999 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-esrje86x/pylognorm_19b5ca74f4a34770866717c54984e4e3/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-0anvo8vo[/] 2025-09-07T22:36:12,000 [bold magenta]cwd[/]: /tmp/pip-wheel-esrje86x/pylognorm_19b5ca74f4a34770866717c54984e4e3/ 2025-09-07T22:36:12,000 Building wheel for pylognorm (setup.py): finished with status 'error' 2025-09-07T22:36:12,001 ERROR: Failed building wheel for pylognorm 2025-09-07T22:36:12,002 Running setup.py clean for pylognorm 2025-09-07T22:36:12,003 Running command python setup.py clean 2025-09-07T22:36:14,292 Error compiling Cython file: 2025-09-07T22:36:14,292 ------------------------------------------------------------ 2025-09-07T22:36:14,292 ... 2025-09-07T22:36:14,292 from os import path 2025-09-07T22:36:14,292 from liblognorm cimport * 2025-09-07T22:36:14,293 ^ 2025-09-07T22:36:14,293 ------------------------------------------------------------ 2025-09-07T22:36:14,293 pylognorm/bindings/liblognorm.pyx:2:0: 'liblognorm.pxd' not found 2025-09-07T22:36:14,360 Error compiling Cython file: 2025-09-07T22:36:14,360 ------------------------------------------------------------ 2025-09-07T22:36:14,360 ... 2025-09-07T22:36:14,360 return self.cnormalizer.normalize(logline, len(logline)) 2025-09-07T22:36:14,360 cdef class CLogNormalizer(object): 2025-09-07T22:36:14,361 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:14,361 ^ 2025-09-07T22:36:14,361 ------------------------------------------------------------ 2025-09-07T22:36:14,361 pylognorm/bindings/liblognorm.pyx:47:9: 'ln_ctx' is not a type identifier 2025-09-07T22:36:14,361 Error compiling Cython file: 2025-09-07T22:36:14,361 ------------------------------------------------------------ 2025-09-07T22:36:14,361 ... 2025-09-07T22:36:14,362 cdef class CLogNormalizer(object): 2025-09-07T22:36:14,362 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:14,362 cdef ee_ctx cee_ctx 2025-09-07T22:36:14,362 ^ 2025-09-07T22:36:14,362 ------------------------------------------------------------ 2025-09-07T22:36:14,363 pylognorm/bindings/liblognorm.pyx:48:9: 'ee_ctx' is not a type identifier 2025-09-07T22:36:14,363 Error compiling Cython file: 2025-09-07T22:36:14,363 ------------------------------------------------------------ 2025-09-07T22:36:14,363 ... 2025-09-07T22:36:14,363 formatted = self.format_JSON(event) 2025-09-07T22:36:14,363 ee_deleteEvent(event) 2025-09-07T22:36:14,363 es_deleteStr(in_str) 2025-09-07T22:36:14,364 return formatted 2025-09-07T22:36:14,364 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:14,364 ^ 2025-09-07T22:36:14,364 ------------------------------------------------------------ 2025-09-07T22:36:14,364 pylognorm/bindings/liblognorm.pyx:90:34: 'ee_event' is not a type identifier 2025-09-07T22:36:14,367 Error compiling Cython file: 2025-09-07T22:36:14,367 ------------------------------------------------------------ 2025-09-07T22:36:14,367 ... 2025-09-07T22:36:14,367 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:14,367 free(normal) 2025-09-07T22:36:14,367 return pyobj 2025-09-07T22:36:14,368 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:14,368 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:14,368 ^ 2025-09-07T22:36:14,368 ------------------------------------------------------------ 2025-09-07T22:36:14,368 pylognorm/bindings/liblognorm.pyx:78:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:14,369 Error compiling Cython file: 2025-09-07T22:36:14,369 ------------------------------------------------------------ 2025-09-07T22:36:14,369 ... 2025-09-07T22:36:14,369 free(normal) 2025-09-07T22:36:14,369 return pyobj 2025-09-07T22:36:14,369 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:14,369 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:14,369 cdef ee_event *event = NULL 2025-09-07T22:36:14,369 ^ 2025-09-07T22:36:14,370 ------------------------------------------------------------ 2025-09-07T22:36:14,370 pylognorm/bindings/liblognorm.pyx:79:13: 'ee_event' is not a type identifier 2025-09-07T22:36:14,370 Error compiling Cython file: 2025-09-07T22:36:14,370 ------------------------------------------------------------ 2025-09-07T22:36:14,370 ... 2025-09-07T22:36:14,370 ee_deleteEvent(event) 2025-09-07T22:36:14,370 es_deleteStr(in_str) 2025-09-07T22:36:14,370 return formatted 2025-09-07T22:36:14,371 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:14,371 cdef es_str_t *out_str = NULL 2025-09-07T22:36:14,371 ^ 2025-09-07T22:36:14,371 ------------------------------------------------------------ 2025-09-07T22:36:14,371 pylognorm/bindings/liblognorm.pyx:91:13: 'es_str_t' is not a type identifier 2025-09-07T22:36:14,406 Error compiling Cython file: 2025-09-07T22:36:14,406 ------------------------------------------------------------ 2025-09-07T22:36:14,406 ... 2025-09-07T22:36:14,406 from libc.stdlib cimport malloc, free 2025-09-07T22:36:14,407 from libc.string cimport strlen 2025-09-07T22:36:14,407 def lib_version(): 2025-09-07T22:36:14,407 cdef char* version = ln_version() 2025-09-07T22:36:14,407 ^ 2025-09-07T22:36:14,407 ------------------------------------------------------------ 2025-09-07T22:36:14,407 pylognorm/bindings/liblognorm.pyx:8:25: undeclared name not builtin: ln_version 2025-09-07T22:36:14,408 Error compiling Cython file: 2025-09-07T22:36:14,408 ------------------------------------------------------------ 2025-09-07T22:36:14,408 ... 2025-09-07T22:36:14,408 from libc.stdlib cimport malloc, free 2025-09-07T22:36:14,408 from libc.string cimport strlen 2025-09-07T22:36:14,408 def lib_version(): 2025-09-07T22:36:14,408 cdef char* version = ln_version() 2025-09-07T22:36:14,409 ^ 2025-09-07T22:36:14,409 ------------------------------------------------------------ 2025-09-07T22:36:14,409 pylognorm/bindings/liblognorm.pyx:8:4: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:14,409 Error compiling Cython file: 2025-09-07T22:36:14,409 ------------------------------------------------------------ 2025-09-07T22:36:14,409 ... 2025-09-07T22:36:14,409 from libc.string cimport strlen 2025-09-07T22:36:14,410 def lib_version(): 2025-09-07T22:36:14,410 cdef char* version = ln_version() 2025-09-07T22:36:14,410 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:14,410 ^ 2025-09-07T22:36:14,410 ------------------------------------------------------------ 2025-09-07T22:36:14,410 pylognorm/bindings/liblognorm.pyx:9:11: undeclared name not builtin: PyString_FromStringAndSize 2025-09-07T22:36:14,411 Error compiling Cython file: 2025-09-07T22:36:14,411 ------------------------------------------------------------ 2025-09-07T22:36:14,411 ... 2025-09-07T22:36:14,411 return PyString_FromStringAndSize(version, strlen(version)) 2025-09-07T22:36:14,411 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:14,411 cdef char *cstr_filename 2025-09-07T22:36:14,411 if PyByteArray_Check(obj): 2025-09-07T22:36:14,411 ^ 2025-09-07T22:36:14,412 ------------------------------------------------------------ 2025-09-07T22:36:14,412 pylognorm/bindings/liblognorm.pyx:14:7: undeclared name not builtin: PyByteArray_Check 2025-09-07T22:36:14,412 Error compiling Cython file: 2025-09-07T22:36:14,412 ------------------------------------------------------------ 2025-09-07T22:36:14,412 ... 2025-09-07T22:36:14,413 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:14,413 cdef char *cstr_filename 2025-09-07T22:36:14,413 if PyByteArray_Check(obj): 2025-09-07T22:36:14,413 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:14,413 ^ 2025-09-07T22:36:14,413 ------------------------------------------------------------ 2025-09-07T22:36:14,413 pylognorm/bindings/liblognorm.pyx:15:24: undeclared name not builtin: PyByteArray_AsString 2025-09-07T22:36:14,414 Error compiling Cython file: 2025-09-07T22:36:14,414 ------------------------------------------------------------ 2025-09-07T22:36:14,414 ... 2025-09-07T22:36:14,414 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:14,414 cdef char *cstr_filename 2025-09-07T22:36:14,414 if PyByteArray_Check(obj): 2025-09-07T22:36:14,414 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:14,414 ^ 2025-09-07T22:36:14,415 ------------------------------------------------------------ 2025-09-07T22:36:14,415 pylognorm/bindings/liblognorm.pyx:15:44: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:14,415 Error compiling Cython file: 2025-09-07T22:36:14,415 ------------------------------------------------------------ 2025-09-07T22:36:14,415 ... 2025-09-07T22:36:14,415 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:14,415 cdef char *cstr_filename 2025-09-07T22:36:14,416 if PyByteArray_Check(obj): 2025-09-07T22:36:14,416 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:14,416 elif PyBytes_Check(obj): 2025-09-07T22:36:14,416 ^ 2025-09-07T22:36:14,416 ------------------------------------------------------------ 2025-09-07T22:36:14,416 pylognorm/bindings/liblognorm.pyx:16:9: undeclared name not builtin: PyBytes_Check 2025-09-07T22:36:14,416 Error compiling Cython file: 2025-09-07T22:36:14,416 ------------------------------------------------------------ 2025-09-07T22:36:14,417 ... 2025-09-07T22:36:14,417 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:14,417 cdef char *cstr_filename 2025-09-07T22:36:14,417 if PyByteArray_Check(obj): 2025-09-07T22:36:14,417 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:14,417 elif PyBytes_Check(obj): 2025-09-07T22:36:14,417 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:14,417 ^ 2025-09-07T22:36:14,417 ------------------------------------------------------------ 2025-09-07T22:36:14,418 pylognorm/bindings/liblognorm.pyx:17:24: undeclared name not builtin: PyBytes_AsString 2025-09-07T22:36:14,418 Error compiling Cython file: 2025-09-07T22:36:14,418 ------------------------------------------------------------ 2025-09-07T22:36:14,418 ... 2025-09-07T22:36:14,418 cdef char * _object_to_cstr(object obj): 2025-09-07T22:36:14,418 cdef char *cstr_filename 2025-09-07T22:36:14,418 if PyByteArray_Check(obj): 2025-09-07T22:36:14,418 cstr_filename = PyByteArray_AsString(obj) 2025-09-07T22:36:14,419 elif PyBytes_Check(obj): 2025-09-07T22:36:14,419 cstr_filename = PyBytes_AsString(obj) 2025-09-07T22:36:14,419 ^ 2025-09-07T22:36:14,419 ------------------------------------------------------------ 2025-09-07T22:36:14,419 pylognorm/bindings/liblognorm.pyx:17:40: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:14,419 Error compiling Cython file: 2025-09-07T22:36:14,420 ------------------------------------------------------------ 2025-09-07T22:36:14,420 ... 2025-09-07T22:36:14,420 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:14,420 cdef ee_ctx cee_ctx 2025-09-07T22:36:14,420 def __cinit__(self): 2025-09-07T22:36:14,420 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:14,420 ^ 2025-09-07T22:36:14,420 ------------------------------------------------------------ 2025-09-07T22:36:14,421 pylognorm/bindings/liblognorm.pyx:51:30: undeclared name not builtin: ln_initCtx 2025-09-07T22:36:14,421 Error compiling Cython file: 2025-09-07T22:36:14,421 ------------------------------------------------------------ 2025-09-07T22:36:14,421 ... 2025-09-07T22:36:14,421 cdef ln_ctx normalizer_ctx 2025-09-07T22:36:14,421 cdef ee_ctx cee_ctx 2025-09-07T22:36:14,421 def __cinit__(self): 2025-09-07T22:36:14,422 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:14,422 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:14,422 ^ 2025-09-07T22:36:14,422 ------------------------------------------------------------ 2025-09-07T22:36:14,422 pylognorm/bindings/liblognorm.pyx:52:23: undeclared name not builtin: ee_initCtx 2025-09-07T22:36:14,422 Error compiling Cython file: 2025-09-07T22:36:14,422 ------------------------------------------------------------ 2025-09-07T22:36:14,422 ... 2025-09-07T22:36:14,423 cdef ee_ctx cee_ctx 2025-09-07T22:36:14,423 def __cinit__(self): 2025-09-07T22:36:14,423 self.normalizer_ctx = ln_initCtx() 2025-09-07T22:36:14,423 self.cee_ctx = ee_initCtx() 2025-09-07T22:36:14,423 ln_setEECtx(self.normalizer_ctx, self.cee_ctx); 2025-09-07T22:36:14,423 ^ 2025-09-07T22:36:14,423 ------------------------------------------------------------ 2025-09-07T22:36:14,424 pylognorm/bindings/liblognorm.pyx:53:8: undeclared name not builtin: ln_setEECtx 2025-09-07T22:36:14,424 Error compiling Cython file: 2025-09-07T22:36:14,424 ------------------------------------------------------------ 2025-09-07T22:36:14,424 ... 2025-09-07T22:36:14,424 def __init__(self): 2025-09-07T22:36:14,424 pass 2025-09-07T22:36:14,424 def __dealoc__(self): 2025-09-07T22:36:14,425 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:14,425 ^ 2025-09-07T22:36:14,425 ------------------------------------------------------------ 2025-09-07T22:36:14,425 pylognorm/bindings/liblognorm.pyx:59:8: undeclared name not builtin: ee_exitCtx 2025-09-07T22:36:14,425 Error compiling Cython file: 2025-09-07T22:36:14,425 ------------------------------------------------------------ 2025-09-07T22:36:14,425 ... 2025-09-07T22:36:14,425 def __init__(self): 2025-09-07T22:36:14,426 pass 2025-09-07T22:36:14,426 def __dealoc__(self): 2025-09-07T22:36:14,426 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:14,426 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:14,426 ^ 2025-09-07T22:36:14,426 ------------------------------------------------------------ 2025-09-07T22:36:14,426 pylognorm/bindings/liblognorm.pyx:60:8: undeclared name not builtin: ln_exitCtx 2025-09-07T22:36:14,426 Error compiling Cython file: 2025-09-07T22:36:14,427 ------------------------------------------------------------ 2025-09-07T22:36:14,427 ... 2025-09-07T22:36:14,427 def __dealoc__(self): 2025-09-07T22:36:14,427 ee_exitCtx(self.cee_ctx) 2025-09-07T22:36:14,427 ln_exitCtx(self.normalizer_ctx) 2025-09-07T22:36:14,427 def load_rule(self, object rule): 2025-09-07T22:36:14,427 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:14,427 ^ 2025-09-07T22:36:14,427 ------------------------------------------------------------ 2025-09-07T22:36:14,428 pylognorm/bindings/liblognorm.pyx:63:8: undeclared name not builtin: ln_loadSample 2025-09-07T22:36:14,428 Error compiling Cython file: 2025-09-07T22:36:14,428 ------------------------------------------------------------ 2025-09-07T22:36:14,428 ... 2025-09-07T22:36:14,428 def load_rule(self, object rule): 2025-09-07T22:36:14,429 ln_loadSample(self.normalizer_ctx, _object_to_cstr(rule)) 2025-09-07T22:36:14,429 def load_rules(self, object filename): 2025-09-07T22:36:14,429 ln_loadSamples(self.normalizer_ctx, _object_to_cstr(filename)) 2025-09-07T22:36:14,429 ^ 2025-09-07T22:36:14,429 ------------------------------------------------------------ 2025-09-07T22:36:14,429 pylognorm/bindings/liblognorm.pyx:66:8: undeclared name not builtin: ln_loadSamples 2025-09-07T22:36:14,429 Error compiling Cython file: 2025-09-07T22:36:14,430 ------------------------------------------------------------ 2025-09-07T22:36:14,430 ... 2025-09-07T22:36:14,430 def normalize(self, object data, int length): 2025-09-07T22:36:14,430 cdef char *normal = self._normalize(_object_to_cstr(data), length) 2025-09-07T22:36:14,430 if normal == NULL: 2025-09-07T22:36:14,430 return None 2025-09-07T22:36:14,430 else: 2025-09-07T22:36:14,430 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:14,430 ^ 2025-09-07T22:36:14,430 ------------------------------------------------------------ 2025-09-07T22:36:14,431 pylognorm/bindings/liblognorm.pyx:73:20: undeclared name not builtin: PyUnicode_FromString 2025-09-07T22:36:14,431 Error compiling Cython file: 2025-09-07T22:36:14,431 ------------------------------------------------------------ 2025-09-07T22:36:14,431 ... 2025-09-07T22:36:14,431 pyobj = PyUnicode_FromString(normal) 2025-09-07T22:36:14,431 free(normal) 2025-09-07T22:36:14,431 return pyobj 2025-09-07T22:36:14,432 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:14,432 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:14,432 ^ 2025-09-07T22:36:14,432 ------------------------------------------------------------ 2025-09-07T22:36:14,432 pylognorm/bindings/liblognorm.pyx:78:32: undeclared name not builtin: es_newStrFromCStr 2025-09-07T22:36:14,432 Error compiling Cython file: 2025-09-07T22:36:14,433 ------------------------------------------------------------ 2025-09-07T22:36:14,433 ... 2025-09-07T22:36:14,433 cdef char * _normalize(self, char *data, int length): 2025-09-07T22:36:14,433 cdef es_str_t *in_str = es_newStrFromCStr(data, length) 2025-09-07T22:36:14,433 cdef ee_event *event = NULL 2025-09-07T22:36:14,433 cdef char *formatted = NULL 2025-09-07T22:36:14,433 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:14,433 ^ 2025-09-07T22:36:14,434 ------------------------------------------------------------ 2025-09-07T22:36:14,434 pylognorm/bindings/liblognorm.pyx:82:8: undeclared name not builtin: ln_normalize 2025-09-07T22:36:14,434 Error compiling Cython file: 2025-09-07T22:36:14,434 ------------------------------------------------------------ 2025-09-07T22:36:14,434 ... 2025-09-07T22:36:14,434 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:14,435 if event != NULL: 2025-09-07T22:36:14,435 formatted = self.format_JSON(event) 2025-09-07T22:36:14,435 ee_deleteEvent(event) 2025-09-07T22:36:14,435 ^ 2025-09-07T22:36:14,435 ------------------------------------------------------------ 2025-09-07T22:36:14,435 pylognorm/bindings/liblognorm.pyx:86:12: undeclared name not builtin: ee_deleteEvent 2025-09-07T22:36:14,435 Error compiling Cython file: 2025-09-07T22:36:14,435 ------------------------------------------------------------ 2025-09-07T22:36:14,436 ... 2025-09-07T22:36:14,436 ln_normalize(self.normalizer_ctx, in_str, &event) 2025-09-07T22:36:14,436 if event != NULL: 2025-09-07T22:36:14,436 formatted = self.format_JSON(event) 2025-09-07T22:36:14,436 ee_deleteEvent(event) 2025-09-07T22:36:14,436 es_deleteStr(in_str) 2025-09-07T22:36:14,436 ^ 2025-09-07T22:36:14,436 ------------------------------------------------------------ 2025-09-07T22:36:14,437 pylognorm/bindings/liblognorm.pyx:87:8: undeclared name not builtin: es_deleteStr 2025-09-07T22:36:14,437 Error compiling Cython file: 2025-09-07T22:36:14,437 ------------------------------------------------------------ 2025-09-07T22:36:14,437 ... 2025-09-07T22:36:14,437 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:14,437 cdef es_str_t *out_str = NULL 2025-09-07T22:36:14,437 cdef char *cstr = NULL 2025-09-07T22:36:14,437 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:14,438 ^ 2025-09-07T22:36:14,438 ------------------------------------------------------------ 2025-09-07T22:36:14,438 pylognorm/bindings/liblognorm.pyx:94:8: undeclared name not builtin: ee_fmtEventToJSON 2025-09-07T22:36:14,438 Error compiling Cython file: 2025-09-07T22:36:14,438 ------------------------------------------------------------ 2025-09-07T22:36:14,438 ... 2025-09-07T22:36:14,438 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:14,439 cdef es_str_t *out_str = NULL 2025-09-07T22:36:14,439 cdef char *cstr = NULL 2025-09-07T22:36:14,439 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:14,439 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:14,439 ^ 2025-09-07T22:36:14,439 ------------------------------------------------------------ 2025-09-07T22:36:14,439 pylognorm/bindings/liblognorm.pyx:95:15: undeclared name not builtin: es_str2cstr 2025-09-07T22:36:14,440 Error compiling Cython file: 2025-09-07T22:36:14,440 ------------------------------------------------------------ 2025-09-07T22:36:14,440 ... 2025-09-07T22:36:14,440 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:14,440 cdef es_str_t *out_str = NULL 2025-09-07T22:36:14,440 cdef char *cstr = NULL 2025-09-07T22:36:14,441 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:14,441 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:14,441 ^ 2025-09-07T22:36:14,441 ------------------------------------------------------------ 2025-09-07T22:36:14,441 pylognorm/bindings/liblognorm.pyx:95:36: Cannot convert 'void *' to Python object 2025-09-07T22:36:14,442 Error compiling Cython file: 2025-09-07T22:36:14,442 ------------------------------------------------------------ 2025-09-07T22:36:14,442 ... 2025-09-07T22:36:14,442 cdef char * format_JSON(self, ee_event *event): 2025-09-07T22:36:14,442 cdef es_str_t *out_str = NULL 2025-09-07T22:36:14,442 cdef char *cstr = NULL 2025-09-07T22:36:14,443 ee_fmtEventToJSON(event, &out_str) 2025-09-07T22:36:14,443 cstr = es_str2cstr(out_str, NULL) 2025-09-07T22:36:14,443 ^ 2025-09-07T22:36:14,443 ------------------------------------------------------------ 2025-09-07T22:36:14,443 pylognorm/bindings/liblognorm.pyx:95:26: Storing unsafe C derivative of temporary Python reference 2025-09-07T22:36:14,593 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' 2025-09-07T22:36:14,593 warnings.warn(msg) 2025-09-07T22:36:14,593 /usr/local/lib/python3.13/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' 2025-09-07T22:36:14,593 warnings.warn(msg) 2025-09-07T22:36:15,105 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-07T22:36:15,105 'build/scripts-3.13' does not exist -- can't clean it 2025-09-07T22:36:15,395 Failed to build pylognorm 2025-09-07T22:36:15,395 ERROR: Failed to build one or more wheels 2025-09-07T22:36:15,396 Exception information: 2025-09-07T22:36:15,396 Traceback (most recent call last): 2025-09-07T22:36:15,396 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-07T22:36:15,396 status = _inner_run() 2025-09-07T22:36:15,396 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-07T22:36:15,396 return self.run(options, args) 2025-09-07T22:36:15,396 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-07T22:36:15,396 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-07T22:36:15,396 return func(self, options, args) 2025-09-07T22:36:15,396 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-07T22:36:15,396 raise CommandError("Failed to build one or more wheels") 2025-09-07T22:36:15,396 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-07T22:36:15,401 Removed build tracker: '/tmp/pip-build-tracker-7ssy713q'