=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for bintrees-2.2.0.zip => Checksum SHA512 OK for bintrees-2.2.0.zip ===> Installing dependencies for py311-bintrees-2.2.0nb1 ========================================================================== The following variables will affect the build process of this package, py311-bintrees-2.2.0nb1. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 311 Based on these variables, the following variables have been set: * PYPACKAGE = python311 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency py311-setuptools-[0-9]*: found py311-setuptools-68.2.2nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency py311-cython-[0-9]*: found py311-cython-3.0.5 => Full dependency python311>=3.11.0: found python311-3.11.6nb4 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for py311-bintrees-2.2.0nb1 ===> Extracting for py311-bintrees-2.2.0nb1 /bin/rm /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/cython_trees.c cd /tmp/devel/py-bintrees/work/bintrees-2.2.0 && cythonize-3.11 bintrees Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/__init__.py because it changed. Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/abctree.py because it changed. Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/avltree.py because it changed. Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/bintree.py because it changed. Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/cython_trees.pyx because it changed. Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/rbtree.py because it changed. Compiling /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/treeslice.py because it changed. /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/__init__.py tree = Parsing.p_module(s, pxd, full_module_name) /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/cython_trees.pyx tree = Parsing.p_module(s, pxd, full_module_name) Error compiling Cython file: ------------------------------------------------------------ ... # Created: 28.04.2010 # Copyright (c) 2010-2013 by Manfred Moitzi # License: MIT License from .abctree import _ABCTree from ctrees cimport * ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:10:0: 'ctrees.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... DEF MAXSTACK = 64 cdef class NodeStack: """Simple stack for tree nodes.""" cdef node_t* stack[MAXSTACK] ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:16:9: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef int stackptr def __cinit__(self): self.stackptr = 0 cdef push(self, node_t* node): ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:22:20: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if self.stackptr >= MAXSTACK: raise RuntimeError("Stack overflow in NodeStack.push().") self.stack[self.stackptr] = node self.stackptr += 1 cdef node_t* pop(self): ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:28:9: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_empty(self): return self.stackptr == 0 cdef class _BaseTree: cdef node_t *root # private (hidden) for CPython ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:38:9: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... ct_delete_tree(self.root) self.count = 0 self.root = NULL def get_value(self, key): cdef node_t *result = ct_find_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:64:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: return result.value def max_item(self): """Get item with max key of tree, raises ValueError if tree is empty.""" cdef node_t *node = ct_max_node(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:72:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError("Tree is empty") return node.key, node.value def min_item(self): """Get item with min key of tree, raises ValueError if tree is empty.""" cdef node_t *node = ct_min_node(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:79:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def succ_item(self, key): """Get successor (k,v) pair of key, raises KeyError if key is max key or key does not exist. """ cdef node_t *node = ct_succ_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:88:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def prev_item(self, key): """Get predecessor (k,v) pair of key, raises KeyError if key is min key or key does not exist. """ cdef node_t *node = ct_prev_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:97:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def floor_item(self, key): """Get (k,v) pair associated with the greatest key less than or equal to the given key, raises KeyError if there is no such key. """ cdef node_t *node = ct_floor_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:106:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def ceiling_item(self, key): """Get (k,v) pair associated with the smallest key greater than or equal to the given key, raises KeyError if there is no such key. """ cdef node_t *node = ct_ceiling_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:115:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... return cdef int direction = 1 if reverse else 0 cdef int other = 1 - direction cdef bint go_down = True cdef NodeStack stack = NodeStack() cdef node_t *node ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:130:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... 2-tuple; but raise KeyError if T is empty. """ if self.count == 0: raise KeyError("pop_item(): tree is empty") cdef node_t *node = ct_get_leaf_node(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:157:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """ if self.count == 0: return cdef NodeStack stack = NodeStack() cdef NodeStack tempstack = NodeStack() cdef node_t *node = self.root ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:174:13: 'node_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def __init__(self, items=None): if items is not None: self.update(items) def __dealloc__(self): ct_delete_tree(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:50:8: undeclared name not builtin: ct_delete_tree Error compiling Cython file: ------------------------------------------------------------ ... ct_delete_tree(self.root) self.count = 0 self.root = NULL def get_value(self, key): cdef node_t *result = ct_find_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:64:30: undeclared name not builtin: ct_find_node Error compiling Cython file: ------------------------------------------------------------ ... else: return result.value def max_item(self): """Get item with max key of tree, raises ValueError if tree is empty.""" cdef node_t *node = ct_max_node(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:72:28: undeclared name not builtin: ct_max_node Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError("Tree is empty") return node.key, node.value def min_item(self): """Get item with min key of tree, raises ValueError if tree is empty.""" cdef node_t *node = ct_min_node(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:79:28: undeclared name not builtin: ct_min_node Error compiling Cython file: ------------------------------------------------------------ ... def succ_item(self, key): """Get successor (k,v) pair of key, raises KeyError if key is max key or key does not exist. """ cdef node_t *node = ct_succ_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:88:28: undeclared name not builtin: ct_succ_node Error compiling Cython file: ------------------------------------------------------------ ... def prev_item(self, key): """Get predecessor (k,v) pair of key, raises KeyError if key is min key or key does not exist. """ cdef node_t *node = ct_prev_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:97:28: undeclared name not builtin: ct_prev_node Error compiling Cython file: ------------------------------------------------------------ ... def floor_item(self, key): """Get (k,v) pair associated with the greatest key less than or equal to the given key, raises KeyError if there is no such key. """ cdef node_t *node = ct_floor_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:106:28: undeclared name not builtin: ct_floor_node Error compiling Cython file: ------------------------------------------------------------ ... def ceiling_item(self, key): """Get (k,v) pair associated with the smallest key greater than or equal to the given key, raises KeyError if there is no such key. """ cdef node_t *node = ct_ceiling_node(self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:115:28: undeclared name not builtin: ct_ceiling_node Error compiling Cython file: ------------------------------------------------------------ ... cdef NodeStack stack = NodeStack() cdef node_t *node node = self.root while True: if node.link[direction] != NULL and go_down: ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:134:36: Invalid types for '!=' (Python object, void *) Error compiling Cython file: ------------------------------------------------------------ ... while True: if node.link[direction] != NULL and go_down: stack.push(node) node = node.link[direction] else: if (start_key is None or ct_compare(start_key, node.key) < 1) and \ ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:138:41: undeclared name not builtin: ct_compare Error compiling Cython file: ------------------------------------------------------------ ... node = node.link[direction] else: if (start_key is None or ct_compare(start_key, node.key) < 1) and \ (end_key is None or ct_compare(end_key, node.key) > 0): yield node.key, node.value if node.link[other] != NULL: ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:141:36: Invalid types for '!=' (Python object, void *) Error compiling Cython file: ------------------------------------------------------------ ... 2-tuple; but raise KeyError if T is empty. """ if self.count == 0: raise KeyError("pop_item(): tree is empty") cdef node_t *node = ct_get_leaf_node(self.root) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:157:28: undeclared name not builtin: ct_get_leaf_node Error compiling Cython file: ------------------------------------------------------------ ... func(node.key, node.value) cdef class _BinaryTree(_BaseTree): def insert(self, key, value): cdef int result = ct_bintree_insert(&self.root, key, value) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:210:26: undeclared name not builtin: ct_bintree_insert Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError('Can not allocate memory for node structure.') self.count += result def remove(self, key): cdef int result result = ct_bintree_remove(&self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:217:17: undeclared name not builtin: ct_bintree_remove Error compiling Cython file: ------------------------------------------------------------ ... pass cdef class _AVLTree(_BaseTree): def insert(self, key, value): cdef int result = avl_insert(&self.root, key, value) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:230:26: undeclared name not builtin: avl_insert /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/bintree.py tree = Parsing.p_module(s, pxd, full_module_name) /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/treeslice.py tree = Parsing.p_module(s, pxd, full_module_name) Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError('Can not allocate memory for node structure.') else: self.count += result def remove(self, key): cdef int result = avl_remove(&self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:237:26: undeclared name not builtin: avl_remove Error compiling Cython file: ------------------------------------------------------------ ... pass cdef class _RBTree(_BaseTree): def insert(self, key, value): cdef int result = rb_insert(&self.root, key, value) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:250:26: undeclared name not builtin: rb_insert Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError('Can not allocate memory for node structure.') else: self.count += result def remove(self, key): cdef int result = rb_remove(&self.root, key) ^ ------------------------------------------------------------ bintrees/cython_trees.pyx:257:26: undeclared name not builtin: rb_remove Traceback (most recent call last): File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/cython_trees.pyx /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/avltree.py tree = Parsing.p_module(s, pxd, full_module_name) /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/abctree.py tree = Parsing.p_module(s, pxd, full_module_name) /usr/pkg/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/rbtree.py tree = Parsing.p_module(s, pxd, full_module_name) multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/pkg/lib/python3.11/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/cython_trees.pyx """ [4/7] Cythonizing /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/bintree.py [6/7] Cythonizing /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/rbtree.py [2/7] Cythonizing /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/abctree.py The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/pkg/bin/cythonize-3.11", line 8, in sys.exit(main()) ^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Cythonize.py", line 251, in main _cython_compile_files(all_paths, options) File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Cythonize.py", line 67, in _cython_compile_files ext_modules = cythonize( ^^^^^^^^^^ File "/usr/pkg/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1145, in cythonize result.get(99999) # seconds ^^^^^^^^^^^^^^^^^ File "/usr/pkg/lib/python3.11/multiprocessing/pool.py", line 774, in get raise self._value Cython.Compiler.Errors.CompileError: /tmp/devel/py-bintrees/work/bintrees-2.2.0/bintrees/cython_trees.pyx *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-bintrees *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-bintrees