Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Santiago Vila
Fri, 23 Oct 2026 16:40
Bug#1151802: ruyi: FTBFS: ModuleNotFoundError: No module named 'pygit2._pygit2'
Author: Santiago Vila
Date: Fri, 23 Oct 2026 16:40
Date: Fri, 23 Oct 2026 16:40
180 lines
12860 bytes
12860 bytes
Package: src:ruyi
Version: 0.52.0-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/202610/
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:ruyi, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
from . import _pygit2, options
File "/usr/lib/python3/dist-packages/pygit2/options.py", line 35, in <module>
from .errors import check_error
File "/usr/lib/python3/dist-packages/pygit2/errors.py", line 27, in <module>
from ._pygit2 import GitError
ModuleNotFoundError: No module named 'pygit2._pygit2'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen runpy>", line 201, in _run_module_as_main
File "<frozen runpy>", line 87, in _run_code
File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in <module>
raise SystemExit(_console_main())
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 253, in _console_main
code = _main(prog=_get_prog_name(sys.argv))
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 223, in _main
config = _prepareconfig(new_args, plugins, prog=prog)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 410, in _prepareconfig
config: Config = pluginmanager.hook.pytest_cmdline_parse(
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 124, in pytest_cmdline_parse
config = yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1232, in pytest_cmdline_parse
self.parse(args)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1605, in parse
self.hook.pytest_load_initial_conftests(
File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 129, in pytest_load_initial_conftests
return (yield)
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 173, in pytest_load_initial_conftests
yield
File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1312, in pytest_load_initial_conftests
self.pluginmanager._set_initial_conftests(
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 662, in _set_initial_conftests
self._loadconftestmodules(
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 707, in _loadconftestmodules
mod = self._importconftest(
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 783, in _importconftest
self.consider_conftest(mod, registration_name=conftestpath_plugin_name)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 870, in consider_conftest
self.register(conftestmodule, name=registration_name)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 582, in register
self.consider_module(plugin)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 878, in consider_module
self._import_plugin_specs(getattr(mod, "pytest_plugins", []))
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 885, in _import_plugin_specs
self.import_plugin(import_spec)
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 920, in import_plugin
raise ImportError(
File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 913, in import_plugin
mod = importlib.import_module(importspec)
File "/usr/lib/python3.15/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1390, in _gcd_import
File "<frozen importlib._bootstrap>", line 1350, in _find_and_load
File "<frozen importlib._bootstrap>", line 1309, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 915, in _load_unlocked
File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line 188, in exec_module
exec(co, module.__dict__)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_ruyi/build/tests/fixtures/__init__.py", line 10, in <module>
from pygit2 import Repository
File "/usr/lib/python3/dist-packages/pygit2/__init__.py", line 34, in <module>
from . import enums
File "/usr/lib/python3/dist-packages/pygit2/enums.py", line 28, in <module>
from . import _pygit2, options
File "/usr/lib/python3/dist-packages/pygit2/options.py", line 35, in <module>
from .errors import check_error
File "/usr/lib/python3/dist-packages/pygit2/errors.py", line 27, in <module>
from ._pygit2 import GitError
ImportError: Error importing plugin "tests.fixtures": No module named 'pygit2._pygit2'
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_ruyi/build; python3.15 -m pytest tests
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_ruyi/build; python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_ruyi/build
configfile: pyproject.toml
collected 369 items
tests/cli/test_completion.py . [ 0%]
tests/config/test_editor.py .... [ 1%]
tests/config/test_installation_config.py ............... [ 5%]
tests/config/test_repos_config.py .............. [ 9%]
tests/config/test_schema.py ........ [ 11%]
tests/integration/test_admin_build_package.py ..... [ 12%]
tests/integration/test_admin_check.py ......... [ 15%]
tests/integration/test_cli_basic.py ............. [ 18%]
tests/integration/test_entity_cli.py . [ 18%]
tests/integration/test_multi_repo.py ..................... [ 24%]
tests/integration/test_venv_cli.py ......... [ 27%]
tests/pluginhost/test_api.py .... [ 28%]
tests/pluginhost/test_build_recipe_api.py ........... [ 31%]
tests/pluginhost/test_lang.py x [ 31%]
tests/pluginhost/test_lint_module.py ................................... [ 40%]
.......... [ 43%]
tests/pluginhost/test_paths.py ..................... [ 49%]
tests/pluginhost/test_recipe_build_ctx.py ................... [ 54%]
tests/ruyipkg/test_build_runner.py ............... [ 58%]
tests/ruyipkg/test_check.py ............ [ 61%]
tests/ruyipkg/test_checksum.py .... [ 62%]
tests/ruyipkg/test_composite_repo.py ................. [ 67%]
tests/ruyipkg/test_entity.py ............ [ 70%]
tests/ruyipkg/test_entity_providers.py . [ 71%]
tests/ruyipkg/test_format_manifest.py . [ 71%]
tests/ruyipkg/test_host.py .. [ 71%]
tests/ruyipkg/test_install_notices.py .. [ 72%]
tests/ruyipkg/test_install_size.py .... [ 73%]
tests/ruyipkg/test_list_detail.py .. [ 73%]
tests/ruyipkg/test_migration.py .... [ 75%]
tests/ruyipkg/test_pkg_manifest.py ............... [ 79%]
tests/ruyipkg/test_recipe_project.py .................... [ 84%]
tests/ruyipkg/test_repo_entry.py ...... [ 86%]
tests/ruyipkg/test_repo_git.py .. [ 86%]
tests/ruyipkg/test_state.py .. [ 87%]
tests/ruyipkg/test_unpack.py ............................. [ 95%]
tests/utils/test_global_mode.py . [ 95%]
tests/utils/test_l10n.py ... [ 96%]
tests/utils/test_mounts.py . [ 96%]
tests/utils/test_node_info.py .. [ 97%]
tests/utils/test_prereqs.py ... [ 97%]
tests/utils/test_templating.py . [ 98%]
tests/utils/test_toml.py .. [ 98%]
tests/utils/test_xdg_basedir.py ..... [100%]
======================== 368 passed, 1 xfailed in 1.36s ========================
rm -fr -- /tmp/dh-xdg-rundir-WZ20IsTw
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads