>>> py3-compreffor: Building community/py3-compreffor 0.5.6-r0 (using abuild 3.15.0-r0) started Sun, 12 Oct 2025 15:47:10 +0000 >>> py3-compreffor: Validating /home/udu/aports/community/py3-compreffor/APKBUILD... >>> py3-compreffor: Analyzing dependencies... >>> py3-compreffor: Installing for build: build-base py3-fonttools python3 cython py3-pytest-runner py3-setuptools py3-setuptools_scm python3-dev py3-pytest WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/27) Upgrading python3 (3.12.11-r0 -> 3.12.12-r0) (2/27) Upgrading python3-pycache-pyc0 (3.12.11-r0 -> 3.12.12-r0) (3/27) Installing py3-fonttools-pyc (4.58.0-r0) (4/27) Upgrading python3-pyc (3.12.11-r0 -> 3.12.12-r0) (5/27) Installing py3-fonttools (4.58.0-r0) (6/27) Installing cython (3.0.12-r0) (7/27) Installing cython-pyc (3.0.12-r0) (8/27) Installing py3-iniconfig (2.1.0-r0) (9/27) Installing py3-iniconfig-pyc (2.1.0-r0) (10/27) Installing py3-parsing (3.2.3-r0) (11/27) Installing py3-parsing-pyc (3.2.3-r0) (12/27) Installing py3-packaging (25.0-r0) (13/27) Installing py3-packaging-pyc (25.0-r0) (14/27) Installing py3-pluggy (1.5.0-r0) (15/27) Installing py3-pluggy-pyc (1.5.0-r0) (16/27) Installing py3-py (1.11.0-r4) (17/27) Installing py3-py-pyc (1.11.0-r4) (18/27) Installing py3-pytest (8.3.5-r0) (19/27) Installing py3-pytest-pyc (8.3.5-r0) (20/27) Installing py3-setuptools (80.9.0-r0) (21/27) Installing py3-setuptools-pyc (80.9.0-r0) (22/27) Installing py3-pytest-runner (6.0.1-r1) (23/27) Installing py3-pytest-runner-pyc (6.0.1-r1) (24/27) Installing py3-setuptools_scm (8.3.1-r0) (25/27) Installing py3-setuptools_scm-pyc (8.3.1-r0) (26/27) Installing python3-dev (3.12.12-r0) (27/27) Installing .makedepends-py3-compreffor (20251012.154711) Executing busybox-1.37.0-r19.trigger OK: 380 MiB in 113 packages >>> py3-compreffor: Cleaning up srcdir >>> py3-compreffor: Cleaning up pkgdir >>> py3-compreffor: Cleaning up tmpdir >>> py3-compreffor: Fetching py3-compreffor-0.5.6.tar.gz::https://github.com/googlefonts/compreffor/archive/0.5.6.tar.gz >>> py3-compreffor: Fetching py3-compreffor-0.5.6.tar.gz::https://github.com/googlefonts/compreffor/archive/0.5.6.tar.gz >>> py3-compreffor: Checking sha512sums... py3-compreffor-0.5.6.tar.gz: OK 0001-Drop-the-setuptools_git_ls_files-dependency.patch: OK >>> py3-compreffor: Unpacking /var/cache/distfiles/py3-compreffor-0.5.6.tar.gz... >>> py3-compreffor: 0001-Drop-the-setuptools_git_ls_files-dependency.patch patching file pyproject.toml Hunk #1 succeeded at 5 with fuzz 1 (offset 2 lines). patching file setup.py /home/udu/aports/community/py3-compreffor/src/compreffor-0.5.6/setup.py:6: DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead. from distutils.dep_util import newer_group /home/udu/aports/community/py3-compreffor/src/compreffor-0.5.6/setup.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources /usr/lib/python3.12/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. By 2025-Oct-31, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() Development mode: Compiling Cython modules from .pyx sources. running build_ext skipping 'src/cython/_compreffor.cpp' Cython extension (up-to-date) building 'compreffor._compreffor' extension creating build/temp.linux-x86_64-cpython-312/src/cython creating build/temp.linux-x86_64-cpython-312/src/cxx c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -fPIC -I/usr/include/python3.12 -c src/cython/_compreffor.cpp -o build/temp.linux-x86_64-cpython-312/src/cython/_compreffor.o -std=c++0x -pthread -Wextra -Wno-unused -Wno-unused-parameter c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -fPIC -I/usr/include/python3.12 -c src/cxx/cffCompressor.cc -o build/temp.linux-x86_64-cpython-312/src/cxx/cffCompressor.o -std=c++0x -pthread -Wextra -Wno-unused -Wno-unused-parameter c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt build/temp.linux-x86_64-cpython-312/src/cython/_compreffor.o build/temp.linux-x86_64-cpython-312/src/cxx/cffCompressor.o -L/usr/lib -o /home/udu/aports/community/py3-compreffor/src/compreffor-0.5.6/src/python/compreffor/_compreffor.cpython-312-x86_64-linux-musl.so /home/udu/aports/community/py3-compreffor/src/compreffor-0.5.6/setup.py:6: DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead. from distutils.dep_util import newer_group /home/udu/aports/community/py3-compreffor/src/compreffor-0.5.6/setup.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources /usr/lib/python3.12/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. By 2025-Oct-31, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() Development mode: Compiling Cython modules from .pyx sources. running build running build_py creating build/lib.linux-x86_64-cpython-312/compreffor copying src/python/compreffor/pyCompressor.py -> build/lib.linux-x86_64-cpython-312/compreffor copying src/python/compreffor/cxxCompressor.py -> build/lib.linux-x86_64-cpython-312/compreffor copying src/python/compreffor/_version.py -> build/lib.linux-x86_64-cpython-312/compreffor copying src/python/compreffor/__init__.py -> build/lib.linux-x86_64-cpython-312/compreffor copying src/python/compreffor/__main__.py -> build/lib.linux-x86_64-cpython-312/compreffor creating build/lib.linux-x86_64-cpython-312/compreffor/test copying src/python/compreffor/test/pyCompressor_test.py -> build/lib.linux-x86_64-cpython-312/compreffor/test copying src/python/compreffor/test/util.py -> build/lib.linux-x86_64-cpython-312/compreffor/test copying src/python/compreffor/test/__init__.py -> build/lib.linux-x86_64-cpython-312/compreffor/test copying src/python/compreffor/test/dummy.py -> build/lib.linux-x86_64-cpython-312/compreffor/test running build_ext skipping 'src/cython/_compreffor.cpp' Cython extension (up-to-date) building 'compreffor._compreffor' extension c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -fPIC -I/usr/include/python3.12 -c src/cython/_compreffor.cpp -o build/temp.linux-x86_64-cpython-312/src/cython/_compreffor.o -std=c++0x -pthread -Wextra -Wno-unused -Wno-unused-parameter c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -fPIC -I/usr/include/python3.12 -c src/cxx/cffCompressor.cc -o build/temp.linux-x86_64-cpython-312/src/cxx/cffCompressor.o -std=c++0x -pthread -Wextra -Wno-unused -Wno-unused-parameter c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt build/temp.linux-x86_64-cpython-312/src/cython/_compreffor.o build/temp.linux-x86_64-cpython-312/src/cxx/cffCompressor.o -L/usr/lib -o build/lib.linux-x86_64-cpython-312/compreffor/_compreffor.cpython-312-x86_64-linux-musl.so ============================= test session starts ============================== platform linux -- Python 3.12.12, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/udu/aports/community/py3-compreffor/src/compreffor-0.5.6 configfile: setup.cfg testpaths: src/python/compreffor collecting ... collected 21 items src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_candidatesubr_len PASSED [ 4%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_candidatesubr_value PASSED [ 9%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_collapse_hintmask_multi_end PASSED [ 14%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_collapse_hintmask_multi_middle PASSED [ 19%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_collapse_hintmask_single_middle PASSED [ 23%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_collect_lsubrs_called_from PASSED [ 28%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_expand_hintmask_multi_end PASSED [ 33%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_expand_hintmask_multi_middle PASSED [ 38%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_expand_hintmask_single_middle PASSED [ 42%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_get_lcp PASSED [ 47%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_get_substrings_all PASSED [ 52%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_get_substrings_standard PASSED [ 57%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_get_suffixes PASSED [ 61%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_get_suffixes_random PASSED [ 66%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_human_size PASSED [ 71%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_iterative_encode FAILED [ 76%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_multiple_nested_subr_calls FAILED [ 80%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_tokenCost PASSED [ 85%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_update_program_global PASSED [ 90%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_update_program_local PASSED [ 95%] src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_update_program_multiple PASSED [100%] =================================== FAILURES =================================== ___________________ TestCffCompressor.test_iterative_encode ____________________ self = def test_iterative_encode(self): """Test iterative_encode function""" > ans = self.empty_compreffor.iterative_encode(self.glyph_set) src/python/compreffor/test/pyCompressor_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/python/compreffor/pyCompressor.py:608: in iterative_encode pool = multiprocessing.Pool(processes=self.PROCESSES) /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ------------------------------ Captured log call ------------------------------- WARNING compreffor.pyCompressor:pyCompressor.py:448 non-TTFont given to Compreffor ______________ TestCffCompressor.test_multiple_nested_subr_calls _______________ self = def test_multiple_nested_subr_calls(self): """Test to make sure we can handle nested subrs. This is really just a case to make check we're encoding optimally.""" glyph_set = {'a': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 20), 'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 21), 'c': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 22), 'd': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 23), 'e': (0, 1, 2, 3, 4, 5, 6, 7, 14, 15, 16, 17, 18, 19, 24), 'f': (0, 1, 2, 3, 4, 5, 6, 7, 14, 15, 16, 17, 18, 19, 25), 'g': (0, 1, 2, 3, 4, 5, 6, 7, 14, 15, 16, 17, 18, 19, 26),} glyph_set = DummyGlyphSet(glyph_set) > ans = self.empty_compreffor.iterative_encode(glyph_set) src/python/compreffor/test/pyCompressor_test.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/python/compreffor/pyCompressor.py:608: in iterative_encode pool = multiprocessing.Pool(processes=self.PROCESSES) /usr/lib/python3.12/multiprocessing/context.py:119: in Pool return Pool(processes, initializer, initargs, maxtasksperchild, /usr/lib/python3.12/multiprocessing/pool.py:191: in __init__ self._setup_queues() /usr/lib/python3.12/multiprocessing/pool.py:346: in _setup_queues self._inqueue = self._ctx.SimpleQueue() /usr/lib/python3.12/multiprocessing/context.py:113: in SimpleQueue return SimpleQueue(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/queues.py:363: in __init__ self._rlock = ctx.Lock() /usr/lib/python3.12/multiprocessing/context.py:68: in Lock return Lock(ctx=self.get_context()) /usr/lib/python3.12/multiprocessing/synchronize.py:169: in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , kind = 1, value = 1, maxvalue = 1 def __init__(self, kind, value, maxvalue, *, ctx): if ctx is None: ctx = context._default_context.get_context() self._is_fork_ctx = ctx.get_start_method() == 'fork' unlink_now = sys.platform == 'win32' or self._is_fork_ctx for i in range(100): try: > sl = self._semlock = _multiprocessing.SemLock( kind, value, maxvalue, self._make_name(), unlink_now) E PermissionError: [Errno 13] Permission denied /usr/lib/python3.12/multiprocessing/synchronize.py:57: PermissionError ------------------------------ Captured log call ------------------------------- WARNING compreffor.pyCompressor:pyCompressor.py:448 non-TTFont given to Compreffor =========================== short test summary info ============================ FAILED src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_iterative_encode FAILED src/python/compreffor/test/pyCompressor_test.py::TestCffCompressor::test_multiple_nested_subr_calls ========================= 2 failed, 19 passed in 0.15s ========================= >>> ERROR: py3-compreffor: check failed >>> py3-compreffor: Uninstalling dependencies... (1/24) Purging .makedepends-py3-compreffor (20251012.154711) (2/24) Purging py3-fonttools-pyc (4.58.0-r0) (3/24) Purging py3-fonttools (4.58.0-r0) (4/24) Purging cython-pyc (3.0.12-r0) (5/24) Purging cython (3.0.12-r0) (6/24) Purging py3-pytest-runner-pyc (6.0.1-r1) (7/24) Purging py3-pytest-runner (6.0.1-r1) (8/24) Purging py3-setuptools_scm-pyc (8.3.1-r0) (9/24) Purging py3-setuptools_scm (8.3.1-r0) (10/24) Purging py3-setuptools-pyc (80.9.0-r0) (11/24) Purging py3-setuptools (80.9.0-r0) (12/24) Purging python3-dev (3.12.12-r0) (13/24) Purging py3-pytest-pyc (8.3.5-r0) (14/24) Purging py3-pytest (8.3.5-r0) (15/24) Purging py3-iniconfig-pyc (2.1.0-r0) (16/24) Purging py3-iniconfig (2.1.0-r0) (17/24) Purging py3-packaging-pyc (25.0-r0) (18/24) Purging py3-packaging (25.0-r0) (19/24) Purging py3-parsing-pyc (3.2.3-r0) (20/24) Purging py3-parsing (3.2.3-r0) (21/24) Purging py3-pluggy-pyc (1.5.0-r0) (22/24) Purging py3-pluggy (1.5.0-r0) (23/24) Purging py3-py-pyc (1.11.0-r4) (24/24) Purging py3-py (1.11.0-r4) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages