Source: liquidctl Version: 1.12.1-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230726 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > dh_auto_build -O--buildsystem=pybuild > I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build" > module > I: pybuild base:240: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl > * Building wheel... > running bdist_wheel > running build > running build_py > creating build > creating build/lib > creating build/lib/liquidctl > copying liquidctl/util.py -> build/lib/liquidctl > copying liquidctl/version.py -> build/lib/liquidctl > copying liquidctl/__init__.py -> build/lib/liquidctl > copying liquidctl/cli.py -> build/lib/liquidctl > copying liquidctl/error.py -> build/lib/liquidctl > copying liquidctl/keyval.py -> build/lib/liquidctl > copying liquidctl/pmbus.py -> build/lib/liquidctl > copying liquidctl/__main__.py -> build/lib/liquidctl > creating build/lib/liquidctl/driver > copying liquidctl/driver/nzxt_epsu.py -> build/lib/liquidctl/driver > copying liquidctl/driver/smbus.py -> build/lib/liquidctl/driver > copying liquidctl/driver/__init__.py -> build/lib/liquidctl/driver > copying liquidctl/driver/kraken3.py -> build/lib/liquidctl/driver > copying liquidctl/driver/aquacomputer.py -> build/lib/liquidctl/driver > copying liquidctl/driver/hydro_platinum.py -> build/lib/liquidctl/driver > copying liquidctl/driver/asetek.py -> build/lib/liquidctl/driver > copying liquidctl/driver/asetek_pro.py -> build/lib/liquidctl/driver > copying liquidctl/driver/kraken2.py -> build/lib/liquidctl/driver > copying liquidctl/driver/ddr4.py -> build/lib/liquidctl/driver > copying liquidctl/driver/nvidia.py -> build/lib/liquidctl/driver > copying liquidctl/driver/smart_device.py -> build/lib/liquidctl/driver > copying liquidctl/driver/base.py -> build/lib/liquidctl/driver > copying liquidctl/driver/hwmon.py -> build/lib/liquidctl/driver > copying liquidctl/driver/commander_core.py -> build/lib/liquidctl/driver > copying liquidctl/driver/commander_pro.py -> build/lib/liquidctl/driver > copying liquidctl/driver/corsair_hid_psu.py -> build/lib/liquidctl/driver > copying liquidctl/driver/aura_led.py -> build/lib/liquidctl/driver > copying liquidctl/driver/usb.py -> build/lib/liquidctl/driver > copying liquidctl/driver/rgb_fusion2.py -> build/lib/liquidctl/driver > installing to build/bdist.linux-x86_64/wheel > running install > running install_lib > creating build/bdist.linux-x86_64 > creating build/bdist.linux-x86_64/wheel > creating build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/util.py -> > build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/version.py -> > build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/__init__.py -> > build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/cli.py -> build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/error.py -> > build/bdist.linux-x86_64/wheel/liquidctl > creating build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/nzxt_epsu.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/smbus.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/__init__.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/kraken3.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/aquacomputer.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/hydro_platinum.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/asetek.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/asetek_pro.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/kraken2.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/ddr4.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/nvidia.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/smart_device.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/base.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/hwmon.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/commander_core.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/commander_pro.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/corsair_hid_psu.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/aura_led.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/usb.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/driver/rgb_fusion2.py -> > build/bdist.linux-x86_64/wheel/liquidctl/driver > copying build/lib/liquidctl/keyval.py -> > build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/pmbus.py -> > build/bdist.linux-x86_64/wheel/liquidctl > copying build/lib/liquidctl/__main__.py -> > build/bdist.linux-x86_64/wheel/liquidctl > running install_egg_info > running egg_info > creating liquidctl.egg-info > writing liquidctl.egg-info/PKG-INFO > writing dependency_links to liquidctl.egg-info/dependency_links.txt > writing entry points to liquidctl.egg-info/entry_points.txt > writing requirements to liquidctl.egg-info/requires.txt > writing top-level names to liquidctl.egg-info/top_level.txt > writing manifest file 'liquidctl.egg-info/SOURCES.txt' > reading manifest file 'liquidctl.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*' found under directory > '.github' > adding license file 'LICENSE.txt' > writing manifest file 'liquidctl.egg-info/SOURCES.txt' > Copying liquidctl.egg-info to > build/bdist.linux-x86_64/wheel/liquidctl-0.0.0.egg-info > running install_scripts > creating build/bdist.linux-x86_64/wheel/liquidctl-0.0.0.dist-info/WHEEL > creating > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/.tmp-gwzfa2m7/liquidctl-0.0.0-py3-none-any.whl' > and adding 'build/bdist.linux-x86_64/wheel' to it > adding 'liquidctl/__init__.py' > adding 'liquidctl/__main__.py' > adding 'liquidctl/cli.py' > adding 'liquidctl/error.py' > adding 'liquidctl/keyval.py' > adding 'liquidctl/pmbus.py' > adding 'liquidctl/util.py' > adding 'liquidctl/version.py' > adding 'liquidctl/driver/__init__.py' > adding 'liquidctl/driver/aquacomputer.py' > adding 'liquidctl/driver/asetek.py' > adding 'liquidctl/driver/asetek_pro.py' > adding 'liquidctl/driver/aura_led.py' > adding 'liquidctl/driver/base.py' > adding 'liquidctl/driver/commander_core.py' > adding 'liquidctl/driver/commander_pro.py' > adding 'liquidctl/driver/corsair_hid_psu.py' > adding 'liquidctl/driver/ddr4.py' > adding 'liquidctl/driver/hwmon.py' > adding 'liquidctl/driver/hydro_platinum.py' > adding 'liquidctl/driver/kraken2.py' > adding 'liquidctl/driver/kraken3.py' > adding 'liquidctl/driver/nvidia.py' > adding 'liquidctl/driver/nzxt_epsu.py' > adding 'liquidctl/driver/rgb_fusion2.py' > adding 'liquidctl/driver/smart_device.py' > adding 'liquidctl/driver/smbus.py' > adding 'liquidctl/driver/usb.py' > adding 'liquidctl-0.0.0.dist-info/LICENSE.txt' > adding 'liquidctl-0.0.0.dist-info/METADATA' > adding 'liquidctl-0.0.0.dist-info/WHEEL' > adding 'liquidctl-0.0.0.dist-info/entry_points.txt' > adding 'liquidctl-0.0.0.dist-info/top_level.txt' > adding 'liquidctl-0.0.0.dist-info/RECORD' > removing build/bdist.linux-x86_64/wheel > Successfully built liquidctl-0.0.0-py3-none-any.whl > I: pybuild plugin_pyproject:119: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/build; python3.11 -m pytest > tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 > rootdir: /<<PKGBUILDDIR>> > configfile: pyproject.toml > collected 420 items > > tests/test_api.py ... [ > 0%] > tests/test_aquacomputer.py ..................................... [ > 9%] > tests/test_asetek.py ............ [ > 12%] > tests/test_asetek_pro.py ...... [ > 13%] > tests/test_aura_led.py ........ [ > 15%] > tests/test_backward_compatibility_10.py . [ > 15%] > tests/test_backward_compatibility_11.py . [ > 16%] > tests/test_backward_compatibility_12.py . [ > 16%] > tests/test_backward_compatibility_13.py .. [ > 16%] > tests/test_backward_compatibility_14.py ..... [ > 18%] > tests/test_backward_compatibility_15.py . [ > 18%] > tests/test_backward_compatibility_18.py .. [ > 18%] > tests/test_cli.py ... [ > 19%] > tests/test_commander_core.py .......... [ > 21%] > tests/test_commander_pro.py ............................................ [ > 32%] > ........................................................................ [ > 49%] > ..... [ > 50%] > tests/test_corsair_hid_psu.py ........ [ > 52%] > tests/test_ddr4.py ............................ [ > 59%] > tests/test_hidapi_device.py ......... [ > 61%] > tests/test_hwmon.py ....... [ > 63%] > tests/test_hydro_platinum.py ..................... [ > 68%] > tests/test_keyval.py ....F....... [ > 70%] > tests/test_kraken2.py ............. [ > 74%] > tests/test_kraken3.py ............................. [ > 80%] > tests/test_nvidia.py .......................... [ > 87%] > tests/test_nzxt_epsu.py .. [ > 87%] > tests/test_nzxt_h1_v2.py ........ [ > 89%] > tests/test_rgb_fusion2.py .............. [ > 92%] > tests/test_smart_device.py ........ [ > 94%] > tests/test_smart_device2.py ........ [ > 96%] > tests/test_smbus.py .......... [ > 99%] > tests/test_usb.py .... > [100%] > > =================================== FAILURES > =================================== > ______________ test_fs_backend_handles_values_corupted_with_nulls > ______________ > > tmpdir = > local('/tmp/pytest-of-user42/pytest-0/test_fs_backend_handles_values0') > caplog = <_pytest.logging.LogCaptureFixture object at 0x7f1d24f8b5d0> > > def test_fs_backend_handles_values_corupted_with_nulls(tmpdir, caplog): > run_dir = tmpdir.mkdir('run_dir') > store = _FilesystemBackend(key_prefixes=['prefix'], > runtime_dirs=[run_dir]) > > store.store('key', 42) > key_file = Path(run_dir).joinpath('prefix', 'key') > assert key_file.read_bytes() == b'42', 'unit test is unsound' > > key_file.write_bytes(b'\x00') > > val = store.load('key') > > tests/test_keyval.py:81: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > ../../../liquidctl/keyval.py:104: in load > value = literal_eval(data) > /usr/lib/python3.11/ast.py:64: in literal_eval > node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval') > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > source = '\x00', filename = '<unknown>', mode = 'eval' > > def parse(source, filename='<unknown>', mode='exec', *, > type_comments=False, feature_version=None): > """ > Parse the source into an AST node. > Equivalent to compile(source, filename, mode, PyCF_ONLY_AST). > Pass type_comments=True to get back type comments where the syntax > allows. > """ > flags = PyCF_ONLY_AST > if type_comments: > flags |= PyCF_TYPE_COMMENTS > if isinstance(feature_version, tuple): > major, minor = feature_version # Should be a 2-tuple. > assert major == 3 > feature_version = minor > elif feature_version is None: > feature_version = -1 > # Else it should be an int giving the minor version for 3.x. > > return compile(source, filename, mode, flags, > _feature_version=feature_version) > E SyntaxError: source code string cannot contain null bytes > > /usr/lib/python3.11/ast.py:50: SyntaxError > =============================== warnings summary > =============================== > .pybuild/cpython3_3.11_liquidctl/build/tests/test_cli.py::test_json_list > .pybuild/cpython3_3.11_liquidctl/build/tests/test_cli.py::test_json_initialize > .pybuild/cpython3_3.11_liquidctl/build/tests/test_cli.py::test_json_status > /<<PKGBUILDDIR>>/liquidctl/cli.py:312: DeprecationWarning: Use setlocale(), > getencoding() and getlocale() instead > locale.getdefaultlocale()[1], locale.getpreferredencoding(), > sys.flags.utf8_mode) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > tests/test_keyval.py::test_fs_backend_handles_values_corupted_with_nulls > ================== 1 failed, 419 passed, 3 warnings in 5.29s > =================== > E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/build; python3.11 -m pytest > tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/07/26/liquidctl_1.12.1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.