Source: python-language-server
Version: 0.36.2-3
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-numpy121

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64, using numpy 1.21 currently in experimental. This version
will soon be uploaded to unstable.

If you have questions about this, please contact Sandro Tosi
<mo...@debian.org>.

Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/python_ls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/lsp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/workspace.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/hookspecs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> copying pyls/uris.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/config
> copying pyls/config/source.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/config
> copying pyls/config/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/config
> copying pyls/config/pycodestyle_conf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/config
> copying pyls/config/config.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/config
> copying pyls/config/flake8_conf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/config
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/pylint_lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/definition.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/pyflakes_lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/preload_imports.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/rope_rename.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/signature.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/highlight.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/mccabe_lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/symbols.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/jedi_rename.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/autopep8_format.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/yapf_format.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/pydocstyle_lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/pycodestyle_lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/folding.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/references.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/jedi_completion.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/flake8_lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/hover.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> copying pyls/plugins/rope_completion.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/plugins
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls/_version.py to '0.36.2'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest test
> 2021-11-04 09:42:09,328 UTC - DEBUG - easyprocess - command: ['Xvfb', '-help']
> 2021-11-04 09:42:09,330 UTC - DEBUG - easyprocess - process was started 
> (pid=562)
> 2021-11-04 09:42:09,333 UTC - DEBUG - easyprocess - process has ended, return 
> code=0
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
> 265, in wrap_session
> INTERNALERROR>     config._do_configure()
> INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 982, in 
> _do_configure
> INTERNALERROR>     
> self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 
> 308, in call_historic
> INTERNALERROR>     res = self._hookexec(self, self.get_hookimpls(), kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 92, in _hookexec
> INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 83, in <lambda>
> INTERNALERROR>     self._inner_hookexec = lambda hook, methods, kwargs: 
> hook.multicall(
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 208, in _multicall
> INTERNALERROR>     return outcome.get_result()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 80, in get_result
> INTERNALERROR>     raise ex[1].with_traceback(ex[2])
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 187, in _multicall
> INTERNALERROR>     res = hook_impl.function(*args)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pytest_xvfb.py", line 
> 93, in pytest_configure
> INTERNALERROR>     config.xvfb.start()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pytest_xvfb.py", line 
> 46, in start
> INTERNALERROR>     self._virtual_display.cmd.extend(self.args)
> INTERNALERROR> AttributeError: 'Display' object has no attribute 'cmd'
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
>     return _run_code(code, main_globals, None,
>   File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
>     exec(code, run_globals)
>   File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 5, in 
> <module>
>     raise SystemExit(pytest.console_main())
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 185, 
> in console_main
>     code = main()
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 162, 
> in main
>     ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
>     return self._hookexec(self, self.get_hookimpls(), kwargs)
>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in 
> _hookexec
>     return self._inner_hookexec(hook, methods, kwargs)
>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in 
> <lambda>
>     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in 
> _multicall
>     return outcome.get_result()
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in 
> get_result
>     raise ex[1].with_traceback(ex[2])
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in 
> _multicall
>     res = hook_impl.function(*args)
>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 316, in 
> pytest_cmdline_main
>     return wrap_session(config, _main)
>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 311, in 
> wrap_session
>     config._ensure_unconfigure()
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 987, 
> in _ensure_unconfigure
>     self.hook.pytest_unconfigure(config=self)
>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
>     return self._hookexec(self, self.get_hookimpls(), kwargs)
>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in 
> _hookexec
>     return self._inner_hookexec(hook, methods, kwargs)
>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in 
> <lambda>
>     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in 
> _multicall
>     return outcome.get_result()
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in 
> get_result
>     raise ex[1].with_traceback(ex[2])
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in 
> _multicall
>     res = hook_impl.function(*args)
>   File "/usr/lib/python3/dist-packages/pytest_xvfb.py", line 99, in 
> pytest_unconfigure
>     config.xvfb.stop()
>   File "/usr/lib/python3/dist-packages/pytest_xvfb.py", line 61, in stop
>     self._virtual_display.stop()
>   File "/usr/lib/python3/dist-packages/pyvirtualdisplay/display.py", line 81, 
> in stop
>     self._obj.stop()
>   File "/usr/lib/python3/dist-packages/pyvirtualdisplay/abstractdisplay.py", 
> line 306, in stop
>     raise XStartError("stop() is called before start().")
> pyvirtualdisplay.abstractdisplay.XStartError: stop() is called before start().
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/11/numpy-matplotlib/numpy-exp/python-language-server_0.36.2-3_unstable_numpy-exp.log

If you reassign this bug to another package, please marking 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.

Reply via email to