==> Building on electivire ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 892 100% 0.00kB/s 0:00:00 892 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-zict-2.2.0-2.1.log 255 100% 249.02kB/s 0:00:00 255 100% 249.02kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 784 bytes received 69 bytes 568.67 bytes/sec total size is 1,089 speedup is 1.28 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 504 100% 0.00kB/s 0:00:00 504 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 489 bytes received 38 bytes 351.33 bytes/sec total size is 504 speedup is 0.96 patching file PKGBUILD ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root6 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root6]...done ==> Making package: python-zict 2.2.0-2.1 (Wed Nov 1 12:10:16 2023) ==> Retrieving sources...  -> Found zict-2.2.0.tar.gz  -> Downloading fix-map-size.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1154 100 1154 0 0 5575 0 --:--:-- --:--:-- --:--:-- 5574 100 1154 100 1154 0 0 5573 0 --:--:-- --:--:-- --:--:-- 5574 ==> Validating source files with sha256sums... zict-2.2.0.tar.gz ... Passed fix-map-size.patch ... Passed ==> Making package: python-zict 2.2.0-2.1 (Wed Nov 1 12:10:25 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libnsl 2.0.1-1 0.07 MiB core/python 3.11.5-2.1 107.29 MiB extra/python-heapdict 1.0.1-6 0.02 MiB Total Installed Size: 107.37 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-heapdict... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (27) New Version Net Change extra/lmdb 0.9.30-3 0.35 MiB extra/python-annotated-types 0.6.0-1 0.11 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-cffi 1.16.0-1 1.41 MiB extra/python-fastjsonschema 2.18.1-1 0.29 MiB extra/python-inflect 7.0.0-2 0.39 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.9.0-1 0.07 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-more-itertools 10.1.0-1 0.63 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-platformdirs 3.11.0-1 0.23 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pydantic 2.3.0-1 4.56 MiB extra/python-pydantic-core 1:2.6.3-1 4.37 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.10.18-1 0.11 MiB extra/python-typing_extensions 4.8.0-1 0.35 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-lmdb 1.4.1-2 0.47 MiB extra/python-psutil 5.9.6-1 3.36 MiB extra/python-pytest 7.4.3-1 4.02 MiB extra/python-setuptools 1:68.0.0-1 4.64 MiB Total Installed Size: 28.91 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-annotated-types... installing python-typing_extensions... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-ply... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed] installing lmdb... installing python-lmdb... installing python-psutil... [?25h==> Retrieving sources...  -> Found zict-2.2.0.tar.gz  -> Found fix-map-size.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting zict-2.2.0.tar.gz with bsdtar ==> Starting prepare()... patching file zict/lmdb.py ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/zict copying zict/__init__.py -> build/lib/zict copying zict/buffer.py -> build/lib/zict copying zict/cache.py -> build/lib/zict copying zict/common.py -> build/lib/zict copying zict/file.py -> build/lib/zict copying zict/func.py -> build/lib/zict copying zict/lru.py -> build/lib/zict copying zict/sieve.py -> build/lib/zict copying zict/zip.py -> build/lib/zict copying zict/lmdb.py -> build/lib/zict running egg_info writing zict.egg-info/PKG-INFO writing dependency_links to zict.egg-info/dependency_links.txt writing requirements to zict.egg-info/requires.txt writing top-level names to zict.egg-info/top_level.txt reading manifest file 'zict.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' under directory 'docs' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE.txt' writing manifest file 'zict.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'zict.tests' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'zict.tests' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'zict.tests' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'zict.tests' to be distributed and are already explicitly excluding 'zict.tests' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying zict/py.typed -> build/lib/zict creating build/lib/zict/tests copying zict/tests/__init__.py -> build/lib/zict/tests copying zict/tests/test_buffer.py -> build/lib/zict/tests copying zict/tests/test_cache.py -> build/lib/zict/tests copying zict/tests/test_file.py -> build/lib/zict/tests copying zict/tests/test_func.py -> build/lib/zict/tests copying zict/tests/test_lmdb.py -> build/lib/zict/tests copying zict/tests/test_lru.py -> build/lib/zict/tests copying zict/tests/test_sieve.py -> build/lib/zict/tests copying zict/tests/test_zip.py -> build/lib/zict/tests copying zict/tests/utils_test.py -> build/lib/zict/tests ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.5, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-zict/src/zict-2.2.0 configfile: setup.cfg collecting ... collected 53 items zict/buffer.py::zict.buffer.Buffer PASSED [ 1%] zict/cache.py::zict.cache.Cache PASSED [ 3%] zict/file.py::zict.file.File SKIPPED (all tests skipped by +SKIP option) [ 5%] zict/func.py::zict.func.Func PASSED [ 7%] zict/lmdb.py::zict.lmdb.LMDB SKIPPED (all tests skipped by +SKIP option) [ 9%] zict/lru.py::zict.lru.LRU PASSED [ 11%] zict/sieve.py::zict.sieve.Sieve PASSED [ 13%] zict/zip.py::zict.zip.Zip SKIPPED (all tests skipped by +SKIP option) [ 15%] zict/tests/test_buffer.py::test_simple PASSED [ 16%] zict/tests/test_buffer.py::test_setitem_avoid_fast_slow_duplicate PASSED [ 18%] zict/tests/test_buffer.py::test_mapping PASSED [ 20%] zict/tests/test_buffer.py::test_callbacks PASSED [ 22%] zict/tests/test_buffer.py::test_callbacks_exception_catch PASSED [ 24%] zict/tests/test_cache.py::test_cache_get_set_del PASSED [ 26%] zict/tests/test_cache.py::test_do_not_read_from_data PASSED [ 28%] zict/tests/test_cache.py::test_no_update_on_set PASSED [ 30%] zict/tests/test_cache.py::test_slow_fails PASSED [ 32%] zict/tests/test_cache.py::test_weakvaluemapping PASSED [ 33%] zict/tests/test_file.py::test_mapping PASSED [ 35%] zict/tests/test_file.py::test_implementation PASSED [ 37%] zict/tests/test_file.py::test_memmap_implementation PASSED [ 39%] zict/tests/test_file.py::test_str PASSED [ 41%] zict/tests/test_file.py::test_setitem_typeerror PASSED [ 43%] zict/tests/test_file.py::test_contextmanager PASSED [ 45%] zict/tests/test_file.py::test_delitem PASSED [ 47%] zict/tests/test_file.py::test_missing_key PASSED [ 49%] zict/tests/test_file.py::test_arbitrary_chars PASSED [ 50%] zict/tests/test_file.py::test_write_list_of_bytes PASSED [ 52%] zict/tests/test_func.py::test_simple PASSED [ 54%] zict/tests/test_func.py::test_mapping PASSED [ 56%] zict/tests/test_func.py::test_update_descopes_early[MutableMapping] PASSED [ 58%] zict/tests/test_func.py::test_update_descopes_early[ZictBase] PASSED [ 60%] zict/tests/test_lmdb.py::test_mapping FAILED [ 62%] zict/tests/test_lmdb.py::test_reuse FAILED [ 64%] zict/tests/test_lmdb.py::test_creates_dir FAILED [ 66%] zict/tests/test_lmdb.py::test_file_descriptors_dont_leak FAILED [ 67%] zict/tests/test_lru.py::test_simple PASSED [ 69%] zict/tests/test_lru.py::test_str PASSED [ 71%] zict/tests/test_lru.py::test_mapping PASSED [ 73%] zict/tests/test_lru.py::test_overwrite PASSED [ 75%] zict/tests/test_lru.py::test_callbacks PASSED [ 77%] zict/tests/test_lru.py::test_cb_exception_keep_on_lru PASSED [ 79%] zict/tests/test_lru.py::test_cb_exception_keep_on_lru_weights PASSED [ 81%] zict/tests/test_lru.py::test_weight PASSED [ 83%] zict/tests/test_lru.py::test_explicit_evict PASSED [ 84%] zict/tests/test_sieve.py::test_simple PASSED [ 86%] zict/tests/test_sieve.py::test_mapping PASSED [ 88%] zict/tests/test_zip.py::test_simple PASSED [ 90%] zict/tests/test_zip.py::test_setitem_typeerror PASSED [ 92%] zict/tests/test_zip.py::test_contextmanager PASSED [ 94%] zict/tests/test_zip.py::test_missing_key PASSED [ 96%] zict/tests/test_zip.py::test_close PASSED [ 98%] zict/tests/test_zip.py::test_bytearray PASSED [100%] =================================== FAILURES =================================== _________________________________ test_mapping _________________________________ fn = '/tmp/test_lmdb-lrur5lh0' def test_mapping(fn): """ Test mapping interface for LMDB(). """ > z = LMDB(fn) zict/tests/test_lmdb.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-lrur5lh0' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space machine = platform.machine() if sys.platform == "win32": map_size = 10 * 2**20 elif machine in ["x86_64", "x64"]: map_size = 2**40 elif machine in ["i386", "i686", "x86"]: map_size = 2**30 elif machine.startswith("aarch64") or machine.startswith("armv8") or machine.startswith("riscv64"): map_size = 2**37 else: map_size = min(2**40, sys.maxsize // 4) # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-lrur5lh0: Operation not supported zict/lmdb.py:54: Error __________________________________ test_reuse __________________________________ fn = '/tmp/test_lmdb-5n5xq35m' def test_reuse(fn): """ Test persistence of a LMDB() mapping. """ > with LMDB(fn) as z: zict/tests/test_lmdb.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-5n5xq35m' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space machine = platform.machine() if sys.platform == "win32": map_size = 10 * 2**20 elif machine in ["x86_64", "x64"]: map_size = 2**40 elif machine in ["i386", "i686", "x86"]: map_size = 2**30 elif machine.startswith("aarch64") or machine.startswith("armv8") or machine.startswith("riscv64"): map_size = 2**37 else: map_size = min(2**40, sys.maxsize // 4) # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-5n5xq35m: Operation not supported zict/lmdb.py:54: Error _______________________________ test_creates_dir _______________________________ fn = '/tmp/test_lmdb-97g9ly2w' def test_creates_dir(fn): > with LMDB(fn): zict/tests/test_lmdb.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-97g9ly2w' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space machine = platform.machine() if sys.platform == "win32": map_size = 10 * 2**20 elif machine in ["x86_64", "x64"]: map_size = 2**40 elif machine in ["i386", "i686", "x86"]: map_size = 2**30 elif machine.startswith("aarch64") or machine.startswith("armv8") or machine.startswith("riscv64"): map_size = 2**37 else: map_size = min(2**40, sys.maxsize // 4) # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-97g9ly2w: Operation not supported zict/lmdb.py:54: Error _______________________ test_file_descriptors_dont_leak ________________________ fn = '/tmp/test_lmdb-as749sc7' def test_file_descriptors_dont_leak(fn): psutil = pytest.importorskip("psutil") proc = psutil.Process() before = proc.num_fds() > z = LMDB(fn) zict/tests/test_lmdb.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = directory = '/tmp/test_lmdb-as749sc7' def __init__(self, directory: str): import lmdb # map_size is the maximum database size but shouldn't fill up the # virtual address space machine = platform.machine() if sys.platform == "win32": map_size = 10 * 2**20 elif machine in ["x86_64", "x64"]: map_size = 2**40 elif machine in ["i386", "i686", "x86"]: map_size = 2**30 elif machine.startswith("aarch64") or machine.startswith("armv8") or machine.startswith("riscv64"): map_size = 2**37 else: map_size = min(2**40, sys.maxsize // 4) # writemap requires sparse file support otherwise the whole # `map_size` may be reserved up front on disk writemap = sys.platform.startswith("linux") > self.db = lmdb.open( directory, subdir=True, map_size=map_size, sync=False, writemap=writemap, ) E lmdb.Error: /tmp/test_lmdb-as749sc7: Operation not supported zict/lmdb.py:54: Error =========================== short test summary info ============================ FAILED zict/tests/test_lmdb.py::test_mapping - lmdb.Error: /tmp/test_lmdb-lrur5lh0: Operation not supported FAILED zict/tests/test_lmdb.py::test_reuse - lmdb.Error: /tmp/test_lmdb-5n5xq35m: Operation not supported FAILED zict/tests/test_lmdb.py::test_creates_dir - lmdb.Error: /tmp/test_lmdb-97g9ly2w: Operation not supported FAILED zict/tests/test_lmdb.py::test_file_descriptors_dont_leak - lmdb.Error: /tmp/test_lmdb-as749sc7: Operation not supported =================== 4 failed, 46 passed, 3 skipped in 1.07s ==================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root6/build receiving incremental file list python-zict-2.2.0-2.1-riscv64-build.log python-zict-2.2.0-2.1-riscv64-check.log python-zict-2.2.0-2.1-riscv64-prepare.log sent 81 bytes received 3,463 bytes 1,417.60 bytes/sec total size is 16,299 speedup is 4.60