Package: src:python-lsp-server Version: 1.13.2-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ 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 cannot 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-lsp-server, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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 dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14 * Building wheel... running bdist_wheel [... snipped ...] ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 469, in _lint_text_document flatten(self._hook("pylsp_lint", doc_uri, is_saved=is_saved)), File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 269, in _hook return hook_handlers( File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 40, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 471, in traced_hookexec outcome = Result.from_call( File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call result = func() File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 472, in <lambda> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/plugins/mccabe_lint.py", line 20, in pylsp_lint threshold = config.plugin_settings("mccabe", document_path=document.path).get( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 184, in plugin_settings self.settings(document_path=document_path) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 158, in settings log.debug( Message: 'Got user config from %s: %s' Arguments: ('PyCodeStyleConfig', {}) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 469, in _lint_text_document flatten(self._hook("pylsp_lint", doc_uri, is_saved=is_saved)), File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 269, in _hook return hook_handlers( File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 40, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 474, in traced_hookexec after(outcome, hook_name, hook_impls, caller_kwargs) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 504, in after hooktrace("finish", hook_name, "-->", outcome.get_result()) File "/usr/lib/python3/dist-packages/pluggy/_tracing.py", line 69, in __call__ self.root._processmessage(self.tags, args) File "/usr/lib/python3/dist-packages/pluggy/_tracing.py", line 44, in _processmessage self._writer(self._format_message(tags, args)) Message: ' finish pylsp_lint --> [[{\'source\': \'pyflakes\', \'range\': {\'start\': {\'line\': 0, \'character\': 0}, \'end\': {\'line\': 0, \'character\': 10}}, \'message\': "\'sys\' imported but unused", \'severity\': 2}], [{\'source\': \'pycodestyle\', \'range\': {\'start\': {\'line\': 0, \'character\': 10}, \'end\': {\'line\': 0, \'character\': 10}}, \'message\': \'W292 no newline at end of file\', \'code\': \'W292\', \'severity\': 2}], []] [hook]\n' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 467, in _lint_text_document workspace.publish_diagnostics( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/workspace.py", line 190, in publish_diagnostics self._endpoint.notify( File "/usr/lib/python3/dist-packages/pylsp_jsonrpc/endpoint.py", line 50, in notify log.debug('Sending notification: %s %s', method, params) Message: 'Sending notification: %s %s' Arguments: ('textDocument/publishDiagnostics', {'uri': 'file:///tmp/pytest-of-sbuild/pytest-0/test_multiple_workspaces_from_0/folder2/file2.py', 'diagnostics': [{'source': 'pyflakes', 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 10}}, 'message': "'sys' imported but unused", 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 0, 'character': 10}, 'end': {'line': 0, 'character': 10}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], 'version': 1}) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 469, in _lint_text_document flatten(self._hook("pylsp_lint", doc_uri, is_saved=is_saved)), File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 269, in _hook return hook_handlers( File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 40, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 471, in traced_hookexec outcome = Result.from_call( File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call result = func() File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 472, in <lambda> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/plugins/mccabe_lint.py", line 20, in pylsp_lint threshold = config.plugin_settings("mccabe", document_path=document.path).get( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 184, in plugin_settings self.settings(document_path=document_path) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 169, in settings log.debug( Message: 'Got project config from %s: %s' Arguments: ('PyCodeStyleConfig', {}) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 469, in _lint_text_document flatten(self._hook("pylsp_lint", doc_uri, is_saved=is_saved)), File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 269, in _hook return hook_handlers( File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 40, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 471, in traced_hookexec outcome = Result.from_call( File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call result = func() File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 472, in <lambda> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/plugins/mccabe_lint.py", line 20, in pylsp_lint threshold = config.plugin_settings("mccabe", document_path=document.path).get( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 184, in plugin_settings self.settings(document_path=document_path) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 174, in settings log.debug("With configuration: %s", settings) Message: 'With configuration: %s' Arguments: {'plugins': {'rope_autoimport': {'enabled': False [too-long-redacted] ubtype', 'zipimport', 'zlib']}} --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 469, in _lint_text_document flatten(self._hook("pylsp_lint", doc_uri, is_saved=is_saved)), File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 269, in _hook return hook_handlers( File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 40, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 471, in traced_hookexec outcome = Result.from_call( File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call result = func() File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 472, in <lambda> lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/plugins/mccabe_lint.py", line 23, in pylsp_lint log.debug("Running mccabe lint with threshold: %s", threshold) Message: 'Running mccabe lint with threshold: %s' Arguments: (15,) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 469, in _lint_text_document flatten(self._hook("pylsp_lint", doc_uri, is_saved=is_saved)), File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 269, in _hook return hook_handlers( File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/config/config.py", line 40, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 474, in traced_hookexec after(outcome, hook_name, hook_impls, caller_kwargs) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 504, in after hooktrace("finish", hook_name, "-->", outcome.get_result()) File "/usr/lib/python3/dist-packages/pluggy/_tracing.py", line 69, in __call__ self.root._processmessage(self.tags, args) File "/usr/lib/python3/dist-packages/pluggy/_tracing.py", line 44, in _processmessage self._writer(self._format_message(tags, args)) Message: ' finish pylsp_lint --> [[{\'source\': \'pyflakes\', \'range\': {\'start\': {\'line\': 0, \'character\': 0}, \'end\': {\'line\': 0, \'character\': 10}}, \'message\': "\'sys\' imported but unused", \'severity\': 2}], [{\'source\': \'pycodestyle\', \'range\': {\'start\': {\'line\': 0, \'character\': 10}, \'end\': {\'line\': 0, \'character\': 10}}, \'message\': \'W292 no newline at end of file\', \'code\': \'W292\', \'severity\': 2}], []] [hook]\n' Arguments: () --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.13/logging/__init__.py", line 1154, in emit stream.write(msg + self.terminator) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. Call stack: File "/usr/lib/python3.13/threading.py", line 1015, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() File "/usr/lib/python3.13/threading.py", line 1345, in run self.function(*self.args, **self.kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/_utils.py", line 45, in run return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 458, in lint self._lint_text_document( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/python_lsp.py", line 467, in _lint_text_document workspace.publish_diagnostics( File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pylsp/workspace.py", line 190, in publish_diagnostics self._endpoint.notify( File "/usr/lib/python3/dist-packages/pylsp_jsonrpc/endpoint.py", line 50, in notify log.debug('Sending notification: %s %s', method, params) Message: 'Sending notification: %s %s' Arguments: ('textDocument/publishDiagnostics', {'uri': 'file:///tmp/pytest-of-sbuild/pytest-0/test_multiple_workspaces0/workspace2/file1.py', 'diagnostics': [{'source': 'pyflakes', 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 10}}, 'message': "'sys' imported but unused", 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 0, 'character': 10}, 'end': {'line': 0, 'character': 10}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], 'version': 1}) dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

