>>> py3-lz4: Building community/py3-lz4 4.4.3-r0 (using abuild 3.15.0-r0) started Sun, 12 Oct 2025 21:25:03 +0000 >>> py3-lz4: Validating /home/udu/aports/community/py3-lz4/APKBUILD... >>> py3-lz4: Analyzing dependencies... >>> py3-lz4: Installing for build: build-base linux-headers lz4-dev py3-gpep517 py3-pkgconfig py3-setuptools py3-setuptools_scm py3-wheel python3-dev py3-coverage py3-psutil py3-pytest py3-pytest-cov py3-pytest-runner 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/40) Installing linux-headers (6.14.2-r0) (2/40) Installing lz4-libs (1.10.0-r0) (3/40) Installing lz4-dev (1.10.0-r0) (4/40) Upgrading python3 (3.12.11-r0 -> 3.12.12-r0) (5/40) Upgrading python3-pycache-pyc0 (3.12.11-r0 -> 3.12.12-r0) (6/40) Installing py3-installer-pyc (0.7.0-r2) (7/40) Installing py3-gpep517-pyc (19-r0) (8/40) Upgrading python3-pyc (3.12.11-r0 -> 3.12.12-r0) (9/40) Installing py3-installer (0.7.0-r2) (10/40) Installing py3-gpep517 (19-r0) (11/40) Installing py3-pkgconfig (1.5.5-r4) (12/40) Installing py3-pkgconfig-pyc (1.5.5-r4) (13/40) Installing py3-parsing (3.2.3-r0) (14/40) Installing py3-parsing-pyc (3.2.3-r0) (15/40) Installing py3-packaging (25.0-r0) (16/40) Installing py3-packaging-pyc (25.0-r0) (17/40) Installing py3-setuptools (80.9.0-r0) (18/40) Installing py3-setuptools-pyc (80.9.0-r0) (19/40) Installing py3-setuptools_scm (8.3.1-r0) (20/40) Installing py3-setuptools_scm-pyc (8.3.1-r0) (21/40) Installing py3-wheel (0.46.1-r0) (22/40) Installing py3-wheel-pyc (0.46.1-r0) (23/40) Installing python3-dev (3.12.12-r0) (24/40) Installing py3-coverage (7.8.2-r0) (25/40) Installing py3-coverage-pyc (7.8.2-r0) (26/40) Installing py3-psutil (7.0.0-r0) (27/40) Installing py3-psutil-pyc (7.0.0-r0) (28/40) Installing py3-iniconfig (2.1.0-r0) (29/40) Installing py3-iniconfig-pyc (2.1.0-r0) (30/40) Installing py3-pluggy (1.5.0-r0) (31/40) Installing py3-pluggy-pyc (1.5.0-r0) (32/40) Installing py3-py (1.11.0-r4) (33/40) Installing py3-py-pyc (1.11.0-r4) (34/40) Installing py3-pytest (8.3.5-r0) (35/40) Installing py3-pytest-pyc (8.3.5-r0) (36/40) Installing py3-pytest-cov (5.0.0-r0) (37/40) Installing py3-pytest-cov-pyc (5.0.0-r0) (38/40) Installing py3-pytest-runner (6.0.1-r1) (39/40) Installing py3-pytest-runner-pyc (6.0.1-r1) (40/40) Installing .makedepends-py3-lz4 (20251012.212505) Executing busybox-1.37.0-r19.trigger OK: 362 MiB in 126 packages >>> py3-lz4: Cleaning up srcdir >>> py3-lz4: Cleaning up pkgdir >>> py3-lz4: Cleaning up tmpdir >>> py3-lz4: Fetching https://files.pythonhosted.org/packages/source/l/lz4/lz4-4.4.3.tar.gz >>> py3-lz4: Fetching https://files.pythonhosted.org/packages/source/l/lz4/lz4-4.4.3.tar.gz >>> py3-lz4: Checking sha512sums... lz4-4.4.3.tar.gz: OK >>> py3-lz4: Unpacking /var/cache/distfiles/lz4-4.4.3.tar.gz... 2025-10-12 21:25:06,882 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:92: UserWarning: version of lz4 already set warnings.warn(f"version of {dist_name} already set") /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 :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-10-12 21:25:06,940 root INFO running bdist_wheel 2025-10-12 21:25:06,957 root INFO running build 2025-10-12 21:25:06,957 root INFO running build_py 2025-10-12 21:25:06,962 root INFO creating build/lib.linux-x86_64-cpython-312/lz4 2025-10-12 21:25:06,963 root INFO copying lz4/version.py -> build/lib.linux-x86_64-cpython-312/lz4 2025-10-12 21:25:06,963 root INFO copying lz4/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4 2025-10-12 21:25:06,963 root INFO creating build/lib.linux-x86_64-cpython-312/lz4/block 2025-10-12 21:25:06,964 root INFO copying lz4/block/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/block 2025-10-12 21:25:06,964 root INFO creating build/lib.linux-x86_64-cpython-312/lz4/frame 2025-10-12 21:25:06,964 root INFO copying lz4/frame/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/frame 2025-10-12 21:25:06,965 root INFO running build_ext 2025-10-12 21:25:06,966 root INFO building 'lz4._version' extension 2025-10-12 21:25:06,967 root INFO creating build/temp.linux-x86_64-cpython-312/lz4 2025-10-12 21:25:06,967 root INFO cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -I/usr/include/python3.12 -c lz4/_version.c -o build/temp.linux-x86_64-cpython-312/lz4/_version.o 2025-10-12 21:25:07,090 root INFO cc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt build/temp.linux-x86_64-cpython-312/lz4/_version.o -L/usr/lib -llz4 -o build/lib.linux-x86_64-cpython-312/lz4/_version.cpython-312-x86_64-linux-musl.so 2025-10-12 21:25:07,104 root INFO building 'lz4.block._block' extension 2025-10-12 21:25:07,104 root INFO creating build/temp.linux-x86_64-cpython-312/lz4/block 2025-10-12 21:25:07,104 root INFO cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -I/usr/include/python3.12 -c lz4/block/_block.c -o build/temp.linux-x86_64-cpython-312/lz4/block/_block.o 2025-10-12 21:25:07,290 root INFO cc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt build/temp.linux-x86_64-cpython-312/lz4/block/_block.o -L/usr/lib -llz4 -o build/lib.linux-x86_64-cpython-312/lz4/block/_block.cpython-312-x86_64-linux-musl.so 2025-10-12 21:25:07,304 root INFO building 'lz4.frame._frame' extension 2025-10-12 21:25:07,304 root INFO creating build/temp.linux-x86_64-cpython-312/lz4/frame 2025-10-12 21:25:07,305 root INFO cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -I/usr/include/python3.12 -c lz4/frame/_frame.c -o build/temp.linux-x86_64-cpython-312/lz4/frame/_frame.o 2025-10-12 21:25:07,636 root INFO cc -shared -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt build/temp.linux-x86_64-cpython-312/lz4/frame/_frame.o -L/usr/lib -llz4 -o build/lib.linux-x86_64-cpython-312/lz4/frame/_frame.cpython-312-x86_64-linux-musl.so 2025-10-12 21:25:07,659 root INFO installing to build/bdist.linux-x86_64/wheel 2025-10-12 21:25:07,659 root INFO running install 2025-10-12 21:25:07,669 root INFO running install_lib 2025-10-12 21:25:07,674 root INFO creating build/bdist.linux-x86_64/wheel 2025-10-12 21:25:07,674 root INFO creating build/bdist.linux-x86_64/wheel/lz4 2025-10-12 21:25:07,674 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/_version.cpython-312-x86_64-linux-musl.so -> build/bdist.linux-x86_64/wheel/./lz4 2025-10-12 21:25:07,675 root INFO creating build/bdist.linux-x86_64/wheel/lz4/block 2025-10-12 21:25:07,675 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/block/__init__.py -> build/bdist.linux-x86_64/wheel/./lz4/block 2025-10-12 21:25:07,675 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/block/_block.cpython-312-x86_64-linux-musl.so -> build/bdist.linux-x86_64/wheel/./lz4/block 2025-10-12 21:25:07,675 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/version.py -> build/bdist.linux-x86_64/wheel/./lz4 2025-10-12 21:25:07,676 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/__init__.py -> build/bdist.linux-x86_64/wheel/./lz4 2025-10-12 21:25:07,676 root INFO creating build/bdist.linux-x86_64/wheel/lz4/frame 2025-10-12 21:25:07,676 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/frame/_frame.cpython-312-x86_64-linux-musl.so -> build/bdist.linux-x86_64/wheel/./lz4/frame 2025-10-12 21:25:07,676 root INFO copying build/lib.linux-x86_64-cpython-312/lz4/frame/__init__.py -> build/bdist.linux-x86_64/wheel/./lz4/frame 2025-10-12 21:25:07,676 root INFO running install_egg_info 2025-10-12 21:25:07,681 root INFO running egg_info 2025-10-12 21:25:07,684 root INFO writing lz4.egg-info/PKG-INFO 2025-10-12 21:25:07,686 root INFO writing dependency_links to lz4.egg-info/dependency_links.txt 2025-10-12 21:25:07,687 root INFO writing requirements to lz4.egg-info/requires.txt 2025-10-12 21:25:07,687 root INFO writing top-level names to lz4.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any 2025-10-12 21:25:07,702 root INFO reading manifest file 'lz4.egg-info/SOURCES.txt' 2025-10-12 21:25:07,704 root INFO reading manifest template 'MANIFEST.in' 2025-10-12 21:25:07,704 root INFO adding license file 'LICENSE' 2025-10-12 21:25:07,706 root INFO writing manifest file 'lz4.egg-info/SOURCES.txt' 2025-10-12 21:25:07,706 root INFO Copying lz4.egg-info to build/bdist.linux-x86_64/wheel/./lz4-4.4.3-py3.12.egg-info 2025-10-12 21:25:07,707 root INFO running install_scripts 2025-10-12 21:25:07,713 root INFO creating build/bdist.linux-x86_64/wheel/lz4-4.4.3.dist-info/WHEEL 2025-10-12 21:25:07,714 wheel INFO creating '/home/udu/aports/community/py3-lz4/src/lz4-4.4.3/.dist/.tmp-if1cg1hg/lz4-4.4.3-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-10-12 21:25:07,714 wheel INFO adding 'lz4/__init__.py' 2025-10-12 21:25:07,715 wheel INFO adding 'lz4/_version.cpython-312-x86_64-linux-musl.so' 2025-10-12 21:25:07,715 wheel INFO adding 'lz4/version.py' 2025-10-12 21:25:07,715 wheel INFO adding 'lz4/block/__init__.py' 2025-10-12 21:25:07,715 wheel INFO adding 'lz4/block/_block.cpython-312-x86_64-linux-musl.so' 2025-10-12 21:25:07,716 wheel INFO adding 'lz4/frame/__init__.py' 2025-10-12 21:25:07,716 wheel INFO adding 'lz4/frame/_frame.cpython-312-x86_64-linux-musl.so' 2025-10-12 21:25:07,716 wheel INFO adding 'lz4-4.4.3.dist-info/licenses/LICENSE' 2025-10-12 21:25:07,717 wheel INFO adding 'lz4-4.4.3.dist-info/METADATA' 2025-10-12 21:25:07,717 wheel INFO adding 'lz4-4.4.3.dist-info/WHEEL' 2025-10-12 21:25:07,717 wheel INFO adding 'lz4-4.4.3.dist-info/top_level.txt' 2025-10-12 21:25:07,717 wheel INFO adding 'lz4-4.4.3.dist-info/RECORD' 2025-10-12 21:25:07,717 root INFO removing build/bdist.linux-x86_64/wheel 2025-10-12 21:25:07,718 gpep517 INFO The backend produced .dist/lz4-4.4.3-cp312-cp312-linux_x86_64.whl lz4-4.4.3-cp312-cp312-linux_x86_64.whl ============================================================================================================================================ test session starts ============================================================================================================================================= platform linux -- Python 3.12.12, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/udu/aports/community/py3-lz4/src/lz4-4.4.3 configfile: tox.ini plugins: cov-5.0.0 collected 7214 items / 1 error =================================================================================================================================================== ERRORS =================================================================================================================================================== ________________________________________________________________________________________________________________________________ ERROR collecting tests/block/test_block_2.py ________________________________________________________________________________________________________________________________ import pytest import sys import lz4.block import psutil import os # This test requires allocating a big lump of memory. In order to # avoid a massive memory allocation during byte compilation, we have # to declare a variable for the size of the buffer we're going to # create outside the scope of the function below. See: # https://bugs.python.org/issue21074 _4GB = 0x100000000 # 4GB # This test will be killed on Travis due to the 3GB memory limit # there. Unfortunately psutil reports the host memory, not the memory # available to the container, and so can't be used to detect available # memory, so instead, as an ugly hack for detecting we're on Travis we # check for the TRAVIS environment variable being set. This is quite # fragile. @pytest.mark.skipif( os.environ.get('TRAVIS') is not None, reason='Skipping test on Travis due to insufficient memory' ) @pytest.mark.skipif( sys.maxsize < 0xffffffff, reason='Py_ssize_t too small for this test' ) @pytest.mark.skipif( > psutil.virtual_memory().available < _4GB, reason='Insufficient system memory for this test' ) _4GB = 4294967296 __builtins__ = __cached__ = '/home/udu/aports/community/py3-lz4/src/lz4-4.4.3/tests/block/__pycache__/test_block_2.cpython-312.pyc' __doc__ = None __file__ = '/home/udu/aports/community/py3-lz4/src/lz4-4.4.3/tests/block/test_block_2.py' __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7e2b1236d010> __name__ = 'test_block_2' __package__ = '' __spec__ = ModuleSpec(name='test_block_2', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7e2b1236d010>, origin='/home/udu/aports/community/py3-lz4/src/lz4-4.4.3/tests/block/test_block_2.py') lz4 = os = psutil = pytest = sys = tests/block/test_block_2.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def virtual_memory(): """Return statistics about system memory usage as a namedtuple including the following fields, expressed in bytes: - total: total physical memory available. - available: the memory that can be given instantly to processes without the system going into swap. This is calculated by summing different memory values depending on the platform and it is supposed to be used to monitor actual memory usage in a cross platform fashion. - percent: the percentage usage calculated as (total - available) / total * 100 - used: memory used, calculated differently depending on the platform and designed for informational purposes only: macOS: active + wired BSD: active + wired + cached Linux: total - free - free: memory not being used at all (zeroed) that is readily available; note that this doesn't reflect the actual memory available (use 'available' instead) Platform-specific fields: - active (UNIX): memory currently in use or very recently used, and so it is in RAM. - inactive (UNIX): memory that is marked as not used. - buffers (BSD, Linux): cache for things like file system metadata. - cached (BSD, macOS): cache for various things. - wired (macOS, BSD): memory that is marked to always stay in RAM. It is never moved to disk. - shared (BSD): memory that may be simultaneously accessed by multiple processes. The sum of 'used' and 'available' does not necessarily equal total. On Windows 'available' and 'free' are the same. """ global _TOTAL_PHYMEM > ret = _psplatform.virtual_memory() /usr/lib/python3.12/site-packages/psutil/__init__.py:2017: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def virtual_memory(): """Report virtual memory stats. This implementation mimics procps-ng-3.3.12, aka "free" CLI tool: https://gitlab.com/procps-ng/procps/blob/ 24fd2605c51fccc375ab0287cec33aa767f06718/proc/sysinfo.c#L778-791 The returned values are supposed to match both "free" and "vmstat -s" CLI tools. """ missing_fields = [] mems = {} > with open_binary(f"{get_procfs_path()}/meminfo") as f: mems = {} missing_fields = [] /usr/lib/python3.12/site-packages/psutil/_pslinux.py:362: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fname = '/proc/meminfo' def open_binary(fname): > return open(fname, "rb", buffering=FILE_READ_BUFFER_SIZE) E FileNotFoundError: [Errno 2] No such file or directory: '/proc/meminfo' fname = '/proc/meminfo' /usr/lib/python3.12/site-packages/psutil/_common.py:766: FileNotFoundError ========================================================================================================================================== short test summary info =========================================================================================================================================== ERROR tests/block/test_block_2.py - FileNotFoundError: [Errno 2] No such file or directory: '/proc/meminfo' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ============================================================================================================================================== 1 error in 0.49s ============================================================================================================================================== >>> ERROR: py3-lz4: check failed >>> py3-lz4: Uninstalling dependencies... (1/37) Purging .makedepends-py3-lz4 (20251012.212505) (2/37) Purging linux-headers (6.14.2-r0) (3/37) Purging lz4-dev (1.10.0-r0) (4/37) Purging lz4-libs (1.10.0-r0) (5/37) Purging py3-gpep517-pyc (19-r0) (6/37) Purging py3-gpep517 (19-r0) (7/37) Purging py3-installer-pyc (0.7.0-r2) (8/37) Purging py3-installer (0.7.0-r2) (9/37) Purging py3-pkgconfig-pyc (1.5.5-r4) (10/37) Purging py3-pkgconfig (1.5.5-r4) (11/37) Purging py3-setuptools_scm-pyc (8.3.1-r0) (12/37) Purging py3-setuptools_scm (8.3.1-r0) (13/37) Purging py3-wheel-pyc (0.46.1-r0) (14/37) Purging py3-wheel (0.46.1-r0) (15/37) Purging python3-dev (3.12.12-r0) (16/37) Purging py3-psutil-pyc (7.0.0-r0) (17/37) Purging py3-psutil (7.0.0-r0) (18/37) Purging py3-pytest-cov-pyc (5.0.0-r0) (19/37) Purging py3-pytest-cov (5.0.0-r0) (20/37) Purging py3-coverage-pyc (7.8.2-r0) (21/37) Purging py3-coverage (7.8.2-r0) (22/37) Purging py3-pytest-runner-pyc (6.0.1-r1) (23/37) Purging py3-pytest-runner (6.0.1-r1) (24/37) Purging py3-pytest-pyc (8.3.5-r0) (25/37) Purging py3-pytest (8.3.5-r0) (26/37) Purging py3-iniconfig-pyc (2.1.0-r0) (27/37) Purging py3-iniconfig (2.1.0-r0) (28/37) Purging py3-pluggy-pyc (1.5.0-r0) (29/37) Purging py3-pluggy (1.5.0-r0) (30/37) Purging py3-py-pyc (1.11.0-r4) (31/37) Purging py3-py (1.11.0-r4) (32/37) Purging py3-setuptools-pyc (80.9.0-r0) (33/37) Purging py3-setuptools (80.9.0-r0) (34/37) Purging py3-packaging-pyc (25.0-r0) (35/37) Purging py3-packaging (25.0-r0) (36/37) Purging py3-parsing-pyc (3.2.3-r0) (37/37) Purging py3-parsing (3.2.3-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages