Package: src:python-aiovlc Version: 0.4.2-4 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules clean make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=pybuild --with python3 dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3 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:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12 * Building wheel... Successfully built aiovlc-0.4.2-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13 * Building wheel... Successfully built aiovlc-0.4.2-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -v tests --no-cov /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.12 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build configfile: pyproject.toml plugins: asyncio-0.25.1, typeguard-4.4.1, cov-5.0.0 asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None collecting ... collected 46 items tests/model/test_command.py::test_clear_command PASSED [ 2%] tests/model/test_command.py::test_get_length_command[372\r\n> -372] PASSED [ 4%] tests/model/test_command.py::test_get_length_command[\r\n> -0] PASSED [ 6%] tests/model/test_command.py::test_get_length_command_error[> -CommandParseError-Could not get length.] PASSED [ 8%] tests/model/test_command.py::test_get_length_command_error[unexpected\r\n> -CommandParseError-Could not get length.] PASSED [ 10%] tests/model/test_command.py::test_get_time_command[8\r\n> -8] PASSED [ 13%] tests/model/test_command.py::test_get_time_command[\r\n> -0] PASSED [ 15%] tests/model/test_command.py::test_get_time_command_error[> -CommandParseError-Could not get time.] PASSED [ 17%] tests/model/test_command.py::test_get_time_command_error[unexpected\r\n> -CommandParseError-Could not get time.] PASSED [ 19%] tests/model/test_command.py::test_info_command PASSED [ 21%] tests/model/test_command.py::test_info_command_error PASSED [ 23%] tests/model/test_command.py::test_next_command PASSED [ 26%] tests/model/test_command.py::test_password_command[read0-4] PASSED [ 28%] tests/model/test_command.py::test_password_command[read1-3] PASSED [ 30%] tests/model/test_command.py::test_password_command_error[read0-AuthError-Failed to login to VLC.] PASSED [ 32%] tests/model/test_command.py::test_password_command_error[read1-CommandError-Unexpected password response: unexpected reply] PASSED [ 34%] tests/model/test_command.py::test_password_command_error[read2-CommandError-Empty password response] PASSED [ 36%] tests/model/test_command.py::test_pause_command PASSED [ 39%] tests/model/test_command.py::test_play_command PASSED [ 41%] tests/model/test_command.py::test_prev_command PASSED [ 43%] tests/model/test_command.py::test_random_command[on- on] PASSED [ 45%] tests/model/test_command.py::test_random_command[off- off] PASSED [ 47%] tests/model/test_command.py::test_random_command[None-] PASSED [ 50%] tests/model/test_command.py::test_random_command_error[bad_mode-CommandParameterError-Parameter mode not in (None, 'on', 'off')] PASSED [ 52%] tests/model/test_command.py::test_random_command_error[42-CommandParameterError-Parameter mode not in (None, 'on', 'off')] PASSED [ 54%] tests/model/test_command.py::test_set_volume_command PASSED [ 56%] tests/model/test_command.py::test_set_volume_command_error[bad_volume-CommandParameterError-Invalid volume parameter: bad_volume] PASSED [ 58%] tests/model/test_command.py::test_set_volume_command_error[9000-CommandParameterError-Parameter volume not in range(0, 500)] PASSED [ 60%] tests/model/test_command.py::test_status_command[( audio volume: 0 )\r\n( state stopped )\r\n> -0-stopped-None] PASSED [ 63%] tests/model/test_command.py::test_status_command[( audio volume: 0.0 )\r\n( state stopped )\r\n> -0-stopped-None] PASSED [ 65%] tests/model/test_command.py::test_status_command[( audio volume: 0,0 )\r\n( state stopped )\r\n> -0-stopped-None] PASSED [ 67%] tests/model/test_command.py::test_status_command[( new input: file:///path/to/music.mp3 )\r\n( audio volume: 128.0 )\r\n( state paused )\r\n> -128-paused-file:///path/to/music.mp3] PASSED [ 69%] tests/model/test_command.py::test_status_command[( new input: file:///home/felix/Musik/Madonna - Jump.ogg )\r\n( audio volume: 256.0 )\r\n( state playing )\r\n> -256-playing-file:///home/felix/Musik/Madonna%20-%20Jump.ogg] PASSED [ 71%] tests/model/test_command.py::test_stop_command PASSED [ 73%] tests/model/test_command.py::test_volume_command[0\r\n> -0] PASSED [ 76%] tests/model/test_command.py::test_volume_command[0.0\r\n> -0] PASSED [ 78%] tests/model/test_command.py::test_volume_command[0,0\r\n> -0] PASSED [ 80%] tests/model/test_command.py::test_volume_command[128.0\r\n> -128] PASSED [ 82%] tests/test_cli.py::test_help FAILED [ 84%] tests/test_client.py::test_client_connect_disconnect PASSED [ 86%] tests/test_client.py::test_client_connect_failure PASSED [ 89%] tests/test_client.py::test_client_disconnect_failure PASSED [ 91%] tests/test_client.py::test_client_read_write PASSED [ 93%] tests/test_client.py::test_client_read_failure PASSED [ 95%] tests/test_client.py::test_client_write_failure PASSED [ 97%] tests/test_dunder_main.py::test_can_run_as_python_module FAILED [100%] =================================== FAILURES =================================== __________________________________ test_help ___________________________________ def test_help() -> None: """The help message includes the CLI name.""" result = runner.invoke(app, ["--help"]) > assert result.exit_code == 0 E assert 1 == 0 E + where 1 = <Result TypeError("Parameter.make_metavar() missing 1 required positional argument: 'ctx'")>.exit_code tests/test_cli.py:13: AssertionError ________________________ test_can_run_as_python_module _________________________ def test_can_run_as_python_module() -> None: """Run the CLI as a Python module.""" > result = subprocess.run( # noqa: S603 [sys.executable, "-m", "aiovlc", "--help"], check=True, capture_output=True, ) tests/test_dunder_main.py:9: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = True, timeout = None, check = True popenargs = (['/usr/bin/python3.12', '-m', 'aiovlc', '--help'],) kwargs = {'stderr': -1, 'stdout': -1} process = <Popen: returncode: 1 args: ['/usr/bin/python3.12', '-m', 'aiovlc', '--help']> stdout = b' \n Usage: aiovlc [OPTIONS] ... \n \n' stderr = b'\xe2\x95\xad\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94...4\x80\xe2\x94\x80\xe2\x95\xaf\nTypeError: Parameter.make_metavar() missing 1 required positional argument: \n\'ctx\'\n' retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python3.12', '-m', 'aiovlc', '--help']' returned non-zero exit status 1. /usr/lib/python3.12/subprocess.py:573: CalledProcessError =========================== short test summary info ============================ FAILED tests/test_cli.py::test_help - assert 1 == 0 FAILED tests/test_dunder_main.py::test_can_run_as_python_module - subprocess.... ========================= 2 failed, 44 passed in 0.45s ========================= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -v tests --no-cov I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v tests --no-cov /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build configfile: pyproject.toml plugins: asyncio-0.25.1, typeguard-4.4.1, cov-5.0.0 asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None collecting ... collected 46 items tests/model/test_command.py::test_clear_command PASSED [ 2%] tests/model/test_command.py::test_get_length_command[372\r\n> -372] PASSED [ 4%] tests/model/test_command.py::test_get_length_command[\r\n> -0] PASSED [ 6%] tests/model/test_command.py::test_get_length_command_error[> -CommandParseError-Could not get length.] PASSED [ 8%] tests/model/test_command.py::test_get_length_command_error[unexpected\r\n> -CommandParseError-Could not get length.] PASSED [ 10%] tests/model/test_command.py::test_get_time_command[8\r\n> -8] PASSED [ 13%] tests/model/test_command.py::test_get_time_command[\r\n> -0] PASSED [ 15%] tests/model/test_command.py::test_get_time_command_error[> -CommandParseError-Could not get time.] PASSED [ 17%] tests/model/test_command.py::test_get_time_command_error[unexpected\r\n> -CommandParseError-Could not get time.] PASSED [ 19%] tests/model/test_command.py::test_info_command PASSED [ 21%] tests/model/test_command.py::test_info_command_error PASSED [ 23%] tests/model/test_command.py::test_next_command PASSED [ 26%] tests/model/test_command.py::test_password_command[read0-4] PASSED [ 28%] tests/model/test_command.py::test_password_command[read1-3] PASSED [ 30%] tests/model/test_command.py::test_password_command_error[read0-AuthError-Failed to login to VLC.] PASSED [ 32%] tests/model/test_command.py::test_password_command_error[read1-CommandError-Unexpected password response: unexpected reply] PASSED [ 34%] tests/model/test_command.py::test_password_command_error[read2-CommandError-Empty password response] PASSED [ 36%] tests/model/test_command.py::test_pause_command PASSED [ 39%] tests/model/test_command.py::test_play_command PASSED [ 41%] tests/model/test_command.py::test_prev_command PASSED [ 43%] tests/model/test_command.py::test_random_command[on- on] PASSED [ 45%] tests/model/test_command.py::test_random_command[off- off] PASSED [ 47%] tests/model/test_command.py::test_random_command[None-] PASSED [ 50%] tests/model/test_command.py::test_random_command_error[bad_mode-CommandParameterError-Parameter mode not in (None, 'on', 'off')] PASSED [ 52%] tests/model/test_command.py::test_random_command_error[42-CommandParameterError-Parameter mode not in (None, 'on', 'off')] PASSED [ 54%] tests/model/test_command.py::test_set_volume_command PASSED [ 56%] tests/model/test_command.py::test_set_volume_command_error[bad_volume-CommandParameterError-Invalid volume parameter: bad_volume] PASSED [ 58%] tests/model/test_command.py::test_set_volume_command_error[9000-CommandParameterError-Parameter volume not in range(0, 500)] PASSED [ 60%] tests/model/test_command.py::test_status_command[( audio volume: 0 )\r\n( state stopped )\r\n> -0-stopped-None] PASSED [ 63%] tests/model/test_command.py::test_status_command[( audio volume: 0.0 )\r\n( state stopped )\r\n> -0-stopped-None] PASSED [ 65%] tests/model/test_command.py::test_status_command[( audio volume: 0,0 )\r\n( state stopped )\r\n> -0-stopped-None] PASSED [ 67%] tests/model/test_command.py::test_status_command[( new input: file:///path/to/music.mp3 )\r\n( audio volume: 128.0 )\r\n( state paused )\r\n> -128-paused-file:///path/to/music.mp3] PASSED [ 69%] tests/model/test_command.py::test_status_command[( new input: file:///home/felix/Musik/Madonna - Jump.ogg )\r\n( audio volume: 256.0 )\r\n( state playing )\r\n> -256-playing-file:///home/felix/Musik/Madonna%20-%20Jump.ogg] PASSED [ 71%] tests/model/test_command.py::test_stop_command PASSED [ 73%] tests/model/test_command.py::test_volume_command[0\r\n> -0] PASSED [ 76%] tests/model/test_command.py::test_volume_command[0.0\r\n> -0] PASSED [ 78%] tests/model/test_command.py::test_volume_command[0,0\r\n> -0] PASSED [ 80%] tests/model/test_command.py::test_volume_command[128.0\r\n> -128] PASSED [ 82%] tests/test_cli.py::test_help FAILED [ 84%] tests/test_client.py::test_client_connect_disconnect PASSED [ 86%] tests/test_client.py::test_client_connect_failure PASSED [ 89%] tests/test_client.py::test_client_disconnect_failure PASSED [ 91%] tests/test_client.py::test_client_read_write PASSED [ 93%] tests/test_client.py::test_client_read_failure PASSED [ 95%] tests/test_client.py::test_client_write_failure PASSED [ 97%] tests/test_dunder_main.py::test_can_run_as_python_module FAILED [100%] =================================== FAILURES =================================== __________________________________ test_help ___________________________________ def test_help() -> None: """The help message includes the CLI name.""" result = runner.invoke(app, ["--help"]) > assert result.exit_code == 0 E assert 1 == 0 E + where 1 = <Result TypeError("Parameter.make_metavar() missing 1 required positional argument: 'ctx'")>.exit_code tests/test_cli.py:13: AssertionError ________________________ test_can_run_as_python_module _________________________ def test_can_run_as_python_module() -> None: """Run the CLI as a Python module.""" > result = subprocess.run( # noqa: S603 [sys.executable, "-m", "aiovlc", "--help"], check=True, capture_output=True, ) tests/test_dunder_main.py:9: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = True, timeout = None, check = True popenargs = (['/usr/bin/python3.13', '-m', 'aiovlc', '--help'],) kwargs = {'stderr': -1, 'stdout': -1} process = <Popen: returncode: 1 args: ['/usr/bin/python3.13', '-m', 'aiovlc', '--help']> stdout = b' \n Usage: aiovlc [OPTIONS] ... \n \n' stderr = b'\xe2\x95\xad\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94...4\x80\xe2\x94\x80\xe2\x95\xaf\nTypeError: Parameter.make_metavar() missing 1 required positional argument: \n\'ctx\'\n' retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python3.13', '-m', 'aiovlc', '--help']' returned non-zero exit status 1. /usr/lib/python3.13/subprocess.py:579: CalledProcessError =========================== short test summary info ============================ FAILED tests/test_cli.py::test_help - assert 1 == 0 FAILED tests/test_dunder_main.py::test_can_run_as_python_module - subprocess.... ========================= 2 failed, 44 passed in 0.42s ========================= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v tests --no-cov dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202502/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-aiovlc, so that this is still visible in the BTS web page for this package. Thanks.