Control: tag -1 confirmed
Hi Lucas,

Reply follows inline.

Lucas Nussbaum <lu...@debian.org> writes:

> Source: vorta
> Version: 0.7.8-1
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20211220 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> xvfb-run -a --server-args="-screen 0 1024x768x24+32" \
>>          dbus-run-session dh_auto_test
>> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_vorta/build; 
>> python3.10 -m pytest tests
>> ============================= test session starts 
>> ==============================
>> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- 
>> /usr/bin/python3.10
>> cachedir: .pytest_cache
>> PyQt5 5.15.6 -- Qt runtime 5.15.2 -- Qt compiled 5.15.2
>> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
>> plugins: mock-3.6.1, forked-1.3.0, qt-4.0.2
>> collecting ... collected 69 items
>>
[snip]
>> Fatal Python error: Segmentation fault
>> 
>> Thread 0x00007f096073e740 (most recent call first):
>>   File "/usr/lib/python3/dist-packages/pytestqt/qt_compat.py", line 156 in 
>> exec
>>   File "/usr/lib/python3/dist-packages/pytestqt/wait_signal.py", line 51 in 
>> wait
>>   File "/usr/lib/python3/dist-packages/pytestqt/qtbot.py", line 435 in wait
>>   File "/usr/lib/python3/dist-packages/pytestqt/qtbot.py", line 528 in 
>> waitUntil
>>   File 
>> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_vorta/build/tests/test_archives.py",
>>  line 46 in test_repo_list
>>   File "/usr/lib/python3/dist-packages/_pytest/python.py", line 183 in 
>> pytest_pyfunc_call
>>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187 in 
>> _multicall
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83 in 
>> <lambda>
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92 in 
>> _hookexec
>>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286 in __call__
>>   File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1641 in 
>> runtest
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 162 in 
>> pytest_runtest_call
>>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187 in 
>> _multicall
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83 in 
>> <lambda>
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92 in 
>> _hookexec
>>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286 in __call__
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 255 in 
>> <lambda>
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 311 in 
>> from_call
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 254 in 
>> call_runtest_hook
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 215 in 
>> call_and_report
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126 in 
>> runtestprotocol
>>   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 109 in 
>> pytest_runtest_protocol
>>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187 in 
>> _multicall
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83 in 
>> <lambda>
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92 in 
>> _hookexec
>>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286 in __call__
>>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 348 in 
>> pytest_runtestloop
>>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187 in 
>> _multicall
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83 in 
>> <lambda>
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92 in 
>> _hookexec
>>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286 in __call__
>>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 323 in _main
>>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 269 in 
>> wrap_session
>>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 316 in 
>> pytest_cmdline_main
>>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187 in 
>> _multicall
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83 in 
>> <lambda>
>>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92 in 
>> _hookexec
>>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286 in __call__
>>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 162 
>> in main
>>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 185 
>> in console_main
>>   File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 5 in 
>> <module>
>>   File "/usr/lib/python3.10/runpy.py", line 86 in _run_code
>>   File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main
>> 
>> Extension modules: playhouse._sqlite_ext, PyQt5.QtCore, 
>> psutil._psutil_linux, psutil._psutil_posix, _cffi_backend, PyQt5.QtGui, 
>> PyQt5.QtWidgets, PyQt5.QtNetwork, PyQt5.QtDBus, PyQt5.QtTest (total: 10)
>> Segmentation fault
>> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=139: 
>> cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_vorta/build; python3.10 -m pytest 
>> tests
>> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_vorta/build; 
>> python3.9 -m pytest tests

It looks to me that this is probably a duplicate (or at least a variant)
of #1001490 (missing Python 3.10 support).  It's likely that I won't
have a large enough chunk of time to fix this before mid-January, so if
any DPT members would like to work on it, please go ahead.

Unlike #1001490, this one is easier to fix because the autopkgtests are
in a better state than the pybuild tests; the later now need some of the
test environment setup logic from the autopkgtest to be added to
d/rules.  Also, for the autopkgtests, Morph mentioned that a writeable
user dir will need to be created and an envvar defined for dbus-related
tests to pass (this is documented at the upstream bug #1001490 was
forwarded to).

Regards,
Nicholas

Attachment: signature.asc
Description: PGP signature

Reply via email to