New comment by yoshiyoshyosh on void-packages repository https://github.com/void-linux/void-packages/pull/45559#issuecomment-1675728394 Comment: apologies for forgetting testing before PRing. fixed the current failing build by adding `./run-tests.sh` as `do_check`, but more test failures arise from doing that: ``` ====================================================================== ERROR: test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__get_defaults) Test _get_defaults() ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/ufw-0.36.2/tests/unit/test_backend_iptables.py", line 39, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python3.11/shutil.py", line 559, in copytree with os.scandir(src) as itr: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/builddir/ufw-0.36.2/tests/unit/tmp/ufw/lib/ufw' ... (for a lot more tests) ``` not sure what to do about this--`ufw.common.state_dir` & `ufw.common.config_dir` rely on `real_{state,config}_dir` from `setup.py`, which gets changed by `vsed`. even if this were fixed, there's other failing tests because some rely on `sysctl`'s existence. probably might be best to disable `do_check` entirely if this is the case