Package: src:pyscreeze Version: 0.0~git20240820225245.93f2775-3 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build dh build --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'requires_python' warnings.warn(msg) running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'requires_python' warnings.warn(msg) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyscreeze/build/pyscreeze copying pyscreeze/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyscreeze/build/pyscreeze dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyscreeze/build'; python3.12 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyscreeze/build configfile: pyproject.toml plugins: typeguard-4.3.0, xvfb-3.0.0 collected 12 items tests/test_pyscreeze.py .........F.. [100%] =================================== FAILURES =================================== _________________________ TestGeneral.test_screenshot __________________________ self = <test_pyscreeze.TestGeneral testMethod=test_screenshot> def test_screenshot(self): im = pyscreeze.screenshot(TEMP_FILENAME) self.assertTrue(isPng(TEMP_FILENAME))
self.assertEqual(im.size, resolution()) # TODO shouldn't this fail on Windows for multi-monitor setups?
E NameError: name 'resolution' is not defined /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyscreeze/build/tests/test_pyscreeze.py:143: NameError ----------------------------- Captured stderr call ----------------------------- (gnome-screenshot:8018): GLib-GIO-CRITICAL **: 21:13:14.126: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed ** Message: 21:13:14.126: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. =========================== short test summary info ============================ FAILED tests/test_pyscreeze.py::TestGeneral::test_screenshot - NameError: nam... ========================= 1 failed, 11 passed in 0.52s ========================= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyscreeze/build'; python3.12 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13 make: *** [debian/rules:7: build] Error 25 shuffle=2912899084 dpkg-buildpackage: error: debian/rules build 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/202410/ 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 affects, so that this is still visible in the BTS web page for this package. Thanks.